Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:dpi_components:pcrf [2020/03/03 06:40] – [Hardware Recommendations] kvazikrav | en:dpi:dpi_components:pcrf [2024/09/26 15:29] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
- | {{indexmenu_n> | + | {{indexmenu_n> |
PCRF provides proxying requests from fastDPI to the Radius server. | PCRF provides proxying requests from fastDPI to the Radius server. | ||
- | It is a part of the standard | + | It is a part of the standard |
===== Hardware Recommendations ===== | ===== Hardware Recommendations ===== | ||
Line 10: | Line 10: | ||
- RAM 512 MB - 1 GB | - RAM 512 MB - 1 GB | ||
- HDD 50 GB - 250 GB | - HDD 50 GB - 250 GB | ||
- | - Operating system Cent OS 6.4 - 7+ | + | - Operating system Cent OS 8.5, [[en: |
- NIC ranging from 10 Mb/s | - NIC ranging from 10 Mb/s | ||
===== Installation ===== | ===== Installation ===== | ||
- | - Install the Network Time Protocol daemon < | + | - Install the Network Time Protocol daemon < |
- | ntpdate pool.ntp.org | + | systemctl restart chronyd |
- | service ntpd start | + | timedatectl</ |
- | chkconfig ntpd on</ | + | |
- Add vasexperts repository < | - Add vasexperts repository < | ||
rpm -Uvh http:// | rpm -Uvh http:// | ||
- Install the fastPCRF < | - Install the fastPCRF < | ||
- Make sure the service is running < | - Make sure the service is running < | ||
- | - Сonfigure fastpcrf service to run at startup< | + | - Сonfigure fastpcrf service to run at startup< |
- | - Open firewall ports in order to access the fastDPI | + | - Open firewall ports in order to access the fastPCRF |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT | + | firewall-cmd --permanent |
- | #Radius | + | firewall-cmd --permanent |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 1812 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 1813 -j ACCEPT | + | |
- | -A INPUT -m state --state NEW -m udp -p udp --dport 3799 -j ACCEPT | + | |
- | #fastDPI | + | |
- | -A INPUT -m state --state NEW -m tcp -p tcp --dport 29002 -j ACCEPT | + | |
</ | </ | ||
- | and restart firewall for the rules to take effect < | + | and restart firewall for the rules to take effect < |
- Disable selinux ((temporary solution))< | - Disable selinux ((temporary solution))< | ||
vi / | vi / | ||
Line 38: | Line 32: | ||
+ | ===== Installation of the fdpi_cli and fdpi_ctrl utilities on the PCRF server ===== | ||
+ | |||
+ | You can get these utilities from the server where '' | ||
+ | The utility files are located in ''/ | ||
+ | - Copy the utilities to the home directory < | ||
+ | cp / | ||
+ | cp / | ||
+ | </ | ||
+ | - Move these files to the server where '' | ||
+ | |||
+ | How to use the utility:\\ | ||
+ | < | ||
+ | fdpi_cli -r 1.1.1.1 dpi config get trace_ip | ||
+ | fdpi_cli -r 2.2.2.2 pcrf config get verbose | ||
+ | fdpi_ctrl -r 1.1.1.1: | ||
+ | </ | ||
+ | Server address – '' | ||
+ | Server address – '' | ||