diff --git a/basic.cfg b/basic.cfg index f9e8176..4ef602b 100644 --- a/basic.cfg +++ b/basic.cfg @@ -20,7 +20,7 @@ listen: protocols: ( - { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; }, + { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; fork: true; }, { name: "openvpn"; host: "localhost"; port: "1194"; }, { name: "xmpp"; host: "localhost"; port: "5222"; }, { name: "http"; host: "localhost"; port: "80"; }, diff --git a/example.cfg b/example.cfg index aad3402..18a1f0a 100644 --- a/example.cfg +++ b/example.cfg @@ -39,6 +39,8 @@ listen: # 1 to log each incoming connection # keepalive: Should TCP keepalive be on or off for that # connection (default is off) +# fork: Should a new process be forked for this protocol? +# (only useful for sslh-select) # # Probe-specific options: # tls: @@ -59,7 +61,7 @@ listen: protocols: ( - { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; keepalive: true; }, + { name: "ssh"; service: "ssh"; host: "localhost"; port: "22"; keepalive: true; fork: true; }, { name: "http"; host: "localhost"; port: "80"; }, # match BOTH ALPN/SNI