UU 2.6.4 problem downloading files from apache w. mod_securi

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

UU 2.6.4 problem downloading files from apache w. mod_securi

Postby rhopegorn » Mon May 07, 2007 3:16 pm

Hi guys,

I've just updated my webserver and found a small issue.

When UU tries to download the mods from the server it does not provide a proper User-agent string. This cause a problem with mod_security. If possible could UU get updated to properly identify itself when it issues a GET, it already seems to do that when it issues a POST. Sorry if I missread what's going on. Hope this provides useful information.

From mod_security
==2608fe1d==============================
Request: server1.dummy.org 192.168.1.1 - - [07/May/2007:16:36:23 +1000] "GET /uniadmin/addon_zips/Bidder.zip HTTP/1.1" 406 369 "-" "-" - "-"
----------------------------------------
GET /uniadmin/addon_zips/Bidder.zip HTTP/1.1
Host: server1.dummy.org
mod_security-message: Access denied with code 406. Pattern match "^$" at HEADER("USER-AGENT") [severity "EMERGENCY"]
mod_security-action: 406

HTTP/1.1 406 Not Acceptable
Content-Length: 369
Connection: close
Content-Type: text/html; charset=iso-8859-1
--2608fe1d--

From access_log
192.168.1.1 - - [07/May/2007:16:36:23 +1000] "GET /uniadmin/addon_zips/Bidder.zip HTTP/1.1" 406 369 "-" "-"
192.168.1.1 - - [07/May/2007:16:56:25 +1000] "POST /uniadmin/interface.php HTTP/1.1" 200 90127 "-" "UniUploader 2.0 (UU 2.6.4; English)"

UUlog
[2007/05/07 16:36:20] RetrData: ------------------------------------------------------------------------
[2007/05/07 16:36:20]
[2007/05/07 16:36:20] Beginning the XML document parsing
[2007/05/07 16:36:22] FileToByteArray: Could not find file "C:\Program Files\World of Warcraft\Interface\AddOns\Decursive\Libs\Changelog-Dewdrop-2.0-r31876.xml".
[2007/05/07 16:36:22] FileToByteArray: Could not find file "C:\Program Files\World of Warcraft\Interface\AddOns\RaidInfo\Changelog-libs\Candybar-2.0-r31748.xml".
[2007/05/07 16:36:22] The # of addons to be updated are: 12
[2007/05/07 16:36:22] The following list of outdated or non-existent addons will be processed:
[2007/05/07 16:36:22]
[2007/05/07 16:36:22] Bidder
[2007/05/07 16:36:22] Bidder_ZSumAuction
[2007/05/07 16:36:22] Big Brother
[2007/05/07 16:36:22] Big Wigs +Common Auras
[2007/05/07 16:36:22] Big Wigs +Gruul Assist
[2007/05/07 16:36:22] Cartographer -Ace2-
[2007/05/07 16:36:22] Decursive -Ace2-
[2007/05/07 16:36:22] dG Killshot Notifier
[2007/05/07 16:36:22] KLHThreatMeter
[2007/05/07 16:36:22] RaidInfo -Ace2-
[2007/05/07 16:36:22] rpgo-CharacterProfiler v2.0.6
[2007/05/07 16:36:22] Send Self
[2007/05/07 16:36:22]
[2007/05/07 16:36:22] Now updating: [ 1 / 12 ] Bidder
[2007/05/07 16:36:22] = = = = = = = = = = = = = = = = = =
[2007/05/07 16:36:22]
[2007/05/07 16:36:22]
[2007/05/07 16:36:22] RetrData: url: http://server1.dummy.org/uniadmin/interface.php
[2007/05/07 16:36:22] RetrData: param1: OPERATION
[2007/05/07 16:36:22] RetrData: val1: GETADDON
[2007/05/07 16:36:22] RetrData: param2: ADDON
[2007/05/07 16:36:22] RetrData: val2: Bidder
[2007/05/07 16:36:22] RetrData: Timeout: -1
[2007/05/07 16:36:22] RetrData: ------------------------------------------------------------------------
[2007/05/07 16:36:22] http://server1.dummy.org/uniadmin/addon_zips/Bidder.zip
[2007/05/07 16:36:22] RetrData: ------------------------------------------------------------------------
[2007/05/07 16:36:22]
[2007/05/07 16:36:22] File Name: Bidder.zip
[2007/05/07 16:36:22] zipFileLocalLocation: C:\Program Files\World of Warcraft\Bidder.zip
[2007/05/07 16:36:22] Downloading: http://server1.dummy.org/uniadmin/addon_zips/Bidder.zip
[2007/05/07 16:36:23] System.Net.WebException: The remote server returned an error: (406) Not Acceptable.

[2007/05/07 16:36:23] at System.Net.HttpWebRequest.CheckFinalStatus()

[2007/05/07 16:36:23] at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)

[2007/05/07 16:36:23] at System.Net.HttpWebRequest.GetResponse()

[2007/05/07 16:36:23] at WindowsApplication3.Form1.download(String path_download, String path_local)
[2007/05/07 16:36:23] Unzipping
[2007/05/07 16:36:23] UpdateAddons: EOF in header
[2007/05/07 16:36:23] 12 Addons Updated.
[2007/05/07 16:36:23] Addons Updated.


Cheers,
Rhopegorn.
Last edited by rhopegorn on Mon May 07, 2007 3:23 pm, edited 2 times in total.
rhopegorn
WR.net Apprentice
WR.net Apprentice
 
Posts: 3
Joined: Mon Aug 14, 2006 8:02 am

Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest

cron