mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
socks/dpd: Fix socks5_server side signature
The server replies with \x05 and identifier for the chosen method. Not quite sure what the previous signature meant capture. See also: https://datatracker.ietf.org/doc/html/rfc1928#section-3 Closes #3099.
This commit is contained in:
parent
a18d6c9400
commit
d6ca1ec4f6
5 changed files with 19 additions and 3 deletions
|
@ -40,9 +40,7 @@ signature dpd_socks5_server {
|
|||
requires-reverse-signature dpd_socks5_client
|
||||
# Watch for a single authentication method to be chosen by the server or
|
||||
# the server to indicate the no authentication is required.
|
||||
payload /^\x05(\x00|\x01[\x00\x01\x02])/
|
||||
payload /^\x05[\x00\x01\x02\xff]/
|
||||
tcp-state responder
|
||||
enable "socks"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue