{"id":23889561,"url":"https://github.com/o-x-l/squid-openssl-docker","last_synced_at":"2025-04-10T06:05:31.521Z","repository":{"id":190947256,"uuid":"683639933","full_name":"O-X-L/squid-openssl-docker","owner":"O-X-L","description":"Dockerfile for Squid-OpenSSL","archived":false,"fork":false,"pushed_at":"2024-06-01T09:58:00.000Z","size":107,"stargazers_count":3,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-10T06:05:30.479Z","etag":null,"topics":["docker","dockerfile","dockerfiles","http-proxy","https-proxy","squid","squid-proxy","ssl-proxy"],"latest_commit_sha":null,"homepage":"https://docs.o-x-l.com/proxy/forward_squid.html","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/O-X-L.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-27T08:16:20.000Z","updated_at":"2024-09-07T10:33:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"9e2221ea-c6cb-45c6-b2cc-f28e06421a03","html_url":"https://github.com/O-X-L/squid-openssl-docker","commit_stats":null,"previous_names":["superstes/squid-openssl-docker","o-x-l/squid-openssl-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O-X-L%2Fsquid-openssl-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O-X-L%2Fsquid-openssl-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O-X-L%2Fsquid-openssl-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/O-X-L%2Fsquid-openssl-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/O-X-L","download_url":"https://codeload.github.com/O-X-L/squid-openssl-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166929,"owners_count":21058481,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","dockerfile","dockerfiles","http-proxy","https-proxy","squid","squid-proxy","ssl-proxy"],"created_at":"2025-01-04T10:09:50.272Z","updated_at":"2025-04-10T06:05:31.498Z","avatar_url":"https://github.com/O-X-L.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Squid OpenSSL - Docker\n\nBuild image\n```bash\nbash scripts/build.sh\n```\n\nRun container\n```bash\n# interactively\ndocker run -p 3128:3128 --name squid local/squid\n# daemon\ndocker run -d -p 3128:3128 --restart unless-stopped --name squid local/squid\n```\n\nYou can map your custom config: `-v /path/to/main/config:/etc/squid/squid.conf`\n\nYou can also map cache data: ` -v /path/to/data:/var/spool/squid`\n\n## Default config\n\n* SSL-Bump peaking (*no interception - just read target hostnames for filtering*)\n* Allow connections only from private IPv4 ranges and localhost\n* Allow connections to 80/443\n* Deny weak inbound and outbound ciphers\n* Deny connections to servers with bad certificates\n* Deny HTTP-Connect tunnels through proxy\n\n## Testing\n\n```bash\nhttp_proxy=http://127.0.0.1:3128 curl -v http://superstes.eu\n\u003e TCP_MISS/301 478 GET http://superstes.eu/ - HIER_DIRECT/superstes.eu text/html\n\nhttps_proxy=http://127.0.0.1:3128 curl -v https://superstes.eu\n\u003e NONE_NONE/200 0 CONNECT superstes.eu:443 - HIER_NONE/- -\n\u003e TCP_TUNNEL/200 6178 CONNECT superstes.eu:443 - HIER_DIRECT/superstes.eu -\n```\n\n## Custom paths\n\nIf you change paths at build-time you will at least also need to change them in the squid.conf file.\n\n## Logs\nThe log-files are redirected to `docker logs` as done in the [ubuntu/squid](https://hub.docker.com/r/ubuntu/squid) image.\n\nSo configure these log-file locations:\n\n```\nSQUID_DIR_LOG=/var/log/squid  # can be configured at build-time\naccess_log /var/log/squid/access.log\ncache_log /var/log/squid/cache.log\ncache_store_log /var/log/squid/store.log\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-x-l%2Fsquid-openssl-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fo-x-l%2Fsquid-openssl-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fo-x-l%2Fsquid-openssl-docker/lists"}