LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 07: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 06:18 PM. Reason: removed mail link - we don't do this here.
 
Old 05-10-2009, 12:41 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 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
Open Source Consulting | Domain Registration