#Ll/usr/local/DDOS/ Total usage 24 -RW-r --. 1 Root 971 January 10 2006DDoS. conf -Rwxr-XR-X. 1 Root 3945 2006 DDoS. Sh -RW-r --. 1 Root 10 August January 10 2006 ignore. IP. List -RW-r --. 1 Root 10113 January 10 2006 license #CAT/usr/local/DDOS/DDoS. conf ##### Paths of the script and other files Progdir = "/usr/local/DDOS" # file storage directory Prog = "/usr/local/DDOS/DDoS. Sh" # main function script Ignore_ip_list = "/usr/local/DDOS/ignore. IP. List" # whitelist address list Cron = "/etc/cron. d/DDoS. cron" # crond scheduled task script <G id = "1"> </etc/</G>" EPT = "/sbin/iptables" ##### Frequency in minutes for running the script ##### Caution: Every time this setting is changed, run the script with -- Cron ##### Option so that the new frequency takes effect Freq = 1 # frequency of DDoS. Sh execution, in minutes. It is executed with crontab. ##### How many connections define a bad Ip? Indicate that below. No_of_connections = 150 # set the maximum number of connections. IP addresses exceeding this number will be blocked. ##### Apf_ban = 1 (make sure your APL version is atleast 0.96) ##### Apf_ban = 0 (uses iptables for banning IPS instead of APT) Apf_ban = 1 #1: Use<G id = "1"> </G>: UseIptables,Generally, you useIptablesFirewall,So here you needApf_banThe value is changed0 ##### Kill = 0 (Bad IPs are 'nt banned, good for interactive execution of script) ##### Kill = 1 (recommended setting) Kill = 1 #Will be invalidIPJoinIptablesOfInputChain in progress, DropOf. ##### An email is sent to the following address when an IP is banned. ##### Blank wocould suppress sending of mails Email_to = "root" # email address for sending email alerts ##### Number of seconds the banned IP shoshould remain in blacklist. Ban_period = 600 # time when the IP address is blocked, which can be adjusted as needed # |