Re: [tcpdump-workers] why it was not capturing exact bytes given in tcpdump -s

2006-01-16 Thread Guy Harris
On Jan 16, 2006, at 1:33 AM, Latha G wrote: I had given "tcpdump -c 1 -s 40 > file", after that i checked the file size using "ls -l file", what i got the file size is some 83 bytes. There are several issues here. For one thing, as you didn't use the "-w" option: tcpdump -c 1 -s

[tcpdump-workers] why it was not capturing exact bytes given in tcpdump -s

2006-01-16 Thread Latha G
Hi all, I have one doubt on tcpdump's -s option. I had given "tcpdump -c 1 -s 40 > file", after that i checked the file size using "ls -l file", what i got the file size is some 83 bytes. It was varying from time to time i executed the tcpdump, some times the file size is 232 bytes, anyway i am g