iptables -4- States & Connection Tracking
http://alper.web.tr/2009/04/28/iptables-4-states-connection-tracking/
Statefull firewall ne demek daha önce değinmiştik. şimdi iptables’ile bunun nasıl gerçekleştirildiğine daha yakından bakalım.
Statefull firewaling için linux State machine dediğimiz olaydan daha çok tracking machine olarak çalışır ( iz sürme makinası ), Sıksık ikisinin manası birbiri ile karıştırılsada aslında farklıdır. Yazıyı okuyup nasıl çalıştığı hakkında daha iyi bilgi edindiğinizde bunun önemini daha iyi anlayacağınızı ümit ediyorum.
Move Apache domlogs to second disk drive or any where
Its a simple job and recommended appraoch is to stop Apache before moving domlogs so it will bring downtime. Here is how you can do it:
service httpd stop
ps ax | grep httpd (Verify that no httpd process still running)
cd /usr/local/apache
mkdir /home2/apache ( Considering /home2 as your new drive)
mv domlogs /home2/apache/
ln -s /home2/apache/domlogs /usr/local/apache/domlogs
ls -la /usr/local/apache/ (Verify the link)
service httpd start
http://forums.cpanel.net/f5/move-apache-domlogs-second-disk-drive-98821.html
Install Pidgin 2.6.2 on Lenny
The version of Pidgin that is in the Lenny repositories has some problems. It’s an older version and does not work with Yahoo messenger, usually you can’t get the proper certifcate from Yahoo in Pidgin. I attempted to install it myself using the version of Pidgin for Sid by downloading the files from Debian. I ran into dependency issue after issue and finally decided just to go with backports. This is the easiest way to install Pidgin 2.6 on Debian Lenny.
Using Lenny-Backports you can install Pidgin 2.6.2 on Debian Lenny.
`perl: warning: Please check that your locale settings` error on debian
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_DE:en_US:en_GB:en",
LC_ALL = (unset),
LANG = "en_US"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
dpkg-reconfigure locales
good luck ...
if you are having problems with RPM’s, you can just get the CLI version of WinRar
Alternativley if you are having problems with RPM's, you can just get the CLI version of WinRar directly from www.rarlab.com. Make sure you have Glibc 2.4 though.
# wget http://rarlab.com/rar/rarlinux-3.7.1.tar.gz
# tar xvzf rarlinux*
# cd rar
# make
# make install
Hope this helps.
Centos Pure-ftp Problem {Lxadmin pure-ftp problemi}
Merhabalar, bu problem pure-ftpd nin son surumlerinde ortaya cikiyor, tabi boyle olunca celiskiye dusmemek elde degil, guncel sistem herzaman daha guvenlik acisinda daha iidir fakat butur problemlerin cikacagini dusunmek biraz kafa aritiyor:) gordugum kadariyla bu sorun lxadmin yuklu centos sunucularda meydana geliyor, cozumu basit yapmamiz gereken pure-ftp yi xinet 'in kontrolunden cikartmamiz,
rm /etc/xinet.d/pure-ftpd
Bu islem yeterli gelir , sorun duzelmezse eger , pure-ftpd yi kaldirip tekrar kurmamiz gerekir.
yum remove pure-ftpd
yum install pure-ftpd
Daha sonra yapmamiz gereken daha onceki kayitli olan `lxadmin tarafindan olusturulan fptuser larimizi tanitmamiz lazim` pureftpd.pdb pure-ftp.conf dosyamizda etkinlestiriyoruz.
nano /etc/pure-ftpd/pure-ftpd.conf
dosyayi actiktan sonra
#PureDB /etc/pure-ftpd/pureftpd.pdb
yukardaki satiri asagidaki sekilde degistiriyoruz
PureDB /etc/pure-ftpd/pureftpd.pdb
Kayit edip cikiyoruz.`ctrl-x` pure-ftpd yi durdurup tekrar baslatiyoruz. hepsi bukkadar.
/etc/init.d/pure-ftpd stop
/etc/init.d/pure-ftpd start
Debian Lenny Timezone Problems
Hoi hoi , Debian lenny de surekli karsilastigim ve karsilasiligini dusundugum timezone sorununun cozumunu kisaca ve basitce anlatacam,
cat timezone -->America/New_York ->Europe/Istanbul
olarak biz bu degeri degisitiriyoruz ve bu sorundan kurtuluyoruz.
ModSecurity SecResponseBodyLimit
Merhabalar,
Karsilastigim bir sorunun cozumunu paylasmak istedim, Apache sunucumda , sitemaplari gosterirken belli bir kayittan sonra sitemap.php dosyasi hata veriyordu, 404 yada 500 hatasi veriyordu , bu sorunu ModSecurity SecResponseBodyLimit degerini arttirarak cozebilirsiniz.
Administration-Remote Control (RCON)
"RCON" is short for remote control; it allows you to make changes to the server and gives you access to administrative commands when you're connected to a remote server. To use the RCON, you first need to enter the password by typing:
/rconpassword [yourpassword]
After you have enter the RCON password you can access all the RCON capabilities, by typing:
/rcon [command]
RCON Commands
These commands allow individuals to remotely administer a server. Their use is based on having the RCON password. These commands are to be used in the console.
Kicking
