www.ProFTPD.de
13. März 2007, 19:23:05 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: Bandbreite für bestimmte IP  (Gelesen 182 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
Raphi
ProFTPD
*
Offline Offline

Beiträge: 1


Profil anzeigen
« am: 19. Dezember 2003, 20:33:58 »

Hi

hab es dank eurer Mini-FAQ endlich geschafft den upload meines servers einzudämmen :-) danke!

hab jetzt aber noch n'problem. kann man irgendwie einrichten dass alle computer mit der IP 192.168.123.* den vollen upload bekommen und der rest nur die begrenzte bandbreite?

danke für eure hilfe
Gespeichert
Satansbraten77
ProFTPD
*
Offline Offline

Beiträge: 7

240210084 satansbraten@hotmail.com
Profil anzeigen
« Antwort #1 am: 20. Dezember 2003, 17:34:52 »

Zitat von: "Raphi"

hab jetzt aber noch n'problem. kann man irgendwie einrichten dass alle computer mit der IP 192.168.123.* den vollen upload bekommen und der rest nur die begrenzte bandbreite?



bin zwar auch noch ein Newbie in Sachen proftpd, aber mittlerweile läuft auch meine conf ohne Probleme *freu*

Mir ist da aber beim lesen etwas aufgefallen, was dir wohl immo helfen könnte :

Syntax:
TransferRate   FTP-Kommandos Kilobytes-pro-Sekunde:Freie Bytes ["user"|"group"|"class" expression]

Kontext:
Server config <Global> <VirtualHost> <Anonymous> .ftpaccess <Directory>  

Modul:
mod_xfer
 
Ab Version 1.2.8rc1:
Beschreibung The TransferRate directive is used to set transfer rates limits on the transfer of data. This directive allows for transfer rates to be set in a wide variety of contexts, on a per-command basis, and for certain subsets of users.

The cmds parameter may be an comma-separated list of any of the following commands: APPE, RETR, STOR, and STOU.

The kilobytes-per-sec parameter is the actual transfer rate to be applied.

The free-bytes parameter, if configured, allows that many bytes to be transferred before the rate controls are applied. This allows for clients transferring small files to be unthrottled, but for larger files, such as MP3s and ISO images, to be throttled.

The optional parameters are used to restrict the application of the rate controls only to specific users. If the "user" restriction is given, then expression is a user-expression specifying to which users the rate applies. Similarly for the "group" restriction. For the "class" restriction, the expression is simply the name of connection class for whom the rate will apply.

Beispiel 1:
# Limit downloads for everyone except the special group of users
TransferRate RETR 1.5 group !special-users

Beispiel 2:
# Limit uploads (and appends!) to the prolific users in the
# lotsofuploadfiles.net domain. This presumes that a Class has been defined
# for that domain, and that that Class has been named "uploaders". Let them
# upload small files without throttling, though.
TransferRate APPE,STOR 8.0:1024 class uploaders


denke das könnte das richtige sein  Cool
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.054 Sekunden mit 16 Zugriffen.