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

vpn leaks imcpv6, mdns, arp, lldp, dns #182

Open
realies opened this issue May 24, 2023 · 8 comments
Open

vpn leaks imcpv6, mdns, arp, lldp, dns #182

realies opened this issue May 24, 2023 · 8 comments

Comments

@realies
Copy link

realies commented May 24, 2023

some of these probably can't be stopped for the device to work, however... can DNS resolution of ping domains like these be stopped?
Screenshot 2023-05-24 at 01 21 59

and of course, if the noise of any of the other protos could also be removed/reduced

@peacey
Copy link
Owner

peacey commented May 24, 2023

Does this only happen when you use FORCED_LOCAL_INTERFACE to force all local traffic?

@realies
Copy link
Author

realies commented May 24, 2023

I believe this is dpinger doing its uptime thing via ubios-udapi-server. I think it does the same with and without setting FORCED_LOCAL_INTERFACE.

@peacey
Copy link
Owner

peacey commented May 24, 2023

No I know the pings are from dpinger, but does this traffic go through the VPN even when you don't use FORCED_LOCAL_INTERFACE?

@realies
Copy link
Author

realies commented May 24, 2023

The above Wireshark screenshot is from an adapter connected to the UDM WAN port with FORCED_LOCAL_INTERFACE enabled.

@peacey
Copy link
Owner

peacey commented May 24, 2023

Okay, so this script isn't leaking anything then? Do you just want to stop dpinger from working at all, or do you want to force all traffic from the UDM, but exempt dpinger from going out the VPN?

You can definitely stop dpinger, but then you won't have the uptime or latency info on the Unifi Network dashboard, and it might mess with Unifi OS recognizing if a connection is up or not.

@realies
Copy link
Author

realies commented May 24, 2023

Okay, so this script isn't leaking anything then?
I would expect when the WAN port is enabled in FORCED_LOCAL_INTERFACE no UDM traffic to leak. That does not seem to be the case.

Ideally, I'd like to have nothing escaping the VPN. Everything going through the WAN interface to be encapsulated in the tunnel. Basically #181. But this issue is because I expected that FORCED_LOCAL_INTERFACE=eth8 would not leak the stuff in the screenshot above (+lldp, mdns, imcpv6, etc).

@realies
Copy link
Author

realies commented May 26, 2023

@peacey, any idea how to not leak this DNS traffic on reboot when FORCED_LOCAL_INTERFACE is set to the WAN interface?

@realies
Copy link
Author

realies commented May 29, 2023

@peacey, do you think a firewall rule could filter out this traffic if it's not going on udp.port == 51820?

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