Re: best source code for IPv6

"Todd T. Fries" <[email protected]> Wed, 28 Jul 2004 09:12:09 -0500
Newsgroups gmane.os.openbsd.ipv6
Message-ID <[email protected]>
DO NOT EVEN CONSIDER IPV4 MAPPED ADDRESSES A FEATURE.  CONSIDER IT A BUG.

Thorston, I'm usually more than sympathetic to your views, but this one,
you are ON DRUGS.

There is no reason why IPv4 mapped addresses need exist, except some people
(apparently you included) have regarded the lazy programming of one socket,
both protocols, to be something you cannot live without.
-- 
Todd Fries .. [email protected]

 _____________________________________________
|                                             \  1.636.410.0632 (voice)
| Free Daemon Consulting, LLC                 \  1.405.227.9094 (voice)
| http://FreeDaemonConsulting.com             \  1.866.792.3418 (FAX)
| "..in support of free software solutions."  \  1.700.227.9094 (IAXTEL)
|                                             \          250797 (FWD)
 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
                                                 
              37E7 D3EB 74D0 8D66 A68D  B866 0326 204E 3F42 004A
                        http://todd.fries.net/pgp.txt

Penned by Thorsten Glaser on Mon, Jul 26, 2004 at 07:30:24PM +0000, we have:
| Dixitur illum [email protected] scribere...
| 
| >incorporate the latest KAME updates and how well those updates are
| >tested, but I don't know what those differences are.
| 
| Definitively not OpenBSD - they do not support IPv4-mapped
| addresses (NetBSD does, but only after enabling a certain
| sysctl).
| 
| IPv4-mapped addresses allow you to listen on :: port 100 on
| one socket (AF_INET6, TCP) and get connections from IPv4-only
| hosts via ::FFFF:a.b.c.d addresses. (Same goes for IPX and some
| weird antique other protocol, but no mapping scheme has been
| specified yet for these AFAIK.)
| 
| If you take a certain networking dæmon, for example DJB tinydns,
| and want to make it work with IPv6, you either have to start two
| different instances, one listening on 0.0.0.0 port 53 UDP AF_INET
| and one on :: port 53 UDP AF_INET6, or convert it into a complicated
| application using select(). itojun-sensei still hasn't persuaded
| us to do the latter, and having to do the former sucks (code
| duplication, for example), especially in ports.
| 
| Of course, there's always the "security" argument, but I don't
| really believe in that - except for the "code complexity in kernel"
| part of it.
| 
| //Thorsten
| -- 
| Currently blocking eMail from the following domains: bigpond.com, biz, gmx.de,
| gmx.net, hotmail.com, info, jumpy.it, libero.it, name, netscape.net,
| postino.it, simplesnet.pt, spymac.com, tatanova.com, tiscali.co.uk,
| tiscali.cz, tiscali.de, tiscali.it, voila.fr, yahoo.co.uk, yahoo.com.