[tcpdump-workers]

2006-04-28 Thread Jeremy Sheldon
hello, i'm writing a little program. this program attempts to monitor the linux system (via /proc) to discover if certain specified programs are running (just for the logged in user). if they are, the program then attempts to discover if they have any external connections. for tcp this is ea

Re: [tcpdump-workers] Libpcap corrupts output

2006-04-28 Thread Guy Harris
On Apr 28, 2006, at 2:12 PM, Cove Schneider wrote: As far as I can tell fwrite() will occasionally write short. I'm assuming because my pipe is "backed up" and libpcap can't write anymore data to it (though I would expect it to block in that case, so I'm not really sure what's causing it t

[tcpdump-workers] Libpcap corrupts output

2006-04-28 Thread Cove Schneider
Hello, I have a problem where my app pipes the output of tcpdump over a network connection and on slower connections it appears that libpcap sometimes doesn't write out the whole packet data segment. I believe this is being caused by the lack of error checking in pcap_dump(): (0.9.4) save