Hi,
I'm seeing the error message "Flushing TX_RING failed: No such device or
address!" when I try to run trafgen on Debian kernel 3.12.6, but not on 3.11.
Here is the full trafgen output:
# trafgen -V -i ./trafgen.cfg -o eth1 -P 1 -n 1000
[0] pkt
len 85 cnts 0 rnds 6
payload 00 25 90 86 bd d6 00 25 90 d9 dd 81 08 00 45 00 00 47 00 00 00 00
40 11 00 00 c0 a8 00 01 c0 a8 00 35 00 00 00 35 00 33 00 00 00 00 01 00 00 01
00 00 00 00 00 01 03 77 77 77 06 67 6f 6f 67 6c 65 03 63 6f 6d 00 00 01 00 01
00 00 29 10 00 00 00 00 00 00 00
rnd0 off 18
rnd1 off 19
rnd2 off 34
rnd3 off 35
rnd4 off 42
rnd5 off 43
1 packets to schedule
85 bytes in total
Running! Hang up with ^C!
No kernel support for PACKET_QDISC_BYPASS (kernel < 3.14?)
TX,V2: 238.41 MiB, 122064 Frames, each 2048 Byte allocated
Flushing TX_RING failed: No such device or address!
And the relevant strace output:
bind(3, {sa_family=AF_PACKET, proto=0000, if3, pkttype=PACKET_HOST, addr(0)={0,
}, 20) = 0
setgid(0) = 0
setuid(0) = 0
setitimer(ITIMER_REAL, {it_interval={0, 10}, it_value={0, 10}}, NULL) = 0
--- SIGALRM (Alarm clock) @ 0 (0) ---
sendto(3, NULL, 0, MSG_DONTWAIT, NULL, 0) = -1 ENXIO (No such device or address)
--
Robert Edmonds
--
You received this message because you are subscribed to the Google Groups
"netsniff-ng" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.