Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: Matt on September 12, 2011, 03:33:12 PM

Title: [Help] Anope Ipv6
Post by: Matt on September 12, 2011, 03:33:12 PM
Someday anope 1.8 support IPv6?. I have a vps with IPv6 need to run Anope 1.8 on that vps
Title: Re: [Help] Anope Ipv6
Post by: Charles Kingsley on September 12, 2011, 03:34:18 PM
Doubt it, don't see the point myself.

If you run the ircd + anope on the same box just use loopback to link unless it's truly an ipv6 only VPS.

Title: Re: [Help] Anope Ipv6
Post by: Matt on September 12, 2011, 03:37:49 PM
Yes only IPv6
Title: Re: [Help] Anope Ipv6
Post by: Charles Kingsley on September 12, 2011, 03:38:43 PM
Seriously?

What does ifconfig show?
Title: Re: [Help] Anope Ipv6
Post by: Jobe on September 14, 2011, 04:51:10 PM
@Chaz As far as I can see, to make Anope capable of connecting via IPv6 youd only need to modify src/sockutil.c (in the conn() function) (perhaps to use getaddrinfo() instead of gethostbyname(), much like Denora currently does (accidentally found that Denora can connect via IPv6) In theory the conn() function from Denora, with maybe minor changes should be compatible with Anope's conn() function, at least the prototypes are the same.

As for other internal recognition of IPv6 IP's in IRCd protocol messages, that's another task entirely.
Title: Re: [Help] Anope Ipv6
Post by: Charles Kingsley on September 14, 2011, 05:03:53 PM
*shrugs*
Title: Re: [Help] Anope Ipv6
Post by: katsklaw on September 15, 2011, 12:13:08 AM
Such changes wouldn't apply to 1.8 since its a bug fix only branch.
Title: Re: [Help] Anope Ipv6
Post by: Jan Milants on September 15, 2011, 08:27:19 AM
That strict bug fix only policy for stable was abandoned long ago..

Nonetheless I see no reason to add this to stable.. the added value of this is so negligible that it s not worth it..