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
|
@ -0,0 +1,11 @@
|
|||
# @TEST-DOC: Socks V5 over a non-standard port.
|
||||
|
||||
# @TEST-EXEC: zeek -r $TRACES/socks-auth-10080.pcap %INPUT
|
||||
# @TEST-EXEC: zeek-cut -m id.orig_h id.orig_p id.resp_h id.resp_p service history < conn.log > conn.log.cut
|
||||
# @TEST-EXEC: zeek-cut -m id.orig_h id.orig_p id.resp_h id.resp_p version status bound.host bound.name bound_p < socks.log > socks.log.cut
|
||||
# @TEST-EXEC: btest-diff conn.log.cut
|
||||
# @TEST-EXEC: btest-diff socks.log.cut
|
||||
|
||||
@load base/protocols/socks
|
||||
|
||||
redef SOCKS::default_capture_password = T;
|
Loading…
Add table
Add a link
Reference in a new issue