You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@httpd.apache.org by GitBox <gi...@apache.org> on 2021/06/10 14:47:00 UTC

[GitHub] [httpd] icing opened a new pull request #195: tighten ALPN for proxy connections

icing opened a new pull request #195:
URL: https://github.com/apache/httpd/pull/195


   * mod_ssl: tighten the handling of ALPN for outgoing (proxy)
        connections. If ALPN protocols are provided and sent to the
        remote server, the received protocol selected is inspected
        and checked for a match. Without match, the peer handshake
        fails.
        An exception is the proposal of "http/1.1" where it is
        accepted if the remote server did not answer ALPN with
        a selected protocol. This accomodates for hosts that do
        not observe/support ALPN and speak http/1.x be default.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@httpd.apache.org
For additional commands, e-mail: notifications-help@httpd.apache.org


[GitHub] [httpd] icing commented on a change in pull request #195: tighten ALPN for proxy connections

Posted by GitBox <gi...@apache.org>.
icing commented on a change in pull request #195:
URL: https://github.com/apache/httpd/pull/195#discussion_r649809104



##########
File path: modules/ssl/ssl_engine_io.c
##########
@@ -1265,9 +1267,16 @@ static apr_status_t ssl_io_filter_handshake(ssl_filter_ctx_t *filter_ctx)
 #ifdef HAVE_TLS_ALPN
         alpn_note = apr_table_get(c->notes, "proxy-request-alpn-protos");
         if (alpn_note) {
-            char *protos, *s, *p, *last;
+            char *protos, *s, *p, *last, *proto;
             apr_size_t len;
 
+            /* Transforma the note into a protocol formatted byte array:

Review comment:
       I thought it sounded more Italian!

##########
File path: modules/ssl/ssl_engine_io.c
##########
@@ -1265,9 +1267,16 @@ static apr_status_t ssl_io_filter_handshake(ssl_filter_ctx_t *filter_ctx)
 #ifdef HAVE_TLS_ALPN
         alpn_note = apr_table_get(c->notes, "proxy-request-alpn-protos");
         if (alpn_note) {
-            char *protos, *s, *p, *last;
+            char *protos, *s, *p, *last, *proto;
             apr_size_t len;
 
+            /* Transforma the note into a protocol formatted byte array:

Review comment:
       Fixed, thank you.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@httpd.apache.org
For additional commands, e-mail: notifications-help@httpd.apache.org


[GitHub] [httpd] bigio commented on a change in pull request #195: tighten ALPN for proxy connections

Posted by GitBox <gi...@apache.org>.
bigio commented on a change in pull request #195:
URL: https://github.com/apache/httpd/pull/195#discussion_r649807025



##########
File path: modules/ssl/ssl_engine_io.c
##########
@@ -1265,9 +1267,16 @@ static apr_status_t ssl_io_filter_handshake(ssl_filter_ctx_t *filter_ctx)
 #ifdef HAVE_TLS_ALPN
         alpn_note = apr_table_get(c->notes, "proxy-request-alpn-protos");
         if (alpn_note) {
-            char *protos, *s, *p, *last;
+            char *protos, *s, *p, *last, *proto;
             apr_size_t len;
 
+            /* Transforma the note into a protocol formatted byte array:

Review comment:
       ```suggestion
               /* Transform the note into a protocol formatted byte array:
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@httpd.apache.org
For additional commands, e-mail: notifications-help@httpd.apache.org


[GitHub] [httpd] icing commented on pull request #195: tighten ALPN for proxy connections

Posted by GitBox <gi...@apache.org>.
icing commented on pull request #195:
URL: https://github.com/apache/httpd/pull/195#issuecomment-859492646


   Merged in r1890693. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@httpd.apache.org
For additional commands, e-mail: notifications-help@httpd.apache.org


[GitHub] [httpd] icing closed pull request #195: tighten ALPN for proxy connections

Posted by GitBox <gi...@apache.org>.
icing closed pull request #195:
URL: https://github.com/apache/httpd/pull/195


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@httpd.apache.org
For additional commands, e-mail: notifications-help@httpd.apache.org