in reply to Intercepting UDP broadcasts

I have never written a 'snooper' type programme in Perl, but I recall that recently I was scanning through a book titled "Programming the Network in Perl" (from a guy in Ireland, not the Lincoln Stein book). I saw some code in there called EtherSnooper. The only thing I could find in a search was this: http://users.telenet.be/jurgen.kobierczynski/support/ethersnooper.pl.txt

Looking at the source code it would seem that a series of modules in the NetPacket namespace would make it a soda to write something which would acheive the result, but not as elegantly as a direct implementation.

I don't know if this info will be useful, but I hope so!

jdtoronto

Replies are listed 'Best First'.
Re: Intercepting UDP broadcasts
by Abigail-II (Bishop) on Jan 30, 2004 at 16:18 UTC
    I'm not interested in snooping, certainly not on the ethernet level. I want to write a prototype for a special purpose DHCP server. Having the kernel push all ethernet (or all UDP) traffic into userland is not an option.

    But I'll look at the reference.

    Abigail

      Fair enough too. Now you explain what you are doing then I am completely lost - at least in Perl land!

      ...john