Bug #300

wpad might be useful

Added by Dave Täht on Nov 18, 2011. Updated on Apr 21, 2012.
New Normal Dave Täht

Description

sanely distributing a wpad.home.lan to the end clients would help.

Attachments

  • wpad.dat (application/x-ns-proxy-autoconfig; 289 bytes) Petri Rosenström Nov 19, 2011

History

Updated by Dave Täht on Nov 18, 2011.
Updated by Petri Rosenström on Nov 19, 2011.
I played around with this for a while and noticed that by putting wpad.dat to /etc/www on the router and setting a disc cache location for polipo then Firefox (7.0.1) started to use the cache.

If I didn’t set the disc cache location for polipo the cache wouldn’t work. I got a 504 blah lookup failed: Timeout

/* Working config begin */

config ‘polipo’ ‘daemon’
option ‘daemonise’ ‘1’
option ‘pidFile’ ‘/var/run/polipo.pid’

config ‘polipo’ ‘general’
option ‘enabled’ ‘1’
option ‘proxyAddress’ ‘::’
option ‘dnsUseGethostbyname’ ‘false’
option ‘dnsNameServer’ ‘127.0.0.1’
list ‘allowedClients’ ‘172.16.0.0/12’
option ‘chunkHighMark’ ‘10485760’
option ‘logSyslog’ ‘1’
option ‘dnsQueryIPv6’ ‘happily’

config ‘polipo’ ‘cache’
option ‘cacheIsShared’ ‘1’
option ‘diskCacheRoot’ ‘/home/proxy’

config ‘polipo’ ‘pmm’

/* Working config end */

/* Broken config */
config ‘polipo’ ‘daemon’
option ‘daemonise’ ‘1’
option ‘pidFile’ ‘/var/run/polipo.pid’

config ‘polipo’ ‘general’
option ‘enabled’ ‘1’
option ‘proxyAddress’ ‘::’
option ‘dnsUseGethostbyname’ ‘false’
option ‘dnsNameServer’ ‘127.0.0.1’
list ‘allowedClients’ ‘172.16.0.0/12’
option ‘chunkHighMark’ ‘10485760’
option ‘logSyslog’ ‘1’
option ‘dnsQueryIPv6’ ‘happily’

config ‘polipo’ ‘cache’
option ‘cacheIsShared’ ‘1’

config ‘polipo’ ‘pmm’

/* Broken config end */

To make things simple when I change dnsUseGethostbyname variable to true the broken config works. And if I add the discCacheRoot variable it is broken again…

Updated by Dave Täht on Nov 23, 2011.
I decided to try building also polipo-latest in rc8, which has about a year’s worth of fixes to polipo in it. More news as it happens….
Updated by Dave Täht on Apr 21, 2012.

This is a static export of the original bufferbloat.net issue database. As such, no further commenting is possible; the information is solely here for archival purposes.
RSS feed

Recent Updates

Jul 21, 2024 Wiki page
cake-autorate
Jul 21, 2024 Wiki page
What Can I Do About Bufferbloat?
Jul 21, 2024 Wiki page
Tests for Bufferbloat
Jul 1, 2024 Wiki page
RRUL Chart Explanation
Dec 3, 2022 Wiki page
Codel Wiki

Find us elsewhere

Bufferbloat Mailing Lists
#bufferbloat on Twitter
Google+ group
Archived Bufferbloat pages from the Wayback Machine

Sponsors

Comcast Research Innovation Fund
Nlnet Foundation
Shuttleworth Foundation
GoFundMe

Bufferbloat Related Projects

OpenWrt Project
Congestion Control Blog
Flent Network Test Suite
Sqm-Scripts
The Cake shaper
AQMs in BSD
IETF AQM WG
CeroWrt (where it all started)

Network Performance Related Resources


Jim Gettys' Blog - The chairman of the Fjord
Toke's Blog - Karlstad University's work on bloat
Voip Users Conference - Weekly Videoconference mostly about voip
Candelatech - A wifi testing company that "gets it".