Eigenverft.WebLib.Infrastructure
  • Guides
  • API
Show / Hide Table of Contents
  • Eigenverft.WebLib.Infrastructure.Hosting
    • HttpResponseExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Configuration.Values
    • AspNetDataProtectionConfigurationValueCodecs
  • Eigenverft.WebLib.Infrastructure.Hosting.DirectoryLayout
    • WebApplicationBuilderFactory
  • Eigenverft.WebLib.Infrastructure.Hosting.Features
    • HttpContextFeatureExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Hsts
    • WebLibHstsExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Kestrel
    • ConfigureWebHostBuilderExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.CanonicalHostRedirect
    • CanonicalHostMode
    • CanonicalHostRedirectExtensions
    • CanonicalHostRedirectOptions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.ClientNetwork
    • ClientForwardedIpAddress
    • ClientForwardedIpSource
    • ClientNetworkApplicationBuilderExtensions
    • ClientNetworkMiddleware
    • IClientNetworkFeature
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.HealthProbeFaviconAware
    • HealthProbeFaviconAwareExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Middleware.Infrastructure
    • ApplicationBuilderMiddlewareExtensions
    • ServiceProviderRegistrationExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.Pipeline
    • PipelinePartitioningExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.RateLimiting
    • MissingClientIpBehavior
    • WebLibRequestTrafficShapingOptions
    • WebLibRequestTrafficShapingPerClientOptions
    • WebLibRequestTrafficShapingServerWideOptions
    • WebLibRequestTrafficShapingServiceCollectionExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.RequestTrafficLogging
    • RequestTrafficLoggingApplicationBuilderExtensions
    • RequestTrafficLoggingFields
    • RequestTrafficLoggingOptions
    • RequestTrafficLoggingServiceCollectionExtensions
    • SensitiveValueMode
  • Eigenverft.WebLib.Infrastructure.Hosting.SelfHttpWarmup
    • SelfHttpWarmupOptions
    • SelfHttpWarmupServiceCollectionExtensions
  • Eigenverft.WebLib.Infrastructure.Hosting.StaticFiles
    • AdditionalMappings
    • StaticFileAdditionalMappings
    • StaticFileApplicationBuilderExtensions
  • Eigenverft.WebLib.Infrastructure.Transformations
    • AspNetDataProtectionStringTransforms

Interface IClientNetworkFeature

Exposes normalized client-network facts collected for the current request.

Namespace: Eigenverft.WebLib.Infrastructure.Hosting.Middleware.ClientNetwork
Assembly: Eigenverft.WebLib.Infrastructure.dll
Syntax
public interface IClientNetworkFeature
Remarks

This feature intentionally performs no proxy-trust, legitimacy, or request-behavior evaluation. Consumers decide how the actual peer address and any forwarded-IP information should affect filtering or other behavior.

Properties

| Edit this page View Source

ForwardedIpChain

Gets forwarded-IP tokens observed in the request. Order is preserved within each source; standardized Forwarded entries are collected before X-Forwarded-For entries when both are present.

Declaration
IReadOnlyList<ClientForwardedIpAddress> ForwardedIpChain { get; }
Property Value
Type Description
IReadOnlyList<ClientForwardedIpAddress>
| Edit this page View Source

HasMalformedForwardedIpInformation

Gets a value indicating whether any forwarded-IP token was present but malformed.

Declaration
bool HasMalformedForwardedIpInformation { get; }
Property Value
Type Description
bool
| Edit this page View Source

RemoteIpAddress

Gets the normalized actual remote peer address from HttpContext.Connection.RemoteIpAddress.

Declaration
IPAddress RemoteIpAddress { get; }
Property Value
Type Description
IPAddress
  • Edit this page
  • View Source
In this article
Back to top