Re: [cgiirc-general] IPv6 idents
Brought to you by:
dgl
|
From: Darius T. <si...@ko...> - 2004-02-23 12:38:10
|
Hi,
Actualy i am talking about inetd.pl
it's 2 situations. in first the someone contacting IRC:CGI using ipv4 =
and going to irc server which one based on IPv4.
server with CGI:IRC receives ident request from ircd on IPv4 and answers =
it corectly.
the line in inetd.conf looks like:
auth stream tcp nowait.128 www /usr/local/sbin/identd.pl =
identd.pl
the second situation: someone contacting IRC:CGI using ipv4 and going to =
irc server which based on IPv6
server with CGI:IRC receives ident request from ircd on IPv6 and here - =
no ident reply. because identd.pl wont listen on IPv6
I changed inetd.conf to look like that:
auth stream tcp6 nowait.128 www /usr/local/sbin/identd.pl =
identd.pl
but it refuse to listen on IPv6 113 port, then i changed strink like =
this:
auth stream tcp6 nowait.128 www /usr/sbin/tcpd =
/usr/local/sbin/identd.pl
now i got this when isue command netstat -l -n =3Dp|grep 113
tcp 0 0 :::113 :::* =
LISTEN
looks like it listens on port 113 on both IPv4 and IPv6
but with ident request comming from IPv4 irc server all goes ok,
but identd.pl still cant ansver ident requests frop IPv6 based server.
what we nead to change in identd.pl to solve this.
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.. |