iptables notes

iptables -A INPUT -p tcp -m tcp -s –dport 389 -j ACCEPT
iptables -A INPUT -p TCP –dport 389 -j REJECT To allow ssh from anyone in the 192.168.x.x network:
iptables -A INPUT -p tcp -m tcp -s 192.168.0.0/16 –dport 22 -j ACCEPT Things I did to set up sshdfilter:
iptables -N SSHD
iptables -A INPUT -p tcp -m tcp –dport 22 -j SSHD sshdfilter automatically sets up the drop if they try too many times to log in and fail.]]>

Pidgin / Gaim in Vista doesn’t show my Chinese / Japanese

After upgrading to Vista, gaim 2.0.0 beta 6 no longer showed the Chinese/Japanese characters anymore in the buddy list or the chat window. To fix this, I needed to change the theme for Windows. Go to the Control Panel / Personalization / Windows Color and Appearance and click on “Open classic appearance properties for more color options” if necessary. Else, just change the fonts here. I don’t know which on you need to change. I just changed everyone from Segoe UI to Tahoma. After doing this, it seemed that things in Windows ran faster and my fonts now displayed properly!