aboutsummaryrefslogtreecommitdiffstats
path: root/design-notes.html
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-16 06:48:56 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-16 06:48:56 +0000
commitb5dc5030b42a1f304923b9c822c080db47da1f77 (patch)
tree4424b3d32943b4ab3bdc5b9e605c1474f2a11c58 /design-notes.html
parentbd57c85d9a2cc1e95e0ae16168b764204755e143 (diff)
downloadfetchmail-b5dc5030b42a1f304923b9c822c080db47da1f77.tar.gz
fetchmail-b5dc5030b42a1f304923b9c822c080db47da1f77.tar.bz2
fetchmail-b5dc5030b42a1f304923b9c822c080db47da1f77.zip
IPv6 and IPSEC
svn path=/trunk/; revision=1631
Diffstat (limited to 'design-notes.html')
-rw-r--r--design-notes.html24
1 files changed, 22 insertions, 2 deletions
diff --git a/design-notes.html b/design-notes.html
index 69641697..771e5994 100644
--- a/design-notes.html
+++ b/design-notes.html
@@ -10,7 +10,7 @@
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1997/10/12 02:44:26 $
+<td width="30%" align=right>$Date: 1998/02/16 06:46:23 $
</table>
<HR>
<H1 ALIGN=CENTER>Design Notes On Fetchmail</H1>
@@ -267,6 +267,26 @@ with errors to fetchmail's invoking user in addition to any other
recipients. These would fit an assumption that DNS lookup errors are
likely to be permanent problems associated with an address.<P>
+<H1>IPv6 and IPSEC</H1>
+
+The IPv6 support patches are really more protocol-family independence
+patches. Because of this, in most places, "ports" (numbers) have been
+replaced with "services" (strings, that may be digits). This allows us
+to run with certain protocols that use strings as "service names"
+where we in the IP world think of port numbers. Someday we'll plumb
+strings all over and then, if inet6 is not enabled, do a
+getservbyname() down in SocketOpen. The IPv6 support patches use
+getaddrinfo(), which is a POSIX p1003.1g mandated function. So, in the
+not too distant future, we'll zap the ifdefs and just let autoconf
+check for getaddrinfo. IPv6 support comes pretty much automatically
+once you have protocol family independence.<P>
+
+Craig Metz used his inner_connect() function to handle most of the
+connect work. This is a nonstandard function not likely to ever exist
+in a system's libc, but we can just include that source file if the
+day comes when we want to support IPv6 without the inet6-apps
+library. It just makes life easier.<P>
+
<H1>Lessons learned</H1>
<H3>1. Server-side state is essential</H3>
@@ -403,7 +423,7 @@ all shaped the design in one way or another.<P>
<table width="100%" cellpadding=0><tr>
<td width="30%">Back to <a href="index.html">Fetchmail Home Page</a>
<td width="30%" align=center>To <a href="/~esr/sitemap.html">Site Map</a>
-<td width="30%" align=right>$Date: 1997/10/12 02:44:26 $
+<td width="30%" align=right>$Date: 1998/02/16 06:46:23 $
</table>
<P><ADDRESS>Eric S. Raymond <A HREF="mailto:esr@thyrsus.com">&lt;esr@snark.thyrsus.com&gt;</A></ADDRESS>