<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Hosting Destek Platformu &#187; Centos</title>
	<atom:link href="http://www.hostingdestek.com/category/isletim-sistemleri/centos/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hostingdestek.com</link>
	<description>Pratik ve yararlı sistem yönetim bilgileri</description>
	<lastBuildDate>Wed, 30 Dec 2009 15:00:07 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>gd ve freetype kurulumunu test etmek</title>
		<link>http://www.hostingdestek.com/gd-ve-freetype-kurulumunu-test-etmek/</link>
		<comments>http://www.hostingdestek.com/gd-ve-freetype-kurulumunu-test-etmek/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 15:00:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[Litespeed]]></category>
		<category><![CDATA[Nginx]]></category>
		<category><![CDATA[Web Sunucuları]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=188</guid>
		<description><![CDATA[Sunucunuzda gd yada freetype kurdunuz, çalışıp çalışmadığını kontrol etmek için aşağıdaki ufak scriptleri kullanabilirsiniz;
GD testi;
&#60;?php
/* Displays details of GD support on your server */
echo &#8216;&#60;div style=&#8221;margin: 10px;&#8221;&#62;&#8217;;
echo &#8216;&#60;p style=&#8221;color: #444444; font-size: 130%;&#8221;&#62;GD &#8216;;
if (function_exists(&#8220;gd_info&#8221;)) {
echo &#8217;sunucu tarafından &#60;span style=&#8221;color: #00AA00; font-weight: bold;&#8221;&#62;desteklenmektedir&#60;/span&#62;&#60;/p&#62;&#8217;;
$gd = gd_info();
foreach ($gd as $k =&#62; $v) {
echo &#8216;&#60;div style=&#8221;width: 340px; border-bottom: 1px [...]]]></description>
			<content:encoded><![CDATA[<p>Sunucunuzda gd yada freetype kurdunuz, çalışıp çalışmadığını kontrol etmek için aşağıdaki ufak scriptleri kullanabilirsiniz;</p>
<p>GD testi;</p>
<blockquote><p>&lt;?php<br />
/* Displays details of GD support on your server */<br />
echo &#8216;&lt;div style=&#8221;margin: 10px;&#8221;&gt;&#8217;;<br />
echo &#8216;&lt;p style=&#8221;color: #444444; font-size: 130%;&#8221;&gt;GD &#8216;;<br />
if (function_exists(&#8220;gd_info&#8221;)) {<br />
echo &#8217;sunucu tarafından &lt;span style=&#8221;color: #00AA00; font-weight: bold;&#8221;&gt;desteklenmektedir&lt;/span&gt;&lt;/p&gt;&#8217;;<br />
$gd = gd_info();<br />
foreach ($gd as $k =&gt; $v) {<br />
echo &#8216;&lt;div style=&#8221;width: 340px; border-bottom: 1px solid #DDDDDD; padding: 2px;&#8221;&gt;&#8217;;<br />
echo &#8216;&lt;span style=&#8221;float: left;width: 300px;&#8221;&gt;&#8217; . $k . &#8216;&lt;/span&gt; &#8216;;<br />
if ($v)<br />
echo &#8216;&lt;span style=&#8221;color: #00AA00; font-weight: bold;&#8221;&gt;Evet&lt;/span&gt;&#8217;;<br />
else<br />
echo &#8216;&lt;span style=&#8221;color: #EE0000; font-weight: bold;&#8221;&gt;Hayır&lt;/span&gt;&#8217;;<br />
echo &#8216;&lt;div style=&#8221;clear:both;&#8221;&gt;&lt;!&#8211; &#8211;&gt;&lt;/div&gt;&lt;/div&gt;&#8217;;<br />
}<br />
} else {<br />
echo &#8217;sunucu tarafından &lt;span style=&#8221;color: #EE0000; font-weight: bold;&#8221;&gt;desteklenmemektedir&lt;/span&gt;&lt;/p&gt;&#8217;;<br />
}<br />
echo &#8216;&lt;p&gt;Hosting destek&lt;a href=&#8221;http://www.hostingdestek.com&#8221;&gt;hostingdestek.com&lt;/a&gt;&lt;/p&gt;&#8217;;<br />
echo &#8216;&lt;/div&gt;&#8217;;<br />
?&gt;</p></blockquote>
<p>Freetype testi;</p>
<blockquote><p>&lt;?php<br />
$i = imagecreatetruecolor(100,50);<br />
$w = imagecolorallocate($i,255,255,255);<br />
$b = imagecolorallocate($i,0,0,0);<br />
imagefill($i,0,0,$b);<br />
imagestring($i,4,5,25,&#8217;it works&#8217;,$w);<br />
header(&#8220;Content-type: image/png&#8221;);<br />
imagepng($i);<br />
imagedestroy($i);<br />
?&gt;</p></blockquote>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px;"><span style="font-size: x-small;"><span style="font-family: Verdana;">&lt;?php</span></p>
<p><span style="font-family: Verdana;">/* Displays details of GD support on your  server */</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;div style=&#8221;margin:  10px;&#8221;&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;p style=&#8221;color: #444444; font-size:  130%;&#8221;&gt;GD &#8216;;</span></p>
<p><span style="font-family: Verdana;">if (function_exists(&#8220;gd_info&#8221;)) {</span></p>
<p><span style="font-family: Verdana;">echo &#8217;sunucu tarafından &lt;span style=&#8221;color:  #00AA00; font-weight:  bold;&#8221;&gt;desteklenmektedir&lt;/span&gt;&lt;/p&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">$gd = gd_info();</span></p>
<p><span style="font-family: Verdana;">foreach ($gd as $k =&gt; $v) {</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;div style=&#8221;width: 340px;  border-bottom: 1px solid #DDDDDD; padding: 2px;&#8221;&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;span style=&#8221;float: left;width:  300px;&#8221;&gt;&#8217; . $k . &#8216;&lt;/span&gt; &#8216;;</span></p>
<p><span style="font-family: Verdana;">if ($v)</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;span style=&#8221;color: #00AA00;  font-weight: bold;&#8221;&gt;Evet&lt;/span&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">else</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;span style=&#8221;color: #EE0000;  font-weight: bold;&#8221;&gt;Hayır&lt;/span&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;div style=&#8221;clear:both;&#8221;&gt;&lt;!&#8211;  &#8211;&gt;&lt;/div&gt;&lt;/div&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">}</span></p>
<p><span style="font-family: Verdana;">} else {</span></p>
<p><span style="font-family: Verdana;">echo &#8217;sunucu tarafından &lt;span style=&#8221;color:  #EE0000; font-weight:  bold;&#8221;&gt;desteklenmemektedir&lt;/span&gt;&lt;/p&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">}</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;p&gt;Kalite hicbir zaman tesaduf  degildir&lt;a  href=&#8221;http://www.hostcini.com&#8221;&gt;hostcini.com&lt;/a&gt;&lt;/p&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">echo &#8216;&lt;/div&gt;&#8217;;</span></p>
<p><span style="font-family: Verdana;">?&gt;</span></p>
<p></span></div>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/gd-ve-freetype-kurulumunu-test-etmek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim üzerine domainkeys kurulumu</title>
		<link>http://www.hostingdestek.com/exim-uzerine-domainkeys-kurulumu/</link>
		<comments>http://www.hostingdestek.com/exim-uzerine-domainkeys-kurulumu/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 13:31:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Cpanel Kontrol Paneli]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DirectadminKontrol Paneli]]></category>
		<category><![CDATA[Dns]]></category>
		<category><![CDATA[Eposta]]></category>
		<category><![CDATA[Microsoft Dns]]></category>
		<category><![CDATA[bind]]></category>
		<category><![CDATA[exim]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=177</guid>
		<description><![CDATA[domainkey özellikle yahoo tarafından takip edilen, gmailinde gizli gizli takip ettiği, fakat henüz hayata geçirmediği bir spam tespit yöntemidir.
Birçoğunuzun bildiği gibi birçok email servis sağlayıcısı SPF koruması yapmaktadır. Web sitesi için girdiğimiz &#8220;bu site bu ip adresinden mail gönderir, farklı ipden mail alırsan bu spam olabilir&#8221; şeklinde girdiğimiz kayıda SPF kaydı diyoruz. Domainkeys uygulaması ise [...]]]></description>
			<content:encoded><![CDATA[<p>domainkey özellikle yahoo tarafından takip edilen, gmailinde gizli gizli takip ettiği, fakat henüz hayata geçirmediği bir spam tespit yöntemidir.</p>
<p>Birçoğunuzun bildiği gibi birçok email servis sağlayıcısı SPF koruması yapmaktadır. Web sitesi için girdiğimiz &#8220;bu site bu ip adresinden mail gönderir, farklı ipden mail alırsan bu spam olabilir&#8221; şeklinde girdiğimiz kayıda SPF kaydı diyoruz. Domainkeys uygulaması ise çok farklıdır. Her web sitesi için SSL aracılığı ile özel bir kod üretilir ve bu kod DNS kaydı olarak tanımlanır. Gönderilen her mail, bu kod ile işaretlenir. Maili alan servis sağlayıcı, email headerında yer alan domainkey ile, sitenin dnsinde girilmiş olan domainkey kaydını kıyaslar, eğer kayıtlar biribirine uyuyor ise emaili kabul eder. Bu uygulamayı yahooda inboxa mail gönderme problemi yaşayan siteler için yapabiliriz. Büyük oranda başarı sağlanacaktır.</p>
<p>Kurulum ileri derecede linux bilgisi gerektirmektedir. Bu nedenle kendinize güvenmiyor iseniz, çalışan sisteminizi bozmayın <img src='http://www.hostingdestek.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Domain Key Kurulumu</p>
<p><span style="font-family: Verdana; font-size: x-small;"><strong>cd /usr/local/src</strong></span></p>
<p><strong><span style="font-family: Verdana; font-size: x-small;"><span style="text-decoration: underline;">Öncelikle libdomainskeys kurulumunu  yapalım;</span></span></strong></p>
<p><span style="font-family: Verdana; font-size: x-small;">wget <a href="http://mesh.dl.sourceforge.net/sourceforge/domainkeys/libdomainkeys-0.69.tar.gz">http://mesh.dl.sourceforge.net/sourceforge/domainkeys/libdomainkeys-0.69.tar.gz</a><br />
tar  -zxvf libdomainkeys-0.69.tar.gz<br />
cd libdomainkeys-0.69<br />
make<br />
echo  &#8220;-lresolv&#8221; &gt; dns.lib<br />
make</span></p>
<p><strong><span style="font-family: Verdana; font-size: x-small;"><span style="text-decoration: underline;">Kurulum bittikten  sonra;</span></span></strong></p>
<p><span style="font-family: Verdana; font-size: x-small;">cd..<br />
mv libdomainkeys-0.69  libdomainkeys</p>
<p><span style="text-decoration: underline;"><strong>Libdomainkeys kurulumu bitti şimdi eximi  domainkeys desteği ile compile edelim;</p>
<p></strong></span>wget <a href="ftp://ftp.exim.org/pub/exim/exim4/exim-4.69.tar.gz">ftp://ftp.exim.org/pub/exim/exim4/exim-4.69.tar.gz</a><br />
tar  -zxvf exim-4.69.tar.gz<br />
cd exim-4.69/Local<br />
wget <a href="http://www.directadmin.com/Makefile">www.directadmin.com/Makefile</a><br />
perl  -pi -e &#8217;s/^EXTRALIBS/#EXTRALIBS/&#8217; Makefile</p>
<p><strong><span style="text-decoration: underline;">Makefile dosyasına  domainkeys desteğini eklemek  için;</p>
<p></span></strong>EXPERIMENTAL_DOMAINKEYS=yes<br />
CFLAGS  +=  -I/usr/local/src/libdomainkeys<br />
LDFLAGS += -ldomainkeys  -L/usr/local/src/libdomainkeys</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">HAVE_ICONV=yes<br />
CFLAGS=-O  -I/usr/local/include<br />
EXTRALIBS_EXIM=-L/usr/local/lib  -liconv<br />
HAVE_ICONV=yes<br />
CFLAGS=-O  -I/usr/local/include<br />
EXTRALIBS_EXIM=-L/usr/local/lib -liconv</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">LOOKUP_LIBS=-L/usr/lib/mysql -L/usr/lib/  -lssl</p>
<p>Makefile dosyasını kaydetip çıkıyoruz.</p>
<p><span style="text-decoration: underline;"><strong>Eximi  compile etmeye başlayalım;</strong></span></span></p>
<p><span style="font-family: Verdana; font-size: x-small;">cd ..<br />
make<br />
make install</p>
<p>compile  sırasında 2 hata alabilirsiniz;</p>
<p>1) liconv kütüphanesini  bulamayabilir;</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">cd /usr/local/directadmin/custombuild<br />
./build  iconv</p>
<p>2) db.h hatası verebilir</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">yum -y install db4-devel -&gt; centos<br />
apt-get  install libdb4.4-dev -&gt; directadmin</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">3) /usr/bin/ld: cannot find -lperl</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">apt-get install libperl-dev</p>
<p>Debian 5.0 ise;</p>
<p>wget <a href="http://files.directadmin.com/services/debian_5.0/da_exim-4.69.deb">http://files.directadmin.com/services/debian_5.0/da_exim-4.69.deb</a><br />
dpkg  -i da_exim-4.69.deb</p>
<p><strong><span style="text-decoration: underline;">Exim compile olduktan sonra sistemi  compile edilmiş dosyaları tanıtalım;<br />
</span></strong></span><span style="font-family: Verdana; font-size: x-small;"><br />
cp -f /usr/sbin/exim-4.69-X /usr/sbin/exim  ( her compile  işleminden sonra -X gibi bir sayı verilir. dosyanın en son compile edilen exime  ait rakamı içerdiğine emin olalım, exim-4.69-5 demek 5. compile dan sonra oluşan  dosya demek)<br />
</span><span style="font-family: Verdana; font-size: x-small;">chmod 4755  /usr/sbin/exim</span></p>
<p><span style="font-family: Verdana; font-size: x-small;"><strong><span style="text-decoration: underline;">Exim.conf dosyasına domain key  değişlenlerini ekleyerek restart edelim;</span></strong></span></p>
<p><span style="font-family: Verdana; font-size: x-small;">nano /etc/exim.conf<br />
</span><strong><span style="text-decoration: underline;"><span style="font-family: Verdana; font-size: x-small;"><br />
Bul: </span></span></strong></p>
<p><span style="font-family: Verdana; font-size: x-small;">remote_smtp:<br />
driver = smtp</span></p>
<p><span style="font-family: Verdana; font-size: x-small;"><strong><span style="text-decoration: underline;">Değiştir:</p>
<p></span></strong>remote_smtp:<br />
driver =  smtp<br />
dk_selector = myselector<br />
dk_private_key =  /usr/local/src/dk/rsa.private<br />
dk_canon = nofws </span></p>
<p><span style="font-family: Verdana; font-size: x-small;">Kaydet ve /etc/init.d/exim restart ile hata verip  vermediğini kontrol et.</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">nano /etc/bind/named.conf.options (options yoksa  named.confa ekleyebiliriz, zaten options named.conf a include  ediliyor)</p>
<p><strong><span style="text-decoration: underline;">Bu satırı ekliyoruz:</span></strong> check-names master  ignore;</p>
<p>Kaydetip çıkıyoruz ve /etc/init.d/named  restart</p>
<p><strong><span style="text-decoration: underline;">Domain keyini oluşturuyoruz;</span></strong></span></p>
<p><span style="font-family: Verdana; font-size: x-small;">cd /usr/local/src<br />
mkdir dk; chown mail  dk<br />
openssl genrsa -out rsa.private 768<br />
openssl rsa -in rsa.private -out  rsa.public -pubout -outform PEM</p>
<p>Burada rsa.private dosyasının  tamamlayıcısı olarak rsa.public keyini oluşturuyoruz. DNS kayıtlarına rsa.public  keyini ekliycez.</span></p>
<p><span style="font-family: Verdana; font-size: x-small;"><strong><span style="text-decoration: underline;">Oluşturduğumuz key için DNS kaydi  giriyoruz;</p>
<p></span></strong>DNS yönetim menüsüne girdikten sonra 2 ayrı kayıt  girmemiz gerekmektedir;</span></p>
<p><span style="font-family: Verdana; font-size: x-small;">1) _domainkey için TXT kaydı giriyoruz, t=y test  modu demektir ve bu şekilde kalmalıdır, o=- sadece bu domaine özel kayıt  demektir.</p>
<p><span style="text-decoration: underline;"><strong>1. kayıt: </strong></span>_domainkey.oyuncakkepce.com.    TXT     &#8220;t=y; o=-&#8221;</span></p>
<p><span style="font-family: Verdana; font-size: x-small;"><br />
2) myselector._domainkey için TXT kaydı giriyoruz, önemli olan nokta p=  kısmına doğru keyi kopyalamaktır;</p>
<p>nano /usr/local/src/dk/rsa.public</p>
<p>&#8212;&#8211;BEGIN PUBLIC  KEY&#8212;&#8211;<br />
MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAOcABVeOelBOPlhdUEvGlCGsXiQ3NzDM<br />
6USi5t/NpMAfnmc9fR0LzS6USDhclAPCBbH+QM8UYUPxlFHFEsdhM+FtOXN9RM7j<br />
DX3ZHtD4vLSscqtL3y54qIMK9yz/G8iZlwIDAQAB<br />
&#8212;&#8211;END  PUBLIC KEY&#8212;&#8211;</p>
<p>Kayıt aşağıdaki gibi olmalıdır;</p>
<p><strong><span style="text-decoration: underline;">2. kayıt:</span> </strong>myselector._domainkey.oyuncakkepce.com.  TXT     &#8220;k=rsa; t=y;  p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAOcABVeOelBOPlhdUEvGlCGsXiQ3NzDM6USi5t/NpMAfnmc9fR0LzS6USDhclAPCBbH+QM8UYUPxlFHFEsdhM+FtOXN9RM7jDX3ZHtD4vLSscqtL3y54qIMK9yz/G8iZlwIDAQAB&#8221;</p>
<p>DNS ve Exim servisini restart ettikten sonra kurulumu bitiriyoruz ve test  aşamasına geçiyoruz;;</p>
<p>/etc/init.d/exim restart</p>
<p>/etc/init.d/named restart</p>
<p><strong><span style="text-decoration: underline;">Domain Key desteğini test edelim;</span></strong></p>
<p><strong></strong>1) Öncelikle key ve selector testi yapıyoruz;</p>
<p><a href="http://domainkeys.sourceforge.net/policycheck.html">http://domainkeys.sourceforge.net/policycheck.html</a></p>
<p>Testing oyuncakkepce.com<br />
New test<br />
Policy TXT=t=y; o=-</p>
<p>This policy record appears valid.</p>
<p>Tag  Value  Explanation<br />
o  -  Domain signs *ALL* email<br />
t  y  Domain is  in test mode</p>
<p>2) Selector testi yapıyoruz;</p>
<p><a href="http://domainkeys.sourceforge.net/selectorcheck.html">http://domainkeys.sourceforge.net/selectorcheck.html</a></p>
<p>myselector._domainkey.oyuncakkepce.com<br />
New  test<br />
TXT Record length = 182</p>
<p>k=rsa; t=y;  p=MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAOcABVeOelBOPlhdUEvGlCGsXiQ3NzDM6U</p>
<p>&#8230;Si5t/NpMAfnmc9fR0LzS6USDhclAPCBbH+QM8UYUPxlFHFEsdhM+FtOXN9RM7jDX3ZHtD4vLSscqtL3y</p>
<p>&#8230;54qIMK9yz/G8iZlwIDAQAB</p>
<p>This selector appears valid.</p>
<p>Tag  Value  Explanation<br />
k  rsa  The public key algorithm used to verify  the signature<br />
p  MHwwDQYJKoZIhvcNAQEBBQADawAwaAJhAOcABVeOelBOPlhdUEvGlCGs&#8230;   Modulus Size=768 Exponent=65537<br />
t  y  This Selector is in test mode</p>
<p>3) Robotlara mail göndererek test ediyoruz;</p>
<p><a href="mailto:dkim-test@altn.com">dkim-test@altn.com</a><br />
<a href="mailto:sa-test@sendmail.net">sa-test@sendmail.net</a><br />
<a href="mailto:check-auth@verifier.port25.com">check-auth@verifier.port25.com</a><br />
<a href="mailto:dk@dk.crynwr.com">dk@dk.crynwr.com</a><br />
<a href="mailto:dktest@exhalus.net">dktest@exhalus.net</a></p>
<p>Kayıtların doğru olması için bize aşağıdaki gibi email dönüşü olması  gerekmektedir;</p>
<p>Summary of  Results<br />
==========================================================<br />
SPF  check:          pass<br />
DomainKeys check:   pass<br />
DKIM check:          neutral<br />
Sender-ID check:    pass<br />
SpamAssassin check: ham<br />
domainkeys=pass <a href="mailto:header.from=info@oyuncakkepce.com">header.from=info@oyuncakkepce.com</a> (good)</p>
<p></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/exim-uzerine-domainkeys-kurulumu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Directadmin smtp limiter</title>
		<link>http://www.hostingdestek.com/directadmin-smtp-limiter/</link>
		<comments>http://www.hostingdestek.com/directadmin-smtp-limiter/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 13:24:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DirectadminKontrol Paneli]]></category>
		<category><![CDATA[Eposta]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=173</guid>
		<description><![CDATA[Directadmin kontrol panelinizde, kullanıcılara günlük mail gönderim limti belirtmek için bu eklentiyi kurmamız gerekiyor,
Anlatım iyi derecede linux bilenler içindir, işleme başlamadan önce yedek almayı ihmal etmeyin;
Mevcut dosyaları yedekle
cp /etc/exim.conf /etc/exim.conf.smtp.once
cp /etc/exim.pl /etc/exim.pl.once
Yeşil renkte olanlar, yapmamız gereken düzenlemeleri ifade ediyor;
1)
acl_smtp_data = check_message
acl_not_smtp = check_not_smtp
acl_smtp_rcpt = check_recipient
2) begin acl
check_not_smtp:
deny set acl_c0 = ${perl{find_user}}
condition = ${if def:acl_c0{${if exists{/etc/virtual/.smtp_deny/$acl_c0} [...]]]></description>
			<content:encoded><![CDATA[<p>Directadmin kontrol panelinizde, kullanıcılara günlük mail gönderim limti belirtmek için bu eklentiyi kurmamız gerekiyor,</p>
<p>Anlatım iyi derecede linux bilenler içindir, işleme başlamadan önce yedek almayı ihmal etmeyin;</p>
<p>Mevcut dosyaları yedekle</p>
<blockquote><p>cp /etc/exim.conf /etc/exim.conf.smtp.once<br />
cp /etc/exim.pl /etc/exim.pl.once</p></blockquote>
<p>Yeşil renkte olanlar, yapmamız gereken düzenlemeleri ifade ediyor;</p>
<blockquote><p>1)</p>
<p>acl_smtp_data = check_message<br />
acl_not_smtp = check_not_smtp<br />
<span style="color: #008000;">acl_smtp_rcpt = check_recipient</span></p></blockquote>
<blockquote><p>2) begin acl<br />
<span style="color: #008000;">check_not_smtp:<br />
deny set acl_c0 = ${perl{find_user}}<br />
condition = ${if def:acl_c0{${if exists{/etc/virtual/.smtp_deny/$acl_c0} {yes}}}}<br />
message = User $acl_c0 is not allowed to use SMTP</span><br />
accept</p>
<p>3) accept  hosts = +auth_relay_hosts<br />
endpass<br />
message = authentication required<br />
authenticated = *<br />
<span style="color: #008000;">set acl_c0 = ${perl{find_user}}</span></p>
<p>4) check_message:<br />
<span style="color: #008000;">deny condition = ${if def:acl_c0{${if exists{/etc/virtual/.smtp_deny/$acl_c0} {yes}}}}<br />
message = User $acl_c0 is not allowed to use SMTP</span></p>
<p><span style="color: #008000;"><span style="color: #000000;">5) </span></span>begin routers<br />
<span style="color: #008000;">check_limits:<br />
driver = redirect<br />
domains = ! +local_domains<br />
condition = ${if def:acl_c0{${if first_delivery{${perl{check_limits}{$acl_c0}}}}}}<br />
allow_fail<br />
data = &#8220;:fail: You ($acl_c0) have reached your message limit&#8221;</span></p>
<p><span style="color: #008000;"><span style="color: #000000;">6)</span> </span>condition = &#8220;${perl{check_limits}}&#8221; bu satırın başına # işareti koyuyoruz<br />
Bu şekilde olacak <span style="color: #008000;">#condition = &#8220;${perl{check_limits}}&#8221;</span></p>
<p><span style="color: #008000;"><span style="color: #000000;">7) </span></span>accept  hosts = +relay_hosts<br />
<span style="color: #008000;">set acl_c0 = ${lookup{$sender_host_address}lsearch{/etc/virtual/pophosts_user}\<br />
{${perl{find_user}{$value}}}}</span></p>
<p><span style="color: #008000;"><span style="color: #000000;">8 ) </span></span>Bu satırdaki # işareti varsa kaldır <span style="color: #008000;">condition = ${if eq {}{${if exists{/etc/virtual/${domain}/passwd}{${lookup{$local_part}lsearch{/etc/virtual/${domain}/passwd}}}}}{no}{yes}}</span></p>
<p>9) Bu satıra # işaretini ekle: <span style="color: #008000;">#condition = ${perl{save_virtual_user}}</span></p>
<p>chmod 777 /etc/virtual/limit</p>
<p>cp -f /usr/local/directadmin/plugins/SMTP_Limiter/scripts/exim.pl /etc/exim.pl</p>
<p>/etc/init.d/exim restart</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/directadmin-smtp-limiter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim kuyruk temizleme</title>
		<link>http://www.hostingdestek.com/exim-kuyruk-temizleme/</link>
		<comments>http://www.hostingdestek.com/exim-kuyruk-temizleme/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 13:07:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Cpanel Kontrol Paneli]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DirectadminKontrol Paneli]]></category>
		<category><![CDATA[Eposta]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=170</guid>
		<description><![CDATA[Exim kuyruğunuz yoğun spam yada farklı bir nedenle dolduysa,
Aşağıdaki komut kuyruktaki mesajlar tek tek silecektir;
exim -bp &#124; grep &#8216;&#60;&#8217; &#124; awk &#8216;{ print $3; system(&#8220;exim -Mrm &#8220;$3)}&#8217;
Bu işlem için vaktiniz yok ise;
killall -9 exim
cd /var/spool/exim
mv input input_eski
mkdir input
chown -R mail:mail input
/etc/init.d/exim restart
]]></description>
			<content:encoded><![CDATA[<p>Exim kuyruğunuz yoğun spam yada farklı bir nedenle dolduysa,</p>
<p>Aşağıdaki komut kuyruktaki mesajlar tek tek silecektir;</p>
<blockquote><p>exim -bp | grep &#8216;&lt;&#8217; | awk &#8216;{ print $3; system(&#8220;exim -Mrm &#8220;$3)}&#8217;</p></blockquote>
<p>Bu işlem için vaktiniz yok ise;</p>
<blockquote><p>killall -9 exim<br />
cd /var/spool/exim<br />
mv input input_eski<br />
mkdir input<br />
chown -R mail:mail input<br />
/etc/init.d/exim restart</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/exim-kuyruk-temizleme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plesk Directadmin ioncube kurulumu</title>
		<link>http://www.hostingdestek.com/plesk-directadmin-ioncube-kurulumu/</link>
		<comments>http://www.hostingdestek.com/plesk-directadmin-ioncube-kurulumu/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 12:28:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DirectadminKontrol Paneli]]></category>
		<category><![CDATA[Plesk Kontrol Paneli]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=162</guid>
		<description><![CDATA[Öncelikle sunucuda hangi php.ini dosyasının kullanıldığına bakıyoruz;
[root@ns1 ~]# php -i&#124;grep php.ini
Configuration File (php.ini) Path =&#62; /usr/local/lib/php.ini
http://www.ioncube.com/loaders.php adresinden “Linux (x86)” içni paketi çekiyoruz;
cd /usr/local/src
wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
tar –zxvf ioncube*
mv ioncube /usr/local
ls –alh /usr/local/ioncube/
ioncube_loader_lin_5.2.so şeklinde php 5 ile uyumlu loader dosyasını buluyoruz, php 5.1 yada eski bir sürüm kullanıyor iseniz, o sürüme ait so dosyasını yüklemelisiniz;
Ioncube yükleyicisini zend yükleyicisinden [...]]]></description>
			<content:encoded><![CDATA[<p>Öncelikle sunucuda hangi php.ini dosyasının kullanıldığına bakıyoruz;</p>
<blockquote><p>[root@ns1 ~]# php -i|grep php.ini<br />
Configuration File (php.ini) Path =&gt; /usr/local/lib/php.ini</p></blockquote>
<p><a href="http://www.ioncube.com/loaders.php">http://www.ioncube.com/loaders.php</a> adresinden “Linux (x86)” içni paketi çekiyoruz;</p>
<blockquote><p>cd /usr/local/src<br />
wget <a href="http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz">http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz</a><br />
tar –zxvf ioncube*<br />
mv ioncube /usr/local<br />
ls –alh /usr/local/ioncube/</p></blockquote>
<p>ioncube_loader_lin_5.2.so şeklinde php 5 ile uyumlu loader dosyasını buluyoruz, php 5.1 yada eski bir sürüm kullanıyor iseniz, o sürüme ait so dosyasını yüklemelisiniz;</p>
<p>Ioncube yükleyicisini zend yükleyicisinden önce yüklememiz gerekir;</p>
<blockquote><p>nano /usr/local/lib/php.ini<br />
zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.2.so<br />
ctrl x + y ile kaydediyoruz<br />
/etc/init.d/httpd restart</p>
<p>php -v komutu ile baktığımızda;</p>
<p>with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/plesk-directadmin-ioncube-kurulumu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plesk zend kurulumu</title>
		<link>http://www.hostingdestek.com/plesk-zend-kurulumu/</link>
		<comments>http://www.hostingdestek.com/plesk-zend-kurulumu/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 12:08:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Plesk Kontrol Paneli]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=157</guid>
		<description><![CDATA[Öncelikle sunucuda hangi php.ini dosyasının kullanıldığına bakıyoruz;
[root@ns1 ~]# php -i&#124;grep php.ini
Configuration File (php.ini) Path =&#62; /etc/php.ini
php.ini yolu sorduğu zaman bu yolu belirteceğiz;
Daha sonra zend dosyasını çekip kurmaya başlıyoruz;
Güncel sürüm için; http://www.zend.com/en/products/guard/downloads adresini takip edin. ben 32 bit versiyonu için kurulumu anlatacağım;
wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
tar -zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
cd ZendOptimizer-3.3.3-linux-glibc23-i386
./install
php -v komutu ile kontrol ettiğinizde aşağıdaki gibi görmelisiniz;
with Zend Optimizer [...]]]></description>
			<content:encoded><![CDATA[<p>Öncelikle sunucuda hangi php.ini dosyasının kullanıldığına bakıyoruz;</p>
<blockquote><p>[root@ns1 ~]# php -i|grep php.ini<br />
Configuration File (php.ini) Path =&gt; /etc/php.ini</p></blockquote>
<p>php.ini yolu sorduğu zaman bu yolu belirteceğiz;</p>
<p>Daha sonra zend dosyasını çekip kurmaya başlıyoruz;</p>
<p>Güncel sürüm için; http://www.zend.com/en/products/guard/downloads adresini takip edin. ben 32 bit versiyonu için kurulumu anlatacağım;</p>
<blockquote><p>wget http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz<br />
tar -zxvf ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz<br />
cd ZendOptimizer-3.3.3-linux-glibc23-i386<br />
./install</p></blockquote>
<p>php -v komutu ile kontrol ettiğinizde aşağıdaki gibi görmelisiniz;</p>
<blockquote><p>with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/plesk-zend-kurulumu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exim mail gönderim istatistiklerini incelemek</title>
		<link>http://www.hostingdestek.com/exim-mail-gonderim-istatistiklerini-incelemek/</link>
		<comments>http://www.hostingdestek.com/exim-mail-gonderim-istatistiklerini-incelemek/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 11:04:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Cpanel Kontrol Paneli]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[DirectadminKontrol Paneli]]></category>
		<category><![CDATA[exim]]></category>
		<category><![CDATA[smtp]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=142</guid>
		<description><![CDATA[Exim kurulu bir sunucunuzda (cpanel ve directadminde standart olarak email sunucucu olarak exim gelir), kimin nereye kaç tane mail gönderdiğini, kimin spam yapıp yapmadığını tespit edebilirsiniz;
cd /var/log/exim
eximstats mainlog &#62; stats.txt
nano stats.txt
Dosya içeriği çok uzun olduğu için sadece küçük bir bölümünü ekliyorum;
Exim statistics from 2009-12-30 06:28:00 to 2009-12-30 13:08:04
Grand total summary
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
At least one address
TOTAL               Volume   Messages [...]]]></description>
			<content:encoded><![CDATA[<p>Exim kurulu bir sunucunuzda (cpanel ve directadminde standart olarak email sunucucu olarak exim gelir), kimin nereye kaç tane mail gönderdiğini, kimin spam yapıp yapmadığını tespit edebilirsiniz;</p>
<blockquote><p>cd /var/log/exim<br />
eximstats mainlog &gt; stats.txt<br />
nano stats.txt</p></blockquote>
<p>Dosya içeriği çok uzun olduğu için sadece küçük bir bölümünü ekliyorum;</p>
<blockquote><p>Exim statistics from 2009-12-30 06:28:00 to 2009-12-30 13:08:04</p>
<p>Grand total summary<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
At least one address<br />
TOTAL               Volume   Messages Addresses     Hosts      Delayed       Failed<br />
Received             223MB       6871                1995    1071 15.6%   2163 31.5%<br />
Delivered            186MB       5095      5623       177<br />
Rejects                          2251                 769</p>
<p>Deliveries by transport<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
Volume    Messages<br />
:blackhole:         4420KB         561<br />
address_file        2003KB         240<br />
local_delivery        14MB         867<br />
remote_smtp           55MB         637<br />
spamcheck             10MB        1249<br />
virtual_localdelivery   100MB        1541</p>
<p>Messages received per hour (each dot is 39 messages)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>00-01      0<br />
01-02      0<br />
02-03      0<br />
03-04      0<br />
04-05      0<br />
05-06      0<br />
06-07    330 &#8230;&#8230;..<br />
07-08    500 &#8230;&#8230;&#8230;&#8230;<br />
08-09    534 &#8230;&#8230;&#8230;&#8230;.<br />
09-10    933 &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<br />
10-11    724 &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
11-12    833 &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br />
12-13   1939 &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.<br />
13-14   1078 &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/exim-mail-gonderim-istatistiklerini-incelemek/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos 64bit php derleme</title>
		<link>http://www.hostingdestek.com/centos-64bit-php-derleme/</link>
		<comments>http://www.hostingdestek.com/centos-64bit-php-derleme/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 08:44:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Litespeed]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=113</guid>
		<description><![CDATA[Litespeed web sunucusunu centos 64bit üzerine kurduktan sonra, php derleme aşamasında kerberos kütüphanesini bulamama gibi bir problem yaşayabilirsiniz.
Ufak bir kısayol tanımalayarak bu problemi aşabilirsiniz;
ln -s /usr/lib64 /usr/kerberos/lib
]]></description>
			<content:encoded><![CDATA[<p>Litespeed web sunucusunu centos 64bit üzerine kurduktan sonra, php derleme aşamasında kerberos kütüphanesini bulamama gibi bir problem yaşayabilirsiniz.</p>
<p>Ufak bir kısayol tanımalayarak bu problemi aşabilirsiniz;</p>
<blockquote><p>ln -s /usr/lib64 /usr/kerberos/lib</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/centos-64bit-php-derleme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centos kernel güncelleme</title>
		<link>http://www.hostingdestek.com/centos-kernel-guncelleme/</link>
		<comments>http://www.hostingdestek.com/centos-kernel-guncelleme/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 08:11:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=99</guid>
		<description><![CDATA[Mevcut yum konfigurasyon dosyasını yedekleyelim;
cp /etc/yum.conf /etc/yum.conf.yedek
Kullandığınız linux editörü ile /etc/yum.conf dosyasını açın, ben nano kullanıyorum
nano /etc/yum.conf
[main]
exclude=courier* apache* mod_ssl* httpd* perl mysql* php* spamassassin* exim*
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=centos-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1
Kaydedip çıkın. Dikkat ederseniz sunucuda kontrol paneli tarafından kurulmuş olma ihtimali olan ve güncelleme sonunda uyumsuzluğa neden olabilecek apache, pyp, mysql v.b. paketleri &#8220;exclude&#8221; liste yani güncellenme dışında tutulacaklar listesine ekliyoruz.
Güncellemeden [...]]]></description>
			<content:encoded><![CDATA[<p>Mevcut yum konfigurasyon dosyasını yedekleyelim;</p>
<blockquote><p>cp /etc/yum.conf /etc/yum.conf.yedek</p></blockquote>
<p>Kullandığınız linux editörü ile /etc/yum.conf dosyasını açın, ben nano kullanıyorum</p>
<blockquote><p>nano /etc/yum.conf</p>
<p>[main]<br />
exclude=courier* apache* mod_ssl* httpd* perl mysql* php* spamassassin* exim*<br />
cachedir=/var/cache/yum<br />
debuglevel=2<br />
logfile=/var/log/yum.log<br />
pkgpolicy=newest<br />
distroverpkg=centos-release<br />
tolerant=1<br />
exactarch=1<br />
retries=20<br />
obsoletes=1<br />
gpgcheck=1</p></blockquote>
<p>Kaydedip çıkın. Dikkat ederseniz sunucuda kontrol paneli tarafından kurulmuş olma ihtimali olan ve güncelleme sonunda uyumsuzluğa neden olabilecek apache, pyp, mysql v.b. paketleri &#8220;exclude&#8221; liste yani güncellenme dışında tutulacaklar listesine ekliyoruz.</p>
<p>Güncellemeden önce uname -a komutu ile mevcut kernel sürümüne bakın.</p>
<blockquote><p>yum upgrade kernel</p></blockquote>
<p>komutu ile güncellemeye başlayın.</p>
<p>Mevcut kerneli güncelleyecektir.</p>
<p>Güncelleme bittikten sonra grub.conf dosyasını açarak, güncellediğiniz versiyonun default olarak ayarlandığına emin olun.</p>
<blockquote><p><strong>default=0</strong><br />
timeout=5<br />
splashimage=(hd0,0)/grub/splash.xpm.gz<br />
hiddenmenu<br />
title CentOS (2.6.18-164.el5)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.18-164.el5 ro root=LABEL=/<br />
initrd /initrd-2.6.18-164.el5.img<br />
title CentOS (2.6.18-128.el5)<br />
root (hd0,0)<br />
kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/<br />
initrd /initrd-2.6.18-128.el5.img</p></blockquote>
<p>Burada güncellediğiniz kernel versiyonu 2.6.18-164 ise, default=0 yapmalısınız.</p>
<p>Kernel güncellemesinden sonra sunucunuz açılmaz ise, eski kernel ile boot edip, grub.conf dosyasında yaptığınız kernel sıralamasını eski haline getirmelisiniz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/centos-kernel-guncelleme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Saldırı tespit yöntemleri</title>
		<link>http://www.hostingdestek.com/saldiri-tespit-yontemleri/</link>
		<comments>http://www.hostingdestek.com/saldiri-tespit-yontemleri/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 19:33:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Debian]]></category>

		<guid isPermaLink="false">http://www.hostingdestek.com/?p=88</guid>
		<description><![CDATA[Sunucunuza gelen saldırıları tespit etmek için birçok yöntem bulunmaktadır,
Aklıma geldikçe tespitte kullandığın komutları buradan paylaşacağım;
Komut çıktısında &#8220;source&#8221; olarak gözüken tekrarlı ipler görüyor iseniz bu ipden saldırı alıyor olabilirsiniz.
tcpdunmp kurulıu değil ise debian için apt-get install tcpdump , centos için yum install tcpdump komutu ile kurabilirsiniz.
tcpdump -n -q dst port 80
Komut çıktısı çok fazla sonuç veriyor [...]]]></description>
			<content:encoded><![CDATA[<p>Sunucunuza gelen saldırıları tespit etmek için birçok yöntem bulunmaktadır,</p>
<p>Aklıma geldikçe tespitte kullandığın komutları buradan paylaşacağım;</p>
<p>Komut çıktısında &#8220;source&#8221; olarak gözüken tekrarlı ipler görüyor iseniz bu ipden saldırı alıyor olabilirsiniz.</p>
<p>tcpdunmp kurulıu değil ise debian için apt-get install tcpdump , centos için yum install tcpdump komutu ile kurabilirsiniz.</p>
<blockquote><p>tcpdump -n -q dst port 80</p></blockquote>
<p>Komut çıktısı çok fazla sonuç veriyor ise yoğun bir SYN saldırısı alıyorsunuz demektir;</p>
<blockquote><p>netstat -an|grep SYN</p></blockquote>
<p>Juno portları dediğimiz 1024 ve 3072 portlarına saldırı geliyor ise aşağıdaki komutlar ile juno portlarını kapatabilirsiniz;</p>
<blockquote><p>iptables -A INPUT -p tcp &#8211;sport 1024 -j DROP<br />
iptables -A INPUT -p tcp &#8211;sport 3072 -j DROP</p></blockquote>
<p>Ngrep yani network grep gelen isteklerin içeriğini görebilmemiz için güzel bir yazılımdır, kurulumu;</p>
<blockquote><p>yum install libpcap-devel<br />
wget http://www.sfr-fresh.com/unix/misc/ngrep-1.45.tar.gz<br />
tar zxvf ngrep-1.45.tar.gz<br />
cd ngrep-1.45<br />
./configure<br />
make</p></blockquote>
<p>Kurulum tamamlandıktan sonra takip etmek istediğimiz içeriği belirterek komutu kullanabiliriz.</p>
<p>Örneğin, index.html dosyasını çağaran ip adreslerini aşağıdaki komut ile görebiliriz;</p>
<blockquote><p>./ngrep -M &#8220;GET index.html&#8221; -q</p></blockquote>
<p>Aşağıdaki komut ile tüm istekleri görebiliriz. Space tuşuna basarak alt sayfalara geçebiliriz</p>
<blockquote><p>./ngrep | more</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.hostingdestek.com/saldiri-tespit-yontemleri/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
