en:statistics_asn [Документация VAS Experts]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:statistics_asn [2015/04/30 10:58] – created translator1en:statistics_asn [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-The up-to-date list that specify IP addresses that belong to each individual system is loaded on software update. The global list of these links is in the file /etc/dpi/asnum.bin. Please do not modify it to preserve its update method. 
- 
-One may need to modify this list occasionally - to improve netflow reports and for use in other services.   
- 
-The list of changes is prepared in text format. Each record is placed in a new line: 
-<code> 
-CIDR AS_number 
-CIDR AS_number 
-... 
-</code> 
-Here CIDR specifies the IP addresses range that belongs to the specified system. 
- 
-This file is converted into the internal format by as2bin utility. It is placed to /etc/dpi/aslocal.bin. DPI picks up the changes from the latest file. The IP addresses' ranges are added to the global list. In case some changes overlap with the global list, the local ranges override existing ones. 
-<code> 
-cat aslocal.txt|as2bin /etc/dpi/aslocal.bin 
-service fastdpi reload 
-</code> 
-Loading the modifications does not require DPI restart. 
- 
-Examples: 
- 
-To add local addresses to the operator's individual system in order to improve netflow reports: 
-<code> 
-vi aslocal.txt 
-10.0.0.0/8 64511 
-172.16.0.0/12 64511 
-192.168.0.0/16 64511 
-cat aslocal.txt|as2bin /etc/dpi/aslocal.bin 
-service fastdpi reload 
-</code> 
-Here 64511 - is the operator's autonomous system number. 
- 
-To apply specific policies to operator's addresses 10.0.0.1 and 10.0.0.2: 
-<code> 
-vi aslocal.txt 
-10.0.0.1/32 64512 
-10.0.0.2/32 64512 
-cat aslocal.txt|as2bin /etc/dpi/aslocal.bin 
-service fastdpi reload 
-</code> 
- 
-In order to avoid overlap of the new autonomous systems' numbers with existing ones, we advise to use the reserved numbers for new systems: 
-<code>  
-64496..64511 are reserved for use in documentation and examples 
-64512..65534 are reserved for private purposes 
-</code> 
- 
- 
-   
-