diff --git a/src/yggdrasil/session.go b/src/yggdrasil/session.go index 3ed118b..1b8d1cb 100644 --- a/src/yggdrasil/session.go +++ b/src/yggdrasil/session.go @@ -390,7 +390,7 @@ func (ss *sessions) handlePing(ping *sessionPing) { // Get the corresponding session (or create a new session) sinfo, isIn := ss.getByTheirPerm(&ping.SendPermPub) // Check the session firewall - if ss.sessionFirewallEnabled { + if !isIn && ss.sessionFirewallEnabled { if !ss.isSessionAllowed(&ping.SendPermPub) { return }