-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclick_1124.click
More file actions
23 lines (22 loc) · 990 Bytes
/
click_1124.click
File metadata and controls
23 lines (22 loc) · 990 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CONTROL :: ControlSocket(tcp,22222)
out :: RED(768,1024,0.02)->Queue(1024) -> ToDevice(ens34)
dropLog :: ToIPSummary Dump(/root/log/droplog,CONTENTS timestamp ip_src ip_dst ip_len ip_proto count)
passLog :: ToIPSummary Dump(/root/log/passlog,CONTENTS timestamp ip_src ip_dst ip_len ip_proto count)
FromDevice(ens34)-> cl :: Classifier(12/0806 20/0001,12/0806 20/0002,12/0800)
-> arpr :: ARPResponder(192.168.3.128, 00:0c:29:44:f4:4c)
->out;
cl[1] -> [1]arpq :: ARPQuerier(192.168.3.128,00:0c:29:44:f4:4c)
->out;
cl[2]->Strip(14)
-> CheckIPHeader(CHECKSUM false)
->DropBroadcasts
->CheckLength(65535)
-> IPPrint("recv IP detail")
ic :: IPClassifier( dst 192.168.3.255 and icmp,dst 192.168.3.128 and src 192.168.3.128,src 10.1.1.2,src 10.1.1.3,-)ic[0]->dropLog->discard
ic[1]->dropLog->discard
ic[2]->dropLog->discard
ic[3]->dropLog->discard
ic[4]->->rw :: IPRewriter(pattern - - 192.168.3.129 -0 0)
-> dt :: DecIPTTL
-> fr :: IPFragmenter(300)
-> IPPrint("send IP detail")->passLog-> arpq;