Bug#245972: spong-client: Spong HTTP check does not set User-Agent Header
Package: spong-client
Version: 2.7.7-3
Severity: wishlist
Hi,
What about adding a User-Agent Header in the HTTP queries spong sends
out?
A simple
"$method $urlpath HTTP/1.1\r\nHost: $hname:$port\r\nUser-Agent: Spong\r\n\r\n", 10 );
in line /usr/share/spong/Spong/Network/plugins/check_http:45
would add one, so website admins can filter spong queries from their
webserver statistics (e.g. IgnoreAgent Spong* for webalizer).
Best regards,
MB
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (900, 'testing'), (300, 'unstable'), (5, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=C, LC_CTYPE=de_DE@euro
Versions of packages spong-client depends on:
ii debconf 1.4.22 Debian configuration management sy
ii perl 5.8.3-3 Larry Wall's Practical Extraction
ii spong-common 2.7.7-3 A systems and network monitoring s
-- no debconf information
Reply to: