Server link blocks

From pisswiki
Revision as of 20:02, 27 July 2023 by Roadkill (talk | contribs)


Notes About Hub Servers

  • You are -not- required to connect to a hub in order to link to Pissnet. Hubs came about as a way to minimize issues that came with deep/long link paths (latency, squit bouncebacks) during the network's infancy and remained for convenience.
  • Generally, if you're unsure on what to do, you should choose 2 or 3 hubs that are closest to you and set those to autoconnect.
  • It is highly recommended that, if you only have one hub or leaf that you autoconnect to, that you add AT LEAST ONE ADDITIONAL hub to your config (but not set to autoconnect) as a backup. This is so that you can be manually connected to/rerouted to a stable connection if your link drops and/or your server starts flapping.
  • Openpiss is listed here, but in order to add the linkblock you will have to visit the server's wiki entry. It is generally an experimental (update testing) hub.

Notes about Linking in General

You connect to someone else's server by adding their linkblock from the list below to your unrealircd.conf file.

  • Every server you add must also add your linkblock to their conf for the link to work.
  • To make your default server autoconnect, modify the line like this: options { tls; autoconnect; }
    • DO NOT just add linkblocks and set them all to autoconnect unless you want to be blamed for spam. Hubs add new linkblocks from the wiki, so setting those linkblocks to autoconnect is generally not an issue. However, other leaves may require that you ask the oper to add your block before your autoconnect will result in a link. To avoid spam, wait until the link is reciprocal before you set them to autoconnect.
  • Try pinging hubs before adding them and sort them in your list by which ones have lower ping.
  • Generally, the hub geo-closest to yours is probably the best to connect to.

Instructions

To connect your server to Pissnet, add your server to the Great big-ass server list of doom (it will automatically add your link block to this page), and msg the oper(s) you're linking to and ask them to sync their config.

Want to be part of the irc.letspiss.net round-robin DNS entry? Take a look at Round_Robin.

Cloak keys for your conf below:

  /* Pissnet uses "cloak_md5" module. */
set {
  cloak-keys {
    "d86PVocPMhCm8YcLs46Yb8FiCF1wC50x1VvutFBviIAitqb0g034M";
    "Qh3262E4uJOM2Aj210EC2gawF5llEA65mRK3cSctNOv4p610AJhX067KY5Xg";
    "240TUBv13ce2ANwm2cki1Rj80p8OAdqR64HWeDh8h38kTQkEWRXJ7";
  }
}

Note: If you are not a hub, make sure to edit your servers class as follows, so you don't connect to more than one hub at a time:

  /* Server class with good defaults */
  class servers
  {
          pingfreq 60;
          connfreq 15; /* try to connect every 15 seconds */
          maxclients 1; /* max servers */
          sendq 20M;
  }

Suggested leaf setup

If you're running a leaf server you might be interested in these instructions:

  1. Create a separate hubs class with maxclients set to 1.
  2. Add all the hubs from further down the page to your config. Make sure their link blocks use the hubs class.
  3. Enable autoconnect for the hubs that are geographically closest to you by adding autoconnect; to the options { tls; } block.
  4. Profit.

A hubs class block would look like this:

 class hubs {       
       pingfreq 60;
       connfreq 60;
       maxclients 1;
       sendq 20M;
 }

An autoconnect hub link block would look like this:

 link fake.piss.hub {
     incoming {
         mask *;
     }
     outgoing {
         hostname fake.piss.hub;
         port 6900;
         options { tls; autoconnect; }
     }
     password "awesome.base64.fingerprint" { spkifp; }
     class hubs;
 }

Suggested server setup

UnrealIRCd by default does not send a fake quit/join for "Changing host" when a ip/spoof/cloak/vhost/whatever is changed. This can be an issue for some clients and bots. This setting will only send the fake quit/join to clients on your server that do not support CHGHOST. This setting will not override CHGHOST. NOTE: UnrealIRCd uses PART instead of QUIT.

/* Server specific configuration */
set {
    allow-userhost-change force-rejoin;
}

Link blocks API

There's an HTTP API to automatically grab the link blocks for servers on the wiki. See https://api.shitposting.space/docs for the API documentation.

Hub Servers

There are several servers acting primarily/exclusively as a hub:

Europe

The Americas

APAC

Experimental

  • irc.openpiss.net (Roadkill) - San Jose, USA (Update testing hub. You will need to manually add this server's linkblock if you wish to connect.)

Hub link blocks

// ChanFix (monique, jess, Ariadne, bs, Polsaker, Mismagius,  Revelator, and gerard have SSH access)
// Location: Vitry, France
// SID: 033
link eu-west.hub {
    incoming {
        mask *;
    }
outgoing {
hostname 212.129.35.122;
port 6900;
options { tls; }
    } password "Z1thuMHZzL8gZnQnmHq0LQbSK3YhVznSHIGeRZfStp0=" { spkifp; } class hubs; } // chmod // Location: Finland // SID: 1CH link irc.semisol.dev { incoming { mask *; }
outgoing {
hostname irc.semisol.dev;
port 6900;
options { tls; }
    } password "PNP2RUEiqSITb74WeHcyuYCY310ibZ7j6U9BE6q1Zgg=" { spkifp; } class hubs; } // Polsaker // Location: Chicago, Illinois, USA // SID: 69A link irc.shitposting.space { incoming { mask *; }
outgoing {
hostname irc.shitposting.space;
port 6900;
options { tls; }
    } password "UMKwXrH4ji00hK9Esr4RbeASF1LkXqpgOW08hfaq4kQ=" { spkifp; } class hubs; } // bs (Roadkill also has access to update/add blocks.) // Location: London, UK // SID: 069 link irc.sigint.pw { incoming { mask *; }
outgoing {
hostname irc.sigint.pw;
port 6900;
options { tls; }
    } password "D2SDfs1otGZb8DcZzvqi59PzS1UeFCH3CqurNCItB9g=" { spkifp; } class hubs; } // Roadkill // Location: Langley, Virginia, USA // SID: 4MG link nsa.packetscanner.net { incoming { mask *; }
outgoing {
hostname 150.136.110.77;
port 6900;
options { tls; }
    } password "ugt/q8N9TCgXx63rJeLt3EbBoSKhElPZur09fTuvQgU=" { spkifp; } class hubs; } // craftxbox // Location: St Johns, Newfoundland, Canada // SID: 0WU link piss.crxb.cc { incoming { mask *; }
outgoing {
hostname piss.crxb.cc;
port 6900;
options { tls; }
    } password "921zerZtZtGD3Qwqx6zIoicCgali2VY7wlG002xoW8E=" { spkifp; } class hubs; } // Roadkill // Location: San Jose, USA // SID: 1MG link uswest.sprynet.org { incoming { mask *; }
outgoing {
hostname 129.159.41.62;
port 6900;
options { tls; }
    } password "gEn9K1FuVC8J0fCyg/9wKSSVHz9Jo387JUtLo6fytJ4=" { spkifp; } class hubs; }

Non-hubs/Regular server link blocks

  • There is no need to cut and paste the entire list of leaves into your conf.
  • This is more for people who are going to link you to find your info and for us to keep track of server configurations.
  • You will be added automatically to this link when you create a server page using the form.

The Americas

This section is collapsed by default. Click Expand on the right hand side to view.

Europe

This section is collapsed by default. Click Expand on the right hand side to view.

APAC

This section is collapsed by default. Click Expand on the right hand side to view.

Africa

This section is collapsed by default. Click Expand on the right hand side to view.