class

Fetcher::CrestHttpClient::RebindingChecker

Inherits Reference < Object

DNS rebinding detection extracted from CrestHttpClient. Verifies that resolved IPs haven't changed since validation (the classic DNS rebinding attack). Uses DnsCache for caching validated addresses and the URLValidator for IP checks.

Constructors

new(config : RequestConfig, validator : URLValidator::Service)
Source

Instance methods

verify(url : String) : Nil
Source