Affected by GO-2022-0774
and 1 other vulnerabilities
GO-2022-0774: Improper Authentication in github.com/containous/traefik
GO-2022-0808: Improper Certificate Handling in github.com/containous/traefik
The highest tagged major version is
v2.
package
Version:
v1.7.28
Opens a new window with list of versions in this module.
Published: Jan 13, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
XForwardedFor = "X-Forwarded-For"
)
IP allows to check that addresses are in a white list
NewIP builds a new IP given a list of CIDR-Strings to white list
ContainsIP checks if provided address is in the white list
IsAuthorized checks if provided request is authorized by the white list
Source Files
¶
Click to show internal directories.
Click to hide internal directories.