[Pkg-netmeasure-discuss] scamper sniff: sniff_state_alloc: could not get dl: Success

Marek Küthe m.k at mk16.de
Sat Feb 10 00:07:43 GMT 2024


Hello,

In addition to the previous e-mail, I now also have problems with sniff
at `::1`. The packets now seem to be recorded twice. If I set `-c 10`,
only 5 packets are actually accepted. I think this is because I am both
sending and receiving on lo. However, as far as I understand the
scamper man page, only receiving packets are recorded. Am I making a
mistake here?

Man page:
```
sniff: capture a subset of packets **arriving** at the host using a
subset of tcpdump-style filter expressions.
```

```
$ scamper -O warts -o test.warts -I "sniff -S ::1 -c 10 icmp[icmpid] == 1"
$ sc_warts2pcap -o test.pcap test.warts
$ tcpdump -r test.pcap 
reading from file test.pcap, link-type RAW (Raw IP), snapshot length 65535
00:01:10.768614 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 1, length 64
00:01:10.768614 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 1, length 64
00:01:11.781370 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 2, length 64
00:01:11.781371 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 2, length 64
00:01:12.795107 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 3, length 64
00:01:12.795108 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 3, length 64
00:01:13.808204 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 4, length 64
00:01:13.808206 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 4, length 64
00:01:14.824526 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 5, length 64
00:01:14.824528 IP6 localhost > localhost: ICMP6, echo reply, id 1, seq 5, length 64
```

Greetings
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/20240210/7e8624d5/attachment.sig>


More information about the Pkg-netmeasure-discuss mailing list