Hello,

 

I met a problem that tcpreplay can not send full packet. I am not sure what 
cause such problem.

The traffic file contains 390 bytes, but tcpreplay in linux server only send 
100 byte.

 

Thanks for any advice.

 

==below:  linux=====

/usr/local/sbin/new/2.3.5/tcpreplay-2.3.5/tcpreplay -i eth1 msg.cap

sending on: eth1

 1 packets (100 bytes) sent in 0.16 seconds

 625000.0 bytes/sec 4.77 megabits/sec 6250 packets/sec

 

/usr/local/sbin/new/2.3.5/tcpreplay-2.3.5/tcpreplay -V

tcpreplay version: 2.3.5

Cache file supported: 04

Compiled against libnet: 1.1.2.1

Compiled against libpcap: 0.7.2

Not compiled against libpcapnav.

Using tcpdump located in: /usr/sbin/tcpdump

 

 

=below: solaris ===============

tcpreplay -i bge1 msg.cap

sending on bge1

 1 packets (390 bytes) sent in 0 seconds

 351351.4 bytes/sec 2.68 megabits/sec 900 packets/sec

tcpreplay -V

tcpreplay version: 1.2a

Compiled against libnet: 1.1.2.1

===============================

Haiyan

No.     Time        Source                Destination           Protocol Info
      1 0.000000    10.99.220.12          10.99.120.48          Diameter 
Location-Info-Request app=TGPPCX (hop-id=357246377) (end-id=4174598386) RPE=100

Frame 1 (390 bytes on wire, 390 bytes captured)
    Arrival Time: May 18, 2006 00:26:06.773171000
    Time delta from previous packet: 0.000000000 seconds
    Time since reference or first frame: 0.000000000 seconds
    Frame Number: 1
    Packet Length: 390 bytes
    Capture Length: 390 bytes
    Protocols in frame: eth:ip:tcp:diameter
    Coloring Rule Name: TCP
    Coloring Rule String: tcp
Ethernet II, Src: Performa_84:4c:44 (00:c0:8c:84:4c:44), Dst: SunMicro_a1:96:41 
(00:03:ba:a1:96:41)
    Destination: SunMicro_a1:96:41 (00:03:ba:a1:96:41)
        Address: SunMicro_a1:96:41 (00:03:ba:a1:96:41)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is 
a FACTORY DEFAULT address
    Source: Performa_84:4c:44 (00:c0:8c:84:4c:44)
        Address: Performa_84:4c:44 (00:c0:8c:84:4c:44)
        .... ...0 .... .... .... .... = Multicast: This is a UNICAST frame
        .... ..0. .... .... .... .... = Locally Administrated Address: This is 
a FACTORY DEFAULT address
    Type: IP (0x0800)
Internet Protocol, Src: 10.99.220.12 (10.99.220.12), Dst: 10.99.120.48 
(10.99.120.48)
    Version: 4
    Header length: 20 bytes
    Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00)
        0000 00.. = Differentiated Services Codepoint: Default (0x00)
        .... ..0. = ECN-Capable Transport (ECT): 0
        .... ...0 = ECN-CE: 0
    Total Length: 376
    Identification: 0xd647 (54855)
    Flags: 0x04 (Don't Fragment)
        0... = Reserved bit: Not set
        .1.. = Don't fragment: Set
        ..0. = More fragments: Not set
    Fragment offset: 0
    Time to live: 63
    Protocol: TCP (0x06)
    Header checksum: 0xfb35 [correct]
        Good: True
        Bad : False
    Source: 10.99.220.12 (10.99.220.12)
    Destination: 10.99.120.48 (10.99.120.48)
Transmission Control Protocol, Src Port: 34274 (34274), Dst Port: 3868 (3868), 
Seq: 0, Ack: 0, Len: 324
    Source port: 34274 (34274)
    Destination port: 3868 (3868)
    Sequence number: 0    (relative sequence number)
    Next sequence number: 324    (relative sequence number)
    Acknowledgement number: 0    (relative ack number)
    Header length: 32 bytes
    Flags: 0x0018 (PSH, ACK)
        0... .... = Congestion Window Reduced (CWR): Not set
        .0.. .... = ECN-Echo: Not set
        ..0. .... = Urgent: Not set
        ...1 .... = Acknowledgment: Set
        .... 1... = Push: Set
        .... .0.. = Reset: Not set
        .... ..0. = Syn: Not set
        .... ...0 = Fin: Not set
    Window size: 25340
    Checksum: 0x901b [correct]
    Options: (12 bytes)
        NOP
        NOP
        Time stamp: tsval 7427968, tsecr 104018829
Diameter Protocol
    Version: 0x01
    Length: 324
 ......
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Tcpreplay-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tcpreplay-users

Reply via email to