list of free software…pls add the list

this list hope can help others who using (still) windows as their Operating System,
and help to free from BSA :)…of course it still muz buying windows..
- http://www.microsoft.com/indonesia/
(http://g.msn.com/mh_mshp_en-ID/98765?F126DF2B&http://go.microsoft.com/fwlink/?LinkID=6598&clcid=0×421&&HL=Microsoft+Estimated+Retail+Price+from+Distributors&CM=Ad&CE=Ad)

* Office Application
1. OpenOffice.org (http://www.openoffice.org) for Word Sheet, Spread Sheet, etc

* Internet and Email
1. Browser
- mozilla firefox (http://www.mozilla.com)
- opera (it’s free now, right?)
- ..
- ..
2. Messenger
- Gaim (http://gaim.sourceforge.net/win32/index.php)
- Skype (http://www.skype.com)
- Yahoo Messenger
- MSN Messenger
- ..
- ..
3. Mail
- mozilla thunderbird (http://www.mozilla.com/thunderbird/)
- ..

4. FTP
- AceFTP Freeware (http://software.visicommedia.com/en/products/aceftpfreeware/)
- SmartFTP Client Free educational used (http://www.smartftp.com/download)
- ..

* Utility
1. Compressing tool
- QuickZip (http://www.quickzip.org/quickzip/downloads.php) open source program support 7zip
- Ultimate Zip (http://www.ultimatezip.com) support 7zip (popular open source format)

2. Download Manager
- Free Download Manager (FDM) (http://www.freedownloadmanager.org/)
- Flash Get (http://www.flashget.com)

3. Antivirus
- Antivir (http://www.free-av.com), update virus definition (http://www.avira.com/en/support/vdf_update.html, http://dl.antivir.de/down/vdf/ivdf_fusebundle_nt_en.zip)
- AVG (http://www.grisoft.com/)

4. Image Editor
- Gimp for windows (http://gimp-win.sourceforge.net) a free alternative for Adobe Photoshop

* Development
- XAMPP (http://www.nat32.com/xampp) for Apache, PHP and phpmyadmin, Mysql package, FileZilla, Mercury mail server
- PHP Designer 2006 (http://www.mpsoftware.dk, http://www.mpsoftware.org)
- NVU Html IDE (www.nvu.com/download.php)
- ..
- ..

* Multimedia
- Winamp (http://www.winamp.com)
- ..
- ..

Comments (1) »

graduation day

Dear All,
he..he..he…
finaly my fully name will be Lewi… .S.Kom, that of course will relieved my mum and dad…
(look at the last post http://ichtus.blogs.friendster.com/all_bout_ichtus/2005/12/at_lastt.html)
december I already finish my final project, and supposed to have graduation in march..
but I forgot to registered for final project online for the univ…haha2x…so pending it until today

Saturday 2.00 pm GMT+8.

SpEcIaL thanks you to God, Partners from Visimitra, friends..
that support and encourage me always to finish S1!!!

following for "Gladi Resik" ehmm like a pre graduation ceremony 2 days ago,
imagine that my friends already do that for 3 years ago haha2x
but better to late than not at all…(ichtus defends :)),
but somehow I feel that finish it with only 4 years will be more wise that 7 years..
but now after until 7 years, graduation day think I will be more happier,
because it will free me from my parents whishes for me to have S1 degree…:-D

to anyone reading this..that haven’t pass S1 degree…gud luck!!! haha2x
and study hard for someone that have exam nearly!

Comments (3) »

Go for Nadine!!! Vote for Nadine!!

Nadine_studio_13Miss Indonesia Universe 2006

This time Indonesia send Putri Indonesia 2005 (NADINE CHANDRAWINATA)  to LA (california)
before we see details about nadine, this all candidates for Miss Universe 2006
http://www.missosology.org/missuniverse06/mu06candidates.html
also at http://www.globalbeauties.com/universe/2006/mu2006_1.htm

"Bayangan hanya ada disaat ada cahaya, tetapi saat cahaya itu menghilang begitupun dengan bayangan tersebut. Itu bukanlah cerminan seorang sahabat." (Nadine’s Quote)

some sites about Miss Universe 2006
http://www.missosology.org/missuniverse06/

and tell me what, Miss Nadine already choosed on "people choice" at 4rd rank
(http://www.missosology.org/missuniverse06/peopleschoice.html)
and at http://vote.sparklit.com/poll.spark?pollID=974276 take at July 15 2006, placed 2nd

Who will win Miss Universe? [75940 votes total]
DOMINICAN REPUBLIC, Mia Taveras (9539) 13%
INDONESIA, Nadine Chandrawinata (9127) 12%
SRI LANKA, Jacqueline Fernandez (7895) 10%
LEBANON, Gabrielle Bou Rached (7859) 10%
ALBANIA, Eralda Hitaj (7528) 10%
TURKEY, Ceyla Kirazli (6004) 8%
THAILAND, Onvarin Charm Osatanon (3508) 5%
FINLAND, Ninni Laaksonen (3401) 4%
PUERTO RICO, Zuleyka Rivera (2802) 4%
PHILIPPINES, Lia Andrea Ramos (2749) 4%

some of Nadine’ Gallery:
http://www.missindonesia-online.com/Puteri%20Indonesia/Universe%2005/Gallery.htm
http://news.yahoo.com/photos/sm/events/en/071206missuniverse/p:17

but reading this blogs makes me feel rather… 
Miss Indonesia says Indonesia is a city
http://www.merlyna.org/blog/index.php/2006/miss-indonesia-says-indonesia-is-a-city/
nadine’s interview video (http://www.missuniverse.com/delegates/2006/files/ID-closeup.html)
so tell me what do you think??

notes:


The interview round is one of the vital facets in choosing which
delegate shall be crowned Miss Universe. The way a candidate answers
questions does have criteria, and for the Miss Universe pageant, the
following facets are stressed out during interviews:
1. How well she articulates her views
2. Sense of independence and convictions
3. Self-confidence & poise
4. Sense of maturity & understanding of global issues
5. Overall-impression.

last note, don’t forget to vote for nadine (Miss Universe 2006 Poll Watch)
http://www.missosology.org/missuniverse06/

Nadine_chandrawinata_51

No comment »

Death or A Broken Heart?

Death or A Broken Heart?

Which is worse?
Death or a broken heart?
Death is only once ,
But a broken heart shall be forever a burden on my back for me to carry.

© By Patrick G. Thompson

but like Oscar Wilde
said: 
The heart was made to be broken.

but anyway..

Broken hearts are never healed. They haunt us for a lifetime even if we
find someone else. Our past teaches us lessons that make us more aware
and more human. Why then do we feel so hurt knowing it can only get
better? :)

ehmm that’s just my 2c..

by ichtus

No comment »

website cersil

ehmmm….
belakangan karena kerjaan rasanya tidak ada habis-habisnya,
kembali ke hobi lama..baca buku:)…but wait..it’s cersil (cerita silat) books :) he2x

beberapa pembaca setia cersil dari Jin Yong (Chin Yung), Gu Long (Khu Lung)..tentunya sudah susah cari buku2xnya,

jadi untuk me-reload ingatan saja:
website: http://www.serialsilat.com
bisa baca buku online juga

Tokoh tokoh di dunia persilatan

Date: Fri, 18-Nov-2005
Section: Cerita Silat secara Umum
Penulis
serial silat dari segi jumlah umumnya relatif lebih sedikit dibanding
penulis di topik bidang lainnya. Walau tidak banyak, justru jumlah
pembaca yang setia, dan ketagihan malah tidak sedikit, bahkan hingga
puluhan tahun lamanya. Penulis terkenal sperti Chin Yung (Jin Yong)
mempunyai gaya cerita epik yang mana tokoh utama biasanya diperkenalkan
dari kecil, dengan detail panjang lebar pengalaman getir kang-ouw yang
dialaminya, hingga remaja lengkap dengan kehebatan iweekang, ginkang
dan jurus jurus silatnya. Tema ceritanya, tidak jauh dari pembalasan
dendam, melawan ketidak adilan dsb, pokonya yang baik bakal menang
sedangkan yang jahat bakal sial. Tema cerita ini, dibumbui dengan kitab
sakti, binatang aneh, tumbuhan ajaib, mungkin cocok untuk dibaca anak
anak yang dalam masa pertumbuhan mempunyai daya hayal yang hebat.
Karakter tokoh utama di cerita Chin Yung rata rata mempunyai semangat
tinggi, yang tidak luntur dari segala cobaan. Kurang realistic, tapi
baik untuk ditiru.

Karakter karakter Chin Yung pernah
ditawarkan pada penulis lain untuk dikembangkan lebih dalam. Beberapa
judul sempat beredar di Indonesia yang ceritanya merupakan kelanjutan
atau kembang sampingan dari tokoh tokoh seperti Yo Ko, Thio Boe Kie
dst. Sayangnya tidak menarik. Hingga sampai sekarang yang tetap
berkesan dengan urutan cerita adalah Sia Tiauw Eng Hiong, Sin tiau Hiap
Lu, To Liong To (Gan K.L Penyadur).

Khu Lung (Gu Long) yang
usianya lebih muda dari Chin Yung, otomatis banyak terpengaruh cerita
cerita dari dunia barat. Selain tradisional cersil, dengan
kejeniusannya, Gu Long berhasil melahirkan pula gaya cersil yang
berbeda motif. Tema yang bercorak detektif, lengkap dengan plot cerita
yang berlapis lapis dan gaya bahasanya yang ekonomis tapi padat. Walau
biasanya akhir cerita agak kedodoran, karya Gu Long boleh dibilang
karya yang paling baik yang pernah ada. Penilaian yang terlalu
subjektif? Mungkin. Yang jelas dari segi dialog, tutur kata, plintiran
plot cerita diperlukan kecerdasan yang tinggi yang tidak semua penulis
mampu melakukannya. Silahkan membaca:
0. Pendekar Berandalan
1.Pendekar Pengejar nyawa, Pendekar Harum (Coh liu Hiang)
2. Pendekar Binal, Bakti Pendekar Binal, Bahagia Pendekar Binal(Siau Hi Ji)
3. Misteri Kapal Layar Panca Warna
4. Renjana Pendekar, Himbauan Pendekar
5. Pendekar Baja (Sim Long)
6. Pendekar Budiman, Salju Merah, Rahasia Mokau Kaucu, Peristiwa Bulu Merak (Liu Sun Hoan, Yap Kay, Poh Ang Soat)
7. Pendekar Gelandangan, Golok Bulan Sabit (Cia Sam Hong)
8. Pendekar Empat Alis, Keajaiban Negri Es, Ratu Tawon (Liok Siau Hong).
9. Harimau Kemala Putih (diselesaikan oleh pengarang lain)

Biasanya
cerita Gu Long tidak berkait satu dengan lainnya. Kala, tokoh utama
dicerita lain disebut sebagai tokoh dongeng yang merajai dunia kang-ouw
puluhan bahkan ratusan tahun yang lalu. Kesan misterius ditambah dengan
tidak jelasnya asal usul tokoh tsb, dan latar belakang tokoh yang
absen, dengan sengaja Gu Long mendobrak tradisi gaya penulisan yang
menyebabkan ketidak puasan kritikus tapi justru menambah nuansa
legendaris dari tokoh tokoh hasil karyanya.

Cersil bertema tradisonal yang cukup menarik dibaca:
1. Pukulan Naga Sakti
2. Pendekar Cacad
3. Hong lui Bun
4. Bentroknya Dunia Persilatan
5. Persekutuan Tusuk Konde Kemala, Makam Asmara
6. Pendekar Bayangan Setan, Misteri Bayangan Setan
7. Raja Silat
8. Pena Wasiat
9. Pedang berkarat-Pena beraksara, Persekutuan Peda Sakti
10. Telapak Setan
11. Hikmah Pedang Hijau
12. Golok Yan Ci
13. Pendekar 100 Hari
14. Pendekar Satu Jurus
15. Tiga Pedang Tujuh ruyung
16. Hati Buddha Tangan Berbisa
17. Rebutan Kalung Pusaka
18. Terror Bwe Hwa Hwe
19. Pendekar bersinar Kuning
20. Pendekar Ulat Sutra
21. Pendekar kangkung
22. Tengkorak maut
23. Panji Sakti
24. Bukit Pemakan Manusia
25. Pedang Keadilan I,II
26. Pendekar Kidal
27. Cincin  Berdarah
28. Rahasia Sebuah Lukisan
29. Balada hina Kelana
30. Pendekar Kerajaan Tayli
31. Pusaka Negri Tayli
dll

Cersil Yang Kurang Menarik antara lain:
1. Pendekar Kembar, Pendekar Setia
2. Kemelut diujung ruyung emas
3. Pedang Kiri Pedang Kanan
dll

Cersil yang habis baca, timbul penyesalan:
1. Pahala dan Murka
2. Rahasia 180 Patung emas
3. Lembah Patah Hati
4.  Durjana dan Ksatria
5. Pendekar Blo’on
dll

Note: cerita cerita diatas disadur/ditulis oleh Can I.D, S.D Liong, Gan K.L atau Gan K.H (adiknya).

Peranan
Penyadur sangat penting dalam menerjemahkan dan tidak bisa diabaikan
begitu saja. Bagi Kita yang tidak beruntung dapat membaca dalam bahasa
aslinya (Chinese), nama nama tsb adalah pendekar sejati yang mepunyai
jurus kata kata terjemahan yang tepat dan cermat sehingga kita dapat
menikmati hiburan yang mepersona ini. Pengalaman membaca hasil saduran
yang asal pilih kata dan tidak profesional menyebabkan terganggunya
alur cerita, buyarnya mental pictures, dan marah marah sendirian.
Cerita bagus ditutur secara berantakan. Pengalaman yang tidak usah
diulang.

Asmaraman alias Kho Ping Hoo, tidak menyadur, melainkan
menulis sendiri berpuluh judul tentang dunia kang-ouw walau dirinya
tidak pernah melayat ke negri Cina (katanya). Walau kebanyakan nasehat,
filosofi, tetek bengek mengenai ‘Aku’ salah dan benar, rangsangan alur
cerita dari pengalaman aneh, jurus sakti, dan roman picisan cukup
menarik. Urutan baca mempengaruhi pengenalan didunia Kho Ping Hoo.
Tokoh disatu judul dapat berlarut ke judul judul berikutnya.

Silsilah Bukek Siansu:
Bukek
Siansu, Suling emas, Mutiara hitam, istana Pulau Es, Pendekar Super
Sakti, Sepasang Pedang Iblis, Sepasang Rajawali, jodoh Rajawali, Suling
Emas dan Naga Siluman. Judul judul berikutnya, cerita mulai kurang
menarik. Maklum usia.

Silsilah Pendekar Kayu Harum:
Pendekar kayu Harum, Petualang asmara, xxxxx(Lupa Judul), Pendekar Lembah Naga, Pendekar Sadis dst.

Banyak
lagi silsilah dari Bupunsu Lu Kwan Cu (Pendekar Saktii), atau dari Raja
Pedang yang mempunyai derivatif dan pengembangan karakter yang hidup
dan mengasyikkan.

Pengarang lain, Herman Praktikto, memang bukan
penyadur tapi ide karyanya juga bukan 100% orisinil. Selalu Mencangkok
cersil dari China, Beliau berhasil mengawinkan dua budaya kesatu tema
cerita yang unik. Berlatar belakang kerajaan sriwijaya hingga ke jaman
Pangeran Dipenegoro, beliau yang pakar sejarah, dengan luwesnya
melukiskan kehidupan kuno yang sangat berbeda dengan cara sehari hari
yang umum buat kita. Hasil karyanya seperti Bende mataram, mencari
bende Mataram, Bunga Ceplok Ungu, Jalan Diatas Bukit, Bayar Jiwa Ayahku
dsb merupakan pusaka bagi literatur bangsa.

Kho Ping Hoo
dengan idenya yang orisinil, jumlah karyanya yang sulit ditandingi,
gaya bahasanya yang enak dikunyah menurunkan kepandaiannya ke pengarang
Sriwidjono yang menerbitkan: Darah Pendekar, Pendekar peyebar Maut,
Memburu Iblis, Pendekar Pedang Pelangi seru dang menegangkan. Entah
Kenapa, dipertengahan era 90-an tiba tiba jejaknya dan Batara
(pengarang lain) menghilang dari dunia cersil. Terjadi kekosongan dunia
Kang-ouw hingga kini.

Bagi penulis baru yang hendak mengikuti
tokoh tokoh persilatan ini, hindari kegegeran seperti yang terjadi di
judul pendekar empat alis dan pendekar pedang pelangi. Kedua cerita nya
belum selesai walau dinyatakan tamat dibagian akhir. Sebagai pembaca
cersil yang setia, cerita buntung yang tidak mempunyai akhir yang jelas
sungguh menyebabkan tidur tidak nyenyak dan rasa penasaran yang tidak
hilang walau sudah bertahun tahun.

This article comes from serialsilat.com
http://serialsilat.tungning.com/portal

The URL for this article is:
http://serialsilat.tungning.com/portal/modules/wfsection/article.php?articleid=34

Copyright (c) 2006 by serialsilat.com

No comment »

at lastt….

:) so happy these day.., posting to my blog to sign the history day Dec 16 2005
at last after 2 years waiting.., I finnaly pass for the last assignment  (TA) task…hahaha2x
thanks to all of u that helping me, or juz ask for my TA work,
frez, mitindo frenz, collages, my family…

believe me that encourage me to finish it

ehm muz having a new life target after this..
my plan is:
- finish all pending jobs
- finish implementing compiere at mitindo
- running visimitra
- …still thinkin..

No comment »

working for TA

still working for my thesis in S1 degree…
hope this wednesday noon, all can be done :(
hehehe…stil optimistics.., coz rite now still opening frenster :-D

ehm get working again now

No comment »

perbandingan tarif GSM & CDMA (Hallo, Matrix, Flexi, Starone) Pasca Bayar

Tabel Tarif HP untuk pemakaian sehari-hari.
—————————————————————-
any comment sent to: ichtus_lewi@yahoo.com
url: http://ichtus.blogs.friendster.com

Perbandingan Tarif 2 Operator GSM (Halo Free 150 SMS, Matrix Bebas Abonemen) & 2 Operator CDMA(Flexi, Starone) untuk Pasca Bayar
Berlaku sampai 31 Desember 2005

Sumber:
TelkomSel Halo: http://www.telkomsel.com/web/products/tarif.php?page=khj
Matrix Centro Free Abonemen: http://www.matrix-centro.com/info_produk.php?mode=tarif_free_abonemen

Flexi PrePaid: http://www.telkomflexi.com/products/index.php?page=Mjc=&id=MzA=
Flexi PostPaid: http://www.telkomflexi.com/products/index.php?page=Mjc=&id=Mjk=

MyStarone PrePaid: http://www.mystarone.com/productAndService/index.php?id=6
My Starone PostPaid: http://www.mystarone.com/productAndService/index.php?id=7

————————————————
Tarif dikonversikan dalam /menit
————————————————

Jenis Panggilan                                         Peak                                     |                                Off Peak
                                      Starone       Flexi               Matrix       Hallo       |    Starone        Flexi              Matrix        Hallo
___________________________________________________________________________________________
Operator CDMA Sama      Rp. 100       Rp. 166.66      -                -            |    Rp. 100        Rp. 125        -        -
PSTN / FWA Lain Lokal    Rp. 130       Rp. 166.66    Rp. 531       Rp. 531  |    Rp. 97.5       Rp. 125         Rp. 450        Rp. 450

GSM Operator Sama        Rp. 200        Rp. 535        Rp. 813       Rp. 813  |    Rp. 200        Rp. 450         Rp. 650        Rp. 650
GSM Operator Beda         Rp. 525        Rp. 535        Rp. 938       Rp. 938 |    Rp. 440        Rp. 535         Rp. 775        Rp. 775

SMS Operator Sama        Rp. 100        Rp. 250        Rp. 300        Rp. 250               
SMS Operator Beda         Rp. 225        Rp. 250        Rp. 300        Rp. 250   
SMS Luar Negeri              -                  -                  Rp. 500        Rp. 500

GPRS Regular                 Rp. 3/Kb       Rp. 5/Kb      Rp. 15/Kb     Rp. 15/Kb
MMS                              -                    -                 Rp. 1250/50Kb    Rp. 500/kirim

VOIP ke LN semua tujuan               Rp. 2.900/6s     Rp. 2.500/30s    Rp. 2.900/6s     Rp. 2.500/30s

GSM Operator Sama < 200km         Rp. 1.500         970-1.700          1.458-2.103       1.565-2.628     |    Rp. 1.500    650-1.055    975-1.295       1.110-1.728
GSM Operator Sama 200 - 500km    Rp. 1.500         1.240-2.225       1.728-2.628       1.565-2.628     |    Rp. 1.500    785-1.325    1.110-1.565    1.110-1.728

GSM Operator Beda < 200km          Rp. 1.696.25     970-1.700          1.458-2.103       1.785-3.083    |    Rp. 970      650-1.055     975-1.295      1.220-1.948
GSM Operator Beda 200 - 500km     Rp. 2.221.25     1.240-2.225       1.728-2.628       1.785-3.083    |    Rp. 1.240   785-1.325     1.110-1.565    1.220-1.948

Notes:
- Peak:     08:00-21:59:59
- Off Peak:     22:00-08:00
- Pembagian biaya berdasarkan waktu dari operator berbeda-beda, Peak & Off Peak disini hanya diambil dari garis besarnya saja.
- Round Up/Pembulatan waktu berbeda tiap operator.
- Untuk detailnya bisa datang ke website link dari tiap operator yang ada diatas.

No comment »

new updated! connect cdma with linux

thanks to FSG

,

as before in my article in:

primary: http://mbone.petra.ac.id/u/ichtus/CDMA/cdma.html

mirror: http://business-forum.petra.ac.id/ichtus/CDMA/cdma.html

a short explanation for connect to internet using nokia phone (I used starone as my cdma operator in Indonesia):

- add a importance AT command:

AT+crm=1

AT+cso=33

can be added in wvdial, kppp, pppdialer, redhat network configuration

as we can see those command also in windows driver cdma1xr..inf

said that as my experience only DKU5 and MA-8620 that can use in linux (FC3, now in FC4, CentOS4.1 can works also)

now good news, someone report that Nokia original cable can be detected and used in linux Knoppix 4.02 to connect to internet using Nokia phone. :)

ref: email ganhongsen@yahoo.com at 13 November 2005

—–cut—–

GOOD ONES:
Bisa connect pakai KNOPPIX 4.02!!!
Hooray, thanks untuk anda, padahal caranya sama juga lho cuma tinggal

ln -s /dev/ttyACM0 /dev/modem

trus ngeset KPPPnya dan Init1 Init2 langsung tersambung.
Tapi sepertinya koneksi kok masih sering terputus padahal baud rate sudah saya pasang di 115200, trus connectnya itu tertulis "connected speed: unknown".
Tapi connectnya cukup lama juga lah, pokoknya saya senang sekali bisa online pake linux :-)
—–cut—–

Comments (1) »

Qos and traffic shaping with FreeBSD, a short experience work with pf in FreeBSD 5.4

looking for all firewall solution and found that pf (port from OpenBSD) in FreeBSD can gave me this:

references:
http://www.benzedrine.cx/pf.html
http://www.freebsd.org/doc/handbook/firewalls-pf.html
http://www.kuro5hin.org/story/2002/11/23/14927/477

need to know if in FreeBSD 5.x already have a pf inside, but need to enable ALTQ in kernel (and recompile kernel) to get a bandwidth limiting

the situation is:
——|
       |Internet ——————— Prolink ADSL with Speedy Telkom ————- (rl0) pf FreeBSD router (vr0) —– LAN
       |
——|

bandwidth from my ISP:
download: 384kbps
upload: 64kbps

the goal is:
1. to limit bandwidth and provide quota bandhwidth and prioritize some network like marketing nets, and management nets
2. combine with transparant proxy with squid

here is my pf.conf:
# See pf.conf(5) and /usr/share/examples/pf for syntax and examples.
# Required order: options, normalization, queueing, translation, filtering.
# Macros and tables may be defined and used anywhere.
# Note that translation rules are first match while filter rules are last match.

# Macros: define common values, so they can be referenced and changed easily.
ext_if="rl0"    # replace with actual external interface name i.e., dc0 
int_if="vr0"    # replace with actual internal interface name i.e., dc1
internal_net="10.0.0.0/24"
external_addr="10.0.10.1"

# add by ichtus
priv_nets       = "{ 10.0.0.0/24 }"
iec_nets        = "{ x.x.x.x    y.y.y.y }"
highlander_nets = "{ x.x.x.x    y.y.y.y }"
logts_nets      = "{ x.x.x.x    y.y.y.y }"
accnt_nets      = "{ x.x.x.x    y.y.y.y }"
mrkt_nets       = "{ x.x.x.x    y.y.y.y }"
mngmt_nets      = "{ x.x.x.x    y.y.y.y }"

# … in the filtering section of pf.conf …
icmp_types    = "echoreq"
tcp_services  = "{ 21, 22, 80 }"
ssh_ports     = "{ 22 8022 }"
http_ports    = "{ 21 80 443 }"
mail_ports    = "{ 25, 110 995 }"
im_vnc_ports  = "{ 1863 5190 5222 5900 5901 5902}"

# Options: tune the behavior of pf, default values are given.
set timeout { interval 10, frag 30 }
set timeout { tcp.first 120, tcp.opening 30, tcp.established 86400 }
set timeout { tcp.closing 900, tcp.finwait 45, tcp.closed 90 }
set timeout { udp.first 60, udp.single 30, udp.multiple 60 }
set timeout { icmp.first 20, icmp.error 10 }
set timeout { other.first 60, other.single 30, other.multiple 60 }
set timeout { adaptive.start 0, adaptive.end 0 }
set limit { states 10000, frags 5000 }
set loginterface none
set optimization normal
set block-policy drop
set require-order yes
set fingerprints "/etc/pf.os"

# Normalization: reassemble fragments and resolve or reduce traffic ambiguities.
scrub in all

# Queueing: rule-based bandwidth control.
# enable queueing on the external interface to control traffic going to
# the Internet. (calculate 90% from total bandwidth)
altq on $ext_if bandwidth 58Kb hfsc queue { std_out, http_out, ssh_out, mail_out, vnc_out, rsets, tcp_ack_out }
queue   std_out   bandwidth 10Kb priority 2 hfsc(default realtime 16Kb)
queue   ssh_out   bandwidth 8Kb priority 5
queue   http_out  bandwidth 10Kb priority 3 hfsc(realtime 14Kb)
queue   mail_out  bandwidth 16Kb priority 4 hfsc(realtime 16Kb)
queue   vnc_out   bandwidth 8Kb priority 5
queue   rsets     bandwidth 6Kb priority 0 hfsc(realtime 7500b)
queue   tcp_ack_out     priority 6

# enable queueing on the internal interface to control traffic coming in
# from the Internet. (calculate 90% from total bandwidth)
altq on $int_if bandwidth 345Kb hfsc queue { std_in, ssh_im_in, mail_in, http_in, dns_in, highlander_in }
queue std_in         bandwidth 24Kb hfsc(realtime 16Kb default)
queue ssh_im_in      bandwidth 24Kb priority 4 hfsc(realtime 24Kb)
queue mail_in        bandwidth 144Kb priority 5 hfsc(realtime 120Kb) { mail_in_mrkt, mail_in_mngmt, mail_in_iec, mail_in_logts, mail_in_accnt }
   queue mail_in_logts       priority 3 hfsc(realtime 20Kb linkshare 15%)
   queue mail_in_accnt       priority 3 hfsc(realtime 16Kb linkshare 15%)
   queue mail_in_iec         priority 6 hfsc(realtime 24Kb linkshare 25%)
   queue mail_in_mngmt       priority 5 hfsc(realtime 28Kb linkshare 20%)
   queue mail_in_mrkt        priority 6 hfsc(realtime 28Kb linkshare 25%)
queue http_in        bandwidth 96Kb priority 4 hfsc(realtime 80Kb) { http_in_mngmt, http_in_iec, http_in_nets }
   queue http_in_nets        priority 3 hfsc(linkshare 20%)
   queue http_in_mngmt       priority 3 hfsc(linkshare 40%)
   queue http_in_iec         priority 3 hfsc(linkshare 35%)
queue highlander_in  bandwidth 56Kb priority 3
queue dns_in         priority 7

# Translation: specify how addresses are to be mapped or redirected.
# nat: packets going out through $ext_if with source address $internal_net will
# get translated as coming from the address of $ext_if, a state is created for
# such packets, and incoming packets will be redirected to the internal address.
nat on $ext_if from $internal_net to any -> ($ext_if)

# rdr: packets coming in on $ext_if with destination $external_addr:1234 will
# be redirected to 10.1.1.1:5678. A state is created for such packets, and
# outgoing packets will be translated as coming from the external address.
rdr on $ext_if proto tcp from any to any port 443 -> [dmz serverip address] port 443

# rdr outgoing HTTP, HTTPS, FTP requests to the squid-proxy
rdr on $int_if proto tcp from any to any port ftp -> 127.0.0.1 port 3128
rdr on $int_if proto tcp from any to any port http -> 127.0.0.1 port 3128
rdr on $int_if proto tcp from any to any port https -> 127.0.0.1 port 3128

# forward to central mail server for sending mail
rdr on $int_if proto tcp from any to any port smtp -> 127.0.0.1 port 25

# add by ichtus, filter rules
block all
block in log all
block drop in  quick on $ext_if from $priv_nets to any
block drop out quick on $ext_if from any to $priv_nets
block return in on $ext_if inet all queue rsets

# anti spoof for eksternal network
antispoof for $ext_if inet
block drop in on ! $ext_if inet from 10.0.10.0/24 to any
block drop in inet from 10.0.10.1 to any

# anti spoof for internal network
antispoof for $int_if inet
block drop in on ! $int_if inet from 10.0.0.1/24 to any
block drop in inet from 10.0.0.1 to any
pass quick on lo0 all

# limit bandwith packet keluar dari external interface dari internal networks
pass out on $ext_if inet proto tcp from $ext_if to any flags S/SA keep state queue(std_out, tcp_act_out)
pass out on $ext_if proto { udp, icmp } all keep state
pass out on $int_if proto {tcp, udp} from any port domain to $priv_nets queue(tcp_act_out)
pass out on $ext_if inet proto tcp from $ext_if to any port $mail_ports flags S/SA keep state queue(mail_out)
pass out on $ext_if inet proto tcp from $ext_if to any port $http_ports flags S/SA keep state queue(http_out)
pass out on $ext_if inet proto tcp from $ext_if to any port $ssh_ports flags S/SA keep state queue(ssh_out, tcp_act_out)
pass out on $ext_if inet proto tcp from $ext_if to any port $im_vnc_ports flags S/SA keep state queue(vnc_out, tcp_act_out)

# allow echo-request icmp
pass in inet proto icmp all icmp-type $icmp_types keep state

# limit bandwidht packet dari internet ke server https secara DNAT
pass in on $ext_if proto tcp from any to any port 443 keep state queue(http_out)

# allow packet dari internet ke port services di router
pass in on $ext_if proto tcp from any to ($ext_if) port $tcp_services flags S/SA keep state

# allow packet dari router ke internal network
#pass in on $int_if from $priv_nets
pass in on $int_if from $int_if:network to any keep state

# limit bandwidth packet masuk dari internet ke internal network
pass out on $int_if from any to $priv_nets queue(std_in)
pass out on $int_if proto { tcp udp } from any port domain to $priv_nets queue(dns_in)
pass out on $int_if proto tcp from any port $mail_ports to $mrkt_nets  queue(mail_in_mrkt)
pass out on $int_if proto tcp from any port $mail_ports to $mngmt_nets queue(mail_in_mngmt)
pass out on $int_if proto tcp from any port $mail_ports to $logts_nets queue(mail_in_logts)
pass out on $int_if proto tcp from any port $mail_ports to $accnt_nets queue(mail_in_accnt)
pass out on $int_if proto tcp from any port $mail_ports to $iec_nets   queue(mail_in_iec)
pass out on $int_if proto tcp from any port $http_ports to $priv_nets  queue(http_in_nets)
pass out on $int_if proto tcp from any port $http_ports to $mngmt_nets queue(http_in_mngmt)
pass out on $int_if proto tcp from any port $http_ports to $iec_nets   queue(http_in_iec)
pass out on $int_if proto tcp from any port $ssh_ports to $priv_nets   queue(ssh_im_in, dns_in)
pass out on $int_if proto tcp from any port $im_vnc_ports to $priv_nets queue(ssh_im_in, dns_in)

# limit to highlander network
pass out on $int_if proto tcp from 10.0.0.1 port { 22 80 3000 1241 } to $highlander_nets
pass out on $int_if proto tcp from any port { 80 443 21 5901 5902 22 8022 110 } to $highlander_nets queue(highlander_in)

any comment and question? feel free to contact me at
ichtus81-linux at yahoo.com

No comment »