Menu

#3 IPv6

u2.10.12
closed-accepted
Entrope
None
5
2004-09-11
2002-11-01
Alex Badea
No

Here's a not-so-broken(tm) IPv6 patch for .11 (yes, I
know this should be in .12 or .13, but it's easier to
test this way).

What works:
* connecting clients/servers via v4 or v6
* dns for both
* uping

What doesn't work:
* ipcheck's hashing
* ip-based glines
* ip-based /who
* allowed-ip-mask in P:lines
* /userip is truncated
* base64 IPs in NICK messages are truncated
* probably more

Tested on a Linux 2.4.17.

Discussion

  • Alex Badea

    Alex Badea - 2002-11-01

    patch against 2.10.11.03

     
  • Alex Badea

    Alex Badea - 2002-11-02

    patch against 2.10.11.03

     
  • Alex Badea

    Alex Badea - 2002-11-02

    Logged In: YES
    user_id=116670

    Now works under FreeBSD (tested under 4.7), base64 IPs are
    ok, ipcheck improvements, /userip works.

    As it is now, if there are no ipv6 connections, nothing in
    the behaviour should change.
    IPv6-unaware servers on the same net will see only the last
    32 bits for /userip on a v6 client.

     
  • Alex Badea

    Alex Badea - 2002-11-03

    Logged In: YES
    user_id=116670

    Fixed glines, /who and IP bans, all with CIDR capability
    The bans don't overlap correctly though.

     
  • Alex Badea

    Alex Badea - 2002-11-03

    patch against 2.10.11.03

     
  • Reed Loden

    Reed Loden - 2002-11-04

    Logged In: YES
    user_id=586984

    You just love making the forward port of .11 to .12 very hard
    to do. :P

    nahh, patch looks good! ;)

    Keep up the good work, vampy. :)

    ~reed

     
  • Kevin L. Mitchell

    Logged In: YES
    user_id=65117

    It looks nice...but I'm afraid I have to nit-pick. Remember
    that not all platforms have the IPv6 address structures like
    in6_addr or sockaddr_in6. This unfortunately makes things
    more complicated, because even those ircu's on such
    platforms must be able to handle IPv6 addresses they receive
    over the network. I'm also curious about how IPv6 addresses
    are propagated across the network when the user's host
    doesn't reverse-resolve--theoretically, the IPv6 address
    could begin with a ':'.

    I would like to apply this patch to .11--I don't think
    forward-porting's going to be much of a problem since I'm
    hoping to have libevent to use in .12, and supporting IPv6
    addresses on non-IPv6-enabled platforms is one of the design
    goals for that project. Although libevent isn't anywhere
    near done, I think the abstraction code I have in there may
    give you some ideas of how to work around the
    IPv6-on-IPv4-only machines problems I pointed out above.

    Could you address my concerns and provide an updated patch?
    You have time--I don't expect to apply it until u2.10.11.04
    or later, because it's so big and needs testing :)

    Thanks for the good work!

     
  • Nobody/Anonymous

    Logged In: NO

    how close is this being until it can be released? There are
    some people that are very interested in having this.

     
  • Nobody/Anonymous

    Logged In: NO

    This is an ultimate specialiy for all people please allow ipv6 it
    is the best thing I have ever seen all people will like it make it
    runing as possible as you can that will be an excellent
    decision in the history of undernet ipv6 must be available
    please make it on the next ircu !!!

     
  • Kevin L. Mitchell

    Logged In: YES
    user_id=65117

    If this is not already in .12, let's try to get it there.
    Its big enough to make me nervous about putting it in .12...

     
  • Kevin L. Mitchell

    • milestone: 241557 --> u2.10.12
    • assigned_to: nobody --> entrope
     
  • Entrope

    Entrope - 2004-09-11
    • status: open --> closed-accepted
     
  • Entrope

    Entrope - 2004-09-11

    Logged In: YES
    user_id=10120

    .12 contains a cleaner and more portable rework of this
    patch. (Notably, it does not assume the existence of struct
    sockaddr_in6 on the host platform. An IPv4-only server can
    link -- and has linked -- into a network with IPv6 servers,
    with things like /userip working properly on both.)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.