quote:
Originally posted by void main:
Ethereal doesn't send out any broadcasts. It just puts the interface into promiscuous mode and reads every packet on the wire (which isn't much on a switched network). If that's what you want to do why not just install the source for Ethereal and tcpdump. What better examples? Either that of pick up any root kit, they have small sniffers included which would be a good example.
I wasn't suggesting that ethereal could send a broadcast. i was saying i'd like to make a program that could also listen to packets. and i'd like to learn how to send a broadcast (not on the same subject as ethereal). I've tried looking at the source code and i dont seem to follow it very well. What i'm mostly intrested in is terminating a socket's connection with a process (pending, of course, i own the process or am root). I'd also like to get into stuff like putting together a packet and sending it. filling it out manually instead of having it automatically fill out the source, destination, subnet, and all those goodies.
[edit]
finally reached 300 posts.
[ December 23, 2002: Message edited by: Stryker ]