tcpdump mailing list archives
Re: Output goes weird!
From: "" <csmjmr () bath ac uk>
Date: Thu, 11 Sep 2003 22:47:23 +0100
Sorry... The non-printable characters problem is fixed. I fixed it by setting the snaplen to 2048. The packet dropping is a separate problem. I used TCPDUMP to tell me wether packets were being dropped... at the end where it gives number received and number dropped by kernel. Regards Justin Quoting Guy Harris <guy () alum mit edu>:
On Sep 11, 2003, at 5:41 AM, csmjmr () bath ac uk wrote:I'm in a bit of trouble actually. This software is for my dissertation -- I developed on Linux and am trying to port to FreeBSD for testing. The testing failed miserably :o( I've done nearly all that you suggested. I've checked the datalink protocol and its ethernet. I'm reading the IP total length and TCP data offset fields to find out where the payload is. The reason I don't check the output in the C program is that stdout is eventually redirected to a Java program that filters out the text characters. The program worked fine under Linux, but in FreeBSD... so many packets are being dropped by the kernel so I can't read the complete NNTP conversation.Wait. So there's one problem, the non-printable characters. Is the packet dropping a separate problem? If so, then: 1) are you still having the problem with the non-printable characters? If so, we'd probably have to see your code to see what you're doing wrong. 2) what indicates that packets are being dropped?
- This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:tcpdump-workers-request () tcpdump org?body=unsubscribe
Current thread:
- Output goes weird! Justin Robinson (Sep 10)
- Re: Output goes weird! Michael Richardson (Sep 10)
- Re: Output goes weird! Justin Robinson (Sep 10)
- Re: Output goes weird! Guy Harris (Sep 10)
- Re: Output goes weird! (Sep 11)
- Re: Output goes weird! Guy Harris (Sep 11)
- Re: Output goes weird! (Sep 11)
- Re: Output goes weird! Guy Harris (Sep 11)
- Re: Output goes weird! (Sep 12)
- Re: Output goes weird! Justin Robinson (Sep 10)
- Re: Output goes weird! Michael Richardson (Sep 10)
- Re: Output goes weird! Michael Richardson (Sep 11)
- <Possible follow-ups>
- Fw: Output goes weird! Justin Robinson (Sep 13)
- Message not available
- Re: Output goes weird! Justin Robinson (Sep 14)
- Re: Output goes weird! Richard Sharpe (Sep 14)
- Message not available