Skip to content

Pcap doesn't include all packets captured #116

@philok93

Description

@philok93

Describe the bug
I want to sniff packets (using promiscuous mode in the config) and take the pcap file and process it later.
However, I notice that pcap files don't include all the packets shown in the .log file.
For example, in logfile for node5 you find:

INFO  00:00:03.865 [radio_read:97] RECV ret:95 src:8 dst:0 len:79 flags:0

If you check pcap, no packet is shown with source ip node 8 at the specific time.

To Reproduce
Run the simulation using a config file that has nodePromiscuous[5]=1 so that node 5 sniffs packets.
node_0005.log

pcap file for node 5:
pkt-5-0.zip

Expected behavior
Include all packets from log file to .pcap

Any help would appreciate it.

PS. This case is tested in the latest version downloaded from here. In my local version of whitefield which I checked and resetup the whitefield including all changes but nodePromiscuous is not working as expected.. I also need to check the reason.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions