Category: Linux
-
Use IPTables to ban repeated ssh attempts
My logs were getting filled with scripts trying to log in via ssh. I already have “PasswordAuthentication no” so I believe I am safe. I wanted to add a new layer (and keep my logs cleaner). I added the following to my iptables config. Anyone with more than 4 connections in 60 seconds is banned:
-
Ignore server pushed routes in OpenVpn Client
Add “route-nopull” to your client’s config and you will no longer be a slave to the server’s “redirect-gateway”
-
I don’t like to see “window contents” while dragging
gconftool-2 -t bool -s /apps/metacity/general/reduced_resources true
-
New to my .bashrc
alias GetExtIP=”wget -q -O – checkip.dyndns.org|sed -e ‘s/.*Current IP Address: //’ -e ‘s/<.*$//’” Now I can know what my external IP is!!!
-
New MD5 based backup script
I found this use of md5 and find the other day. I based my current backup script around it. The md5 will show if anyone modifies a file, or adds/removes a file in the web hosting root (/var/www) or in the config directory (/etc/httpd/conf.d/). If there is a change then zip each site up individually…
-
BASH (readline) keyboard shortcuts
I was just in training and the instructor was a command line keyboard shortcut wizard. He was magically making words disappear and reappear. So i fond this list of shortcuts. Many of them did not work in my OS X BASH prompt.I fond I had to go into the terminal.app preferences and select “use option…
-
ip_conntrack_ftp renamed to nf_conntrack_ftp?
Have they renamed ip_conntrack_ftp? Is it now nf_conntrack_ftp?
-
I am a RHCE!
Now I need to update my MCSE to MCITP
-
Install pptp-client on CentOS 5.4
-
Installing Flash on CentOS 5.4 x64
Here is what I tried: wget http://download.macromedia.com/pub/labs/flashplayer10/libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz tar -xzf libflashplayer-10.0.32.18.linux-x86_64.so.tar.gz mv libflashplayer.so ~/.mozilla/plugins/
