[PATCH] partial EDNS support

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 08 Oct 2010 01:23:21 +1300

This adds partial EDNS support. Allowing Squid to advertise a larger UDP
reply size than 512 bytes.

Internally Squid has a buffer allocated on demand so there is no
practicable limit on individual packets. Network topology and external
software places stricter boundaries on what works and what does not.

Squid does not parse the additional section of replies so for now the
full auto-negotiation EDNS allows is not used. Instead a configuration
option is provided for admin to configure a desirable packet size in
bytes. EDNS defaults to "none" (disabled) until tested in a wider
environment.

Testing so far has brought to light problems with EDNS adverts on A and
IPv4-PTR queries. So support is limited to AAAA and IPv6-PTR queries only.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.8
   Beta testers wanted for 3.2.0.2

Received on Thu Oct 07 2010 - 12:23:28 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 07 2010 - 12:00:03 MDT