IPv6 support now in trunk

Kevin Goodsell <[email protected]> Sat, 21 May 2011 10:16:59 -0700
Newsgroups gmane.mail.spam.tmda.devel
Message-ID <[email protected]>
I've just pushed several commits, mostly around adding IPv6 support
(plus adding tests, fixing some minor issues).

This primarily adds IPv6 support to tmda-ofmipd (though it also allows
using the tmda-cgi simple-server in IPv6 mode to test tmda-cgi). There
are several areas where IPv6 needed to be addressed:

* Options for the address/port the server listens on.
* Supporting IPv6 URL format for remote authentication (-R option).
* Recognizing ::1 as a loopback address allowing non-TLS authentication
  with --tls=localoptional.
* The ipauthmap file that allows selecting the remote authentication
  host based on the interface the client connected on.

This includes some functional changes:

* In addition to -p/--proxyport, there's a new -6/--ipv6proxyport option
  to specify on IPv6 address. These two options can appear multiple
  times, in any combination, to bind many address/port combinations.

* With the above options, the preferred syntax for binding all available
  addresses is now ":PORT" instead of "0.0.0.0:PORT". The old version
  still works for IPv4 addresses.

* ipauthmap has a new space-separated format instead of the
  colon-separated format previously used. The space-separated format is
  necessary to prevent ambiguity in IPv6 addresses. However, lines that
  only have IPv4 addresses can still use the old format.

* Additionally, ipauthmap now supports comments at the ends of lines
  rather than only at the beginning, has its format checked more
  thoroughly, and is only read from disk the first time it is needed.

The additional tests for all the new cases are fairly extensive, also
adding coverage for old behavior that had no tests previously.

-Kevin

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
tmda-workers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tmda-workers