7.9.08

How to earn money with your own website

Yes, all of us know it. You have a famous website and a lot of traffic per day. Now how to pay the traffic? No problem. There are a lot of affiliate programs to earn money. I added some of them below. Visit and join them today. You won't regret it! I earned in the first month enough to pay the hosting bills and the rest was for me :). You will see it is a nice chance to earn money with your homepage. Maybe you have to deactivate your Adblocker to see the banners!!! or Visit here

5.9.08

Block ip yg mencoba login mikrotik

Kesel juga klo ada yg coba2 login di router, apalagi dengan menggunakan BRUTE FORCE. Saya sendiri pernah mengalami hal ini, di router mikrotik OS yg pernah saya setting tercatat 300an kali user mencoba coba login via ftp :P Trus karena jengkel, akirnya saya mencoba untuk memblock ip yg coba coba login tersebut.

CODE

/ ip firewall filter
add chain=input in-interface=ether1 protocol=tcp dst-port=22 src-address-list=ftp_blacklist action=drop

# accept 10 incorrect logins per minute
/ ip firewall filter
add chain=output action=accept protocol=tcp content="530 Login incorrect" dst-limit=1/1m,9,dst-address/1m

#add to blacklist
add chain=output action=add-dst-to-address-list protocol=tcp content="530 Login incorrect" address-list=blacklist address-list-timeout=23h


Maksud dari kode diatas adalah jika dalam 1 menit berusaha 10 kali login ( dst-limit=1/1m,9 di login nya yg kesepuluh masuk daftar hitam dan dibanned selama 23jam, address-list=blacklist address-list-timeout=23h).


untuk memberi range port edit bagian


CODE
/ ip firewall filter
add chain=input in-interface=ether1 protocol=tcp dst-port=22 src-address-list=ftp_blacklist action=drop


menjadi

CODE
/ ip firewall filter
add chain=input in-interface=ether1 protocol=tcp dst-port=21-23 src-address-list=ftp_blacklist action=drop


isi sesuai port yang anda aplikasikan pada settingan router anda, port di atas berlaku untuk settingan standart ftp, ssh dan telnet.

Untuk contoh basic script block IP menggunakan MIKROTIK, silahkan lihat disini
Baca juga : Tips menyimpan file video pada cache web-proxy mikrotik

judul artikel : Block ip brute force Mikrotik
penulis : fcknmysep@yahoo.com.sg http://folderblog.blogspot.com
OS : Mikrotik

4.9.08

Setting squid pada windows

Squid di linux mungkin sudah banyak dibahas, bagaimana dengan squid pada windows? berikut adalah step - step configurasi squid pada windows.


1. download Squid for Windows yg bisa di dapatkan dari http://squid.acmeconsulting.it/download/squid.html
extract ke directory c:\squid

2. masuk ke directory C:\squid\etc, kemudian rename file berikut
squid.conf.default menjadi squid.conf
cachemgr.conf.default menjadi cachemgr.conf
mime.conf.default menjadi mime.conf

3. edit file SQUID.CONF :
- edit value http_port 3128, ganti dengan port sesuai kebutuhan anda misal port 8080.
http_port 8080

- edit value # cache_mgr, ganti dengan
cache_mgr webmaster@domain.com

- edit value #visible_hostname, ganti dengan
visible_hostname www.domain.com

- edit value # auth_param basic program c:/squid/libexec/ncsa_auth c:/squid/etc/passwd
tambahkan pada baris dibawahnya :
auth_param basic program c:/squid/libexec/ncsa_auth.exe c:/squid/libexec/password.txt

- edit value # auth_param basic children 5, hilangkan tanda # menjadi
auth_param basic children 5

- edit value # auth_param basic realm Squid proxy-caching web server ganti dengan
auth_param basic realm Squid proxy-caching web server

- edit value # auth_param basic credentialsttl 2 hours, hilangkan tanda # menjadi
auth_param basic credentialsttl 2 hours

- edit value # auth_param basic casesensitive off, hilangkan tanda # menjadi
auth_param basic casesensitive off

- edit value auth_param basic casesensitive off, tambahkan pada baris dibawahnya
acl squid_users proxy_auth REQUIRED
http_access allow squid_users

- edit value http_access deny CONNECT !SSL_ports, tambahkan tanda # menjadi
#http_access deny CONNECT !SSL_ports

- copy file htpasswd.exe dari directory apache\bin ke c:\squid\libexec (silahkan install apache server terlebih dahulu)

5. untuk membuat user dan password pertama kali jalankan perintah berikut :
c:\squid\libexec\htpasswd -bc password.txt user1 passwd

6. untuk menambah user gunakan perintah :
c:\squid\libexec\htpasswd -b password.txt user2 passwd

7. untuk service init cache jalankan perintah c:\squid\sbin\squid -z
lokasi cache bisa anda rubah pada file squid.conf

8. untuk service squid jalankan perintah c:\squid\sbin\squid -i

9. terakhir jalankan perintah c:\squid\sbin\squid


judul artikel : configurasi squid pada windows
penulis : fcknmysep@yahoo.com.sg http://folderblog.blogspot.com
OS : Windows