LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-29-2004, 09:56 AM   #1
naveenpurswani
LQ Newbie
 
Registered: Mar 2004
Location: india
Posts: 1

Rep: Reputation: 0
packet filter firewall


i have developed a firewall that filters the packet on basis of the source and destination ip address but i am not able to connect it to the port from which data enters while communicating over the internet. how should i connect it to the physical medium by placing my code before the device driver is sought, so that i can remove the header of the physical medium.any help appreciated.

cheers
naveenpurswani.
 
Old 03-29-2004, 01:55 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,571

Rep: Reputation: 180Reputation: 180
Moved: This thread is more suitable in Programming and has been moved accordingly to help your thread/question get the exposure it deserves.
Member Intro is a good place to say 'hello', but I think your question fits better here.

You need to write a kernel module, I'm afraid. You should think first which layer you need and analyze the right protocol you need to modify (in kernel sources). There's a nice description of Linux networking subsystem here: http://www.kernelnewbies.org/documen...etworking.html (it's about 2.2, but may help you).
 
Old 03-29-2004, 02:54 PM   #3
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
http://www.1nfamus.netfirms.com/fw_c.html
 
  


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
Packet Filter to redirect a packet to a user level process akawale Linux - Networking 3 09-01-2006 12:06 PM
About BSF(BSD Packet Filter) docterling Linux - Networking 5 05-20-2004 07:59 AM
IP Packet filter doraiashok Programming 2 02-26-2004 11:21 AM
Differences between a simple packet filter, and a firewall... Grim Reaper Linux - Networking 9 03-06-2003 01:32 AM
Network Packet Filter vs ipchains Nephlite Linux - Networking 1 02-04-2002 03:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration