Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 03-29-2004, 09:56 AM   #1
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.

Old 03-29-2004, 01:55 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,671

Rep: Reputation: 218Reputation: 218Reputation: 218
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: (it's about 2.2, but may help you).
Old 03-29-2004, 02:54 PM   #3
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30


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 > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:35 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