LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-08-2009, 08:04 AM   #1
jerinbaby
LQ Newbie
 
Registered: May 2009
Posts: 1

Rep: Reputation: 0
I am in an urgent need of a source code for linux firewall in C.


Hi.. Everyone
I am in an urgent need of a source code for linux firewall in C. i dont need any good user interface. i am just intrested in a source code in C language which will block or accept the incomming and outgoing packets according to the user input which he will give by looking at the contents of the packet which mainly includes;

1.Block Pining and UuBlock pining
2.Which r the ports are open
3.Block the ports

These are the require ments for the Linux firewall...

May i get the source code for the this type firewall it is urgent...

URGENT

Last edited by Tinkster; 05-09-2009 at 07:18 PM. Reason: removed mail link - we don't do this here.
 
Old 05-10-2009, 01:41 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
No, it's not urgent.

However, for good or bad the only linux firewall is iptables. The rest of tools are just frontends to iptables. So just go to the home page and feel free to pick the sources yourself:

http://www.iptables.org/

Note that these are just the userland tools. The other half is on your kernel. You need netfilter enabled in your kernel to be able to use them (most distros do that by default, don't worry).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Source Code for Linux Firewall in C language thegreatest Linux - Security 4 11-16-2010 05:18 PM
Linux source-code tejprakash_kolla Linux - General 2 10-29-2005 05:54 PM
Get Source Code for Linux seventhsense Linux - Software 6 07-12-2005 05:44 AM
URGENT: Problems recompiling C++ source code when upgrading to Linux 9 ldsimon Linux - General 7 09-22-2004 09:03 PM
Source code for"URGENT" ipspoofing detection and prevention in 'C' vinkum Linux - Security 1 09-22-2004 07:47 AM


All times are GMT -5. The time now is 02:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration