IRC masquerading module queries

Alan Brown (alan@news.manawatu.gen.nz)
18 Feb 1997 05:02:20 +1300


I'd direct these questions to the author of the module, but his email
address isn't in the sources... :-)

1: What port does ip_masq_irc.o bind to when loaded?
2: What is its function?
3: Can it be extended to handle Identd requests from the IRC server
to the client?

If anyone can answer, please do so. Cc me a copy if you will please,
becxause I'm reading this as a newsgroup (linux.dev.net) and things
tend to run a few days behind.

The reason I'm asking these:

1: IRC has a IANA assigned port of 194, but noone uses it.(*)
ports 6660-6669, 7000 and 4400 are the commonly used irc ports.

(*) Noone uses it because it requires the process to be root to bind to it
and noone in their right minds lets an irc server have root access
for anything. Historically the servers have tended to be compiled
and run by users rather than admins and the de-facto standard port
has become 6667 with variations as listed above.

2: Looking at the code, it appears that it's supposed to allow DCC
to be sent and received. This isn't happening if it's just loaded
once, presumably because it's not binding to the port I need it to.

3: Almost all IRC servers sent an identd request back these days.
Network policies are usually such that multiple unident'd connects
from what appears to be a PPP dialup are classified as "clones" or
"floodbots" (a denial of service attack usually) and normally results
in the machine being barred from either the server permanently, or the
entire network for a temporary period of between an hour and 2 weeks.

When I have a school hiding behind a masquerading gateway, it's not a good
thing to have the gateway blocked from the server, particularly when IRC
is being used to enable inter-country class chats... :-)

Apart from that, it's always preferable to have identd information
available to the irc server, as some servers are instituting policies of
"no identd == no connect!"

The current distrubuted revision level of the module is 0.01, Mar 20 1996.

Thanks in advance,
Alan Brown

-- 
o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
  "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html
o Junk email returned, in bulk, back to sender; w/copies to all postmasters.
o Received junkmail constitutes a request for aggressive site security probing.