Ethereal-dev: [Ethereal-dev] Reg: tethereal -S option with -c option

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Durai" <mail_714@xxxxxxxxxxx>
Date: Mon, 31 May 2004 11:26:46 +0530
Hello All,

             When I run tethereal with -S option it works fine. But with -c
option it gives only half of the packets from what we specied.

Eg:

# tethereal -c 10 -S -w test.pcap
Capturing on lan0
  0.000000 172.16.1.158 -> 172.16.1.26  TELNET Telnet Data ...
  0.002250 172.16.1.158 -> 172.16.1.26  TELNET Telnet Data ...
  0.002415 172.16.1.158 -> 172.16.1.26  TELNET Telnet Data ...
  0.002554 172.16.1.158 -> 172.16.1.26  TELNET Telnet Data ...
  0.002689  172.16.1.26 -> 172.16.1.158 TCP 1438 > telnet [ACK] Seq=0 Ack=9
Win=16576 Len=0
# tethereal -r test.pcap
  1   0.000000 172.16.1.158 -> 172.16.1.26  TELNET Telnet Data ...
  2   0.002250 172.16.1.158 -> 172.16.1.26  TELNET Telnet Data ...
  3   0.002415 172.16.1.158 -> 172.16.1.26  TELNET Telnet Data ...
  4   0.002554 172.16.1.158 -> 172.16.1.26  TELNET Telnet Data ...
  5   0.002689  172.16.1.26 -> 172.16.1.158 TCP 1438 > telnet [ACK] Seq=0
Ack=9 Win=16576 Len=0

Why it is like that?
I did this test in HP-UX PA 11.11 machine.

Thanks in advance,
Durai.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.687 / Virus Database: 448 - Release Date: 5/16/2004