DDOS Attack
September 25th, 2009 by ayadif you have any problem about DDos attack or not understand what mean DDos attack, then jist go to this URL
http://www.linuxsecurity.com/content/view/121960/49/
added bye AYAD
for more info. zooea@yahoo.com
if you have any problem about DDos attack or not understand what mean DDos attack, then jist go to this URL
http://www.linuxsecurity.com/content/view/121960/49/
added bye AYAD
for more info. zooea@yahoo.com
ip_conntrack: table full, dropping packet.
How do I fix this error?
A. If you notice the above message in syslog, it looks like the conntrack database doesn’t have enough entries for your environment. Connection tracking by default handles up to a certain number of simultaneous connections. This number is dependent on you system’s maximum memory size.
You can easily increase the number of maximal tracked connections, but be aware that each tracked connection eats about 350 bytes of non-swappable kernel memory!
To print current limit type:
# sysctl net.ipv4.netfilter.ip_conntrack_max
Output:
8192
To increase this limit to e.g. 12000, type:
# sysctl -w net.ipv4.netfilter.ip_conntrack_max=12000
Alternatively, add the following line to /etc/sysctl.conf file:
net.ipv4.netfilter.ip_conntrack_max=12000
The following will tell you how many sessions are open right now:
# wc -l /proc/net/ip_conntrack
Output:
5000 /proc/net/ip_conntrack
how to redirct domain to another domain
we put this code inside .htaccess
===============================================
=redirectMatch 301 ^(.*)$ http://www.domain.com=
===============================================
refer to this website http://www.isitebuild.com/301-redirect.htm
if you got error in your website,,database error (table crashed) that mean you need to go to the database table and repair it, because the table have dublicate data or some thing wrong,
how to repair table, if you have linux with cpanel,,, you need to login cpanel and repair the table from the place that you used to create database in your cpanel or if you have windows 2003,,, you can repair the time by accessing to the phpmyadmin throguh this URL serverip/phpmyadmin ex. 192.168.43.33/phpmyadmin and sure u will have login detals,,, then from there u can repair the table
by Ayad
MTA his work to fillter messgae if have spam,, all the meessage will come to SMTP.. coz his work recive massge
MTA will connectt with SMTP to fillter spam massge before go to costomer
in order to make connection bettwen SMTP and MTA we shoud go to (ME spam C) in the programs,,,,then we check the connection
if no connection then we go to MX uptime ==Mxspam in the programs then we stop the service and we strart after that we go back to
MEspamc then we check the connection ,,we will see the connection is ok,,and we go to mespamc ==contct filtering then we make redirct
message 6 ,,that mean if spam more than 6 we should send it to this folder(u can see the folder down in the redirction page.
by Ayad
we need to go to control panel and we add subdomian webmail.alzwea.com
then after that we go to RDC to the server and we go to IIS
then we go website then we refresh and we search about webmail.alzwea.com
then right click on it then (proprites) then we selet (home dirctory) then we tick a dirction to URL
then we put the working url we want to redict to it then we tick (exect URL enterd above)
and we tick (perminint redircion for this
resource)
then apply then ok
now done
by Ayad
df -h
all under /root/cprestore can be remove to help increase the memorey
Spam is a major cause of headache for many people in the world. Especially server administrators.
Here is a tip to clean up your exim mail queue if its getting to large and full of spam.
Please keep in mind that some legitimate emails may get deleted by this method. Please use it carefully. I had more than 2000 emails in my queue, and it was reduced to about 50 after running a few of these.
First, run
grep -R -l [SPAM] /var/spool/exim/msglog/*|cut -b26-|xargs exim -Mrm
The highlighted word will be used in a grep search and replace and all messages matching that will be deleted. If you also want to remove frozen messages from your queue, run the following
grep -R -l ‘*** Frozen’ /var/spool/exim/msglog/*|cut -b26-|xargs exim -Mrm
You can perform one more that will also clean your exim queue some more
grep -R -l ‘The recipient cannot be verified’ /var/spool/exim/msglog/*|cut -b26-|xargs exim -Mrm
Second tip – if you are using CPanel, set up your mails to default to :fail: rather than :blackhole:
References:
enable register global
go to the content
we put thisinside: register_globals = On
then we give it permision
chown doman.domain php.ini
we will see is changed from root to name doman when we do ls
now done
delete alias email
http://forums.cpanel.net/f4/unable-delete-email-forwarders-1973.html