Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

ip point blank
203.89.146.155
203.89.146.167
203.89.146.162
203.89.146.157
203.89.146.99
203.89.146.97

berhubung ip server poinblank yang banyak, maka lebih efektif menggunakan alamat berikut
203.89.146.0/24

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

si_faisal wrote:

ip point blank
203.89.146.155
203.89.146.167
203.89.146.162
203.89.146.157
203.89.146.99
203.89.146.97

berhubung ip server poinblank yang banyak, maka lebih efektif menggunakan alamat berikut
203.89.146.0/24

ok.... ditambahkan...

perlu dibeitahukan...
untuk mengedit file /var/webhtb/games/nice.rsc jangan menggunakan notepad...

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

Mo nanya ...
Dng file nice.rsc kok bikin lambat system ? Apakah file tsb tidak bisa diubah menjadi file db yg lebih cepat aksesnya. Bisa dibandingkan dng squidguard ...

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

anto_DIGIT wrote:

Mo nanya ...
Dng file nice.rsc kok bikin lambat system ? Apakah file tsb tidak bisa diubah menjadi file db yg lebih cepat aksesnya. Bisa dibandingkan dng squidguard ...

tidak pengaruh mas... hanya nama aja... squidguard juga berbasis teks...
memperlambat system itu dah pasti karena lebih banyak resource RAM yg dipakai untuk menyimpan rule2 dari tc/qdisc-nya htb...

tambahkan RAM aja...

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

30 (edited by anto_DIGIT 10-09-2009 11:24:13)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

Hardwarenya udah pakai core2duo 2.4 2GB RAM 320GB HDD ..  Apa masih kurang ?

Kemarin dicoba utk membuat 50 client utk IIX, start-stop lemot sekali ...Akhirnya utk class IIX hanya bikin 1 client saja diiisi 192.168.45.0/24
Masalahnya di jaringanku pemakai IIX hanya 20% saja ...


maksudku seperti ini lo ..
Initializing the blacklists

Before you start up your squidGuard you should initialize the blacklists i.e. convert them from the textfiles to db files. Using the db format will speed up the checking and blocking.
The initialization is performed by the following command:

Initializing the b lacklists

squidGuard -C all
chown -R <squiduser> /usr/local/squidGuard/db/*



The second command ensures that your squid is able to access the blacklists. Please for <squiduser> the uid of your squid.
Depending on the size of your blacklists and the power of your computer this may take a while. If anything is running fine you should see something like the following output in your logfile:

31 (edited by opikdesign 10-09-2009 15:14:48)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

memang lemot start-nya... bayangkan, karena ada 700-800 ip/subnet IIX kemudian dirubah menjadi file xml oleh php webhtb baru dijalankan dalam bentuk tc/qdisc oleh php....

server sy P3 800 RAM 512mb, warnet 25 client (10 game online+15browsing) ditambah 24 client rt-rw net.... membutuhkan hampir 1menit untuk start-nya....

ini basisnya php, yg membuat lama yaitu si xml-parser membuat file xml dan kemudian qos-parser menjalan tc menurut file xml tadi....

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

I just wanna going here to make some report about WebHTB
It's really working well , running smoothly to divide within Indonesian and International Traffic..

here's the screen shot :
http://img42.imageshack.us/img42/5492/iixintlwebhtb.jpg
for larger image, please Right click, and show images separately on the other browser tab

The picture above show us different site that i've accessed for Video Stream (Indowebster, IIX  and Youtube, Intenational)
in the WebHTB configuration, i've set the IIX limiter class to 160kbps and INTL class to 128kbps

as shown in the picture,
when the client open the indonesian site, it runs with 154kbps of speed
while accessed the local site, i've also open Youtube, that runs with 93kbps of speed

i thought, this is the coolest opensource bandnwidth manager software for now..

big_smile

note : (indonesian only)
mohon maaf, saya posting dengan menggunakan bahasa inggris, hal ini ditujukan untuk memberikan kemudahan sharing informasi kepada Developer utama WebHTB, di luar negeri.

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

wao.... keren abis.... WebHTB yg dirubah source code-nya sudah dilaporkan keberhasilannya ke developer utama (Daniel)...

terima kasih atas perhatian mas si_faisal,
semoga sy ada waktu lagi untuk merapikan tampilan yang menjadi kacau karena nama client menjadi panjang...

semoga sangat berguna bagi seluruh member KIOS dan pemakai OpenSource se-Indonesia...

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

salut tuturor, cu riscul de a nu fi bine inteles si cu speranta ca google translate isi face treaba mai bine smile va scriu in limba mea, imi este imposibil sa inteleg mai mult de 1% din ce este scris de voi mai sus dar ma bucur ca am putut face zile mai bune unor administratori smile
ceea ce am vrut sa fac a fost ceva simplu, frumos si eficient, fara a compila ceva si fara a avea foarte multe dependente, orice modificare in bine care nu costa pe nimeni bani la WebHTB este bine venita, orice redistribuire cu modificarile de rigoare trebuie sa ramana gratuita, sa ramana autorul si sursa.
In rest toata lumea poate sa faca ce vrea smile

am o rugaminte, daca este ceva important cu adevarat as vrea si eu sa inteleg cat mai repede de la voi pentru a putea eventual implementa in pachetul de pe http://webhtb.sourceforge.net , daca doriti acest lucru si voi, sunt singurul developer, mi-a venit ideia si intr-o zi m-am hotarat, de atunci o data cu aceasta asa zisa "criza mondiala" in care parca numai unii au loc pe pamant, ma chinui din greu sa am grija de mine si de cei dragi, din aceasta cauza nu mai am timpul necesar sa lucrez la un proiect din care nu castig, dar nu e uitat si-l am in minte mereu, oricum sper ca cineva sa traduca, daca poate si vrea sa mi se alature la proiect, daca nu se poate nu e nici o problema, webhtb nu ramane aici oricum.
va mai scriu si ce mai am nou si ce o sa mai adaug in proiect daca totusi cineva reuseste sa traduca.
o zi buna tuturor

Daniel Delicostea

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

hik... bahasa mana nih?!

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

@webhtb
Welcome to Indonesia Opensource forum, Mr. Daniel.
we really appreciate that you've give some comments and suggestion

perhaps you could understand our conversation about the concept above

greetings from Indonesia.

@opikdesign

bahasa Romania bang,

when i tried to translate with google help, the result :

hello all, the risk of not being well understood and hope that Google Translate is their job better to write in my language, I could not understand more than 1% of what is written above you but I am glad that I could do better days of manager
what I wanted to do was something simple, beautiful and efficient, without compile something without having many dependents, any change for the better not cost anyone money WebHTB is welcome, any redistribution with the necessary modifications to be remain free to remain the author and source.
The rest can do what everybody wants

I have a favor, if I want something really important and I understand from you as soon as possible in order to implement the package on http://webhtb.sourceforge.net, if you wish and you are only developer, and the idea came to me one day I decided, then a date with this so called "world crisis" in the park but some place on earth, I bother hard to take care of me and loved ones, because of that I do not have time to work on a project that does not win, but it is not forgotten and always have in mind, however I hope that someone will translate if you can and want to join me in the project if not can not no problem, webhtb not stay here anyway.
will write and what I have new and what to add to a project if someone still manages to translate.
a good day all

Daniel Delicostea

intinya, beliau senang sekali ada yang mengembangkan projectnya, dan beliau juga sangat welcome, jika ada rekan2 yang tertarik untuk menjadi developer, dan mengembangkan webhtb, sesuai dengan To Do list yang direncanakan Daniel, karena waktu beliau untuk mengembangkan software ini sangat terbatas, dan sepertinya dia akan menyerahkan development sepenuhnya kepada komunitas (jika ada yang berminat)

37 (edited by webhtb 13-09-2009 14:19:22)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

English is good, thanks

   
I tried to see how large are the changes I have seen what an external file with local IPs and some changes in parser, right?

I just use fedora, fedora appreciate the ease of installation by doing a server or desktop or both, few, put in /etc/ init.d webhtb file folder "docs" and then: chkconfig webhtb on
Besides this ease with which you compile your own kernel http://kernel.org appreciate the fact that map the raid because "dmraid or mdraid, Fedora 11 is loading in about 15 seconds, what I want is each a start-up scripts for various distributions such as Debian like, I install layer7 and help me with iptables to mark packets by protocol, not staying with ports or more.

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

webhtb wrote:

I tried to see how large are the changes I have seen what an external file with local IPs and some changes in parser, right?

yup, I changed most of the file xml-parser, besides some on addIface, delIface, add_classes, anc, and others.

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

39 (edited by webhtb 13-09-2009 14:52:15)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

can you show me? give me an link where i can download your version, if is somethin interesting, and better for all people in the world i will implement in original sourceforge release, anyway my version 3.0 are on the way with:
1. back-up and restore
2. more security
3. remember me when login
4. clients with import from dhcp (if any)

but not yet, i want to see your changes and working with bgp, zero penality squid, etc..

http://webhtb.sourceforge.net/analitycs.png


see traffic smile

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

for now, i've tried to compile custom kernel for ubuntu jaunty (9.04) that support layer7 protocol filtering,

big_smile wish me luck..

just for information,
Zero Penalty squid was addedd manually with packet mark, we use mark 4 value

we have to add the TOS in squid.conf
(available and tested in Squid version 2.7 Stable version, untested with Squid 3.x)

### Marking Zero Penalty Hit
zph_mode tos
zph_local 0x04

and do some mangle in iptables

iptables -A OUTPUT -t nat -m tos --tos 0x04 -j MARK --set-xmark 0x4
iptables -A FORWARD -t nat -m tos --tos 0x04 -j MARK --set-xmark 0x4
iptables -A POSTROUTING -t nat -m tos --tos 0x04 -j MARK --set-xmark 0x4

here's also modification startup script for ubuntu /debian.

#!/bin/sh
# 
# Place this script to /etc/init.d/webhtb
# install with this command #update-rc.d webhtb defaults 
#
### BEGIN INIT INFO
# Provides:          webhtb
# Required-Start:    $remote_fs $network
# Required-Stop:     $remote_fs $newtork
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Start daemon at boot time for all interface
# Description:       WebHTB startup daemon
### END INIT INFO


php=`which php`
dir="/var/webhtb"
startup="startup.php"
shutdown="shutdown.php"

cd ${dir}

case "$1" in
'start')
        ${php} ${startup}
        mkdir -p /var/lock/subsys
        chown -R www-data.www-data /var/lock/subsys
        touch /var/lock/subsys/webhtb
        ;;
'stop')
        ${php} ${shutdown}
        rm -f /var/lock/subsys/webhtb
        rm -R /var/lock/subsys
        ;;
'restart')
        ${php} ${shutdown}
        rm -f /var/lock/subsys/webhtb
        ${php} ${startup}
        touch /var/lock/subsys/webhtb
        ;;
*)
        echo "Usage: $0 { start | stop | restart }"
        ;;
esac

place the file to /etc/init.d/webhtb
and run
#update-rc.d webhtb defaults

for automatic running on startup

41 (edited by opikdesign 13-09-2009 16:46:37)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

webhtb wrote:

can you show me? give me an link where i can download your version...

source: http://opikdesign.com/kios/webhtb/webht … 25.tar.bz2
tutorial in indonesian: http://opikdesign.com/kios/webhtb/WebHTB_V2.9.25.pdf

and another version in development >>> http://opikdesign.com/kios/webhtb/

the link you can see many changes in your php.... good luck.

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

thanks
i will study and come back

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

we wait for comments and report on the results of our hard work, to further what we can do?!

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

44 (edited by webhtb 14-09-2009 01:09:05)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

Cinta istri Anda smile joke

Sebagai permulaan harus menginstal versi uji dan vostra tetapi tidak benar-benar sekarang intemana jaringan harus intel akan melakukan segala sesuatu yang saya bisa

dapat versi 3.0 akan didasarkan pada Anda, baik siang atau malam yang baik

   
Idenya adalah bahwa banyak manajer akan berguna di banyak bagian dunia dapat yang sederhana dan efektif

45 (edited by opikdesign 14-09-2009 01:27:54)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

@webhtb

loh... berbahasa indonesia?!

sorry, still confused what you mean.
there are new versions later?! more detail about version 3.0 ?!
we are waiting ...

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

46 (edited by webhtb 14-09-2009 01:52:09)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

i want to understand 100% your changes, so maibe version 3.0 will contain your addons, if are good implemented and have something new, and usefull

Faisal see your mail

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

i cannot introduce in next version that default classes, users must make that manualy, users are many, so networks are many, and i use webhtb to work with wan, no problem to add the interface and make the classes, users and rules, but your idea is good in some way, work with profiles in webhtb tongue good idea

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

webhtb wrote:

i want to understand 100% your changes, so maibe version 3.0 will contain your addons, if are good implemented and have something new, and usefull

wow... good news, I wait for new version...

webhtb wrote:

Faisal see your mail

must know the contents of the email?!   
can be in forward or cc to me?!
my email: th@opikdesign.com


thanks and best regard...

Facebook OPiKdesign
http://badge.facebook.com/badge/100000147194199.279.411965916.png
* IT Consultant * Networking Specialist for Internet Cafe/HotSpot/SOHO * Maintenance * Graphic & Web Design, 3D Modeling & 2D/3D Animation * Hosting & Domain * email to: th@opikdesign.com

49 (edited by webhtb 14-09-2009 02:33:28)

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

check your mail, gmail (faisareza@gmail.com), you have 3 screenshots from me
you obmit some values of your classes in setup, bandwidth, example to system_wan big_smile
for begining the pachet must contain only root and default classes,
By the way, not many people know what to do, so if you mention them available to those classes, everything is cabbage, need to know to make a mark in iptables and more

Re: Tutorial: Memisahkan Bandwidth Local (IIX) dan International (INTL)...

i've checked your email..
there is many improvement and new features you show me, perhaps they will available in the next 3.0 version

Thats Really good, salute for your work, Daniel big_smile

according to the email, here's the snapshot of the prereleased new version ;
http://img98.imageshack.us/img98/6112/34835009.th.png

http://img156.imageshack.us/img156/4871/30373641.th.png

http://img177.imageshack.us/img177/8484/12073823.th.png

By the way, not many people know what to do, so if you mention them available to those classes, everything is cabbage, need to know to make a mark in iptables and more

thats why we made some tutorial in detail (thanks to opikdesign), so people can learn and educated, in the opensource way big_smile