IRC forwarding

From Wikitech
Revision as of 19:52, 23 August 2008 by Siebrand (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Warning: This page is old. It is kept as an archive. Do not expect anything on it to be relevant to the current day.

Contents

Zwinger is set up to listen on TCP ports 57234 and 58234 for IRC forwarding/proxying purposes:

dircproxy on port 57234

usage

  • dircproxy is an IRC proxy which lets you see what you missed when you reconnect after disconnecting

configuration

  • make yourself an entry in /usr/local/etc/dircproxyrc, encrypting the password with dircproxy-crypt
  • permit access from your IP address, by altering the above config file, and /usr/local/bin/firewallinit.sh
  • configure your IRC client to connect to zwinger.wikimedia.org:57234 as a proxy, and make sure you specify the password

notes

  • no need to restart dircproxy after editing config file (I think)
  • runs as user dircproxy
  • a cronjob periodically checks that the service is still running, and starts it if necessary
  • if a restart is necessary, pkill dircproxy, and then /home/dircproxy/run_dircproxy.sh (as root)

simple forwarder on port 58234

usage

  • connect to zwinger.wikimedia.org:58234 instead of irc.freenode.net:6667

configuration

  • permit access from your IP address, by editing /usr/local/bin/firewallinit.sh

notes

  • code: tcpserver 0 58234 netcat irc.freenode.net 6667
    • tcpserver is from ucspi-tcp
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox