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

No packets captured #1

Open
tobiasgobel opened this issue Feb 10, 2024 · 2 comments
Open

No packets captured #1

tobiasgobel opened this issue Feb 10, 2024 · 2 comments

Comments

@tobiasgobel
Copy link

Hi @zeroby0,

Thank you for your great repos!

We are having trouble with receiving the packets from the raspberry pi on the laptop (connected through ethernet at interface en7), when running:

sudo tcpdump -i en7 dst port 5500 -w output.pcap

When listening to signals on the raspberry itself it works perfectly fine, but in this way 0 packets are captured, producing an almost empty pcap file.

Do you have any idea?

Cheers, TObias

@zeroby0
Copy link
Contributor

zeroby0 commented Feb 12, 2024

Can you post the nft commands you're running on the Pi as well?

You should be able to ping the laptops IP from the Pi through ethernet.

@tobiasgobel
Copy link
Author

Hi @zeroby0,

Thanks for the reply. We run the exact commands as described in the README:

nft add rule ip nexmon input iifname "wlan0" ip protocol udp ip saddr 10.10.10.10 ip daddr 255.255.255.255 udp sport 5500 udp dport 5500 counter mark set 900 dup to 169.254.69.51 device "eth0”

nft add rule ip nexmon output oifname "eth0" meta mark 900 counter ip saddr set 169.254.224.103 ip daddr set 169.254.69.51

Pinging from both the raspberry to the laptop and vice versa works fine. But the tcdump command still gives:

0 packets captured
43 packets received by filter
0 packets dropped by kernel

Cheers, Tobias

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

2 participants