Taken from https://github.com/yrutschle/sslh/pull/310. Index: test.cfg --- test.cfg.orig +++ test.cfg @@ -18,7 +18,7 @@ listen: ( { host: "localhost"; port: "8080"; keepalive: true; }, { host: "localhost"; port: "8081"; keepalive: true; }, - { host: "ip4-localhost"; is_udp: true; port: "8086"; } + { host: "127.0.0.1"; is_udp: true; port: "8086"; } ); @@ -32,7 +32,7 @@ protocols: { name: "xmpp"; host: "localhost"; port: "9009"; }, { name: "adb"; host: "localhost"; port: "9010"; }, { name: "syslog"; host: "localhost"; port: "9013"; }, - { name: "regex"; host: "ip4-localhost"; is_udp: true; port: "9020"; + { name: "ssh"; host: "127.0.0.1"; is_udp: true; port: "9020"; udp_timeout: 30; regex_patterns: [ "^foo" ]; },