diff --git a/security/source.go b/security/source.go index e12930fd..45c0603d 100644 --- a/security/source.go +++ b/security/source.go @@ -41,7 +41,7 @@ func VerifySourceNetwork(addr string) error { return ErrInvalidSourceAddress } - if !config.AllowLoopbackSourceAddresses && ip.IsLoopback() { + if !config.AllowLoopbackSourceAddresses && (ip.IsLoopback() || ip.IsUnspecified()) { return ErrSourceAddressNotAllowed }