mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +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,4 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
id.orig_h id.orig_p id.resp_h id.resp_p service history
|
||||
192.168.0.2 55951 192.168.0.1 10080 socks ShADad
|
||||
192.168.0.1 55951 192.168.0.2 22 - ShA
|
|
@ -0,0 +1,3 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
id.orig_h id.orig_p id.resp_h id.resp_p version status bound.host bound.name bound_p
|
||||
192.168.0.2 55951 192.168.0.1 10080 5 succeeded 192.168.0.1 - 55951
|
BIN
testing/btest/Traces/socks-auth-10080.pcap
Normal file
BIN
testing/btest/Traces/socks-auth-10080.pcap
Normal file
Binary file not shown.
|
@ -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