squid patch request

2007-04-17 Thread �����

Greetings.
Yesterday i recieved an email with notification of patch request of feature
i've already coded for myself.
here's request: http://www.squid-cache.org/bugs/show_bug.cgi?id=491
here's my diffs for squid-2.5.STABLE5:
http://hyper.admin.tomsk.ru/squid/tcp_outgoing_address_logging_patch.txt
As i understand it is need to do this feature MUST be optional (maybe
option in squid.conf or configure --option),
cause it changes format of squid logs people using for stats.

Can anyone put to rights this small addition so code can be accepted into
the squid tree?
Thanks in advance.

--
WBW, Andrew Atangulov, AA76-RIPE



Re: squid patch request

2007-04-17 Thread Henrik Nordstrom
tis 2007-04-17 klockan 11:28 +0700 skrev áÎÄÒÅÊ áÔÁÎÇÕÌÏ×/çÏÒáÄÍ/ôÏÍÓË:
 Greetings.
 Yesterday i recieved an email with notification of patch request of feature
 i've already coded for myself.
 here's request: http://www.squid-cache.org/bugs/show_bug.cgi?id=491
 here's my diffs for squid-2.5.STABLE5:
 http://hyper.admin.tomsk.ru/squid/tcp_outgoing_address_logging_patch.txt
 As i understand it is need to do this feature MUST be optional (maybe
 option in squid.conf or configure --option),
 cause it changes format of squid logs people using for stats.
 
 Can anyone put to rights this small addition so code can be accepted into
 the squid tree?


looks reasonable. Please update for a more recent Squid version 2.6 or
later (see below) and attach the results to the bug report and it's very
likely to get accepted.

Note that there has been fairly substantial changes to access_log.c,
adding support for custom log formats, and this kind of extension fits
very well as another format tag, with no need of changing the default
squid access.log format.

Regards
Henrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel


Debug-Sections for Release

2007-04-17 Thread Amos Jeffries

This is a cleanup of the published Debug Sections in Squid 3.0.

Source files are only altered in the commented DEBUG: areas. All changes 
are to better prepare these sections for automatic processing. Some are 
to bring code sections marked with unknown (ie section ??) up to date 
by marking with the actual section that is already being used in the code.
Have also updated the mk-debugs.sh patterns to include more inclusive 
filepath expansions actually used for locating and sorting these DEBUG: 
tags.
Patch file generated Wed Apr 18 00:07:16 NZST 2007 from
CVS branch ayjwork
CVS base branch HEAD
CVS repository: [EMAIL PROTECTED]:/cvsroot/squid
CVS module: squid3

cvs -q rdiff -u -kk -r Z-ayjwork_merge_HEAD -r ayjwork squid3
Index: squid3/doc/debug-sections.txt
diff -u squid3/doc/debug-sections.txt:1.6 squid3/doc/debug-sections.txt:1.6.22.1
--- squid3/doc/debug-sections.txt:1.6	Tue Jul 22 19:12:50 2003
+++ squid3/doc/debug-sections.txt	Tue Apr 17 04:34:41 2007
@@ -1,13 +1,27 @@
+
+ * DEBUG:
+none
+none  Common Removal Policy
+none  ETag parsing support
+none  FDE
+none  Generate squid.conf.default and cf_parser.h
+none  Linked list functions (deprecated)
+none  LRU Removal Policy
+none  Memory Allocation
+none  Refcount allocator
 section 0 Announcement Server
-section 0 CGI Cache Manager
 section 0 Client Database
 section 0 Debug Routines
 section 0 DNS Resolver
-section 0 WWW Client
+section 0 Hash Tables
+section 0 UFS Store Dump
+section --External DISKD process implementation.
+section 1 Main Loop
 section 1 Startup and Main Loop
 section 2 Unlink Daemon
 section 3 Configuration File Parsing
 section 4 Error Generation
+section 5 Comms
 section 5 Socket Functions
 section 6 Disk I/O Routines
 section 7 Multicast
@@ -24,40 +38,58 @@
 section 18Cache Manager Statistics
 section 19Store Memory Primitives
 section 20Storage Manager
+section 20Storage Manager Heap-based replacement
+section 20Storage Manager Logging Functions
+section 20Storage Manager MD5 Cache Keys
+section 20Storage Manager Swapfile Metadata
+section 20Storage Manager Swapfile Unpacker
+section 20Storage Manager Swapin Functions
+section 20Storage Manager Swapout Functions
+section 20Store Rebuild Routines
+section 20Swap Dir base object
+section 21Integer functions
 section 21Misc Functions
+section 21Time Functions
 section 22Refresh Calculation
 section 23URL Parsing
-section 24WAIS Relay
+section 23URL Scheme parsing
 section 25MIME Parsing
 section 26Secure Sockets Layer Proxy
 section 27Cache Announcer
 section 28Access Control
 section 29Authenticator
+section 29Negotiate Authenticator
+section 29NTLM Authenticator
 section 30Ident (RFC 931)
 section 31Hypertext Caching Protocol
 section 32Asynchronous Disk I/O
 section 33Client-side Routines
 section 34Dnsserver interface
 section 35FQDN Cache
-section 36Cache Directory Cleanup
 section 37ICMP Routines
 section 38Network Measurement Database
 section 39Cache Array Routing Protocol
-section 40User-Agent and Referer logging
+section 40Referer Logging
+section 40User-Agent Logging
 section 41Event Processing
 section 42ICMP Pinger program
 section 43AIOPS
+section 43Windows AIOPS
 section 44Peer Selection Algorithm
 section 45Callback Data Registry
 section 46Access Log
+section 47Store COSS Directory Routines
 section 47Store Directory Routines
 section 48Persistent Connections
-section 49SNMP
+section 49SNMP Interface
+section 49SNMP support
 section 50Log file handling
 section 51Filedescriptor Functions
 section 52URN Parsing
 section 53AS Number handling
+section 53Radix Tree data structure implementation
 section 54Interprocess Communication
+section 54Windows Interprocess Communication
 section 55HTTP Header
 section 56HTTP Message Body
 section 57HTTP Status-line
@@ -66,7 +98,7 @@
 section 60Packer: A uniform interface to store-like modules
 section 61Redirector
 section 62Generic Histogram
-section 63-
+section 63Low Level Memory Pool Management
 section 64HTTP Range Header
 section 65HTTP Cache Control Header
 section 66HTTP Header Tools
@@ -81,18 +113,25 @@
 section 75WHOIS protocol
 section 76Internal Squid Object handling
 section 77Delay Pools
-section 78DNS lookups
-section 79Lowlevel store I/O
-section 80WCCP
-section 81Cache Store
+section 78DNS lookups; interacts with lib/rfc1035.c
+section 79Disk IO Routines
+section 79Squid-side DISKD I/O functions.
+section 79Squid-side Disk I/O functions.
+section 79Storage Manager COSS Interface
+section 79Storage Manager UFS Interface
+section 80WCCP Support

Interested in subscribing

2007-04-17 Thread Anand Lakshminath

Hi All,

I am new to the SQUID world and am interested in learning and
contributing. I have over 10 years experience developing systems
software. For the immediate near term, I am planning to either
configure SQUID if it is possible to rate limit requests to specific
webservers or make code changes to support the same.

Regards,
Anand


Re: Interested in subscribing

2007-04-17 Thread Adrian Chadd
On Tue, Apr 17, 2007, Anand Lakshminath wrote:
 Hi All,
 
 I am new to the SQUID world and am interested in learning and
 contributing. I have over 10 years experience developing systems
 software. For the immediate near term, I am planning to either
 configure SQUID if it is possible to rate limit requests to specific
 webservers or make code changes to support the same.

Welcome aboard! I'll approve your subscription request.


adrian



Rate Limiting using SQUID

2007-04-17 Thread Anand Lakshminath

Hi All,

Is there a way to configure SQUID to rate limit requests to origin
webservers. Basically, we don't want to hit any given website too hard
and would like to throttle say 1 request per second.

I posted this query on the squid-users mailing list but did not get a
definitive answer as to how Delay Pools can be used to achieve this.

Thanks,
Anand