Trace:
Differences
This shows you the differences between two versions of the page.
| Next revisionBoth sides next revision |
config:ip.can [2014/02/15 17:06] – created digital man | config:ip.can [2019/01/14 23:25] – digital man |
---|
====== ip.can ====== | ====== ip.can file ====== |
The ''ip.can'' is an optional configuration file located in the Synchronet ''[[dir:text]]'' directory. | The ''ip.can'' file is an optional configuration file located in the Synchronet ''[[dir:text]]'' directory. |
| |
This file contains IP addresses for which Synchronet [[:server:|servers]] and dynamic [[:service:|services]] will not allow incoming connnections. Note: static services may or may not filter connections based on this file depending on the design of the static service. | This file contains IP addresses for which Synchronet [[:server:|servers]] and dynamic [[:service:|services]] will not allow incoming connections. Note: static services may or may not filter connections based on this file depending on the design of the static service. |
| |
The file can be created or edited using most any common text editor. The contents of the file conform to the Synchronet [[config:filter files]] syntax to support wildcards (e.g. blocks of IP addresses) and comments. | The file can be created or edited using most any common text editor. The contents of the file conform to the Synchronet [[config:filter files]] syntax to support wildcards (e.g. blocks of IP addresses) and comments. |
- The JavaScript ''system.filter_ip()'' method is used in a Synchronet service or module to block a specific IP address | - The JavaScript ''system.filter_ip()'' method is used in a Synchronet service or module to block a specific IP address |
| |
Note: there is currently no mechanism to automatically //remove// blocked IP addressess from the file (e.g. after a certain period of time). | Note: there is currently no mechanism to automatically //remove// blocked IP addresses from the file (e.g. after a certain period of time). |
| |
Rejected connections will be logged. Example: | Rejected connections will be logged. Example: |
* [[:config:|Configuration]] | * [[:config:|Configuration]] |
| |
{{tag>}} | {{tag>filters}} |
| |
Back to top