From: Dave Taht <dave.taht@gmail.com>
To: Kenneth Finnegan <kennethfinnegan2007@gmail.com>
Cc: cerowrt-devel@lists.bufferbloat.net
Subject: Re: [Cerowrt-devel] cerowrt 3.3.8-17 is released
Date: Wed, 22 Aug 2012 13:44:54 -0700 [thread overview]
Message-ID: <CAA93jw5NT8BiQTeQAhyBA8V10dmLBubwu5A-ugBnbeCh4G7_YA@mail.gmail.com> (raw)
In-Reply-To: <CAFS5k-hYG8esRcfr0YREZPZaD24XA1aX_B61SKwyEQERQzi7zQ@mail.gmail.com>
On Wed, Aug 22, 2012 at 12:23 PM, Kenneth Finnegan
<kennethfinnegan2007@gmail.com> wrote:
> On Wed, Aug 22, 2012 at 11:54 AM, Dave Taht <dave.taht@gmail.com> wrote:
>> and disabling or dropping the underused polipo proxy -
>>
>
> I think the proxy being under-used could be fixed if we had CeroWRT
> optionally advertise wpad when you start Polipo. When enabled, we
> would just need the router to resolve wpad.local.domain the same as
> gw.local.domain, and serve a gw.local.domain:80/wpad.dat file
> containing something like:
>
> function FindProxyForURL(url, host){
> if (isInNet(host, "172.30.42.0", "255.255.255.0")) {
> return "DIRECT";
> }
> return "PROXY gw.local.domain:3128; DIRECT";
> }
I note that the dns entry wpad.home.lan is enabled by default in
cero's implementation of bind, and cero is distributing this
information via dhcp as well, but dhcp alone seems not enough.
Enabling
the pac file makes sense...
> WPAD is really how the proxy-on-a-LAN experience should be. The HUGE
> issue with WPAD is that browsers (at least Firefox) switch to
> resolving all DNS queries synchronously instead of async when they
> detect a wpad configured network. Any gains from caching what little
> web content is (advertised) as cacheable are lost many times over when
> every DNS request causes the Firefox UI to FREEZE. Hit a page with
> several different domains on it (and what websites don't make you
> resolve analytics.google.com, twitter.com, plus.google.com, digg.com,
> reddit.com, etc etc) and the entire Firefox GUI locks up for several
> seconds.
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=769764
DNS queries should be resolved on the proxy, methinks. I'm not sure if
what this bug describes is the blocking you are describing.
> Just some food for thought. I would agree that in the face of memory
> pressure, it should be one of the first things to go; the vast
> majority of web servers aren't even configured correctly to mark
> cacheable content, so caching is usually force by writing
> pattern-matching rules which over-ride the (non-existent) caching
> meta-data.
My principal reasons for wanting to bring the concept of proxying back
into realm of the home router is multi-fold, but doesn't actually
involve caching (as that would require setting up a usb memory stick
to do well)
In the age when proxies ruled the earth, and wireless would actually
drop packets (1995-2005), it made a lot of sense to have a web proxy
on the wired/wifi boundry.
1) short RTTs compensate for excessive delays and packet loss on the
wireless side, while providing an accurate RTT (and some buffering) to
the wired-to-the-internet side
2) it makes possible doing ipv6 to ipv4 translation much easier - the
wpad method can just as easily point to an ipv6 address.
There were huge threads regarding the advantages and disadvantages of
"split tcp" in the early days of the bloat list. Example:
https://lists.bufferbloat.net/pipermail/bloat/2011-February/000101.html
Now that we have the beginnings of a sane drop strategy in place, and
bloat has been thoroughly smashed through the stack (I am one line
away from backporting "TCP small queues" btw), I think the overhead of
running a web proxy on the router is low, and it could show benefit in
the general case - keeping dns queries local, smoothing out wifi
access patterns, and making possible the more native ipv6 transition
(and testing) noted above. I really, really, really want to beat up on
ipv6 as hard as possible...
That said, what I care about right now in this upcoming release is
that it not crash under stress, and I can get some good data back as
to codel's behavior when not in a so tightly constrained memory
environment. And/or find a memory leak.
I will probably leave polipo enabled, if I can convince someone to
test the current configuration... (hint, hint)
> Kenneth Finnegan
> blog.thelifeofkenneth.com
--
Dave Täht
http://www.bufferbloat.net/projects/cerowrt/wiki - "3.3.8-17 is out
with fq_codel!"
next prev parent reply other threads:[~2012-08-22 20:44 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-13 6:08 Dave Taht
2012-08-13 16:06 ` Maciej Soltysiak
2012-08-13 16:20 ` Dave Taht
2012-08-15 17:23 ` Sebastian Moeller
2012-08-15 22:53 ` dpreed
2012-08-15 22:57 ` William Katsak
2012-08-16 4:54 ` Sebastian Moeller
2012-08-16 11:08 ` William Katsak
2012-08-16 17:02 ` dpreed
2012-08-20 18:17 ` Sebastian Moeller
2012-08-16 4:51 ` Sebastian Moeller
2012-08-16 4:58 ` Dave Taht
2012-08-16 6:09 ` Sebastian Moeller
2012-08-20 18:13 ` Sebastian Moeller
2012-08-16 4:08 ` Dave Taht
2012-08-16 5:15 ` Sebastian Moeller
2012-08-20 18:24 ` Sebastian Moeller
2012-08-21 2:33 ` dpreed
2012-08-21 2:44 ` Marchon
2012-08-21 5:28 ` Sebastian Moeller
2012-08-22 18:23 ` dpreed
2012-08-22 18:54 ` Dave Taht
2012-08-22 19:23 ` Kenneth Finnegan
2012-08-22 20:44 ` Dave Taht [this message]
2012-08-21 5:23 ` Sebastian Moeller
2012-08-17 8:52 ` [Cerowrt-devel] cerowrt 3.3.8-17: nice latency improvements, some issues with bind Török Edwin
2012-08-17 18:05 ` Dave Taht
2012-08-17 19:05 ` Török Edwin
2012-08-17 19:52 ` Dave Taht
2012-08-17 20:13 ` Török Edwin
2012-08-18 20:16 ` Michael Richardson
2012-08-20 20:16 ` david
2012-08-20 20:41 ` George Lambert
2012-08-20 20:48 ` david
2012-08-20 21:27 ` George Lambert
2012-08-20 23:19 ` Michael Richardson
2012-08-21 22:03 ` Maciej Soltysiak
2012-08-21 22:31 ` George Lambert
2012-08-22 1:21 ` Michael Richardson
2012-08-18 9:38 ` Török Edwin
2012-08-18 10:20 ` [Cerowrt-devel] [Bloat] " Jonathan Morton
2012-08-18 17:07 ` [Cerowrt-devel] " Dave Taht
2012-08-25 13:56 ` Török Edwin
2012-08-25 18:09 ` Dave Taht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.bufferbloat.net/postorius/lists/cerowrt-devel.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA93jw5NT8BiQTeQAhyBA8V10dmLBubwu5A-ugBnbeCh4G7_YA@mail.gmail.com \
--to=dave.taht@gmail.com \
--cc=cerowrt-devel@lists.bufferbloat.net \
--cc=kennethfinnegan2007@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox