mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 18:07:47 +08:00
feat(security): harden gateway boundaries and usage policies
Consolidate subscription usage policy enforcement, privacy-safe persistence, and gateway security hardening into one reviewable change. Includes bounded HTTP and execution envelopes, header and protocol guards, DNS and relay validation, authentication and secret projection hardening, secure backup/install paths, and regression coverage.
This commit is contained in:
@@ -1,7 +1,16 @@
|
||||
mod client;
|
||||
mod config;
|
||||
mod dns;
|
||||
mod header_security;
|
||||
mod response_body;
|
||||
mod retry;
|
||||
|
||||
pub use client::{apply_http_client_config, build_http_client, build_http_client_with_headers};
|
||||
pub use config::{HttpClientConfig, HttpRetryConfig};
|
||||
pub use dns::{lookup_host_with_limits, DEFAULT_DNS_LOOKUP_TIMEOUT, MAX_DNS_RESOLVED_ADDRESSES};
|
||||
pub use header_security::{
|
||||
connection_declared_header_names, is_https_or_loopback_http_url, is_private_or_reserved_ip,
|
||||
url_has_literal_loopback_host,
|
||||
};
|
||||
pub use response_body::{read_response_bytes_with_limit, ResponseBodyReadError};
|
||||
pub use retry::jittered_delay_for_retry;
|
||||
|
||||
Reference in New Issue
Block a user