Skip to content
/ pld Public

A pseudoserver for UnrealIRCd-based IRC networks written in bash.

License

Notifications You must be signed in to change notification settings

BasedUser/pld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

pld

wtf??? unrealircd6 s2s client in BASH!???

Yes.

pld is a hopefully-not-terrible implementation of the UnrealIRCd 4+ protocol in pure* Bash.

The code is intended to be modular, and written as if made to be a full multiserver IRCd. In reality, of course, I have no fucking idea how to make one. Originally made for pissnet, an IRC experimentation network.

*Actually uses openssl and some *nix-specific utils. I don't actually care if you consider this "pure".

Configuring

On the linking server, add the following link block into your unrealircd.conf (replacing pld.baseduser.eu.org with your own sname):

link pld.baseduser.eu.org {
    incoming {
        mask { ip 11.22.33.44; } // change this! you don't want to be publicly linkable
    }
    password "foo"; // change this!
    class servers;
}

Then, configure pld - all it needs is that link block's password, sname and sid.

Create a file called pass.txt and store the password inside. In pld.sh, change these:

sname="pld.baseduser.eu.org"
sid="9RD"

to your new values (sname to your link block's name, sid to a proper UnrealIRCd SID).

Finally, change the IP in the call to openssl:

    ((sleep 0.5s; hello; cat /tmp/$$_0) & cat) | openssl s_client -connect irc.example.com:6900 | while read -r line; do

About

A pseudoserver for UnrealIRCd-based IRC networks written in bash.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages