This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
server_maintenance [2015/06/29 20:34] zoza created |
server_maintenance [2015/06/29 20:48] zoza |
||
---|---|---|---|
Line 11: | Line 11: | ||
user authentications, including possible attacks | user authentications, including possible attacks | ||
<code>tail /var/log/auth.log</code> | <code>tail /var/log/auth.log</code> | ||
+ | |||
+ | look up where an IP address is coming from | ||
+ | <code>geoiplookup THE.IP.ADD.RE.SS</code> | ||
* IP filtering | * IP filtering | ||
- | use | + | check existing iptables filters |
+ | <code>iptables -L</code> | ||
+ | use iptables to filter IP addresses | ||
+ | <code>iptables -A INPUT -s THE.IP.ADD.RE.SS -j DROP</code> | ||
* mysql | * mysql | ||
Line 22: | Line 28: | ||
mysql>DELETE FROM wp_comments WHERE comment_approved = '0'; | mysql>DELETE FROM wp_comments WHERE comment_approved = '0'; | ||
</code> | </code> | ||
- |