[sslh] Add ALPN protocol based probe

moparisthebest admin at moparisthebest.com
Wed Dec 16 20:03:37 UTC 2015


Apologies about that last email, the patch was wrong (I left 2 un-used
variables in functions), the correct patch is now attached.

On 12/16/2015 02:43 PM, moparisthebest wrote:
> Hello again,
> 
> This time I'm back with an ALPN probe patch, posted on github here:
> https://github.com/yrutschle/sslh/pull/74
> 
> This again pulls code from sniproxy[1] like the last patch, but modifies
> it even more, and adds support for ALPN probes. Now alpn/sni as a name
> mean exactly the same thing, use the same probe, and support the same
> options, that is sni_hostnames and/or alpn_protocols, if both are
> defined they BOTH must match. sniproxy isn't currently planning on
> supporting an AND like that, so that's one more thing sslh will have the
> advantage in. :)
> 
> With the new structure an SNI hostname is never malloc'd either (no
> malloc during probe at all, actually), so there is a speedup there.
> 
> Let me know if this needs anything else to be included!
> 
> Thanks,
> moparisthebest
> 
> [1]: https://github.com/dlundquist/sniproxy/blob/alpn/src/tls.c
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-ALPN-protocol-based-probe.patch
Type: text/x-patch
Size: 19570 bytes
Desc: not available
URL: <http://rutschle.net/pipermail/sslh/attachments/20151216/e9d3ee74/attachment.bin>


More information about the sslh mailing list