Browse code

modules: readme files regenerated - secfilter ... [skip ci]

Kamailio Dev authored on 12/08/2022 14:31:16
Showing 1 changed files
... ...
@@ -663,67 +663,72 @@ d in the user-agent header ($ua)");
663 663
                 ...
664 664
 User-agent
665 665
 ==========
666
-[+] Blacklisted
667
-    -----------
668
-    0001 -> friendly-scanner
669
-    0002 -> pplsip
670
-    0003 -> sipcli
671
-    0004 -> sundayddr
672
-    0005 -> iWar
673
-    0006 -> sipsak
674
-    0007 -> VaxSIPUserAgent
675
-    0008 -> SimpleSIP
676
-    0009 -> SIP Call
677
-    0010 -> Ozeki
678
-    0011 -> VoIPSec
679
-    0012 -> SIPScan
680
-    0013 -> Conaito
681
-    0014 -> UsaAirport
682
-    0015 -> PortSIP VoIP SDK
683
-    0016 -> zxcvfdf11
684
-    0017 -> fdgddfg546df4g8d5f
685
-
686
-[+] Whitelisted
687
-    -----------
688
-    0001 -> my custom ua
666
+{
667
+        User-Agent: {
668
+                Blacklisted: {
669
+                        Value: friendly-scanner
670
+                        Value: pplsip
671
+                        Value: sipcli
672
+                        Value: sundayddr
673
+                        Value: iWar
674
+                        Value: sipsak
675
+                        Value: VaxSIPUserAgent
676
+                        Value: SimpleSIP
677
+                        Value: SIP Call
678
+                        Value: Ozeki
679
+                        Value: VoIPSec
680
+                        Value: SIPScan
681
+                        Value: Conaito
682
+                        Value: UsaAirport
683
+                        Value: PortSIP VoIP SDK
684
+                        Value: zxcvfdf11
685
+                        Value: fdgddfg546df4g8d5f
686
+                        Value: siptest
687
+                        Value: Nmap NSE
688
+                }
689
+                Whitelisted: {
690
+                        Value: my custom ua
691
+                }
692
+        }
693
+}
689 694
                 ...
690 695
 
691 696
 7.2. Statistics
692 697
 
693 698
    Example 1.25. kamcmd secfilter.stats
694 699
                 ...
695
-Blocked messages (blacklist)
696
-============================
697
-[+] By user-agent    : 1256
698
-[+] By country       : 45
699
-[+] By from domain   : 0
700
-[+] By to domain     : 0
701
-[+] By contact domain: 1
702
-[+] By IP address    : 2552
703
-[+] By from name     : 0
704
-[+] By to name       : 0
705
-[+] By contact name  : 0
706
-[+] By from user     : 316
707
-[+] By to user       : 134
708
-[+] By contact user  : 0
709
-
710
-Allowed messages (whitelist)
711
-============================
712
-[+] By user-agent    : 0
713
-[+] By country       : 478
714
-[+] By from domain   : 0
715
-[+] By to domain     : 0
716
-[+] By contact domain: 0
717
-[+] By IP address    : 0
718
-[+] By from name     : 0
719
-[+] By to name       : 0
720
-[+] By contact name  : 0
721
-[+] By from user     : 0
722
-[+] By to user       : 0
723
-[+] By contact user  : 0
724
-
725
-Other blocked messages
726
-======================
727
-[+] Destinations   : 0
728
-[+] SQL injection  : 213
700
+{
701
+        Blacklist: {
702
+                User-Agent: 1256
703
+                Country: 45
704
+                From-Domain: 0
705
+                To-Domain: 0
706
+                Contact-Domain: 1
707
+                IP-Address: 2552
708
+                From-Name: 0
709
+                To-Name: 0
710
+                Contact-Name: 0
711
+                From-User: 316
712
+                To-User: 0134
713
+                Contact-User: 0
714
+        }
715
+        Whitelist: {
716
+                User-Agent: 0
717
+                Country: 478
718
+                From-Domain: 0
719
+                To-Domain: 0
720
+                Contact-Domain: 0
721
+                IP-Address: 0
722
+                From-Name: 0
723
+                To-Name: 0
724
+                Contact-Name: 0
725
+                From-User: 0
726
+                To-User: 0
727
+                Contact-User: 0
728
+        }
729
+        Other: {
730
+                Destination: 0
731
+                SQL-Injection: 213
732
+        }
733
+}
729 734
                 ...