3 writes to RemoteIpAndPort
Microsoft.AspNetCore.HttpOverrides (3)
ForwardedHeadersMiddleware.cs (3)
212
RemoteIpAndPort
= connection.RemoteIpAddress != null ? new IPEndPoint(connection.RemoteIpAddress, connection.RemotePort) : null,
239
set.
RemoteIpAndPort
= parsedEndPoint;
241
currentValues.
RemoteIpAndPort
= set.RemoteIpAndPort;
7 references to RemoteIpAndPort
Microsoft.AspNetCore.HttpOverrides (7)
ForwardedHeadersMiddleware.cs (7)
226
if (currentValues.
RemoteIpAndPort
!= null && checkKnownIps && !CheckKnownAddress(currentValues.
RemoteIpAndPort
.Address))
231
_logger.LogDebug(1, "Unknown proxy: {RemoteIpAndPort}", currentValues.
RemoteIpAndPort
);
241
currentValues.RemoteIpAndPort = set.
RemoteIpAndPort
;
305
if (checkFor && currentValues.
RemoteIpAndPort
!= null)
323
connection.RemoteIpAddress = currentValues.
RemoteIpAndPort
.Address;
324
connection.RemotePort = currentValues.
RemoteIpAndPort
.Port;