[Xapian-tickets] [Xapian] #374: IPv6 support

Xapian nobody at xapian.org
Fri Jun 12 12:17:16 BST 2009


#374: IPv6 support
----------------------------+-----------------------------------------------
 Reporter:  olly            |       Owner:  olly     
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  1.1.7    
Component:  Backend-Remote  |     Version:  SVN trunk
 Severity:  normal          |    Keywords:           
Blockedby:                  |    Platform:  All      
 Blocking:                  |  
----------------------------+-----------------------------------------------

Comment(by james):

 Good point about APR and `select()`; that makes that side simple.

 The most common behaviour (AFAICT) is to bind to everything that matches.
 bind9 works differently by instead evaluating all active interfaces and
 binding to each available ip address directly (at least by default on
 Debian), which always struck me as a little weird.

 The only time I can see it making a real difference is if people need to
 port forward or encrypted tunnel the connections. That's rare, and
 providing we document behaviour not a huge problem.

 On atreus, the following do so (when binding to 0.0.0.0):

   rsync, bind (for a second port, bound to localhost), exim

 sshd, imapd, apache only bind to ipv6. Since this still works for ipv4, we
 could see what happens if we favour ipv6 over ipv4. (linux appears to have
 extension flags to `getaddrinfo()` to make this easier, but it's not
 terribly difficult to do ourselves.)

-- 
Ticket URL: <http://trac.xapian.org/ticket/374#comment:4>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list