Changes

Jump to: navigation, search

AceStream 3.0/en

2,160 bytes added, 13:48, 21 October 2014
no edit summary
==Changelog==
''3.0.2''
*ability to filter traffic at special nodes is added (look at [[#Фильтрация трафикаTraffic filtration|Traffic filtration]])
''3.0.1''
<nowiki>http://192.168.1.3:8640/app/update?max_peers=100&max_upload_slots=30</nowiki>
(keep the connection with 100 nodes simultaneously and open 30 upload slots)
 
===Traffic filtration===
Starting from version 3.0.2 an ability to filter traffic at special nodes (source, support node and start node) was added. You can filter by ip-addresses or by geotargeting. Rules for the filtration should be put in a separate configuration file, path to which is passed in a special node in parameter --ip-filter-config.
 
Configuration file is a text file in JSON format with the following structure:
<tt>{
"groups": {
"<group_1>": {
"addresses": ["<ip_address_1>", "<ip_address_2>", ...],
"countries": ["<country_code_1>", "<country_code_2>", ...]
},
"<group_2>": {
"addresses": ["<ip_address_1>", "<ip_address_2>", ...],
"countries": ["<country_code_1>", "<country_code_2>", ...]
},
},
"blacklist": {
"addresses": ["<ip_address_1>", "<ip_address_2>", ...],
"countries": ["<country_code_1>", "<country_code_2>", ...],
"groups": ["<group_1>", "<group_2>", ...]
},
"whitelist": {
"addresses": ["<ip_address_1>", "<ip_address_2>", ...],
"countries": ["<country_code_1>", "<country_code_2>", ...],
"groups": ["<group_1>", "<group_2>", ...]
},
"limit_groups": {
"<group_1>": "30%",
"<group_2>": "10%"
}
}</tt>
 
Section <tt>groups</tt> is used to create named groups, that can be referenced in other sections of the file.
Each group may consist of an array ip-addresses (<tt>addresses</tt>) or country codes (<tt>countries</tt>).
 
Array <tt>addresses</tt> may contain addresses of individual hosts, as well as addresses of subnetworks in the format xx.xx.xx.xx/yy. At this moment it is allowed to use only subnetworks /24, /16 and /8.
 
Array <tt>countries</tt> has to contain country codes in uppercase (according to the base [https://www.maxmind.com MaxMind])
 
Section <tt>whitelist</tt> sets a white list. The node rejects connections from all addresses that are not included in a white list.
 
Section <tt>blacklist</tt> sets a black list. The node rejects connections from all addresses from a black list.
 
Section <tt>limit_groups</tt> sets limits on the maximum number of connections for each group (in percentage of the total maximum number of connections).

Navigation menu