Structs§
Functions§
- host_
to_ ip - is_
blocked_ ip - outbound_
client - A [
reqwest::Client] for requests to user-provided urls, refusing to connect to any resolved address or redirect covered byAPP_BLOCKED_CIDRS. IP-literal urls skip resolution, so start requests withoutbound_requestto refuse those as well. - outbound_
request - Starts a request on
outbound_client, refusing a url whose host is an IP address covered byAPP_BLOCKED_CIDRSbefore anything is connected. - resolve_
allowed_ addresses - Resolves
hostand drops every address covered byAPP_BLOCKED_CIDRS, for connections that cannot be routed throughoutbound_clientand have to dial the returned addresses directly. - unbracket