File: README

package info (click to toggle)
dancer-ircd 1.0.36-8
  • links: PTS, VCS
  • area: main
  • in suites: lenny, squeeze
  • size: 3,204 kB
  • ctags: 2,703
  • sloc: ansic: 36,121; sh: 3,534; perl: 612; makefile: 307
file content (24 lines) | stat: -rw-r--r-- 1,203 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Added debugnet.pl and proxytee.pl, which between them replace
the old debug-build target from the debian/ build systen. Run
tools/debugnet.pl from the top level directory to build an ircd and
create the debugging tree (debugnet.pl -h for parameter docs). When
this finishes, cd debug-tree && ./start to start all the ircds and
proxytee - a perl proxy which the ircds connect through, and which
dumps all through traffic to stdout. This has proven invaluable in
debugging in the past (I recommend starting with "./start | tee
proxy.log").

If the ircds are already running, just run ./proxy to start the proxy
alone without loading more copies of the ircds. Kill them off with
"killall ircd". Since the process names don't tell you which is which,
from debug-tree, use commands like "kill -HUP `cat
leaf2.dancer-debug`" or "gdb ircd `cat hub1.dancer-debug`" to work on
specific ones.

proxytee.pl has, just below the declaration of skip, a line like:
foreach my $command (qw/PING PONG SPINGTIME/)
The IRC protocol keywords quoted here identify messages which will
never be displayed, as a rudimentary filter.

Note: proxytee cannot handle zipped links at present. debugnet servers
must run uncompressed.