diff --git a/flake.lock b/flake.lock index 00444fd..8b83aa9 100644 --- a/flake.lock +++ b/flake.lock @@ -129,11 +129,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1774535687, - "narHash": "sha256-dpKS/8+uB0EoI4mCrpio+xs8Xxry6ZhLLwV8VIbbfrs=", + "lastModified": 1774581174, + "narHash": "sha256-258qgkMkYPkJ9qpIg63Wk8GoIbVjszkGGPU1wbVHYTk=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "75900435aa883f84b038316864b3f60956681523", + "rev": "a313afc75b85fc77ac154bf0e62c36f68361fd0b", "type": "github" }, "original": { diff --git a/module.nix b/module.nix index 7543683..92b9669 100644 --- a/module.nix +++ b/module.nix @@ -156,8 +156,9 @@ in ''; }; - services.caddy.virtualHosts."http://127.0.0.1:8888" = lib.mkIf cfg.tor.enable { + services.caddy.virtualHosts."http://:8888" = lib.mkIf cfg.tor.enable { extraConfig = '' + bind 127.0.0.1 header Cross-Origin-Opener-Policy "same-origin" header Cross-Origin-Embedder-Policy "require-corp" diff --git a/tor.har b/tor.har new file mode 100644 index 0000000..e3e3506 --- /dev/null +++ b/tor.har @@ -0,0 +1,252 @@ +{ + "log": { + "version": "1.2", + "creator": { + "name": "Firefox", + "version": "140.8.0" + }, + "browser": { + "name": "Firefox", + "version": "140.8.0" + }, + "pages": [ + { + "id": "page_1", + "pageTimings": { + "onContentLoad": 1578, + "onLoad": 1578 + }, + "startedDateTime": "2026-03-26T20:03:41.824-07:00", + "title": "http://jet7tetd43snvjx3ng5jrhuwm2yhyp76tjtct5mtofg64apokcgq7fqd.onion/" + } + ], + "entries": [ + { + "startedDateTime": "2026-03-26T20:03:41.824-07:00", + "request": { + "bodySize": 0, + "method": "GET", + "url": "http://jet7tetd43snvjx3ng5jrhuwm2yhyp76tjtct5mtofg64apokcgq7fqd.onion/", + "httpVersion": "HTTP/1.1", + "headers": [ + { + "name": "Host", + "value": "jet7tetd43snvjx3ng5jrhuwm2yhyp76tjtct5mtofg64apokcgq7fqd.onion" + }, + { + "name": "User-Agent", + "value": "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" + }, + { + "name": "Accept", + "value": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" + }, + { + "name": "Accept-Language", + "value": "en-US,en;q=0.5" + }, + { + "name": "Accept-Encoding", + "value": "gzip, deflate, br, zstd" + }, + { + "name": "Sec-GPC", + "value": "1" + }, + { + "name": "Connection", + "value": "keep-alive" + }, + { + "name": "Upgrade-Insecure-Requests", + "value": "1" + }, + { + "name": "Sec-Fetch-Dest", + "value": "document" + }, + { + "name": "Sec-Fetch-Mode", + "value": "navigate" + }, + { + "name": "Sec-Fetch-Site", + "value": "none" + }, + { + "name": "Priority", + "value": "u=0, i" + }, + { + "name": "Pragma", + "value": "no-cache" + }, + { + "name": "Cache-Control", + "value": "no-cache" + } + ], + "cookies": [], + "queryString": [], + "headersSize": 521 + }, + "response": { + "status": 200, + "statusText": "OK", + "httpVersion": "HTTP/1.1", + "headers": [ + { + "name": "Server", + "value": "Caddy" + }, + { + "name": "Date", + "value": "Fri, 27 Mar 2026 03:03:43 GMT" + }, + { + "name": "Content-Length", + "value": "0" + } + ], + "cookies": [], + "content": { + "mimeType": "text/plain", + "size": 0, + "text": "" + }, + "redirectURL": "", + "headersSize": 90, + "bodySize": 90 + }, + "cache": {}, + "timings": { + "blocked": 894, + "dns": 0, + "connect": 894, + "ssl": 0, + "send": 0, + "wait": 617, + "receive": 0 + }, + "time": 2405, + "_securityState": "insecure", + "serverIPAddress": "0.0.0.0", + "connection": "80", + "pageref": "page_1" + }, + { + "startedDateTime": "2026-03-26T20:03:43.440-07:00", + "request": { + "bodySize": 0, + "method": "GET", + "url": "http://jet7tetd43snvjx3ng5jrhuwm2yhyp76tjtct5mtofg64apokcgq7fqd.onion/favicon.ico", + "httpVersion": "HTTP/1.1", + "headers": [ + { + "name": "Host", + "value": "jet7tetd43snvjx3ng5jrhuwm2yhyp76tjtct5mtofg64apokcgq7fqd.onion" + }, + { + "name": "User-Agent", + "value": "Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0" + }, + { + "name": "Accept", + "value": "image/avif,image/webp,image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5" + }, + { + "name": "Accept-Language", + "value": "en-US,en;q=0.5" + }, + { + "name": "Accept-Encoding", + "value": "gzip, deflate, br, zstd" + }, + { + "name": "Referer", + "value": "http://jet7tetd43snvjx3ng5jrhuwm2yhyp76tjtct5mtofg64apokcgq7fqd.onion/" + }, + { + "name": "Sec-GPC", + "value": "1" + }, + { + "name": "Connection", + "value": "keep-alive" + }, + { + "name": "Sec-Fetch-Dest", + "value": "image" + }, + { + "name": "Sec-Fetch-Mode", + "value": "no-cors" + }, + { + "name": "Sec-Fetch-Site", + "value": "same-origin" + }, + { + "name": "Priority", + "value": "u=6" + }, + { + "name": "Pragma", + "value": "no-cache" + }, + { + "name": "Cache-Control", + "value": "no-cache" + } + ], + "cookies": [], + "queryString": [], + "headersSize": 589 + }, + "response": { + "status": 200, + "statusText": "OK", + "httpVersion": "HTTP/1.1", + "headers": [ + { + "name": "Server", + "value": "Caddy" + }, + { + "name": "Date", + "value": "Fri, 27 Mar 2026 03:03:43 GMT" + }, + { + "name": "Content-Length", + "value": "0" + } + ], + "cookies": [], + "content": { + "mimeType": "text/plain", + "size": 0, + "text": "" + }, + "redirectURL": "", + "headersSize": 90, + "bodySize": 90 + }, + "cache": {}, + "timings": { + "blocked": 0, + "dns": 0, + "connect": 0, + "ssl": 0, + "send": 0, + "wait": 604, + "receive": 0 + }, + "time": 604, + "_securityState": "insecure", + "serverIPAddress": "0.0.0.0", + "connection": "80", + "pageref": "page_1" + } + ] + } +} \ No newline at end of file