You are browsing a read-only backup copy of Wikitech. The live site can be found at wikitech.wikimedia.org

Obsolete:IRC forwarding

From Wikitech-static
(Redirected from IRC forwarding)
Jump to navigation Jump to search

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