event_type: ftp
ftp.command: "EPSV"
ftp.dynamic_port: 58612
+ - filter:
+ min-version: 8
+ count: 0
+ match:
+ event_type: anomaly
+ anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
- -k none
checks:
-- filter:
- count: 1
- match:
- anomaly.app_proto: smtp
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- anomaly.layer: proto_detect
- anomaly.type: applayer
- dest_ip: 127.0.0.1
- dest_port: 39202
- event_type: anomaly
- pcap_cnt: 6
- proto: TCP
- src_ip: 127.0.0.1
- src_port: 25
- filter:
count: 1
match:
tcp.tcp_flags: 1b
tcp.tcp_flags_tc: 1b
tcp.tcp_flags_ts: 1b
+- filter:
+ min-version: 8
+ count: 0
+ match:
+ event_type: anomaly
+ anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
# Check the stats. A stats check is a specialization of a filter
# that only checks the last stats entry.
- --simulate-ips
checks:
-- filter:
- count: 1
- match:
- anomaly.event: APPLAYER_DETECT_PROTOCOL_ONLY_ONE_DIRECTION
- event_type: anomaly
- filter:
count: 1
match: