mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-21 17:34:41 -05:00
Closed
opened 2026-05-18 16:51:58 -05:00 by GiteaMirror
·
2 comments
No Branch/Tag Specified
main
refactor/batch-status-requests
dependabot/npm_and_yarn/npm-dependencies-8b2d4a9f3a
dependabot/docker/docker-dependencies-6cbd4d48e0
dependabot/go_modules/install/go-install-dependencies-3804ca7238
dev
dependabot/npm_and_yarn/axios-1.18.0
crowdin_dev
fix/labels-dropdown-flicker
dependabot/github_actions/github-actions-dependencies-2ee11778c9
feat/remember-last-idp-on-smart-login-form
dependabot/npm_and_yarn/multi-5f1280885e
fix/non-semver-version-error
private-resource-page
resource-launcher
backhaul
exit-node-reconnect
feat/command-palette
ssh
delete-account
msg-delivery
org-only-idp
cicd
patch
site-targets-auto-login
1.21.0
1.21.0-rc.0
1.20.0
1.20.0-rc.0
1.19.4
1.19.3
1.19.2
1.19.1
1.19.0
1.19.0-rc.1
1.19.0-rc.0
1.18.4
1.18.3
1.18.2
1.18.1
1.18.0
1.18.0-rc.0
1.17.1
1.17.0
1.17.0-rc.0
1.16.2
1.16.1
1.16.0
1.16.0-rc.0
1.15.4
1.15.3
1.15.2
1.15.1
1.15.0
1.15.0-rc.0
1.14.1
1.14.0
1.14.0-rc.0
1.13.1
1.13.0
1.13.0-rc.0
1.12.3
1.12.2
1.12.1
1.12.0
1.12.0-rc.0
1.11.1
1.11.0
1.10.3
1.10.2
1.10.1
1.10.0
1.9.4
1.9.3
1.9.2
1.9.1
1.9.0
1.8.0
1.7.3
1.7.2
1.7.1
1.7.0
1.6.2
1.6.1
1.6.0
1.5.1
1.5.0
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.1
1.0.0
1.0.0-beta.15
1.0.0-beta.14
1.0.0-beta.13
1.0.0-beta.12
1.0.0-beta.11
1.0.0-beta.10
1.0.0-beta.9
1.0.0-beta.8
1.0.0-beta.7
1.0.0-beta.6
1.0.0-beta.5
1.0.0-beta.4
1.0.0-beta.3
1.0.0-beta.2
1.0.0-beta.1
Labels
Clear labels
api
authentication
bug
config
dependencies
docker
documentation
enhancement
good first issue
help wanted
Improvement
Look Into
needs investigating
networking
new feature
non-critical bug
potential bug
pull-request
question
reverse proxy
Security
stale
ui
wontfix
Mirrored from GitHub Pull Request
No labels
non-critical bug
Milestone
No items
No Milestone
Projects
Clear projects
No projects
No Assignees
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/pangolin#16696
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @Stetsed on GitHub (Jul 1, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/997
Originally assigned to: @oschwartz10612 on GitHub.
Hey lads, well after spending way to long I was able to find the issue, thanks to Astra in the discord.
There is currently an issue with how Pangolin keeps track of the public keys that belong to Gerbil. This issue can manifest when for example the path for Gerbil is incorrect, or if the key is deleted. What this causes is if the rest of the details specifically it seems like the host field(so http://gerbil:(port) on docker), it will log both keys as diffrent enteries.
The problem with this is it will only ever return the first entry from the database, so even though it might have a bunch of enteries it will only give the oldest, but this one might(and probally isn't) used anymore by Gerbil. This means it will report this outdated wireguard key to the Newt client, which means it will forever be stuck on the handshake step.
This can be seen because while the network itself will work, and the wireguard test packets can be seen using "tcpdump udp port 51820", specificially of size 148, this will only be going from Newt Server --> Gerbil, and as such Wireguard will never be able to connect.
Reproduce:
Fix
The problem right now is that it doesn't update the key for the same instance and instead adds it to the database as another entry, while still returning the old key from the database as the public key that Newt should use to connect to Gerbil. The easiest fix for this would be that if you get a client that has the same reachable address, you either delete the old entry and make a new one, or you update the previous entry.
Another solution would be to instead of grabbing the first from the index to grab the last one, because this is the one that was most recently added, but you would have a bunch of dead entries within the database so this solution isn't super useful.
@oschwartz10612 commented on GitHub (Jul 3, 2025):
Yep this is very true. Will work on a fix ASAP.
@oschwartz10612 commented on GitHub (Sep 28, 2025):
I think this was fixed in 1.9.0