Index of /privoxy-ipv6

Icon  Name                                                          Last modified      Size  
[DIR] Parent Directory - [   ] 03_ipv6.dpatch.bz2 06-Apr-2007 11:03 21K [DIR] inc/ 14-Apr-2009 21:36 - [   ] privoxy-3.0.10-ipv6-all-2.diff 12-Jan-2009 12:39 34K [   ] privoxy-3.0.10-ipv6-all-2.diff.asc 12-Jan-2009 12:39 189 [   ] privoxy-3.0.10-ipv6-all-3.diff 12-Jan-2009 14:32 34K [   ] privoxy-3.0.10-ipv6-all-3.diff.asc 12-Jan-2009 14:32 189 [   ] privoxy-3.0.10-ipv6-all-4.diff 14-Jan-2009 21:27 35K [   ] privoxy-3.0.10-ipv6-all-4.diff.asc 14-Jan-2009 21:27 189 [   ] privoxy-3.0.10-ipv6-all-5.diff 19-Jan-2009 16:12 45K [   ] privoxy-3.0.10-ipv6-all-5.diff.asc 19-Jan-2009 16:12 189 [   ] privoxy-3.0.10-ipv6-all-6.diff 22-Jan-2009 21:04 47K [   ] privoxy-3.0.10-ipv6-all-6.diff.asc 22-Jan-2009 21:04 189 [   ] privoxy-3.0.10-ipv6-all-7.diff 25-Mar-2009 23:37 47K [   ] privoxy-3.0.10-ipv6-all-7.diff.asc 25-Mar-2009 23:37 190 [   ] privoxy-3.0.10-ipv6-all.diff 08-Jan-2009 17:27 34K [   ] privoxy-3.0.10-ipv6-all.diff.asc 08-Jan-2009 17:27 189 [   ] privoxy-3.0.10-ipv6-basic_io.diff 30-Dec-2008 13:58 15K [   ] privoxy-3.0.10-ipv6-basic_io.diff.asc 30-Dec-2008 13:58 197 [   ] privoxy-3.0.10-ipv6-basic_io_and_url_and_forward.diff 02-Jan-2009 14:27 19K [   ] privoxy-3.0.10-ipv6-basic_io_and_url_and_forward.diff.asc 02-Jan-2009 14:27 197 [   ] privoxy-3.0.10-ipv6-basic_io_and_url_and_forward_all.diff 04-Jan-2009 18:57 23K [   ] privoxy-3.0.10-ipv6-basic_io_and_url_and_forward_all.diff.asc 04-Jan-2009 18:57 189 [   ] privoxy-3.0.12-ipv6-1.diff 07-Apr-2009 00:19 47K [   ] privoxy-3.0.12-ipv6-1.diff.asc 07-Apr-2009 00:19 190 [   ] privoxy-3.0.12-ipv6-2.diff 09-Apr-2009 12:02 47K [   ] privoxy-3.0.12-ipv6-2.diff.asc 09-Apr-2009 12:02 190 [   ] privoxy-3.0.12-ipv6-3.diff 09-Apr-2009 16:53 47K [   ] privoxy-3.0.12-ipv6-3.diff.asc 09-Apr-2009 16:53 190 [   ] privoxy-3.0.12-ipv6-4.diff 14-Apr-2009 17:55 46K [   ] privoxy-3.0.12-ipv6-4.diff.asc 14-Apr-2009 17:55 190 [   ] privoxy-3.0.5-3.0.6.diff.bz2 06-Apr-2007 11:03 105K [   ] privoxy-3.0.5-3.0.6.diff.bz2.asc 06-Apr-2007 11:03 189 [   ] privoxy-3.0.6-stable-ipv6.diff.bz2 06-Apr-2007 11:03 84K [   ] privoxy-3.0.6-stable-ipv6.diff.bz2.asc 06-Apr-2007 11:03 189
Here are some patches adding IPv6 support to Privoxy.

Version 3.0.6

The latest version I found is 03_ipv6.dpatch.bz2. It seems to be against
3.0.5. I applied the patch to 3.0.5 and then I aplied 3.0.6-3.0.6 diff. It
succeeded but two hunks from jbsockets.c. I think it's harmless, therefore
I've rediffed the sources and made privoxy-3.0.6-stable-ipv6.diff.bz2 patch.  


Version 3.0.10

Patches for 3.0.10 are written from scratch.

All changes specific to IPv6 are #ifdefed by presence of getaddrinfo(3) or
getnameinfo(3). This addresses a blocker against inclusion of original
(03_ipv6.dpatch.bz2) patch.

Other advantage is that new code allows to probe all IP addresses pointed to by
A/AAAA records instead of the first one only.

Resolver in stable Privoxy is a spaghetti code. Because getaddrinfo(3) brings
completely different approach, code with 3.0.10 patch is too spaghetti even for
Italians. Don't try to understand the code, you have been warned!

Where possible, brackets used as IPv6 address delimited due too semicolons
(e.g. access-deny [::1]:80). However delimiter in URL pattern is angle bracket
due too brackets occupated by regular expressions (e.g. forward <::1>:80 .).

privoxy-3.0.10-ipv6-basic_io*:
ACLs are not supported, configure without ACL feature.

privoxy-3.0.10-ipv6-all-7.diff:   TRY THIS VERSION
ACL and other IPv6 stuff is supported. Privoxy code style is preserved, documentation reflects changes. There is one unsolved problem in the ACL code:

    * If hostname in permit-access/deny-access is provided, only first resolved
      address is added into ACL. The fix will require configuration parser
      change.


Version 3.0.12

privoxy-3.0.12-ipv6-1.diff:
Based on patches for version 3.0.10. Not tested extensively.

privoxy-3.0.12-ipv6-2.diff:
Fixes saving ai_addr from addrinfo.

privoxy-3.0.12-ipv6-3.diff:
connect_to() function splitted into two implementations selected by
HAVE_GETADDRINFO.

privoxy-3.0.12-ipv6-4.diff:   TRY THIS VERSION
Multiplexes HAVE_GETADDRINFO and HAVE_GETNAMEINFO into one HAVE_RFC2553 macro.
Adds one explicit type cast to quiet compiler bogus warning.
Fixes some typos off the code.

-- Petr