LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Closed Thread
  Search this Thread
Old 11-24-2005, 01:02 AM   #1
thegreatest
LQ Newbie
 
Registered: Nov 2005
Posts: 9

Rep: Reputation: 0
Source Code for Linux Firewall in C language


Hie 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. The source and destination IP
2. The application name
for allowing or denying of the packet.
please if anyone is having one...do send me....
I am urgently in a need of such code.
 
Old 11-24-2005, 01:07 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
I think iptables.org holds the source code of iptables too...you could start your search from there. but why don't you search from google? I could imagine it finds something..
 
Old 11-24-2005, 01:31 AM   #3
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
Some programs like Samba link to the tcp wrapper library.
Here is an article that introduces this library:
http://www.freeos.com/articles/3729/
 
Old 11-16-2010, 02:56 PM   #4
ananya karan
LQ Newbie
 
Registered: Nov 2010
Posts: 1

Rep: Reputation: 0
firewall source code in c

Quote:
Originally Posted by thegreatest View Post
Hie 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. The source and destination IP
2. The application name
for allowing or denying of the packet.
please if anyone is having one...do send me....
I am urgently in a need of such code.
plz help me.
 
Old 11-16-2010, 04:18 PM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
ananya karan, please don't resurrect dead threads. Closed.
 
  


Closed Thread


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
Distributed filesystem source code for linux in c language Shreenivas Linux - Networking 1 02-07-2012 07:01 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
where i will get the source code of Linux?? and ... nazib Linux - General 1 02-16-2005 02:28 AM
Where to download linux source code JSuresh Linux - General 7 02-21-2003 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:46 AM.

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