Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
150 commits
Select commit Hold shift + click to select a range
f910eed
Replace VLA with heap allocation in cachekey appendEncoded
cmcfarlen Apr 29, 2026
79d2d8d
Guard against size_t overflow in appendEncoded buffer sizing
cmcfarlen Apr 29, 2026
48e967d
Use ts::LocalBuffer instead of std::vector in appendEncoded
cmcfarlen Apr 29, 2026
12f9ba5
Fix SNI/hostname comparison to check full string length
maskit Apr 30, 2026
6375409
Close connection if unneccesary H2 SETTINGS frame arrives
maskit Apr 30, 2026
eca51e9
Reject Transfer-Encoding in HTTP/2 and HTTP/3 headers
maskit Apr 30, 2026
24e04b7
Reject Transfer-Encoding where chunked is not the final coding
maskit Apr 30, 2026
f4561a9
Fix out-of-bounds write in MIME obs-fold handling
maskit May 1, 2026
4782ee1
Enforce per-field size limit in HPACK/QPACK string decoding
maskit May 1, 2026
6b5d7ce
regex_remap: Issue 46 - Overflow in url_len Leads to Stack Overflow
zwoop Apr 29, 2026
f994194
Also address issue #48
zwoop Apr 29, 2026
4b971b5
Reject oversized HPACK indexes
bneradt May 1, 2026
1096563
Enforce 16-bit srv_offset invariant in HostDBInfo::assign
cmcfarlen Apr 29, 2026
c45594f
Document valid range for round_robin_max_count
cmcfarlen Apr 29, 2026
8875ab4
Replace VLAs with ts::LocalBuffer in HostDB SRV handling
cmcfarlen Apr 30, 2026
2188276
Fix OOB read in H2 get_received_frame_count
cmcfarlen May 1, 2026
d9bed82
Add bounds checks to DNS answer parsing before NS_GET macros
cmcfarlen May 1, 2026
1283b37
cripts: Issue 31 - UB array write in remap instance initialization
zwoop May 1, 2026
6068623
cripts: Issue 32 - Fix path traversal in File::Path::Rebase
zwoop May 1, 2026
422b978
Fix integer overflow in MIME header parsing
moonchen May 1, 2026
0e8272d
Fix inverted condition for nonstandard method matching in ACL filtering
serrislew May 4, 2026
e8d92a5
Bound status code parsing to prevent integer overflow
serrislew May 4, 2026
f733942
Avoid stack VLA in log filter wiping
bneradt May 5, 2026
416e5b1
Avoid stack VLA in proxy protocol parsing
bneradt May 5, 2026
94255c1
Validate PROXY v1 port bounds
bneradt May 5, 2026
1960c44
Guard txn_box stack allocations
bneradt May 5, 2026
554867f
Limit CONNECT body preclusion to successful responses
cmcfarlen May 6, 2026
e4bb476
libswoc: Validate IPv6 hextet bounds
bneradt May 6, 2026
292679e
Reject overflowing XPACK integers
bneradt May 6, 2026
d4775d1
Bound outstanding HTTP/2 SETTINGS
bneradt May 6, 2026
2f196aa
Fix inverted condition in SNI_IpAllow::TestClientSNIAction
serrislew May 6, 2026
7439e70
Fix max_settings_per_minute condition
bneradt May 6, 2026
33b22d5
Update autest for SNI_IpAllow::TestClientSNIAction #188 changes
serrislew May 6, 2026
7ac47c2
http2: Add tests for CRLF rejection in H2 header values
zwoop May 6, 2026
8a63f28
Fix format issue in http2_crlf_header_validation
bneradt May 6, 2026
508c1be
rate_limit: Issue 106 - Fix queue bypass
zwoop May 7, 2026
b3fa9f1
rate_limit: Issue 108 - Fix ip-rep UB writes
zwoop May 8, 2026
d2b51c3
compress: stop gzip transform after deflate() error
bryancall May 11, 2026
a25b841
Fix leaks of POST failures
masaori335 May 12, 2026
1675a79
Add nullptr check before calling SSL_shutdown
masaori335 May 12, 2026
8102a6b
Fix length check of MethodMod:check
masaori335 May 12, 2026
00dbca8
iocore: tighten IOBuffer and AIO bounds checks
brbzull0 May 12, 2026
c4f25db
stream_editor: allocate rules in contdata_t ctor
brbzull0 May 12, 2026
2eefa5d
tscpp: hold intercept try-lock guard via shared mutex
brbzull0 May 12, 2026
276d050
URL: reject parsed ports outside uint16 range
brbzull0 May 12, 2026
70b577c
access_control: cap stack buffer for cookie base64 decode
brbzull0 May 12, 2026
7c0dfb0
rate_limit: Fix active counter underflow
zwoop May 12, 2026
71d40c1
Constrain prefetch relative paths
bneradt May 12, 2026
3414bd0
Server Session: Make sure read_buffer is empty before pooling a serve…
masaori335 May 12, 2026
6a4ecda
Keep OCSP map on init failure
bneradt May 14, 2026
d8418bc
Return evacuation bucket by reference not by value
cmcfarlen May 14, 2026
2ce51ba
Handle addressless PROXY headers in TLS
bneradt May 14, 2026
8a908a5
Guard outbound server_name SNI policy
bneradt May 14, 2026
45b1b89
Verify H2 origin certs on session reuse
bneradt May 14, 2026
b791895
TLSSNISupport: own outbound_sni_policy bytes across config reload
serrislew May 14, 2026
3cf6f23
Avoid signed tolower for name bytes
bneradt May 15, 2026
af6a8ce
Reject oversized multiplexer chunks
bneradt May 15, 2026
19afc73
Keep loop detection on outbound-transparent ports
cmcfarlen May 15, 2026
3ac822d
Set default value of proxy.config.http2.default_buffer_water_mark to …
masaori335 May 15, 2026
888fb43
Avoid UB when URL part is absent in URLImpl getters
cmcfarlen May 18, 2026
e8a732f
HTTPHdr: fix use-after-free in destroy() leaving dangling m_http
serrislew May 19, 2026
a4b8f1b
ESI: cap HTTP request length to prevent size_t overflow
shukitchan May 19, 2026
efb5cd1
Invoke Continuation operator bool, not pointer-to-bool
cmcfarlen May 19, 2026
fae88bb
Prevent unbounded recursion in host-down Range fallback
cmcfarlen May 19, 2026
244e7ed
Add uds-perm/uds-user/uds-group port options
maskit May 19, 2026
f75672e
Fix ChunkHandler Flow Control
masaori335 May 19, 2026
6a8c575
Fix FetchSM header block copying
bneradt May 26, 2026
2e45ff0
Gate H2 reads during async hooks
bneradt May 26, 2026
ca783e5
background_fetch: fix inverted size operator and broken value wildcard
serrislew May 26, 2026
485f241
Fix an integer overflow in HdrHeap
moonchen May 26, 2026
58c5130
lua: Add checks on server request hdr
shukitchan May 26, 2026
92693e8
Regex: add RE_FULL_MATCH flag, fix SNI partial-match policy bypass
ezelkow1 May 26, 2026
9da372d
Combo handler: Reject empty Content-Type when allowlist is configured
shukitchan May 27, 2026
709443e
Fix race in remap table refcount during reload
zwoop May 27, 2026
ee78b0a
ESI: bound for nested esi html comment
shukitchan May 28, 2026
6a0e83d
ja3_fingerprint: tighten encode_word_buffer bounds
masaori335 May 28, 2026
de6efd2
Use ParseRules::is_digit on raw network bytes in HTTP parser
cmcfarlen May 28, 2026
48fb554
header_rewrite: Copy set-body-from response body with memcpy
cmcfarlen May 28, 2026
e92923f
Cap stale_response SIE buffering
bneradt May 28, 2026
0a1342e
Guard parent mark-down on UNAVAILABLE_SERVER retry
cmcfarlen May 29, 2026
def5585
xdebug: Cap X-Remap header length to actual buffer content
cmcfarlen May 29, 2026
a7e78ad
DNS: fix TCP length-prefix read under edge-triggered epoll
serrislew May 29, 2026
c47966a
Add admin-guide reference for writing secure regex rules
ezelkow1 May 29, 2026
45c18fc
combo_handler.test.py: Fix empty type test output
bneradt Jun 1, 2026
6916a91
test_proxy: Fix macOS link duplicates after FetchSM test was added
cmcfarlen Jun 3, 2026
d8f7412
Fixes HRW bridge issues, adds autests to Cripts
zwoop Jun 3, 2026
fb3e2b7
cripts: Fix undersized sockaddr in Geo IP lookup
zwoop Jun 4, 2026
afc8633
cripts: fix use-after-free in TSRemapDoRemap
zwoop Jun 4, 2026
904beee
cripts: Fix abort on duplicate query keys
zwoop Jun 4, 2026
387fcb9
header_rewrite: Fix cookie key over-read
zwoop Jun 5, 2026
0ca59c0
doc: cover uri_signing cdniuc uri-regex in regex best practices
ezelkow1 Jun 5, 2026
92938c9
Preserve dynamic-port flag across tunnel_route mapping ops
maskit Jun 5, 2026
6cdadb2
HttpTunnel: Guard get_producer(VIO*) against dead producers
maskit Jun 8, 2026
c183dc4
ts_lua: clear rri pointer in http_ctx after remap returns
ezelkow1 Jun 8, 2026
4c60f2c
ts_lua: use sockaddr_storage for ts_lua_fetch client address
ezelkow1 Jun 8, 2026
20e47be
header_rewrite: Guard SESSION/STATE access on null handle
zwoop Jun 8, 2026
fc4eeea
cripts: Fix global Client::URL MLoc leak
zwoop Jun 8, 2026
7606346
cripts: Fix Bundle::Headers server-side header removal
zwoop Jun 9, 2026
4cb4f01
slice: Check for Integer underflow in firstblockbytes
traeak Jun 9, 2026
a9556e0
ParentSelection: increase size of mapWrapped array for compat with st…
traeak Jun 9, 2026
29caef3
lua: Invalidate cached main_ctx when slot is outside instance's range
cmcfarlen Jun 9, 2026
1aae279
DNS: Run HostEnt destructor on free to release SRV vector heap
cmcfarlen Jun 9, 2026
c2231aa
HttpSM: Stop tracking the fire-and-forget cache-delete Action
cmcfarlen Jun 9, 2026
704a2b1
lua: Free transform context when client-hook VConn closes
cmcfarlen Jun 9, 2026
5d5e7db
NextHopRoundRobin: update ring size for wrapping when switching rings
traeak Jun 9, 2026
c780397
certifier: Reject unsafe SNI names
bneradt Jun 9, 2026
2648dd9
Drop H2 origin trailers for H1 clients
bneradt Jun 9, 2026
17d6c19
http2: Reject CONTINUATION accumulation that overflows header_blocks_…
bryancall Jun 9, 2026
ab84929
Honor number_of_redirections for plugin-initiated redirects
bryancall Jun 10, 2026
6f607cf
cache_range_requests: use std::string spill buffer for building overr…
traeak Jun 10, 2026
5b65055
Reject header fields exceeding the uint16 field-length limit
bryancall Jun 10, 2026
b4a40d1
webp_transform: bound buffered body and ImageMagick decode
bryancall Jun 10, 2026
f1d8af5
header_rewrite: Fix IPv6 CIDR masking for non-aligned prefixes
cmcfarlen Jun 10, 2026
601b548
Implement SSRF validation for ESI include URLs
shukitchan Jun 10, 2026
06a1eb4
SSLNetVConnection: deregister async handshake eventfd on connection t…
bryancall Jun 11, 2026
8faf93d
Strip Connection-listed headers per RFC 9110 §7.6.1
alficles Jun 11, 2026
3b74fe4
Test H2 control-character rejection
bneradt Jun 11, 2026
8a0da3a
http2: Defer HPACK dynamic-table updates until encoding succeeds
maskit Jun 11, 2026
bb30f67
authproxy: Don't assert on auth response with no header fields
maskit Jun 11, 2026
b2d5f34
mgmt/rpc: create JSONRPC unix socket with intended mode atomically
brbzull0 Jun 11, 2026
6cec6fc
cache: Move openReadStartEarliest recursion counter off CacheVC to fi…
bryancall Jun 11, 2026
b0a4e43
Bound host header buffer
serrislew Jun 11, 2026
3a93693
uri_signing: replace stack arrays with LocalBuffer
alficles Jun 12, 2026
4020aa9
http: reject chunked extension quoted-string values containing CR or LF
bryancall Jun 12, 2026
67286ef
ip_allow: add default CONNECT destination rules
bneradt Jun 12, 2026
6451527
Guard against missing delimiter in url_sig C= parameter
alficles Jun 12, 2026
4ab63db
master: Strip external @ headers before plugin hooks
bneradt Jun 12, 2026
1eb2e7b
Fix: cancel stale TLS accept timeouts so session acceptors don't abort
moonchen Jun 12, 2026
a074ce5
regex_map: anchor host matching to the full hostname
bryancall Jun 14, 2026
f474ebb
Invalidate dns_info.addr when claiming resolved without DNS
cmcfarlen Jun 15, 2026
8441511
PendingAction: Don't let CAS failure overwrite the caller's action
cmcfarlen Jun 15, 2026
df60315
parent_selection: Cap retries to one per window via failedAt CAS
cmcfarlen Jun 15, 2026
ff6992b
compress: Wrap isspace so obs-text Content-Type bytes don't trigger UB
cmcfarlen Jun 15, 2026
810355d
Expand URI normalization test coverage for userinfo handling
alficles Jun 15, 2026
0257fc3
Guard remap against shutdown table teardown
bneradt Jun 16, 2026
258cf64
Revert "Guard remap against shutdown table teardown"
bneradt Jun 16, 2026
5119d93
Guard remap against shutdown table teardown
bneradt Jun 17, 2026
043fb22
http: reject a bare LF chunked trailer terminator under strict parsing
bryancall Jun 17, 2026
7d0b435
Combo handler: Refactor Cache-Control parsing and update gold test
shukitchan Jun 22, 2026
42d1991
Fix null-deref in error_log_connection_failure for a DOWN host
maskit Jul 10, 2026
867f2b5
Fix tls_engine_abort autest referencing removed async_engine plugin
maskit Jul 13, 2026
7e22656
Fix header_rewrite_bundle cookie rules matching the wrong path
maskit Jul 13, 2026
337816b
http: drain request body on internally generated cache responses
bryancall Jul 17, 2026
3dca68b
Fix chunked passthrough flow-control deadlock (drop_chunked_trailers=0)
masaori335 Jul 20, 2026
5224ac1
webp_transform: fix decode_limit test to send a matching signature
maskit Jul 25, 2026
b275158
Regex: preserve RE_ENDANCHORED semantics on PCRE2 < 10.30
cmcfarlen Jul 27, 2026
9118cc8
esi: drop tsutil from esicore link deps to avoid plugin ODR
cmcfarlen Jul 27, 2026
b395a08
esi: add <sys/socket.h> for AF_INET/AF_INET6 in IncludeUrlValidator
cmcfarlen Jul 27, 2026
c611f80
esi: guard optarg null before setHostAllowRegex to satisfy clang anal…
cmcfarlen Jul 27, 2026
e7051e1
connect_destination_acl: accept curl exit 7 for a refused CONNECT
maskit Jul 28, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 26 additions & 2 deletions configs/ip_allow.yaml.default
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
# The top level tag 'ip_allow' identifies the rule items. Its value must be a rule item or a
# sequence of rule items.
#
# Rules are applied in the order listed starting from the top.
# That means you generally want to append your rules after the ones listed here.
# Rules are applied in the order listed starting from the top. The first
# matching IP range determines the rule used for that connection, so add
# explicit exceptions before broader deny rules.
#
# Allow anything on localhost, limit destructive and debug methods elsewhere.
ip_allow:
Expand Down Expand Up @@ -50,3 +51,26 @@ ip_allow:
- PUSH
- DELETE
- TRACE
# Deny CONNECT tunnels to unspecified, loopback, private, and link-local
# destination addresses by default. If you intentionally proxy CONNECT to
# one of these ranges, add a more specific outbound allow rule before this
# one.
- apply: out
ip_addrs:
- 0.0.0.0/8
- 127.0.0.0/8
- "::"
- ::1
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- 169.254.0.0/16
- ::/96
- fc00::/7
- fe80::/10
# IPv4-compatible IPv6 ranges use ::/96. IPv4-mapped IPv6 ranges use
# hexadecimal notation because the range parser does not accept
# embedded dotted-quad tails.
- ::ffff:0:0/96
action: deny
methods: CONNECT
1 change: 1 addition & 0 deletions doc/admin-guide/configuration/index.en.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@ Proxy Cache Configuration
hierarchical-caching.en
proxy-protocol.en
hrw4u.en
regex-best-practices.en
Loading