Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ full_custom_readme: |

## Versions

* **29.11.26:** - Container attach's WebSocket form (`/containers/{id}/attach/ws`) now needs `POST=1`, like its `POST` form.
* **05.10.26:** - Add `TIMEOUT_CLIENT` & `TIMEOUT_SERVER` options.
* **18.08.26:** - Add `ALLOW_ARCHIVE`, `ALLOW_CHANGES`, `ALLOW_EXPORT`, `ALLOW_LOGS`, `ALLOW_TOP` options.
* **15.06.26:** - Rebase to Alpine 3.24.
Expand Down
4 changes: 4 additions & 0 deletions root/templates/haproxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ frontend proxy
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?(/libpod)?/(containers|pods)/[a-zA-Z0-9_.-]+/(pause) } !allow_pause
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?(/libpod)?/containers/[a-zA-Z0-9_.-]+/(exec) } !allow_exec

# attach can write to a container's stdin and replay its log, so it needs POST=1
# even in its GET (WebSocket) form, /containers/{id}/attach/ws
http-request deny if { path,url_dec -m reg -i ^(/v[\d\.]+)?(/libpod)?/containers/[a-zA-Z0-9_.-]+/attach } !{ env(POST) -m bool }

# Docker's archive extraction endpoint only consumes tar request bodies when
# their media type is application/x-tar. Supply the documented media type
# when clients omit Content-Type rather than forwarding a request that the
Expand Down