Re: [cgiirc-general] IPv6 idents
Brought to you by:
dgl
|
From: Darius T. <si...@ko...> - 2004-02-23 16:07:14
|
Hi, just found few more bugs. when cgiirc writing tep files in file server when it working with IPv4 = server it writes something like: 21x.19y.12s.s90:6667 193.219.def.abc:38203 irc.server.net nick when i connecting to IPv6 server /server file looks like: aaaa:bbb::6667:7666 :0 irc6.server.net CGI464 i thing it's definetly wrong. and line which fetchs identd.pl when trying to select local and remote = ports its going wrong becouse in IPv6 adress to much ":" ;) we nead to = correct way how to get last digits which ar port numbers: local *TMP; open(TMP, "<$dir$_/server") or next; chomp(my $tmp =3D <TMP>); next unless $tmp =3D~ /:$r$/; chomp($tmp =3D <TMP>); next unless $tmp =3D~ /:$l$/; close TMP; $r and $l he wil be wrong. Sirijus Darius Tribandis wrote: > Hi, >=20 > can anyone help to rewrite ident script which ships with cgi:irc, to = add > support for IPv6 (listen on IPv6) It would be the job of your inetd to do this, if you mean encoded IPs then IPv6 addresses cannot be compressed into the 9 characters allowed for usernames on IRC.. |