Special conf additions for Hubs

From pisswiki
Revision as of 22:18, 15 July 2021 by Roadkill (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

* 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 {

       type { all; };

       // Me

       mask *@127.0.0.1;

       // Hubs!

       //

       // 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;

       // soggy.internet.relay.cat

       mask *@93.158.239.42;

       // eu-north.hub

       mask *@65.21.106.233;

       mask *@2a01:4f9:c010:8698::1;

       // us-east.hub

       mask *@132.145.136.73;

       mask *@2603:c020:4004:2d00::6697;

       // uswest.sprynet.org

       mask *@129.159.41.62;

   // fbi,packetscanner.net

   mask *@129.213.127.163;

       // 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;

               !eu-north.hub;

               !irc.sigint.pw;

               !soggy.internet.relay.cat;

               !us-east.hub;

               !irc.shitposting.space;

               !uswest.sprynet.org;

               !fbi.packetscanner.net;

               !eu-west.hub;

       !fbi.packetscanner.net;

       };

       // Add all your upstream hubs here

       rule !connected(soggy.internet.relay.cat)&&!connected(uswest.sprynet.org)&&!connected(irc.shitposting.space);

       type all;

};

</pre>