Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#321 closed defect (wontfix)

replaying packets over a slip connection in windows fails

Reported by: anonymous Owned by: aturner
Priority: low Milestone: Future Release
Component: tcpreplay Version: 3.3.1
Keywords: slip cygwin windows win32 winpcap Cc:
Operating System: Win32 Add to FAQ?: yes
Hardware: All
Output of tcpreplay -V: 3.3.2 pre-release, 3.3.1, 3.2.5 (iirc) tcpreplay version: 3.3.2 (build 2054) (debug) Copyright 2001-2008 by Aaron Turner <aturner at synfin dot net> Cache file supported: 04 Not compiled with libnet. Compiled against winpcap: 4.0 64 bit packet counters: enabled Verbose printing via tcpdump: disabled Packet editing: disabled Fragroute engine: disabled

Description (last modified by aturner)

tcpreplay fails to send packets over a slip interface in windows (win2k in my case).

e.g. $ tcpreplay.exe -i %1 wrong_icmp_checksum.cap
sending out \Device\NPF_{D01DAB11-D2EE-4A48-AEDF-A81B5357BD56}
processing file: wrong_icmp_checksum.cap
Warning in send_packets.c:send_packets() line 175:
Unable to send packet: Error with PF_PACKET send() [1]: send error: PacketSendPacket failed (errno = 2)
Actual: 1 packets (74 bytes) sent in 0.32 seconds
Rated: 2312.5 bps, 0.02 Mbps/sec, 31.25 pps

Statistics for network device: \Device\NPF_{D01DAB
        Attempted packets:         1
        Successful packets:        0
        Failed packets:            1
        Retried packets (ENOBUFS): 0
        Retried packets (EAGAIN):  0

(PF_PACKET is just a cosmetic bug in the pre-release, the errno=2 is not)

Change History (4)

comment:1 Changed 11 years ago by aturner

  • Description modified (diff)
  • Milestone changed from Future Release to 3.3.2
  • Status changed from new to assigned

comment:2 Changed 11 years ago by aturner

Serial port emulator for Windows:

comment:3 Changed 11 years ago by aturner

  • Add to FAQ? set
  • Resolution set to wontfix
  • Status changed from assigned to closed

Unfortunately, this is a known limitation of Winpcap- it doesn't support injecting on WAN interfaces like PPP or SLIP. There does not appear to be a workaround.

comment:4 Changed 10 years ago by aturner

  • Milestone changed from 3.3.2 to Future Release
Note: See TracTickets for help on using tickets.