I've been trying to get a reliable, working tcpdump on AIX 5.1. The version shipping won't work for me (long story - I need the a capture file generated by a recent version of libpcap, so that we can perform a trace using another program which was linked against libpcap configured with dlpi... ug, if anyone's in NYC I'll buy them a beer and gripe about it). So, I built libpcap 0.7.1 (using bpf, not dlpi) and tcpdump 3.6.2.
Things work, except after a few packets I get: tcpdump: pcap_loop: read: Bad address I took a look around, and found this suggestion: http://www.tcpdump.org/lists/workers/2002/02/msg00046.html I tried it out, and the params fed to read() seem okay from what I can see (well, besides the errno==EFAULT): tcpdump: listening on en2 buf 202c1f38, count 16384, errno 14 tcpdump: pcap_loop: read: Bad address Beyond this point, I'd have to do much research before I can figure out what's happening with the "p" struct used in pcap_read. Any suggestions? -- -Jon "As three unwavering bands of light, we were simple and separate and beautiful. As machines, we were flabby bags of ancient plumbing and wiring, of rusty hinges and feeble springs. And our interrelationships were Byzantine." - Kurt Vonnegut, Breakfast of Champions - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe
