Skip to content

Troubleshooting.md

Jack Wampler edited this page May 11, 2020 · 2 revisions

Packet Flow Problems

Problem: I am only seeing a fraction of the packets that I expect to see on the tap interface even though I told openwrt to port mirror all packets to my IP addres.

Solution: You likely have a second interface co-opting your arp assignment in openwrt. Give the mac address of the tap a static arp assignment on the router.


Problem: Registration is happening for rust process_packet.rs, rust reports that packets are being forwarded through the tun, and ZMQ in ./application reports that the registration is recognized but packets aren't being delivered from tunX to handlePackets.

Solution: Your tun interface is broken, likely the ip rules were set incorrectly. Tear down the tun and re-add the ip rules.

TODO: do this with prereq_onreboot.sh


Registration Problems

Problem: No registrations are happening, but process_packets is seeing packets from the correct client IPs.

Solution: Generate new keys (see Configuration#generating keys in the wiki)