Extrem viele Apache GET anfragen...

pinkysnet

New Member
Hallo,

ich habe folgendes Problem: Hab heute die Logfiles von den Confixx Domains kontrolliert und mir ist aufgefallen das Extrem viele HTTP Get anfragen von ein und derselben IP kommen.
Die Anfragen beziehen sich auch immer wieder auf die gleichen Dateien (downloads). Das verursacht natürlich eine Menge http 206 fehlercodes, und confixx logt das fleißig mit und zeigt mir mittlerweile innerhalb von 3 Tagen 170GB Code 206 Traffic an!

Was kann ich dagegen machen?

Code:
--schnipp
72.242.120.242 - - [24/Mar/2008:23:39:56 +0100] "GET /downloads/l***.zip HTTP/1.1" 206 101452688 "http://www.***.de/download.php?view.30" "Mozilla/4
.0 (compatible; MSIE 5.00; Windows 98)"                                                                                                                               
72.242.120.242 - - [24/Mar/2008:23:38:52 +0100] "GET /downloads/***.zip HTTP/1.1" 206 94243718 "http://www.***.de/download.php?view.30" "Mozilla/4.
0 (compatible; MSIE 5.00; Windows 98)"

usw....
 
Wie kann ich mod_logio bei Apache installieren, kann mir jemand dazu ein Tutorial geben? Den Apache hab ich so noch nie konfiguriert?
 
Hängt von deinem Apache ab. Bei debian ist es immer aktiv und bei den meisten anderen Distributionen ist es als dynamisches Modul verfügbar und muss nur noch per LoadModul eingebunden werden.
Tutorial[...]?
google?
 
Hab Debian 4.0 drauf...dann wäre es ja aktiv und die Traffic anzeige würde richtig arbeiten, oder? Hab schon nach nen geeigneten Tutorial gegoogelt, - erfolglos.
 
Nur weil mod_logio installiert ist kann es nicht auf magische Weise Konfigurationsfehler ausbessern. Schau dir mal das Logformat von deinem Apache an, vermutlich wird da ein %b oder ein %B verwendet. Warum Confixx bzw derjenige der dein Confixx und deinen Apache konfiguriert hat glaubt damit den Traffic ermitteln zu können ist mir ein Rätsel. Verbessere das (ist im einfachsten Fall nur ein Zeichen wenn dich nur der ausgehende Traffic interessiert) wenn du weißt was das bewirkt(es hat natürlich Nebenwirkungen) oder akzeptiere den Fehler oder such dir ein besseres Trafficabrechnungssystem.
mod_log_config - Apache HTTP Server
Note that in httpd 2.0, unlike 1.3, the %b and %B format strings do not represent the number of bytes sent to the client, but simply the size in bytes of the HTTP response (which will differ, for instance, if the connection is aborted, or if SSL is used). The %O format provided by mod_logio will log the actual number of bytes sent over the network.
 
Last edited by a moderator:
Back
Top