(Created page with "<nowiki>*</nowiki> These settings are especially useful for two reasons. <nowiki>**</nowiki> One, sometimes g-lines get added for servers. This helps to prevent the ban from...") |
No edit summary |
||
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
* These settings are especially useful for two reasons: | |||
**One, sometimes g-lines get added for servers. This helps to prevent the ban from being enforced | |||
**Two, the second part (deny) allows you to block all incoming connections until you have relinked to your server of choice. | |||
<pre> | |||
except ban { | except ban { | ||
type { all; }; | type { all; }; | ||
// Me | // Me | ||
mask *@127.0.0.1; | mask *@127.0.0.1; | ||
// Hubs! | // Hubs! | ||
// | // | ||
// irc.openpiss.net | |||
mask *@152.67.252.236; | |||
// irc.shitposting.space | // irc.shitposting.space | ||
mask *@144.202.61.61; | mask *@144.202.61.61; | ||
// irc.freenode.ceo | // irc.freenode.ceo | ||
mask *@91.92.144.105; | mask *@91.92.144.105; | ||
mask *@2a0e:8f02:1080::2; | mask *@2a0e:8f02:1080::2; | ||
// irc.sigint.pw | // irc.sigint.pw | ||
mask *@176.31.26.128; | mask *@176.31.26.128; | ||
mask *@2001:41d0:1:b254:1::1; | mask *@2001:41d0:1:b254:1::1; | ||
// eu-north.hub | // eu-north.hub | ||
mask *@65.21.106.233; | mask *@65.21.106.233; | ||
mask *@2a01:4f9:c010:8698::1; | mask *@2a01:4f9:c010:8698::1; | ||
// uswest.sprynet.org | // uswest.sprynet.org | ||
mask *@129.159.41.62; | |||
// nsa.packetscanner.net | |||
mask *@150.136.110.77; | |||
// eu-west.hub | // eu-west.hub | ||
mask *@212.129.35.122; | mask *@212.129.35.122; | ||
} | } | ||
deny link { | deny link { | ||
mask { | mask { | ||
// Add all the network's hubs after this line, prefixed with "!" | // Add all the network's hubs after this line, prefixed with "!" | ||
!irc.freenode.ceo; | !irc.freenode.ceo; | ||
!irc.openpiss.net; | |||
!eu-north.hub; | !eu-north.hub; | ||
!irc.sigint.pw; | !irc.sigint.pw; | ||
!irc.shitposting.space; | !irc.shitposting.space; | ||
!uswest.sprynet.org; | !uswest.sprynet.org; | ||
!nsa.packetscanner.net; | |||
! | |||
!eu-west.hub; | !eu-west.hub; | ||
}; | }; | ||
// Add all your upstream hubs here | |||
rule !connected(nsa.packetscanner.net)&&!connected(uswest.sprynet.org)&&!connected(irc.shitposting.space); | |||
rule !connected( | |||
type all; | type all; | ||
}; | }; | ||
</pre> |
Latest revision as of 21:17, 4 March 2023
- These settings are especially useful for two reasons:
- One, sometimes g-lines get added for servers. This helps to prevent the ban from being enforced
- Two, the second part (deny) allows you to block all incoming connections until you have relinked to your server of choice.
except ban { type { all; }; // Me mask *@127.0.0.1; // Hubs! // // irc.openpiss.net mask *@152.67.252.236; // irc.shitposting.space mask *@144.202.61.61; // irc.freenode.ceo mask *@91.92.144.105; mask *@2a0e:8f02:1080::2; // irc.sigint.pw mask *@176.31.26.128; mask *@2001:41d0:1:b254:1::1; // eu-north.hub mask *@65.21.106.233; mask *@2a01:4f9:c010:8698::1; // uswest.sprynet.org mask *@129.159.41.62; // nsa.packetscanner.net mask *@150.136.110.77; // eu-west.hub mask *@212.129.35.122; } deny link { mask { // Add all the network's hubs after this line, prefixed with "!" !irc.freenode.ceo; !irc.openpiss.net; !eu-north.hub; !irc.sigint.pw; !irc.shitposting.space; !uswest.sprynet.org; !nsa.packetscanner.net; !eu-west.hub; }; // Add all your upstream hubs here rule !connected(nsa.packetscanner.net)&&!connected(uswest.sprynet.org)&&!connected(irc.shitposting.space); type all; };