Sponsored Content
Top Forums Web Development Please till me how to stop or to limit some IP which download files for more than 10000 Post 302406059 by nonowa on Sunday 21st of March 2010 07:05:13 PM
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...
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
iconv_dhn(5)						Standards, Environments, and Macros					      iconv_dhn(5)

NAME
iconv_dhn - code set conversion tables for DHN (Dom Handlowy Nauki) DESCRIPTION
The following code set conversions are supported: +--------------------------------------------------------------------+ | Code Set Conversions Supported | +--------------+--------+--------------+--------+--------------------+ | Code |Symbol |Target Code |Symbol | Target Output | +--------------+--------+--------------+--------+--------------------+ |DHN |dhn |ISO 8859-2 |iso2 | ISO Latin 2 | +--------------+--------+--------------+--------+--------------------+ |DHN |dhn |MS 1250 |win2 | Windows Latin 2 | +--------------+--------+--------------+--------+--------------------+ |DHN |dhn |MS 852 |dos2 | MS-DOS Latin 2 | +--------------+--------+--------------+--------+--------------------+ |DHN |dhn |Mazovia |maz | Mazovia | +--------------+--------+--------------+--------+--------------------+ CONVERSIONS
The conversions are performed according to the following tables. All values in the tables are given in octal. DHN to ISO 8859-2 For the conversion of DHN to ISO 8859-2, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | DHN | ISO 8859-2 | DHN | ISO 8859-2 | |24-177 | 40 |222 |40 | |200 | 241 |223 |364 | |201 | 306 |224 |366 | |202 | 312 |225-230 |40 | |203 | 243 |231 |326 | |204 | 321 |232 |334 | |205 | 323 |233-237 |40 | |206 | 246 |240 |341 | |207 | 254 |241 |355 | |210 | 257 |242 |363 | |211 | 261 |243 |372 | |212 | 346 |244-340 |40 | |213 | 352 |341 |337 | |214 | 263 |342-365 |40 | |215 | 361 |366 |367 | |216 | 363 |367 |40 | |217 | 266 |370 |260 | |220 | 274 |371-376 |40 | |221 | 277 | | | +---------------+----------------+----------------+---------------+ DHN to MS 1250 For the conversion of DHN to MS 1250, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | DHN | MS 1250 | DHN | MS 1250 | |200 | 245 |233-237 |40 | |201 | 306 |240 |341 | |202 | 312 |241 |355 | |203 | 243 |242 |363 | |204 | 321 |243 |372 | |205 | 323 |244-251 |40 | |206 | 214 |252 |254 | |207 | 217 |253-255 |40 | |210 | 257 |256 |253 | |211 | 271 |257 |273 | |212 | 346 |260-340 |40 | |213 | 352 |341 |337 | |214 | 263 |342-345 |40 | |215 | 361 |346 |265 | |216 | 363 |347-360 |40 | |217 | 234 |361 |261 | |220 | 237 |362-365 |40 | |221 | 277 |366 |367 | |222 | 40 |367 |40 | |223 | 364 |370 |260 | |224 | 366 |371 |40 | |225-230 | 40 |372 |267 | |231 | 326 |373-376 |40 | |232 | 334 | | | +---------------+----------------+----------------+---------------+ DHN to MS 852 For the conversion of DHN to MS 852, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | DHN | MS 852 | DHN | MS 852 | |200 | 244 |212 |206 | |201 | 217 |213 |251 | |202 | 250 |214 |210 | |203 | 235 |215 |344 | |204 | 343 |216 |242 | |205 | 340 |217 |230 | |206 | 227 |220 |253 | |207 | 215 |221 |276 | |210 | 275 |222-375 |40 | |211 | 245 | | | +---------------+----------------+----------------+---------------+ DHN to Mazovia For the conversion of DHN to Mazovia, all characters not in the following table are mapped unchanged. +-----------------------------------------------------------------+ | | Conversions|Performed | | | DHN | Mazovia | DHN | Mazovia | |200 | 217 |212 |215 | |201 | 225 |213 |221 | |202 | 220 |214 |222 | |203 | 234 |215 |244 | |204 | 245 |216 |242 | |205 | 243 |217 |236 | |206 | 230 |220 |246 | |207 | 240 |221 |247 | |210 | 241 |222-247 |40 | |211 | 206 | | | +---------------+----------------+----------------+---------------+ FILES
/usr/lib/iconv/*.so conversion modules /usr/lib/iconv/*.t conversion tables /usr/lib/iconv/iconv_data list of conversions supported by conversion tables SEE ALSO
iconv(1), iconv(3C), iconv(5) SunOS 5.10 18 Apr 1997 iconv_dhn(5)
All times are GMT -4. The time now is 05:01 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy