From b43e157a14f56b2d0d608484e4d819b03f60fd09 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mantas=20Mikul=C4=97nas?= Date: Thu, 2 Jan 2014 16:52:51 +0200 Subject: [PATCH 1/1] Use standard example addresses in configs `2001:db8::/32` is the [standard][1] IPv6 example address range, using it also makes it clear when the user has just copy-pasted the example config and didn't actually whitelist 6BONE for some strange reason. Similarly, there are example addresses for [IPv4][2] and [DNS][3]. [1]: http://tools.ietf.org/html/rfc3849 [2]: http://tools.ietf.org/html/rfc5737 [3]: http://tools.ietf.org/html/rfc2606 --- docs/conf/inspircd.conf.example | 16 ++++++++-------- docs/conf/links.conf.example | 4 ++-- docs/conf/opers.conf.example | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/docs/conf/inspircd.conf.example b/docs/conf/inspircd.conf.example index 20344792e..9bd7d2e4b 100644 --- a/docs/conf/inspircd.conf.example +++ b/docs/conf/inspircd.conf.example @@ -221,7 +221,7 @@ + deny="192.0.2.*"> # connect:reason is the message that users will see if they match a deny block @@ -238,7 +238,7 @@ parent="main" # allow: What IP addresses/hosts to allow for this block. - allow="196.12.*" + allow="203.0.113.*" # hash: what hash this password is hashed with. requires the module # for selected hash (m_md5.so, m_sha256.so or m_ripemd160.so) be @@ -872,7 +872,7 @@ @@ -891,22 +891,22 @@ - - + + # exception: Hosts that are exempt from [kgz]lines. + reason="Oper's hostname"> #-#-#-#-#-#-#-#-#-#-#- INSANE BAN OPTIONS -#-#-#-#-#-#-#-#-#-#-#-#-#-# # # diff --git a/docs/conf/links.conf.example b/docs/conf/links.conf.example index fc0fc3b5e..1b715123d 100644 --- a/docs/conf/links.conf.example +++ b/docs/conf/links.conf.example @@ -29,7 +29,7 @@ # allowmask: Range of IP addresses to allow for this link. # Can be a CIDR (see example). - allowmask="69.58.44.0/24" + allowmask="203.0.113.0/24" # timeout: If defined, this option defines how long the server # will wait to consider the connect attempt failed and try the @@ -74,7 +74,7 @@ @@ -156,7 +156,7 @@ # Multiple options can be separated by spaces and CIDR's are allowed. # You CAN use just * or *@* for this section, but it is not recommended # for security reasons. - host="ident@dialup15.isp.com *@localhost *@server.com *@3ffe::0/16" + host="yourident@dialup15.isp.com *@localhost *@example.com *@2001:db8::/32" # type: What oper type this oline is. See the block above for list # of types. NOTE: This is case-sensitive as well. -- 2.39.2