Please till me how to stop or to limit some IP which download files for more than 10000


 
Thread Tools Search this Thread
Top Forums Web Development Please till me how to stop or to limit some IP which download files for more than 10000
# 1  
Old 03-21-2010
Question Please till me how to stop or to limit some IP which download files for more than 10000

Please till me how to stop or to limit some IP which download .rm and .mp3 files for more than 10000 times ...
I have two cases :
1. code 206 up to 20/second 5 GB or more than that ...
2. code 206 up to 20/second but less than 0.5 GB

I used Ddos and mod_evasive20.so
Code:
<IfModule mod_evasive20.c> 
DOSHashTableSize 3097 
DOSPageCount 2 
DOSSiteCount 4 
DOSPageInterval 10
DOSSiteInterval 10 
DOSBlockingPeriod 300 
</IfModule

Note : I have Linux 2.6.24-26-server on x86_64

Last edited by pludi; 03-22-2010 at 03:23 AM.. Reason: code tags, please...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

For loop till the files downloaded

Need assistance in writing a for loop script or any looping method. Below is the code where i can get all the files from the URL . There are about 80 files in the URL .Every day the files get updated . Script that i wanted is the loop must keep on running till it gets 80 files. It matches the count... (5 Replies)
Discussion started by: ajayram_arya
5 Replies

2. Shell Programming and Scripting

Searching a particular string pattern in 10000 files

Problem Statement:- I need to search a particular `String Pattern` in around `10000 files` and find the records which contains that `particular pattern`. I can use `grep` here, but it is taking lots of time. Below is the command I am using to search a `particular string pattern` after... (3 Replies)
Discussion started by: raihan26
3 Replies

3. UNIX for Advanced & Expert Users

SQL script with 86000 lines: new files with only 10000 lines (per file)

Hi this is my SQL script $ wc -l insert_into_customers.sql 85601 insert_into_customers.sqlI wish to cut this file into 9 files each 10000 lines (the last one less) $ wc -l insert_into_customers_00*.sql 10000 insert_into_customers_001.sql 10000 insert_into_customers_002.sql ... (1 Reply)
Discussion started by: slashdotweenie
1 Replies

4. UNIX for Dummies Questions & Answers

Merge files into groups of 10000

Hi Guys, First post! I've seen a few options but dont know the most efficient: I have a directory with a 150,000+ text files in it I want to merge them into files contain 10,000 files with a carriage return in between. Thanks P The following is an example but doesnt limit the... (2 Replies)
Discussion started by: peh
2 Replies

5. Red Hat

reply_body_max_size to limit download size in squid

Hi All I m using squid 2.7 Stable 9 and Dansguardian 2.10.1.1, i have compiled both squid and dansguardian, i have enabled follow_x_forwarded_for in squid to make clients IPs visible to squid, i have also set x_forwarded_for=on in dansguardian, this is working fine and clients ips are visible to... (1 Reply)
Discussion started by: surfer24
1 Replies

6. Shell Programming and Scripting

Any limit on files

I am doing an ftp of around 1010 files and I am using mput for this. For some reason its only transferring 10 or 20 files and the rest are not getting transferred. There is some socket error in the log. is there an issue if we have more than 50 or so files for mput. here is the o/p in the log... (2 Replies)
Discussion started by: dsravan
2 Replies

7. Shell Programming and Scripting

Want to zip the all files till nth depth

All, i need a script which can zip the all files which are in directories and its subdirectories for example: dir1 contains file1,file2,dir1a,dir1b now dir1a also contains fil11,fil12 ,dirab so script should look for files in dir or sub dir till files not found and... (2 Replies)
Discussion started by: vijays3
2 Replies

8. Shell Programming and Scripting

How to print lines till till a pattern is matched in loop

Dear All I have a file like this 112534554 446538656 444695656 225696966 226569744 228787874 113536566 443533535 222564552 115464656 225445345 225533234 I want to cut the file into different parts where the first two columns are '11' . The first two columns will be either... (3 Replies)
Discussion started by: anoopvraj
3 Replies

9. Linux

Download Limit with Linux Squid

hi dears 1) i am using squid proxy for internet sharing .. how can i allow users to download files of specific size say only 5 Mb how allow through squid.. 2) i want to trace all the user with system ip and system id (name) what are sites they are visited and how much MB they are user ... (2 Replies)
Discussion started by: surfer24
2 Replies

10. UNIX for Dummies Questions & Answers

Moving files till the size is less than 200000.

Hi, I need your help. Suppose I have a directory called /home/rooh This directory contains files and directories. For ex drwxr-xr-x 3 rooha arboradm 96 Apr 6 03:24 batches drwxr-xr-x 2 rooha arboradm 96 Apr 6 03:21 worker -rw-rw-rw- 1 rooha arboradm ... (1 Reply)
Discussion started by: rooh
1 Replies
Login or Register to Ask a Question
FLUSH(1)						      General Commands Manual							  FLUSH(1)

NAME
Flush - GTK-based BitTorrent client SYNOPSIS
flush [OPTIONS] [TORRENT_FILE]... DESCRIPTION
Flush is a GTK-based BitTorrent client. You can use it to download files from the BitTorrent network. You can control already running instance, for example, by following commands: flush -o --download-rate-limit=100 flush --start=all FEATURES
* Controlling running instance by command line interface, such as: * Starting/stopping torrents. * Changing download/upload rate limit. * Changing maximum connections limit. * Running many instances with different configs from the same user. * Automatic copying finished downloads to specified directory. * Setting custom download path for each file of the torrent. * Ability to choose torrent file's character set encoding. * Automatic torrents loading from specified directory. * Automatic pausing and removing old torrents. * Temporary pausing and resuming torrents. * Overall and current session statistics. * Creating your own torrent files. * IP filter. OPTIONS
--version Show program version and exit. --help Show help options and exit. --config=DIRECTORY Configuration directory path (default: ~/.flush). --download-rate-limit=SPEED Set download rate limit (KB/s). --upload-rate-limit=SPEED Set upload rate limit (KB/s). --max-uploads=NUMBER Set maximum uploads. --max-connections=NUMBER Set maximum connections. --start={all,downloads,uploads} Start torrents. --stop={all,downloads,uploads} Stop torrents. -o, --only-pass Only pass commands to already running Flush instance. Does not start new instance if it is not running yet. FILES
~/.flush Default configuration directory. BUGS
On startup Flush finds already running instances via DBus session bus. Therefore it is necessary to run Flush in a single session bus (usual in X session bus) to prevent running several instances with one configuration path. Please notice that when you are running Flush from console or by cron, when DISPLAY environment variable is not available, Flush finds already running GUI instance without problems via ${config_path}/dbus_session link, which all GUI instances are creating when they have owned DBus name. This makes it possible to control running Flush GUI instances from cron. AUTHOR
Flush was written by Dmitry Konishchev <konishchev@gmail.com>. This manual page was written by Dmitry Konishchev <konishchev@gmail.com>. Jun 11, 2009 FLUSH(1)