Ticket #321 (closed defect: wontfix)

Opened 4 months ago

Last modified 3 months ago

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) (diff)

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)

Attachments

Change History

Changed 4 months ago by aturner

  • status changed from new to assigned
  • description modified (diff)
  • milestone changed from Future Release to 3.3.2

Changed 4 months ago by aturner

Serial port emulator for Windows:

http://com0com.sourceforge.net/

Changed 4 months ago by aturner

  • add_to_faq set
  • status changed from assigned to closed
  • resolution set to wontfix

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.

http://www.winpcap.org/misc/faq.htm#Q-5

Changed 3 months ago by aturner

  • milestone changed from 3.3.2 to Future Release

Add/Change #321 (replaying packets over a slip connection in windows fails)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.