-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
I tried to use server mode on any IP as described in https://coder.github.io/httpjail/advanced/server-mode.html, but httpjail refused to bind on 0.0.0.0. Instead it always binds on localhost.
# HTTPJAIL_HTTP_BIND=0.0.0.0:18080 HTTPJAIL_HTTPS_BIND=0.0.0.0:18443 httpjail --server --js "true" --request-log /dev/stdout -vvv
14:15:13.656 DEBUG httpjail: httpjail version: 0.4.2 (5afe807)
14:15:13.656 DEBUG httpjail: Starting httpjail with args: RunArgs { sh: None, proc: None, js: Some("true"), js_file: None, request_log: Some("/dev/stdout"), weak: false, verbose: 3, timeout: None, no_jail_cleanup: false, cleanup: false, server: true, test: None, docker_run: false, exec_command: [] }
14:15:13.656 INFO httpjail: Starting httpjail in server mode
14:15:13.656 INFO httpjail: Using V8 JavaScript rule evaluation
14:15:13.658 INFO httpjail::rules::v8_js: V8 JavaScript rule engine initialized
14:15:13.658 DEBUG httpjail::tls: Loading cached CA certificate from "/root/.config/httpjail/ca-cert.pem"
14:15:13.658 INFO httpjail::tls: Loaded cached CA certificate from /root/.config/httpjail/ca-cert.pem
14:15:13.658 INFO httpjail::tls: Certificate manager initialized
14:15:13.658 DEBUG httpjail::proxy: Created HTTPS client config with 145 trusted roots (including httpjail CA)
14:15:13.658 INFO httpjail::proxy: HTTPS connector initialized with webpki roots and httpjail CA
14:15:13.659 INFO httpjail::proxy: Starting HTTP proxy on port 18080
14:15:13.659 INFO httpjail::proxy: Starting HTTPS proxy on port 18443
14:15:13.659 INFO httpjail: Proxy server running on http://localhost:18080 and https://localhost:18443
^CReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels