summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/inspircd.conf.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/inspircd.conf.example b/docs/inspircd.conf.example
index 32dc56783..3ace28c39 100644
--- a/docs/inspircd.conf.example
+++ b/docs/inspircd.conf.example
@@ -206,6 +206,7 @@
# <connect allow="ip mask" threshold="8" pingfreq="120"> #
# <connect allow="ip mask" sendq="99999" revcq="696969"> #
# <connect allow="ip mask" localmax="3" globalmax="3"> #
+# <connect allow="ip mask" port="6660"> #
# <connect deny="ip mask"> #
# #
# IP masks may be specified in CIDR format or wildcard format, #
@@ -258,6 +259,10 @@
# but if they can connect again to B, there are three. You get the #
# idea (i hope). #
# #
+# The optional port value determines which port the connect tag is #
+# handling. If left out the connect tag covers all bound ports else #
+# only incoming connections on the specified port will match. #
+# #
<connect allow="196.12.*" password="secret">
<connect allow="*" timeout="60" flood="20" threshold="1" pingfreq="120" sendq="262144" recvq="8192" localmax="3" globalmax="3">