Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pcap doesn't include all packets captured #116

Open
philok93 opened this issue Nov 10, 2020 · 0 comments
Open

Pcap doesn't include all packets captured #116

philok93 opened this issue Nov 10, 2020 · 0 comments

Comments

@philok93
Copy link

philok93 commented Nov 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant