Re: [Programming] kernel level grab packet
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 01/29/04
- Next message: root: "Re: Newbie Help Request"
- Previous message: ynotssor: "Re: Newbie Help Request"
- In reply to: Shin: "[Programming] kernel level grab packet"
- Next in thread: Shin: "Re: [Programming] kernel level grab packet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jan 2004 01:02:31 +0100
Shin <gelidmite@yahoo.com> wrote:
> Hi,
> I don't know if I used a good subject because I am not
> familiar with linux kernel programming. I heard it may
> meet my need from someone.
>
> I want to write a program which can filter (or just check)
> internet packets before other applications. It is like
> a guard which collects all internet traffic, even belonging
> to other application, and then pass the packet to where it is
> supposed to go (might be other high level application).
> The main point is that these high level applications won't
> notice the guard's existence. I heard programming in kernel
> level can achieve this. After searching the internet, I found
> some materials, but they are not specific enough for my requirement.
What are your requirements? There is a state-full firewall built
into the Linux kernel, the user-space tool for setting up is
(2.4.x) 'iptables'. This sounds like what you want.
Hint
man iptables
> I have "Linux Device Drivers, 2nd Edition By Alessandro Rubini &
> Jonathan Corbet". Still reading it. So far, didn't find things
> about what I mentioned above.
>
> Anyone knows good documents/toturial/material for me?
www.tlpd.org probably has some.
-- Michael Heiming Remove +SIGNS and www. if you expect an answer, sorry for inconvenience, but I get tons of SPAM
- Next message: root: "Re: Newbie Help Request"
- Previous message: ynotssor: "Re: Newbie Help Request"
- In reply to: Shin: "[Programming] kernel level grab packet"
- Next in thread: Shin: "Re: [Programming] kernel level grab packet"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|