vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi there, I was wondering what were the libraries out there available to make my own kind of 'tcpdump' in C++? Or maybe it would be more easy to ask the firewall or tcpdump to send the interesting packets to my program through a socket or something? Thanks for your input! Simon |
| |||
| Simon L wrote: > Hi there, > I was wondering what were the libraries out there available to make my > own kind of 'tcpdump' in C++? Or maybe it would be more easy to ask the > firewall or tcpdump to send the interesting packets to my program > through a socket or something? > > Thanks for your input! > Simon Google for 'libpcap'. -- Tauno Voipio tauno voipio (at) iki fi |
| |||
| On Mon, 06 Dec 2004 14:26:27 -0500, Simon L <xm@ca.inter.net> wrote: >Hi there, > I was wondering what were the libraries out there available to make my own >kind of 'tcpdump' in C++? Or maybe it would be more easy to ask the firewall or >tcpdump to send the interesting packets to my program through a socket or something? or learn how to use ethereal. |
| ||||
| TCS wrote: > On Mon, 06 Dec 2004 14:26:27 -0500, Simon L <xm@ca.inter.net> wrote: >>Hi there, >> I was wondering what were the libraries out there available to make my >> own >>kind of 'tcpdump' in C++? Or maybe it would be more easy to ask the >>firewall or tcpdump to send the interesting packets to my program through >>a socket or something? > > or learn how to use ethereal. Use tcpdump with output to a FIFO, selecting packets using the packet display filter expressions? Read from FIFO with your program? Jon. -- * Does the walker choose the path, or does the path choose the walker? (fr. Sabriel) * -- |