-
Notifications
You must be signed in to change notification settings - Fork 393
Open
Description
I tested this with v2.3.0 and HEAD:
./sslh-select --verbose 1 --foreground --transparent --listen 0.0.0.0:443 --listen [::]:443 --tls 172.31.255.1:8443 --tls [fc00::1]:8443
resolve_split_name: Servname not supported for ai_socktype `172.31.25:.1:8'
cannot resolve 172.31.25:.1:8
With TRACE_CMPD, I get this:
./sslh-select --verbose 1 --foreground --transparent --listen 0.0.0.0:443 --listen [::]:443 --tls 172.31.255.1:8443 --tls [fc00::1]:8443
0103303000333001000151024`(null)'`(null)'`(null)'`auth'`(null)'`ssh'`'Compound listen occurs 2 : `0.0.0.0:443' matched
match 1 rm_so 0 rm_eo 7 type 4
setting 0x5609532fd770+0 to : `0.0.0.0'
match 2 rm_so 8 rm_eo 11 type 4
setting 0x5609532fd770+8 to : `443'
`[::]:443' matched
match 1 rm_so 0 rm_eo 4 type 4
setting 0x560953301278+0 to : `[::]'
match 2 rm_so 5 rm_eo 8 type 4
setting 0x560953301278+8 to : `443'
done listen
Compound ssh occurs 0 : done ssh
Compound tls occurs 2 : `172.31.255.1:8443' matched
match 1 rm_so 0 rm_eo 12 type 4
setting 0x560953304d90+8 to : `172.31.255.1'
match 2 rm_so 13 rm_eo 17 type 4
setting 0x560953304d90+16 to : `8443'
`[fc00::1]:8443' matched
match 1 rm_so 0 rm_eo 9 type 4
setting 0x560953304d90+8 to : `172.31.25'
match 2 rm_so 10 rm_eo 14 type 4
setting 0x560953304d90+16 to : `.1:8'
done tls
Compound ssl occurs 0 : done ssl
Compound openvpn occurs 0 : done openvpn
Compound tinc occurs 0 : done tinc
Compound wireguard occurs 0 : done wireguard
Compound xmpp occurs 0 : done xmpp
Compound http occurs 0 : done http
Compound adb occurs 0 : done adb
Compound socks5 occurs 0 : done socks5
Compound syslog occurs 0 : done syslog
Compound msrdp occurs 0 : done msrdp
Compound anyprot occurs 0 : done anyprot
resolve_split_name: Servname not supported for ai_socktype `172.31.25:.1:8'
cannot resolve 172.31.25:.1:8
Metadata
Metadata
Assignees
Labels
No labels