Skip to content

fix: harden application and management listeners - #56

Draft
cloudcarver wants to merge 1 commit into
mainfrom
agent/security-listener-defaults
Draft

fix: harden application and management listeners#56
cloudcarver wants to merge 1 commit into
mainfrom
agent/security-listener-defaults

Conversation

@cloudcarver

Copy link
Copy Markdown
Owner

Summary

  • bind the main HTTP server to its configured host with IPv6-safe formatting
  • make metrics disabled and loopback-bound by default with explicit configuration
  • bind pprof to loopback by default
  • add defensive HTTP timeouts and listener configuration tests
  • explicitly expose the generated container application where container networking requires it

Validation

  • go test ./...
  • go test -race ./pkg/app ./pkg/metrics ./pkg/server
  • go vet ./...
  • make gen

Closes #39
Closes #47
Closes #52

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant