Home :: Hacks :: dircproxy

dircproxy

As described at freshmeat.net, "dircproxy is an IRC proxy server ('bouncer') designed for people who use IRC from lots of different workstations or clients, but wish to remain connected and see what they missed while they were away." The dircproxy project seems to be in transition as I write this. Google it yourself to get the latest information. Also see its Debian page. Here I simply have an explanation for how I connect to multiple servers from one instance of dircproxy.

The documentation implies that it is straightforward to connect to multiple servers, but it took me a while to "get it." You have to use different passwords to connect to different "real" servers. You can connect multiple times to your dircproxy server with different passwords, and it all works.

Here's the (sanitized) snippet of my .dircproxy:

connection {
# this is the encrypted version of my password for server S1
password "123456789012a"
server "S1"
detach_nickname N_gone

# these are the channels I want logged
join "#chan_s1a,#chan_s1b"

# be nice in case we're bouncing and get kicked
channel_rejoin -1
}

connection {
# this is the encrypted version of my password for server S2
password "123456789012b"
server "S2"
detach_nickname N_gone

# these are the channels I want logged
join "#chan_s2a,#chan_s2b"

# be nice in case we're bouncing and get kicked
channel_rejoin -1
}

connection {
# this is the encrypted version of my password for server S3
password "123456789012c"
server "S3"
detach_nickname N_gone

# these are the channels I want logged
join "#chan_s3a,#chan_s3b"

# be nice in case we're bouncing and get kicked
channel_rejoin -1
}

Then to connect to each server, use these commands in your favorite IRC client:

/newserver S1 123456789012a
/newserver S2 123456789012b
/newserver S3 123456789012c

If you have other interesting dircproxy tricks, please post a comment.

Home :: Hacks :: dircproxy

Last Updated: 3 June 2004 by Tim Chambers, hacks_dircproxy@timchambersusa.com, http://alum.mit.edu/www/tbc/