mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 01:28:20 +00:00
Fixing well-known port.
This fixes the remaining test.
This commit is contained in:
parent
0e7f51f78c
commit
36c2433075
3 changed files with 77 additions and 8 deletions
|
@ -1,14 +1,8 @@
|
|||
|
||||
signature dpd_dnp3_client {
|
||||
ip-proto == tcp
|
||||
# dnp3 packets always starts with 0x05 0x64 .
|
||||
payload /\x05\0x64/
|
||||
tcp-state originator
|
||||
}
|
||||
# DNP3 packets always starts with 0x05 0x64 .
|
||||
|
||||
signature dpd_dnp3_server {
|
||||
ip-proto == tcp
|
||||
# dnp3 packets always starts with 0x05 0x64 .
|
||||
payload /\x05\x64/
|
||||
tcp-state responder
|
||||
enable "dnp3"
|
||||
|
|
|
@ -31,7 +31,7 @@ redef record connection += {
|
|||
dnp3: Info &optional;
|
||||
};
|
||||
|
||||
const ports = { 502/tcp };
|
||||
const ports = { 20000/tcp };
|
||||
redef likely_server_ports += { ports };
|
||||
|
||||
event bro_init() &priority=5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue