Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-08-2009, 07:04 AM   #1
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...


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

Rep: Reputation: 386Reputation: 386Reputation: 386Reputation: 386
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:

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).


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 04:18 PM
Linux source-code tejprakash_kolla Linux - General 2 10-29-2005 04:54 PM
Get Source Code for Linux seventhsense Linux - Software 6 07-12-2005 04:44 AM
URGENT: Problems recompiling C++ source code when upgrading to Linux 9 ldsimon Linux - General 7 09-22-2004 08:03 PM
Source code for"URGENT" ipspoofing detection and prevention in 'C' vinkum Linux - Security 1 09-22-2004 06:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:43 PM.

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