Skip to content

Conversation

@kinkie
Copy link
Contributor

@kinkie kinkie commented Jan 8, 2025

No description provided.

@rousskov rousskov self-requested a review January 9, 2025 14:50
Copy link
Contributor

@rousskov rousskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title promises to improve https_port documentation. PR code changes http_port documentation instead.

@rousskov rousskov added the S-waiting-for-author author action is expected (and usually required) label Jan 13, 2025
@kinkie kinkie added backport-to-v7 maintainer has approved these changes for v7 backporting S-waiting-for-reviewer ready for review: Set this when requesting a (re)review using GitHub PR Reviewers box and removed S-waiting-for-author author action is expected (and usually required) labels Feb 26, 2025
@kinkie kinkie requested a review from rousskov February 26, 2025 03:59
Copy link
Contributor

@rousskov rousskov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR title promises to improve https_port documentation. PR code changes http_port documentation instead.

The above problem remains unaddressed.

From Bug 5092: I got a log message saying "FATAL: ssl-bump on https_port requires tproxy/intercept which is missing." and "FATAL: tproxy/intercept on https_port requires ssl-bump which is missing.". However, none of these information has been mentioned in [documentation]"

The current PR changes do not address Bug 5092!

@rousskov rousskov added S-waiting-for-author author action is expected (and usually required) and removed S-waiting-for-reviewer ready for review: Set this when requesting a (re)review using GitHub PR Reviewers box labels Feb 28, 2025
@kinkie
Copy link
Contributor Author

kinkie commented Dec 26, 2025

moved text to https_port, made it more generic

@kinkie kinkie added S-waiting-for-reviewer ready for review: Set this when requesting a (re)review using GitHub PR Reviewers box and removed S-waiting-for-author author action is expected (and usually required) labels Dec 26, 2025
@kinkie kinkie requested a review from rousskov December 26, 2025 15:15
@yadij
Copy link
Contributor

yadij commented Dec 26, 2025

moved text to https_port, made it more generic

Except that https_port is the more-specific port. It only accepts HTTP-over-TLS, whereas the http_port accepts all HTTP-based protocols supported by Squid (eg. HTTP, ICY, PROXYP, WebDAV, WebSockets).

FWIW, IMO we should merge the port options down to a "port" directive with one block of documentation for how the listener options interact. Not insisting on that here though, it is a long-term thing.

Comment on lines -2311 to -2312
The ssl_bump option is required to fully enable
bumping of CONNECT requests.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current PR effectively deletes this useful information, from both http_port (where it was explicitly present) and from https_port (where it was present by reference). Instead, this PR adds very generic statements that are true for lots of directives (but are added for one) followed by a very specific error handling description that, I bet, does not yet match actual (varying/inconsistent/questionable) Squid behavior in some of the claimed cases.

PR title promises to improve "https_port ssl-bump" documentation. PR code does not really change that particular documentation.

From Bug 5092: I got a log message saying "FATAL: ssl-bump on https_port requires tproxy/intercept which is missing." and "FATAL: tproxy/intercept on https_port requires ssl-bump which is missing.". However, none of these information has been mentioned in [documentation]"

IMO, current PR changes do not really address Bug 5092. At the risk of saying the obvious, Bug 5092 can be rephrased as follows: https_port documentation does not make it clear that

  • https_port supports "intercept" and "tproxy" modes, but only when "ssl-bump" mode is also enabled.
  • https_port supports "ssl-bump" mode, but only when either "intercept" or "tproxy" mode is also enabled.

Current PR does imply that some options depend on others and says that some bad option combinations are fatal, but we can safely assume that the target audience, including the bug reporter, already know that general software configuration principle. IMHO, admins want to know primary listening port mode requirements at the planning stage, before they spend time configuring their test clients and network to check their setup. This is not about some kind of obscure, rarely seen option combination. These limitations directly affect how admins design their solutions.

@rousskov rousskov added S-waiting-for-author author action is expected (and usually required) and removed S-waiting-for-reviewer ready for review: Set this when requesting a (re)review using GitHub PR Reviewers box labels Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-to-v7 maintainer has approved these changes for v7 backporting S-waiting-for-author author action is expected (and usually required)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants