Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
tsk-tsk/dockerfiles/tsk-proxy/squid.conf at main · dtormoen/tsk-tsk · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
See all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
dtormoen
tsk-tsk
Repository navigation
Code
Issues
1
(1)
Pull requests
6
(6)
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
main
Breadcrumbs
tsk-tsk
/
dockerfiles
/
tsk-proxy
/
squid.conf
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
115 lines (94 loc) · 3.77 KB
main
Breadcrumbs
tsk-tsk
/
dockerfiles
/
tsk-proxy
/
squid.conf
Copy path
Top
File metadata and controls
Code
Blame
115 lines (94 loc) · 3.77 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
# Squid configuration for TSK proxy
# Listen on port 3128
http_port 3128
# Disable caching
cache deny all
# Access control lists for allowed domains
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 443 # https
acl CONNECT method CONNECT
# Define allowed domains
# API domains
acl allowed_domains dstdomain api.anthropic.com
acl allowed_domains dstdomain platform.claude.com
acl allowed_domains dstdomain sentry.io
acl allowed_domains dstdomain statsig.com
acl allowed_domains dstdomain api.openai.com
# Python (pip/PyPI/uv)
acl allowed_domains dstdomain pypi.org
acl allowed_domains dstdomain pypi.python.org
acl allowed_domains dstdomain files.pythonhosted.org
acl allowed_domains dstdomain astral.sh
# Rust (cargo)
acl allowed_domains dstdomain crates.io
acl allowed_domains dstdomain index.crates.io
acl allowed_domains dstdomain static.crates.io
# Go
acl allowed_domains dstdomain proxy.golang.org
acl allowed_domains dstdomain sum.golang.org
acl allowed_domains dstdomain pkg.go.dev
acl allowed_domains dstdomain golang.org
acl allowed_domains dstdomain google.golang.org
# Java (Maven/Gradle)
acl allowed_domains dstdomain repo.maven.apache.org
acl allowed_domains dstdomain repo1.maven.org
acl allowed_domains dstdomain central.sonatype.com
acl allowed_domains dstdomain plugins.gradle.org
acl allowed_domains dstdomain services.gradle.org
acl allowed_domains dstdomain downloads.gradle.org
acl allowed_domains dstdomain downloads.gradle-dn.com
acl allowed_domains dstdomain jcenter.bintray.com
# npm (Node.js)
acl allowed_domains dstdomain registry.npmjs.org
acl allowed_domains dstdomain nodejs.org
acl allowed_domains dstdomain npmjs.com
# OS package repositories (needed for Podman image builds inside TSK containers)
acl allowed_domains dstdomain ports.ubuntu.com
acl allowed_domains dstdomain archive.ubuntu.com
acl allowed_domains dstdomain security.ubuntu.com
# Docker Hub (container registry)
acl allowed_domains dstdomain registry-1.docker.io
acl allowed_domains dstdomain auth.docker.io
acl allowed_domains dstdomain production.cloudflare.docker.com
acl allowed_domains dstdomain .r2.cloudflarestorage.com
# Stack installer domains (needed for Docker image builds during integration tests)
# Rust: rustup installer and binary downloads
acl allowed_domains dstdomain sh.rustup.rs
acl allowed_domains dstdomain static.rust-lang.org
# Go: binary tarball download (go.dev/dl redirects to dl.google.com)
acl allowed_domains dstdomain go.dev
acl allowed_domains dstdomain dl.google.com
# Node.js: NodeSource apt repository
acl allowed_domains dstdomain deb.nodesource.com
# Lua: Neovim PPA, Launchpad API, GPG key server, and LuaRocks
acl allowed_domains dstdomain ppa.launchpad.net
acl allowed_domains dstdomain ppa.launchpadcontent.net
acl allowed_domains dstdomain api.launchpad.net
acl allowed_domains dstdomain keyserver.ubuntu.com
acl allowed_domains dstdomain luarocks.org
# GitHub (uv installer redirect from astral.sh, archive downloads)
acl allowed_domains dstdomain github.com
acl allowed_domains dstdomain codeload.github.com
acl allowed_domains dstdomain objects.githubusercontent.com
acl allowed_domains dstdomain release-assets.githubusercontent.com
# Deny access to non-safe ports
http_access deny !Safe_ports
# Deny CONNECT to non-SSL ports
http_access deny CONNECT !SSL_ports
# Allow access only to whitelisted domains
http_access allow allowed_domains
# Deny all other access
http_access deny all
# Don't show Squid version
httpd_suppress_version_string on
# Logging
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
# Error pages
error_directory /usr/share/squid/errors/en
# PID file location (writable by squid user)
pid_filename /var/run/squid/squid.pid
# Performance tuning
forwarded_for off
# Note: via off triggers a warning, but we keep it for privacy
You can’t perform that action at this time.