3 writes to RemoteIpAndPort
Microsoft.AspNetCore.HttpOverrides (3)
ForwardedHeadersMiddleware.cs (3)
212RemoteIpAndPort = connection.RemoteIpAddress != null ? new IPEndPoint(connection.RemoteIpAddress, connection.RemotePort) : null, 255set.RemoteIpAndPort = parsedEndPoint; 257currentValues.RemoteIpAndPort = set.RemoteIpAndPort;
7 references to RemoteIpAndPort
Microsoft.AspNetCore.HttpOverrides (7)
ForwardedHeadersMiddleware.cs (7)
227if (currentValues.RemoteIpAndPort is null) 239if (!CheckKnownAddress(currentValues.RemoteIpAndPort.Address)) 244_logger.LogDebug(1, "Unknown proxy: {RemoteIpAndPort}", currentValues.RemoteIpAndPort); 257currentValues.RemoteIpAndPort = set.RemoteIpAndPort; 321if (checkFor && currentValues.RemoteIpAndPort != null) 339connection.RemoteIpAddress = currentValues.RemoteIpAndPort.Address; 340connection.RemotePort = currentValues.RemoteIpAndPort.Port;