Brekeke SIP Server Wiki

blockstat

Show BlockList status.

 

Syntax:
blockstat [-d]
Parameter:

-d – detailed information

Version Since:

3.2

Command Examples:
blockstat

Show the summary of BlockList status.

blockstat -d

Show the detailed BlockList status.

 

Result Example:
Status: Active
================================================================
General
----------------------------------------------------------------
Length: 02:37:37.086
Blocked-Packets-Total: 26
Blocked-Packets-Today: 26
Blocked-Packets-Yesterday: 0
Active-Attempt-Tracking: 0
Stored-IP-Database: 1012
================================================================
================================================================
PolicyList
----------------------------------------------------------------
================================================================
================================================================
AttemptTrackingTable *1
----------------------------------------------------------------
# IP-Address|Username, Activity, Counter, Remain[ms], Param
123.123.123.11, Multi-Transport, 3, expired
:
:
================================================================
================================================================
CachedBlockList *2
----------------------------------------------------------------
# IP-Address|Username, Type, Flag
123.123.123.12, 0, blocked
:
:
================================================================
================================================================
BlockedLogWriter *3
----------------------------------------------------------------
123.123.123.13:5071
:
:
================================================================

*1. AttemptTrackingTable:

IP address listed in AttemptTrackingTable are under monitoring or finished monitoring recently based on [Attempt Monitoring] settings.
Please refer to the [Attempt Tracking/Monitoring] section in the wiki page below for more details about the feature.
https://docs.brekeke.com/sip/block-list-settings

 

*2. CachedBlockList:

It shows current cached block list.
The cached IP address with “not-blocked” means it is not listed in the BlockList Database.
If “not-blocked” is set, the SIP Server doesn’t have to send a query to the database again.
Even if “not-blocked” is set, the SIP Server monitors the IP address based on [Attempt Monitoring] settings.

 

*3. BlockedLogWriter:

They are recent IP address:port records written in “Blocked Logs” which you can see at [Logs]->[Blocked Logs] page. The SIP Server stores 128 records maximum in the default.

 

 

See Also:

Block List
blockctrl
blockquery

Yes No
Suggest Edit