Re: [Programming] kernel level grab packet

From: Ivan Marsh (annoyed_at_you.now)
Date: 01/28/04


Date: Wed, 28 Jan 2004 16:36:54 -0600

On Wed, 28 Jan 2004 22:23:00 +0000, Shin 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).

This can be done with iptables and tcpwrappers with no programming.

-- 
i.m.
The USA Patriot Act is the most unpatriotic act in American history.


Relevant Pages

  • Re: Broadcast packets in C
    ... I'm trying to build a program in C which uses broadcast HELLO packets, ... multicast RREQ, RREP, RERR packets and routing tables exchange.I want ... Get the book "Unix Network Programming, ...
    (comp.unix.programmer)
  • Re: Larrabee delayed: anyone know whats happening?
    ... assemble packets of whatever. ... When enough pieces are in hand to act on, ... and that receiving agents are not required to do ... the programming language) can be completely ad hoc. ...
    (comp.arch)
  • Re: This is tougher than I thought?
    ... I work in various programming languages... ... first programming language, Pascal, that is now Delphi. ... ashamed to confess that I don't know that much about packets. ...
    (comp.protocols.time.ntp)
  • HELP! Loopback test on MARVELL 88e1111 ethernet chip?
    ... Has anyone ever done an ethernet "Loopback test" on MARVELL ... What I could use is the programming tips and/or steps after the ... What packets do you send? ...
    (comp.os.vxworks)
  • MPEG-2 User Data
    ... The MPEG-2 spec allows for "user data" packets that can be stuffed with ... I am programming a Philips ... insert "user data" packets with each I-frame and then retrieve them during ...
    (microsoft.public.win32.programmer.directx.video)