sipPROT

• VOIP service interruption and unavailability
• The possibility of password theft (SIP registration)
Operation
- PBXware – if you are running a standalone PBXware installation.
- SERVERware – If you run PBXware as a VPS in a SERVERware virtual environment, sipPROT must be installed on all SERVERware hosts.
Install the sipPROT GUI
To install sipPROT 5 in the PBXware graphical interface (GUI), you must ensure that PBXware is running version 7.x.
Go to the setup wizard on port 81 of your instance.
The menu sipPROT must be present in the left-hand menu.
NOTE:
If the sipPROT menu is not visible, it means that sipPROT has not been enabled for your license. To request activation of the software, please contact support at support@ags-next.com.
Refresh your license as soon as sipPROT has been activated.
Click install sipPROT and wait until the installation process is complete.


Click the Services tab in the left menu.
You can start/reload/restart/stop sipPROT from the menu Services.

When you click the button Open sipPROT, a new tab will open and you will be redirected to the sipPROT – Web UI page.

INFORMATION:
In order to display the sipPROT configuration page, you must be logged in to PBXware as an administrator, otherwise an access denied message will be shown on the page.
INFORMATION:
If sipPROT does not open or displays errors (, it is likely that a previous version is still installed. To resolve this issue, proceed with the installation of sipPROT v5 using the dedicated installation script.
wget http://downloads.bicomsystems.com/sipprot/updates/latest/sipprot.tbz2.sh
Run the script with the command:
sh sipprot.tbz2.sh Dashboard
The sipPROT dashboard is designed to provide critical information about the health and status of the protection system. Here is a brief overview of what each dashboard widget represents:

| Widget | Description |
| Health: | This widget displays the health status of the sipPROT service. It indicates whether the service is working correctly or whether there are issues. If issues are detected, users are prompted to check the hosts page for more details. A direct link to the hosts page is also provided for quick access. |
| The system is protected. The system did not detect any integrity problems. | |
| Issues detected: please consult the hosts page via a direct link or from the menu to see the details. | |
| Endpoint attacks | This widget displays a list of attacks for a specified time period, helping to identify the most targeted IP addresses or virtual private servers (VPS) on your server. For PBXware users, this will usually show attacks on a consistent IP address. |
| Most blocked countries | This widget displays information about the countries of origin of blocked IP addresses. It groups blocked IP addresses according to their country of origin, providing an overview of geographic patterns in the attack data. |
| Mapping of the most blocked countries | A geolocation heat map that visually represents the density or intensity of attacks based on geographic location. It uses a color code to indicate areas with higher and lower attack concentrations. Darker colors indicate higher attack concentrations, while lighter colors indicate lower concentrations. |
| All these widgets are affected by the date selector filter and the refresh interval selector on the dashboard. This means you can customize the displayed data according to specific time periods and set how often the information is updated. | |
| Each widget provides valuable information about different aspects of the security and health of the system managed by sipPROT, thus making it easier for users to monitor and respond to potential threats or issues. |
Configuration page
Under PBXware > Admin Settings > sipPROT > Settings, the configuration options for sipPROT are located.
Available options
| Field | Description |
| Protocols: | Choose the protocols to monitor for attacks (TCP, UDP or both). |
| SIP ports: | Specify one or more ports or ranges to monitor, such as "5060" or "5060:5062". |
| SIP blocking rule: | Set the maximum number of unauthorized registration attempts per minute before blocking an attacker's IP address for a specified period. |
| Dynamic blocking time: | Choose how long blocked IP addresses will remain blocked after preventing an attack. |
| Blocking threshold: | Set how many times an IP address will be dynamically blocked before being permanently blocked by being added to the block list. The acceptable range is (1-20). |
| Blocked user agents: | Specify the SIP user agents from which to block incoming traffic. Keep the list as short as possible to avoid affecting system performance. |
| Geo-protection: | Enable or disable GEO blocking and select the Allow or Deny option. |
| Allow: if "Allow" is selected, only traffic originating from the selected countries will be allowed and all other traffic will be denied. Note that resources the server needs to access outside the selected country range, such as external mail or archiving servers, must be explicitly allowed. | |
| Decline: if "Deny" is selected, all traffic originating from the blocked countries will be denied. | |
| Blocked countries: | Select the countries from which to block incoming traffic. sipPROT will block the entire range of IP addresses belonging to the selected countries or allow it if a different method is selected above |
| Additional protections: | |
| TFTP: Protect your server against TFTP brute-force attacks by using a rate limit. The default rate limit is 10 requests per minute, with a maximum burst of 100 requests. | |
| DNS: Protect legacy systems from the glibc stack-based buffer overflow in the getaddrinfo() security vulnerability. This feature is enabled by default and should not be modified without the proper knowledge. | |
| If you do not know what the feature is for, you should under no circumstances modify this option. | |
| Notifications: | |
| Enable: enable or disable sipPROT notifications. | |
| Send a daily summary of attacks: receive an email with a daily report of attacks if this option is checked. | |
| Send the log for each attack Receive a notification for each attack. The default value is once per hour. | |
| Notification recipient: | sipPROT uses the SMTP configuration provided by PBXware and requires functional SMTP settings. The default recipient of notifications is the PBXware administrator. |
1. Managing the allow list
- Add (Manually add an IP record to the list)
- Export (export the entire list to a CSV file)
- Import (import the list from a CSV file)
- Delete (deletes the selected IP record)
2. Search
- Search (Searches the list by IP record or by note)
- Country (Search IP address records by country)
- Reset (Clear the country and reset the search)
3. Display and refresh options
![]()
- Show per page (drop-down list allowing you to select the number of records displayed per page)
- Refresh (The "Refresh" option in the permissions list is a drop-down list that allows users to set the list's refresh interval. When a refresh interval is set, the list is automatically refreshed at the specified interval. However, it is important to keep in mind that this action may clear any current selections in the list.)
At the bottom of the list, users can find:

4. Number selected / total entries
5. Page numbers with selector
Also, for convenience, additional information regarding the specific IP address can be found with a single click on the arrow at the beginning of the record to expand the additional information for the record content.

- IP: the IP address concerned
- Note: the note for the record if available.
- Time: the date and time of the addition or modification
- Added by : the user who added the record.
- Copy button: copy the recording data to the clipboard in json format.
Whitelist

Add IP records to the whitelist
To add an IP address to the whitelist, proceed as follows:
- Open the sipPROT “Allowlist” tab in your system. Click the "ADD" button.
- Enter the network or IP address in the designated field.
- Enter any optional notes to help you remember why this address was added.
- Click the "ADD" button to add the IP address to the whitelist.

Import/export multiple IP records to the whitelist
CSV file example:
IP_ADDRESS,NOTE,TIME,ADDED_BY 192.168.24.1,"réseau privé interne",2023-09-01 15:44:35,"Bicom France (support@ags-next.com)" 
Remove an IP address from the list

INFORMATION:
The whitelist takes priority over the other lists. If an IP address is present in both the whitelist and another list (such as the blacklist), the IP address will still have access to the system and the other list will be ignored.
This can be useful when blocking a network or a range of IP addresses (such as "192.168.50.0/24") but you need to allow access to a specific IP address within that range (such as "192.168.50.15"). By adding the allowed IP address to the whitelist, it will have access to the system despite the broader network block in the blacklist.
Blacklist
NOTE:
The whitelist takes priority over the blacklist. If an IP address is present in both the whitelist and the blacklist, the IP address will be granted access to the system by default.

Add IP records to the blacklist
To add an IP address to the blacklist, proceed as follows:
- Open the sipPROT Denylist tab in your system.
- Click the “ADD” button.
- Enter the network or IP address in the designated field.
- Enter any optional notes to help you remember why this address was added.
- Click the “ADD” button to add the IP address to the deny list.

Import/export multiple IP records to the blacklist
CSV file example:
IP_ADDRESS,NOTE 192.168.x.x,"example note1" 77.14.x.x,"example note2" 
Dynamic block list


