CATEGORY / SECURITY

Security

19 posts

Jan 12, 2009 • 1 min read

Cisco SSH Configuration

conf# username cagri privilege 15 secret cisco"creates a user in local database with privelege level 15 and encrypted password cisco"conf#ip domain-name tugriceri.com"sets a domain name for the device"conf#crypto key generate rsa"creates a …

Dec 07, 2008 • 1 min read

ssh Tunnel

shell# ssh -f root@192.168.2.54 -L 7200:192.168.2.54:7200 -N

Oct 03, 2008 • 1 min read

Bir Asa log u

Routingfailedtolocatenexthopfor icmp from outside...Net1 de olması gereken bir host yada network net2 de tanımlanmış ise bu log ile karşılaşılır. Host u fln silip doğru yerde tanımlarını yapmak lazım.

Jan 08, 2008 • 1 min read

Sudo requiretty settings

sudo: apache : sorry, you must have a tty to run sudo ; TTY=unknown ; .../var/log/secure içerisinde gözlemlenen bu log apache ile çağırılan bir sistem komutunun çalışmayıp verdiği uyarı log u .sudoers içerisindeDefaults requirettyayarının # …

Jan 04, 2008 • 2 min read

SSL sertifikası yaratma

Openssl ile sertifika yaratmak için yarattığınız anahtar dosya da güçlü şifreleme methodlarından birini seçerseniz sizden bir şifre girmenizi isteyecektir. Apache nin her başlamasında bu şifreyi yazmanız gerekmektedir. Şifre sorulmadan bir …

Jan 04, 2008 • 1 min read

Cer to Pem

You can convert cer file to pem with this example command. openssl x509 -in certnewb.cer -inform DER -out certnewb.pem -outform PEM if you have a Microsoft CA server and if you signed your certification request with this CA server, this …

Sep 22, 2007 • 1 min read

Php safe_mode

php_admin_flag safe_mode On safe_mode ile php, script in sahibi ile erişilmeye çalışılan dosya sahibini kontrol eder. Belirli bir directory deki scr çalışmaması için. php_admin_flag engine off Aynı şekilde safe_mode da uygulanabilir. …