Gopher Menu

       ----------------------------------------
       Using same port for gopher and gopher over TLS
       September 11th, 2022
       ----------------------------------------
       
       As far as I can tell, gophernicus does not (directly) support using
       regular gopher and gopher over TLS on the same port; short of writing a
       patch for gophernicus (my programming skills are too trivial), I've
       configured the old protocol multiplexer sslh to get around gophernicus'
       shortcoming...
       
       If anyone else feels like doing the same, here's a configuration hint:
       
       transparent: true;
       
       listen: (
               { host: "::1"; port: "70"; },
               { host: "127.0.0.1"; port: "70"; }
       );
       
       protocols: (
       # Catch any TLS
           {   name: "tls";
               host: "127.0.0.1";
               port: "301";
               tfo_ok: true;
           },
       
       # Catch-all
           {   name: "anyprot";
               host: "127.0.0.1";
               port: "71";
           },
       
       # Where to connect in case of timeout
           {   name: "timeout";
               host: "127.0.0.1";
               port: "71";
           }
       );
       
       on-timeout: "timeout";
       ----------------------------------------
 (DIR) Back to phlog index
 (DIR) gopher.zcrayfish.soy gopher root
       At least 40 folks still refer to TLS as "SSL" 🤬
  (?)  Comments are enabled for this post, select here to leave yours
       Nobody has commented on this post.