zaneschepke / wgtunnel

An alternative Android client app for WireGuard VPN
https://zaneschepke.com/wgtunnel-docs
MIT License
923 stars 47 forks source link

[BUG] - Wilcard issue #427

Closed burny0202 closed 2 weeks ago

burny0202 commented 2 weeks ago

Describe the bug

Wildcards don't seem to be functioning correctly.

I have two access points 7 and 8

Adding one also whitelists the other

Smartphone (please complete the following information): Multiple android devices. Android 5.1 +

To Reproduce

Add 7 as a whitelisted access point. Don't add 8 Connect to 8. Tunnel is not brought up

Expected behavior

Tunnel is brought up

Great app - Appreciate all the hard work on this.

zaneschepke commented 2 weeks ago

Hello! I've changes wildcards so it is now a toggle option to prevent it from breaking people who have special characters that accidentally get translated as regex.

I also updated the docs for how to use these wildcards as (when they are enabled) certain special characters need to be escaped for them to work properly. Please check it out and let me know if you have any problems, but I believe this should fix the wildcard issues. If not, we can reopen.

https://zaneschepke.com/wgtunnel-docs/features.html#wildcard-wi-fi-name-support

burny0202 commented 1 week ago

Loving the new UI - Looking great

Unfortantely even with the switch I still see the same behavior.

Adding AP _7_ as the only trusted one, while connected to _8_ - The tunnel still goes down - Even if I add it while connected to VPN

Thanks again for all your hard work with this great app - I only just noticed GitHub is replacing my underscores so I put them as code blocks