Add SSH sniffer

This commit is contained in:
世界 2024-08-20 18:56:50 +08:00
parent b2c708a3e6
commit e39a28ed5a
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
6 changed files with 73 additions and 15 deletions

View file

@ -860,9 +860,10 @@ func (r *Router) RouteConnection(ctx context.Context, conn net.Conn, metadata ad
conn,
buffer,
time.Duration(metadata.InboundOptions.SniffTimeout),
sniff.StreamDomainNameQuery,
sniff.TLSClientHello,
sniff.HTTPHost,
sniff.StreamDomainNameQuery,
sniff.SSH,
sniff.BitTorrent,
)
if err == nil {