Hot Article

Minggu, 03 April 2011

how to setting wifi..?

  
Start Beta-3, Yfi Manager already supports multi-language Hotspot
[Quote]
sudo apt-get install language-pack-id - Indonesian sudo apt-get install language-pack-af sudo apt-get install language-pack-fr sudo apt-get install language-pack-ms sudo apt-get install language-pack-nl sudo apt-get install language-pack-ice [/ quote]
Download the latest version of the CakePHP in http://cakephp.org. latest version (April 2010) = cake_1.2.6 Copy, extract the apache directory. Default ubuntu in / var / www
[Quote]
sudo cp-cakephp1x CakePHP-1.2.6-0-gbe7ddfb.tar.gz / var / www cd / var / www sudo tar-xzvf CakePHP-cakephp1x-1.2.6-0-gbe7ddfb.tar.gz [/ quote]
Rename the extracted directory, for more simple (eg cake_1.2.6) Create a symbolic link
[Quote]
cd / var / www sudo ln-s ./cake_1.2.6 ./c2 [/ quote]
Enable some Apache modules: rewrite, deflate to compress, and modify http headers for the header. The module is needed to increase performance and speed of web applications ..
[Quote]
sudo a2enmod rewrite sudo a2enmod deflate sudo a2enmod headers sudo / etc/init.d/apache2 reload [/ quote]
Edit the file "/ etc/php5/apache2/php.ini" On line:
[Quote]
output_buffering = Off [/ quote]
change with
[Quote] Code:
output_buffering = 4096 [/ quote]
Edit the file / etc/apache2/apache2.conf Enter the following script:
[Quote]
AllowOverride All
# --- ---- Compress CONTENT # Place filter 'Deflate' on all outgoing content Deflate SetOutputFilter # Exclude uncompressible content via file type SetEnvIfNoCase Request_URI \. (?: Exe | t? GZ | jpg | png | pdf | zip | bz2 | sit | rar) $ no-gzip # Dont-vary # Keep a log of compression ratio on EACH request DeflateFilterNote Input instream Output DeflateFilterNote outstream DeflateFilterNote Ratio Ratio LogFormat '"% r"% {outstream} n /% {instream} n (% {ratio} n%%)' deflate CustomLog / var/log/apache2/deflate.log deflate # Properly handle old browsers do not support compression That BrowserMatch ^ Mozilla / 4 gzip-only-text/html BrowserMatch ^ Mozilla / 4 \ .0 [678] no-gzip BrowserMatch \ bMSIE! No-gzip! Gzip-only-text/html #------------
# - Expiry ADD DATE -----
Header set Expires "Thu, April 15, 2012 20:00:00 GMT"
#------------
# --- Remove ETags ------- FileETag none #--------------[/ Quote]
Reload Apache
[Quote] sudo / etc/init.d/apache2 reload [/ Quote]
2. Install YFi CakePHP Application Donwload the latest version YFi Cake, I use version yfi_cake-Beta-4.tar.gz extract in the directory "/ var/www/c2".
[Quote] sudo cp yfi_cake-Beta-4.tar.gz / var/www/c2 cd / var/www/c2 sudo tar-xzvf yfi_cake-Beta-4.tar.gz sudo chown-R www-data. / Var/www/c2/yfi_cake/tmp sudo chown-R www-data. / Var/www/c2/yfi_cake/webroot/img/graphics [/ Quote]
Database Settings Create database 'yfi' with the default username and password 'yfi' (default). To use the default setting of this command:
[Quote] mysql-u root-p create database yfi; GRANT ALL PRIVILEGES ON yfi .* to 'yfi' @ '127 .0.0.1 'IDENTIFIED BY' yfi '; GRANT ALL PRIVILEGES ON yfi .* to 'yfi' @ 'localhost' IDENTIFIED BY 'yfi'; exit; [/ quote]
Note: For security you can change the username and password, misalsperti's mine: "submajuli" Do not forget to change the file '/ var/www/c2/yfi_cake/config/database.php', section username and password.
mysql-u root-p yfi / dev / null # Force-add the final rule to fix the routing tables Necessary iptables-I POSTROUTING-t nat-o $ HS_WANIF-j MASQUERADE [/ Quote]
Add coa port on the file / etc / init.d / chilli, look at this section:
[Quote] Opts = "-pidfile / usr / local / var / run / $ NAME.pid" [/ quote]
Add-coaport 3799 for the purpose of "User Kick off"
[Quote] opts = "-pidfile / usr / local / var / run / $ NAME.pid-coaport 3799" # # Add port coa [/ quote]
Login page Here I use a login page coova_json Copy the folder coova_json apache directory "/ var / www"
sudo cp-R / var/www/c2/yfi_cake/setup/coova_json / var / www
Check the file "/ var / www / coova_json / login.php: 1. $ Uamsecret must be equal to the file "/ etc / chilli / config", so also in the file "/ var / www / coova_json / uam.php". The default is 'greatsecret'. 2. $ Port in "/ var / www / coova_json / login.php", if 3660 should be replaced by 3990.
Please restart your ubuntu
1. Tests using the client computer. Setting dhcp client to the network interface, if the client gets the ip 10.1.0.2 - ff. Means coova normal chilli 2. Try browsing to, for example www.google.com. Will exit the splash page 3. Then redirected to the login page: hs_land.php 4. Login with user and password dvdwalt dvdwalt @ ri @ ri. 5. If access is accepted, will appear www.google.com
Finish the installation phase
Pair with Squid Transparent Proxy " Here iptables which I use to meredirec HotSpot client to squid (squid one server with a captive portal)
[Quote] iptables-t nat-A PREROUTING-i tun0-p tcp-s 10.1.0.0/24-d! 10.1.0.1-dport 80-j REDIRECT-to 3128 [/ quote]
good luck remember failure is the beginning of success


Jumat, 01 April 2011

Jadi apa sebenarnya Robots.txt

So what exactly is Robots.txt?
The Robots.txt is just a simple text file that sits in your server and gives useful information to search engine bots as to how they should crawl your site URLs.
The first thing a search engine bot would do before crawling your site is it would look for the ‘Robots.txt’ file located at http://yourdomain.com/robots.txt.
If you don’t have it, they’ll still crawl whatever pages they find, having it just helps make things a bit easier.
Since the bots first check your robots.txt file before crawling anything else, its a good way to instruct them to keep away from indexing any of the pages which you don’t wan’t to be visible on search results.


Caution : Never use the robots.txt to block any premium content from the site. By doing so, the search engines will surely not index those pages but since your robots.txt file is visible to even the normal user (http://yourdomain.com/robots.txt), they’ll be able to get access to this premium content. You may rather place this content behind a login restricting access to it for just the registered users or you may add the ‘noindex’ attribute to the meta tags on that specific page to avoid bots from crawling it.
What does Robots.txt look like??
Robots.txtThe average robots.txt could be one of the simplest pieces of code you may write.
If you want to have a robots.txt instructing all search engine bots to crawl everythng they find and don’t want to give any specific instructions use the following piece of code in it.
User-Agent: *
Disallow:

The ‘User-Agent’ refers to the search engines, since you have an asterix(*) here, it means the instructions are for all engines.
The ‘Disallow’ means what section of the site should not be accessed by the search engine bots. Having nothing after that colon means everything is accessible.
For most of the simple Websites, these two lines are all you need.
If your site is a bit larger and have many folders and so on, you may want to give search engines instructions to avoid some pages.
The best example of this would be to have a printer friendly version of your website located in a specific part, say “printer-ready.” Theres no point in allowing the search engines to index both the same identical parts, so its a good idea to instruct it to avoid the printer-friendly version.
In such a situation, the User-Agent section can be left as it is so that the instructions are given to all the search engines, just a small change needs to be made in the ‘Disallow’ part.
User-Agent: *
Disallow: /printer-ready/

The forward slashes are important before and after the folder name. This folder would be tracked at the end of your domain name. The one above would be read as referring to http://yourdomain.com/printer-ready/
If it’s actually found at www.yourdomain.com/archives/printer-ready/, the robots.txt would have to be formatted in the following way.
User-Agent: *
Disallow: /archives/printer-ready/

You can also change the User-Agent part to give instructions to just a or some specific search engines. Like,
User-Agent: googlebot
Disallow: /archives/printer-ready/

In this case, the folder at http://yourdomain.com/archives/printer-ready would have access by all search engines except Google.
Techfrog’s version of Robots.txt looks like :
User-agent: *
Disallow:

Here, we are allowing access to all search engine bots, all content can be indexed and we have mentioned the location where the sitemap can be found so that the search engine bot has access to it and doesn’t leave behind any page while crawling.
importance of robots.txt
How can Robots.txt be put on my site?
Once you have made the robots.txt file, just upload it to the root folder on your server and it will automatically place it in http://yourdomain.com/robots.txt
Isn’t it so Simple?


mengganti logo google

assalamualaikum

bosen dengan tampilan google itu-itu aja hmmm
sekarang saya share mengganti logo google sesuai keinginan kalian
excample:




ok cekidot om
step one
  •  lngsung aja http://funnylogo.info/create.asp
  • setelah itu Lalu tinggal masukan aja nama yang sesuai dengan pilihan Hatimu
  • Pilih stylenya
  • bersenang-senang lah dengan tampilan baru googlemu
Lalu bagaimana caranya tampilan ini selalu kamu pake setiap search di Komputermu ? Copy aja URL nya trus pake speed dialnya Opera paste di situ.
sumber www.google.com


Kamis, 31 Maret 2011

Backdoor


Backdoor atau "pintu belakang", dalam keamanan sistem komputer, merujuk kepada mekanisme yang dapat digunakan untuk mengakses sistem, aplikasi, atau jaringan, selain dari mekanisme yang umum digunakan (melalui proses logon atau proses autentikasi lainnya). Disebut juga sebagai back door.
Backdoor pada awalnya dibuat oleh para programer komputer sebagai mekanisme yang mengizinkan mereka untuk memperoleh akses khusus ke dalam program mereka, seringnya digunakan untuk membenarkan dan memperbaiki kode di dalam program yang mereka buat ketika sebuah crash akibat bug terjadi. Salah satu contoh dari pernyataan ini adalah ketika Kenneth Thompson (salah seorang pemrogram sistem operasi UNIX membuat sebuah program proses login pada tahun 1983 ketika memperoleh Turing Award), selain program login umum digunakan dalam sistem operasi UNIX dengan menggunakan bahasa pemrograman C, sehingga ia dapat mengakses sistem UNIX yang berjalan di dalam jaringan internal Bell Labs. Backdoor yang ia ciptakan itu melindungi dirinya dari pendeteksian dan pembuangan dari sistem, meskipun pengguna berhasil menemukannya, karena memang backdoor ini membuat dirinya sendiri kembali (melakukan rekompilasi sendiri).
Beberapa pengembang perangkat lunak menambahkan backdoor ke dalam program buatannya untuk tujuan merusak (atau tujuan yang mencurigakan). Sebagai contoh, sebuah backdoor dapat dimasukkan ke dalam kode di dalam sebuah situs belanja online (e-commerce) untuk mengizinkan pengembang tersebut memperoleh informasi mengenai transaksi yang terjadi antara pembeli dan penjual, termasuk di antaranya adalah kartu kredit.
Istilah backdoor sekarang digunakan oleh hacker-hacker untuk merujuk kepada mekanisme yang mengizinkan seorang peretas sistem dapat mengakses kembali sebuah sistem yang telah diserang sebelumnya tanpa harus mengulangi proses eksploitasi terhadap sistem atau jaringan tersebut, seperti yang ia lakukan pertama kali. Umumnya, setelah sebuah jaringan telah diserang dengan menggunakan exploit (terhadap sebuah kerawanan/vulnerability), seorang penyerang akan menutupi semua jejaknya di dalam sistem yang bersangkutan dengan memodifikasi berkas catatan sistem (log) atau menghapusnya, dan kemudian menginstalasikan sebuah backdoor yang berupa sebuah perangkat lunak khusus atau menambahkan sebuah akun pengguna yang memiliki hak akses sebagai administrator jaringan atau administrator sistem tersebut. Jika kemudian pemilik jaringan atau sistem tersebut menyadari bahwa sistemnya telah diserang, dan kemudian menutup semua kerawanan yang diketahui dalam sistemnya (tapi tidak mendeteksi adanya backdoor yang terinstalasi), penyerang yang sebelumnya masih akan dapat mengakses sistem yang bersangkutan, tanpa ketahuan oleh pemilik jaringan, apalagi setelah dirinya mendaftarkan diri sebagai pengguna yang sah di dalam sistem atau jaringan tersebut. Dengan memiliki hak sebagai administrator jaringan, ia pun dapat melakukan hal yang dapat merusak sistem atau menghilangkan data. Dalam kasus seperti di atas, cara yang umum digunakan adalah dengan melakukan instalasi ulang terhadap sistem atau jaringan, atau dengan melakukan restorasi dari cadangan/backup yang masih bersih dari backdoor.
Ada beberapa perangkat yang dapat digunakan untuk menginstalasikan backdoor, seperti halnya beberapa Trojan horse, tetapi yang populer adalah Netcat, yang dapat digunakan di dalam sistem operasi Windows ataupun UNIX.

untunk cara ny saya masih ngulik² jd teori dulu y om.
assalamualaikum


Sabtu, 19 Maret 2011

Bikin Irc lewat terminal

Ok postingan kali ini cara IRC-an lewat terminal kita...
wew ? kok bisa ? *_* why not apapun bisa di linux :D
Caranya pakai aplikasi IRSSI
ok langsung saja...

1.Install dulu aplikasinya
$ sudo apt-get install irssi

2.Run
$ irssi

3.Jalanin comand2x IRC kyak biasanya :D
/connect irc.nama_server.net
/join #nama_channel,dll

Sekian postingan kali ini *_*
Go Open Source
Wassalamualaikum wr wb


Minggu, 06 Maret 2011

settingan sederhana load balancing 2 speedy + squid

settingan sederhana load balancing 2 speedy + squid

topologinya

sp1----|
|-------mikrotik RB 750 G-------LAN-----client + billing
sp2---- |
|
squid ubuntu 9.10

oke set dulu modem bridge
ip address
modem 1 192.168.1.1
modem 2 192.168.2.1
proxy 192.168.3.2

ip mikrotik
lan 192.168.0.1
modem1 192.168.1.2
modem2 192.168.2.2
proxy 192.168.3.1

pppoe
/interface pppoe-client
add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" dial-on-demand=no disabled=no interface=Speedy-1 max-mru=1480 max-mtu=1480 mrru=disabled name="PPPoE-1" user="******@telkom.net" password="***" profile=default service-name="" use-peer-dns=no user="***"

add ac-name="" add-default-route=no allow=pap,chap,mschap1,mschap2 comment="" dial-on-demand=no disabled=no interface=Speedy-2 max-mru=1480 max-mtu=1480 mrru=disabled name="PPPoE-2" user="******@telkom.net" password="***" profile=default service-name="" use-peer-dns=no user="***"

nat
/ip firewall nat
add chain=srcnat action=masquerade out-interface=PPPoE-1 comment="" disabled=no
add chain=srcnat action=masquerade out-interface=PPPoE-2 comment="" disabled=no

/ip firewall nat
add chain=dstnat action=dst-nat to-address=ip squid proxy to-ports=3128 dst.-address-list=ip squid protocol=tcp dst.-port=80 in.-interface=ip lan

add chain=dstnat action=dst-nat to-address=ip squid proxy to-ports=3128 dst.-address-list=ip squid protocol=tcp dst.-port=8080 in.-interface=ip lan

add chain=dstnat action=dst-nat to-address=ip squid proxy to-ports=3128 dst.-address-list=ip squid protocol=tcp dst.-port=3128 in.-interface=ip lan


manggel
/ip firewall mangle
add action=mark-connection chain=prerouting comment="Load Mangel" connection-state=new disabled=no in-interface=lan nth=2,1 new-connection-mark=ADSL-1 passthrough=yes

add action=mark-connection chain=prerouting comment="" connection-state=new disabled=no in-interface=lan nth=2,2 new-connection-mark=ADSL-2 passthrough=yes

add action=mark-routing chain=prerouting comment="Mark Paket" in-interface=lan connection-mark=ADSL-1 disabled=no new-routing-mark=speedy-1-conn passthrough=no

add action=mark-routing chain=prerouting comment="" in-interface=lan connection-mark=ADSL-2 disabled=no new-routing-mark=speedy-2-conn passthrough=no

Proxy
add action=mark-connection chain=prerouting comment="proxy" in-interface=proxy connection-state=new nth=2,1 disabled=no new-connection-mark=ADSL-1 passthrough=yes

add action=mark-connection chain=prerouting comment="" in-interface=proxy connection-state=new nth=2,2 disabled=no new-connection-mark=ADSL-2 passthrough=yes

add action=mark-routing chain=prerouting comment="Proxy mark" in-interface=proxy connection-mark=ADSL-1 disabled=no new-routing-mark=speedy-1-conn passthrough=no

add action=mark-routing chain=prerouting comment="" in-interface=proxy connection-mark=ADSL-1 disabled=no new-routing-mark=speedy-1-conn passthrough=no

IP Route
/ip route
add disabled=no distance=1 dst-address=0.0.0.0/0 gateway-interface=PPPoE-1 , scope=30 target-scope=10 routing-mark=modem1

add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=ip yang diberi pppoe2 gateway-interface=PPPoE-2 scope=30 target-scope=10 routing-mark=modem2

add disabled=no distance=1 dst-address=0.0.0.0/0 gateway-interface=PPPoE-1, PPPoE-2 scope=30 target-scope=10

add disabled=no distance=2 dst-address=0.0.0.0/0 gateway=ip yang diberi pppoe1 gateway-interface=PPPoE-1 scope=30 target-scope=10 routing-mark=modem1



Untuk Proxynya

#==================================#
# Proxy Server Versi 2.7.Stable3
# by th@opikdesign.com and edit by enchone.com
#==================================#
################################################## ###############
# Port
################################################## ###############
http_port 3128 transparent
icp_port 3130
prefer_direct off
################################################## ###############
# Cache & Object
################################################## ###############
cache_mem 8 MB
cache_swap_low 98
cache_swap_high 99
max_filedesc 8192
maximum_object_size 1024 MB
minimum_object_size 0 KB
maximum_object_size_in_memory 4 bytes
ipcache_size 4096
ipcache_low 98
ipcache_high 99
fqdncache_size 4096
cache_replacement_policy heap LFUDA
memory_replacement_policy heap GDSF
################################################## ###############
# cache_dir <type> <Directory-Name> <Space in Mbytes> <Level1> <Level2> <options>
cache_dir aufs /home/proxy1 9000 32 128
cache_dir aufs /home/proxy2 9000 32 128
cache_dir aufs /home/proxy3 9000 32 128
cache_access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
pid_filename /var/run/squid.pid
cache_swap_log /var/log/squid/swap.state
dns_nameservers /etc/resolv.conf
emulate_httpd_log off
hosts_file /etc/hosts
half_closed_clients off
negative_ttl 1 minutes
################################################## ###############
# Rules: Safe Port
################################################## ###############
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8q
acl lan src 192.168.0.0/27
acl modem1 src 192.168.1.0/24
acl modem2 src 192.168.2.0/24
acl proxy src 192.168.3.0/24
acl SSL_ports port 443 563 873 # https snews rsync
acl Safe_ports port 80 # http
acl Safe_ports port 20 21 # ftp
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 631 # cups
acl Safe_ports port 10000 # webmin
acl Safe_ports port 901 # SWAT
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl Safe_ports port 873 # rsync
acl Safe_ports port 110 # POP3
acl Safe_ports port 25 # SMTP
acl Safe_ports port 2095 2096 # webmail from cpanel
acl Safe_ports port 2082 2083 # cpanel
acl purge method PURGE
acl CONNECT method CONNECT
http_access allow manager localhost
http_access allow lan
http_access allow modem2
http_access allow modem2
http_access allow proxy
http_access deny manager
http_access allow purge localhost
http_access deny purge
http_access deny !Safe_ports !SSL_ports
http_access deny CONNECT !SSL_ports !Safe_ports
################################################## ###############
# Refresh Pattern
################################################## ###############
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i \.(gif|png|jpg|jpeg|ico)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|mpg|swf|flv|x-flv)$ 43200 90% 432000 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(deb|rpm|exe|ram|bin|pdf|ppt|doc|tiff)$ 10080 90% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(zip|gz|arj|lha|lzh|tar|tgz|cab|rar)$ 10080 95% 43200 override-expire ignore-no-cache ignore-private
refresh_pattern -i \.(html|htm|css|js|php|asp|aspx|cgi) 1440 40% 40320
refresh_pattern . 0 20% 4320
################################################## ###############
# HAVP + Clamav
################################################## ###############
cache_peer 127.0.0.1 parent 8080 0 no-query no-digest no-netdb-exchange default
################################################## ###############
# HIERARCHY (BYPASS CGI)
################################################## ###############
#hierarchy_stoplist cgi-bin ? .js .jsp
#acl QUERY urlpath_regex cgi-bin \? .js .jsp
#no_cache deny QUERY
################################################## ###############
# SNMP
################################################## ###############
snmp_port 3401
acl snmpsquid snmp_community public
snmp_access allow snmpsquid localhost
snmp_access deny all
################################################## ###############
# ALLOWED ACCESS
################################################## ###############
acl persegi src 192.168.0.0/24 ## Sesuaikan
http_access allow persegi
http_access allow localhost
http_access deny all
http_reply_access allow all
icp_access allow persegi
icp_access allow localhost
icp_access deny all
always_direct deny all
################################################## ###############
# Cache CGI & Administrative
################################################## ###############
cache_mgr th@opikdesign.com
cachemgr_passwd 123 all
visible_hostname proxy.bless.net
cache_effective_user proxy
cache_effective_group proxy
coredump_dir /var/spool/squid
shutdown_lifetime 10 seconds
logfile_rotate 14
cache_mgr enchone@bless.net
################################################## ###############
# Squid ZPH
################################################## ###############

nah ini lah dia secara keseluruhan untuk warnet saya
oh iya pembagian harddisk di squid
1 gb /boot flad
3 gb /
4 gb /usr
4 gb /var
1 gb swap
15 gb/home/proxy1
15 gb/home/proxy2
15 gb/home/proxy3
sisanya di jadiin share, hdd ukuran 80 gb...


setting mikrotik buat speedy




MikroTik RouterOS? adalah sistem operasi dan perangkat lunak yang dapat digunakan untuk menjadikan komputer manjadi router network yang handal, mencakup berbagai fitur yang dibuat untuk ip network dan jaringan wireless, cocok digunakan oleh ISP dan provider hostspot.

Kemarin, ada temen yg minta tolong di-setting-kan PC routernya. Dia pake Mikrotik RouterOS. Aq juga ga tau knapa kok dia milih Mikrotik.. Aneh² ae.. Klo untuk Linux seh aq udah biasa pake + nyetting, tapi klo yg namanya Mikrotik blom pernah sama sekali. Tapi menurutku paling ya gitu² aja kaya Linux OS yg laen.. Ya udah aq sanggupin aja..

Oia, aq ga akan mbahas gmn cara instalasinya Mikrotik RouterOS. Jadi untuk instalasinya silahkan merujuk ke situsnya Mikrotik.

Sampai di lokasi, aq coba ngeliat seperti apa seh Mikrotik itu Seperti biasa, klo pertama kali aq berhadapan dengan console, perintah pertama yg aq ketikkan adalah ls untuk ngeliat isinya direktori. Tapi apa hasilnya? Ternyata perintah ls ga dikenali di Mikrotik.. Aq coba perintah² Linux laennya, hasilnya jg sama, ga dikenali. Hmm.. Trus aq coba tekan tombol TAB, voila.. Terus kluar sederetan perintah² gitu.. Ternyata fungsinya sama kaya bash completion di Linux..

Aq liat isinya.. Ohh.. Ternyata gini toh Mikrotik itu.. Aq coba ketik ip, maka kita langsung masuk ke sub menu ip. Aq tekan TAB lagi, trus aq ketik address, tekan tombol ENTER, maka langsung masuk ke sub menu ip address. Terus aq coba ketik “..” (without quotes) ternyata langsung kembali ke sub menu ip lagi. Ohh.. I see.. Jadi gini ya.. Klo misal dari sub menu apapun dan kita pengin kembali ke root menu, langsung ketik aja “/“.

Oke.. Aq rasa perkenalannya udah cukup. Sekarang saatnya kita “menggarap” si Mikrotik ini biar bisa berfungsi sebagaimana yg diharapkan..

Sebelumnya saya gambarkan dulu skema jaringannya:

LAN —> Mikrotik RouterOS —> Modem ADSL —> INTERNET

Untuk LAN, kita pake kelas C, dengan network 192.168.0.0/24. Untuk Mikrotik RouterOS, kita perlu dua ethernet card. Satu (ether1 – 192.168.1.2/24) untuk sambungan ke Modem ADSL dan satu lagi (ether2 – 192.168.0.1/24) untuk sambungan ke LAN. Untuk Modem ADSL, IP kita set 192.168.1.1/24.

Sebelum mengetikkan apapun, pastikan Anda telah berada pada root menu dengan mengetikkan “/”

Set IP untuk masing²ethernet card

ip address add address=192.168.1.2/24 interface=ether1
ip address add address=192.168.0.1/24 interface=ether2

Untuk menampilkan hasil perintah di atas ketikkan perintah berikut:

ip address print

Kemudian lakukan testing dengan mencoba nge-ping ke gateway atau ke komputer yg ada pada LAN. Jika hasilnya sukses, maka konfigurasi IP Anda sudah benar

ping 192.168.1.1
ping 192.168.0.10

Menambahkan Routing
ip route add gateway=192.168.1.1

Setting DNS
ip dns set primary-dns=202.134.1.10 allow-remote-requests=yes
ip dns set secondary-dns=202.134.0.155 allow-remote-requests=yes

Karena koneksi ini menggunakan Speedy dari Telkom, maka DNS yg aq pake ya punya Telkom. Silahkan sesuaikan dengan DNS provider Anda.

Setelah itu coba Anda lakukan ping ke yahoo.com misalnya:

ping yahoo.com

Jika hasilnya sukses, maka settingan DNS sudah benar

Source NAT (Network Address Translation) / Masquerading
Agar semua komputer yg ada di LAN bisa terhubung ke internet juga, maka Anda perlu menambahkan NAT (Masquerade) pada Mikrotik.

ip firewall nat add chain=srcnat action=masquerade out-interface=ether1

Sekarang coba lakukan ping ke yahoo.com dari komputer yang ada di LAN

ping yahoo.com

Jika hasilnya sukses, maka setting masquerade sudah benar

DHCP (DynamicHost Configuration Protocol)
Karena alasan supaya praktis, temenku pengin pake DHCP Server. Biar klo tiap ada klien yang konek, dia ga perlu setting IP secara manual. Tinggal obtain aja dari DHCP Server, beres dah. Untungnya Mikrotik ini juga ada fitur DHCP Servernya. Jadi ya ga ada masalah..

Membuat IP Address Pool

ip pool add name=dhcp-pool ranges=192.168.0.2-192.168.0.254

Menambahkan DHCP Network
ip dhcp-server network add address=192.168.0.0/24 gateway=192.168.0.1 dns-server=202.134.1.10,202.134.0.155

Menambahkan Server DHCP
ip dhcp-server add name=DHCP_LAN disabled=no interface=ether2 address-pool=dhcp-pool

Sekarang coba lakukan testing dari komputer klien, untuk me-request IP Address dari Server DHCP. Jika sukses, maka sekali lagi, settingannya udah bener

Bandwidth Control
Agar semua komputer klien pada LAN tidak saling berebut bandwidth, maka perlu dilakukan yg namanya bandwidth management atau bandwidth control

Model yg saya gunakan adalah queue trees. Untuk lebih jelas apa itu, silahkan merujuk ke situsnya Mikrotik

Kondisinya seperti ini:

Koneksi Speedy kan katanya speednya sampe 384/64 Kbps (Download/Upload), nah kondisi itu sangat jarang tercapai. Jadi kita harus cari estimasi rata²nya. Maka saya ambil minimalnya untuk download bisa dapet sekitar 300 Kbps dan untuk upload aq alokasikan 50 Kbps. Sedangkan untuk yg maksimumnya, untuk download kira² 380 Kbps dan upload 60 Kbps.

Lalu, jumlah komputer klien yang ada saat ini adalah 10 buah. Jadi harus disiapkan bandwidth itu untuk dibagikan kepada 10 klien tersebut.

Perhitungan untuk masing² klien seperti ini:

Minimal Download: 300 / 10 * 1024 = 30720 bps
Maximal Download: 380 / 10 * 1024 = 38912 bps

Minimal Upload: 50 / 10 * 1024 = 5120 bps
Maximal Upload: 60 / 10 * 1024 = 6144 bps
Selanjutnya kita mulai konfigurasinya:

Tandai semua paket yg asalnya dari LAN

ip firewall mangle add src-address=192.168.0.0/24 action=mark-connection new-connection-mark=Clients-con chain=prerouting

ip firewall mangle add connection-mark=Clients-con action=mark-packet new-packet-mark=Clients chain=prerouting

Menambahkan rule yg akan membatasi kecepatan download dan upload
queue tree add name=Clients-Download parent=ether2 packet-mark=Clients limit-at=30720 max-limit=38912

queue tree add name=Clients-Upload parent=ether1 packet-mark=Clients limit-at=5120 max-limit=6144

Sekarang coba lakukan test download dari beberapa klien, mestinya sekarang tiap2 klien akan berbagi bandwidthnya. Jika jumlah klien yg online tidak sampai 10, maka sisa bandwidth yang nganggur itu akan dibagikan kepada klien yg online.

Graphing
Mikrotik ini juga dilengkapi dengan fungsi monitoring traffic layaknya MRTG biasa. Jadi kita bisa melihat berapa banyak paket yg dilewatkan pada PC Mikrotik kita.

tool graphing set store-every=5min

Berikutnya yang akan kita monitor adalah paket² yg lewat semua interface yg ada di PC Mikrotik kita, klo di komputerku ada ether1 dan ether2.

tool graphing interface add-interface=all store-on-disk=yes

Sekarang coba arahkan browser anda ke IP Router Mikrotik. Klo aq di sini:

http://192.168.0.1/graphs/

Nanti akan ada pilihan interface apa aja yg ada di router Anda. Coba klik salah satu, maka Anda akan bisa melihat grafik dari paket2 yg lewat pada interface tersebut


Selasa, 15 Februari 2011

windoWs XP nasa sp 3 sata 2010


Now avaliable!! Windows XP NASA SP 3 SATA 2010 dengan High-Teknologi dan spesifikasi menakjubkan,  seperti namanya windows XP NASA SP 3 SATA 2010 ini akan membuat Anda lepas landas seperti roket ke dunia tak terbatas.
Sekedar informasi yang saya dapat dari blogwalking windows ini sepenuhnya lebih stabil, kuat, dan jarang terjadi kesalahan sistem, lebih Aman dan 3 kali lebih cepat daripada Windows lainnya.
Dengan  teknologi baru untuk pertama kalinya ditambahkan untuk melipatgandakan kecepatan Internet 5 kali lebih cepat daripada kecepatan Anda saat ini.
Anda dapat mengubah tampilan jendela sepenuhnya (tema, ikon, suara, layar, wallpaper ) Untuk Windows Vista atau 7 atau Mac OS apperance dengan satu klik saja!!
Release Name: Windows XP NASA SP3 SATA 2010
  • System: Windows XP Professional SP3 Original MSDN
  • Year: 2009
  • CD Key: Already Slipstreamed Original Key
  • Activation: Already activated
  • Install method: Unattended
  • Integrated SATA drivers
  • Integrated latest updates and hotfixes
  • File format: ISO
  • Size: 753 MB
  • Bootable Accept updates form microsoft
Added Programs:

  • Yahoo Masenger 10
  • Multi messenger Patch
  • Clean Unistaller
  • ViGlance
  • Avira Antivirus Personnal edition
  • yahoo messenger 10
  • Multiyahoo messenger regit
  • flash player
  • windows media player 11
  • K-lite Kodec
  • Mozilla FUirefox 3.5
  • uTorrent
  • Ultra ISO
  • Aero Ultimate7
  • Netframework 2
  • winrar 3.8
  • Crystal Rocket dock
  • Transbar
  • True transperncy
  • Icon Pakager
  • EasySaver BB
Untuk mendownload Windows XP NASA SP3 SATA 2010 


Kamis, 03 Februari 2011

Konfiguras IP di Backtrack 3

Hem .. actually the global configuration of the same IP in Linux. But the gag is no harm if I try to explain again here specifically fordibacktrack,,

First:
by default prior to installation on the HDD, or even when you use the Live Cd, which recognize eth backtrack terdefault you will bedynamic (or can we call DHCP). so if your network environmentusing DHCP server, the smile

or if you lack confidence, into the console .. then config with
bt ~ # dhcpd eth0
then check with
bt ~ # ifconfig eth0

Second:
But the opposite case when you should set your IP Static: directly into the console and then write as below: Community BacktrackIndonesia> Add New Post - WordPress
/ / for the IP and Subnet combined ..
bt ~ # ifconfig eth0 192.168.0.84/24
/ / gateway
bt ~ # route add default gw 192.168.0.1
/ / dns
bt ~ # echo nameserver 202 202 171 171 / / -> cuman for example
/ / klo already,, the test with
bt ~ # ifconfig-a

Third:
set ip permanently, hehehee .... aja entry into
bt ~ # cd /
bt / # nano / etc/rc.d/rc.inet1.conf
well there will meet your ip settings.
good luck

source of indobactrack.or.id


Install Backtrack 4 Pre Final on Harddisk with cd or usb

Backtrack 4 pre final telah rilis, dan proses installasi ke hardisk pun sangat mudah .
Pastikan anda sudah mendownload iso backtrack 4 dan check md5 nya untuk memastikan file iso backtrack 4 anda tidak corrupt. Serta Jangan lupa backup data2 di komputer anda untuk antisipasi kesalahan partisi .
Berikut ini adalah langkah” installasi backtrack 4 pada harddisk :


1. Buat 2 buah partisi yaitu partisi extended 3 dan partisi untuk swap .
anda bisa menggunakan software partition magic (bagi pengguna windows), atau dengan command “fdisk” apabila menggunakan linux.

2. Booting dengan cd backtrack 4 pre final, kemudian ketikkan perintah : “sudo su”
Contoh :
fl3xu5@bt:$ sudo su
fl3xu5@bt:/home/fl3xu5#

3. Masuk ke desktop dengan cara ketikkan “startx
fl3xu5@bt:/home/fl3xu5# startx

4. Klik file “install.sh” yang ada pada desktop .

5. Tunggu beberapa saat hingga popup muncul , klik “continue anyway” jika ada pesan error “language crashed”

6. Pilih Lokasi anda : “Jakarta”, kemudian klk forward
7. Pilih keyboard layout : USA, klik forward

8. Pilih “Manual” pada saat proses prepare disk space, kemudian klik forward


9. Arahkan dan edit partisi yang akan di install linux, misal partisi /dev/sda6 untuk linux nya dan /dev/sda7 untuk swap nya.
*disesuaikan dengan partisi yang ada pada komputer anda.


10. Klik pada /dev/sda6 , Klik edit untuk mengedit partisi /dev/sda6.
Isi pilihan use as dengan “ext 3 journaling file system
ceklist “format the partition”
Isi mount point dengan pilihan “ / 
Klik OK
11. Selanjutnya klik pada /dev/sda7 kemudian edit partition, klik OK.

12. Setelah selesai edit partisi, selanjutnya klik Forward pada proses prepare install .

13. Isi kan nama, password, dana nama komputer anda, kemudian klik forward

14. Pada proses migrate documents and settings , klik forward
15. Klik Install pada untuk memulai installasi tunggu hingga selesai

16. Finished. Silahkan reboot komputer anda.dan keluarkan cd backtrack .


Selamat anda telah berhasil install backtrack 4 pre final.
met ngoprek dengan backtrack.
Backtrack : Linux For Human Hacking

Thx to : danphi yang bantuin analisa crashed .
Great thanks to Remote Exploit and offensive security ( muts , dll)
Moga bermanfaat .


Selain install Backtrack lewat CD,Buat para indobacktracker’s juga dapat mencoba alternatif lain yaitu menggunakan USB.

Berikut step-step yang harus kamu lakukan adalah:
1.pertama yang musti kamu lakukan adalah  download backtrack terupdate disinihttp://backtrack.unixheads.org/ tu alternatif source sama yg kayak d remote-exploit. gk percya ? cek aj md5 nya,pasti sama =) ngomong soal md5 setelah selesai download jgn lupa cek md5nya,takutnya ad yang corrupt.kemudian download tool bertitle unetbootin disini.

2.setelah semuanya selesai d download,siapkan USB minimal 2 GB,colok usb seperti biasa kalo uda nongol segera format(FAT32).

3.klik aplikasi unetbootin yg kamu udah download tadi pilih ISO dan browse dmn backtrack.iso berada and then tinggal klik ok aj tunggu sampai ad confirm utk reboot,jgn lupa jaga2 enter setup buat booting melalui usb.(pindah dinomorsatukan diantara drive yg lainnya).

4.tunggu hingga muncul konsolnya ketik startx,jika ada warning hiraukan aja  nah itu akan membuat kamu menuju tampilan desktop tapi ntar dulu,tu belum selesai loh..

5.liat d desktop kamu ad file install.sh itu kamu klik atau lewat terminal program ketik ubiquity [enter] ini utk buat partisi hardisk akan ada jendela baru nah tu tgl klik forward  aja terus sampai muncul keterangan isi aja semuanya ntar ada pass,nama komputer,dsb udah klik forward lagi sampai booting lagi.

6.hampir selesai nih,sekarang tu backtrack uda melekat d HD kamu,ubah seperti semula bootingnya dinomorstukan yaitu HDnya,usb kamu pasang urutan terakhir aj.

7.pilih OS backtrack deh dan pasti akan muncul konsol buat login n pass sesuai yg kamu isi pada saat ubiquity(no.5)
kalo mau masuk sebagai root ketik sudo su dan ketik pass nya kemudian buat masuk ke desktop masih dengan perintah startx.
selamat berbacktrack ria
mau pentest segala macamnya terserah kamu,tugas saya sampai disini.. buat lebih lanjut silakan googling atau boleh bertanya langsung d forum.


sumber dari indobactrack tercinta



 
Copyright 2010 newbie-herbet. All rights reserved.
Themes by Herbet Ginting l Home Recording l Blogger Template