[Pkg-netmeasure-discuss] scamper sniff: sniff_state_alloc: could not get dl: Success
Marek Küthe
m.k at mk16.de
Fri Feb 9 23:59:57 GMT 2024
Hello,
I am currently trying out some things with Scamper. I wanted to test
`sc_warts2pcap` and wanted to catch some packets with sniff. I used the
following command:
```
$ scamper -O warts -o test.warts -I "sniff -S fd04:234e:fc31:e::21 -c 2
icmp[icmpid] == 1"
```
Where the IP address belongs to a Layer-3 WireGuard interface:
```
$ ip a s dnet
10: dnet: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1400 qdisc noqueue state
UNKNOWN group default qlen 1000 link/none
inet 172.22.149.122/32 scope global noprefixroute dnet
valid_lft forever preferred_lft forever
inet6 fd04:234e:fc31:e::21/128 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::c302:40cf:a818:c23d/64 scope link noprefixroute
valid_lft forever preferred_lft forever
```
However, the program terminates with `[23:50:17:695] sniff_state_alloc:
could not get dl: Success`.
I then tested it with the loopback interface and the IP address `::1`.
This worked. Then I tried my WLAN interface: The program started there,
but did not pick up a packet.
WLAN interface while pinging with tcpdump:
```
23:57:44.475056 lo In IP6 ciel > ciel: ICMP6, echo request, id 1,
seq 9, length 64
```
(probably because scamper didn't listen to lo?)
I used `ping -e 1 [IP ADDRESS]` to generate the packets (on the same
machine). As described above, this only worked as desired with `::1`.
```
$ scamper -v
scamper version 20240122
```
Perhaps you could look at the error? I would also be interested to know
what the preferred way is to report such errors?
Regards
Marek Küthe
--
Marek Küthe
m.k at mk16.de
er/ihm he/him
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-netmeasure-discuss/attachments/20240209/a2e85a94/attachment.sig>
More information about the Pkg-netmeasure-discuss
mailing list