Cek HTB Tools + Squid 3

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Cek HTB Tools + Squid 3

Postby jv4me78 » 23 Feb 2010, 09:03

saya sudah berhasil konfigurasi HTB tools + squid 3 di ubuntu 9.10
mengikuti http://lutfi-blog.trunojoyo.ac.id/2009/ ... h-dan.html (thx buat lutfi)...

kemudian saya ubah salah satu di htb nya seperti ini
-$sudo gedit /etc/htb/eth0-qos.cfg

contoh
class class_1 {
bandwidth 384;
limit 384;
burst 2;
priority 1;


client client_1 {
bandwidth 64;
limit 128;
burst 2;
priority 1;
src {
222.222.1.4/24;
};
};

client client_2 {
bandwidth 64;
limit 128;
burst 2;
priority 1;
src {
222.222.1.6/24;
};
};

client client_3 {
bandwidth 64;
limit 128;
burst 2;
priority 1;
src {
222.222.1.7/24;
};
};

client client_4 {
bandwidth 20;
limit 20;
burst 2;
priority 1;
src {
222.222.1.9/24;
};
};

client client_5 {
bandwidth 64;
limit 128;
burst 2;
priority 1;
src {
222.222.1.224/24;
};
};
};


class default { bandwidth 8; };

untuk 222.222.1.9 saya beri 20 kbps bandwithnya...tapi setelah saya cek di http://www.sijiwae.net/speedtest/ kok masih tetep 100 an...gimana men-cek bahwa pengaturan konfigurasi htb sudah benar ? (htb punya saya sudah bisa dijalankan dengan baik)...thx buat jawabannya.....
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cek HTB Tools + Squid 3

Postby zitux » 24 Feb 2010, 19:31

ayo om2 dibantu.. saya juga butuh soal nya :grin:
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Cek HTB Tools + Squid 3

Postby MasDjo » 25 Feb 2010, 07:11

Kalo saya pake ubuntu 9.04 + squid 2.7 + webhtb, bisa mengamati trafik lewat browser.
Lihat di : SQUID ZPH + WEBHTB TUTORIAL
User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Re: Cek HTB Tools + Squid 3

Postby jv4me78 » 25 Feb 2010, 11:15

ok..thx...saya coba dulu...
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cek HTB Tools + Squid 3

Postby zitux » 25 Feb 2010, 15:34

mas djo atau om2 yang lain
kenapa ini :confused:
instal squid pake synatic

sudo gedit /etc/apt/sources.list
paste
deb http://kambing.ui.edu/ubuntu intrepid main
save
apt-get update

ozi@ozi-desktop:~$ sudo apt-get update
Get:1 http://ppa.launchpad.net karmic Release.gpg [307B]
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Get:2 http://security.ubuntu.com karmic-security Release.gpg [189B]
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Hit http://archive.canonical.com karmic Release.gpg
Ign http://archive.canonical.com karmic/partner Translation-en_US
Hit http://deb.opera.com stable Release.gpg
Ign http://deb.opera.com stable/non-free Translation-en_US
Hit http://id.archive.ubuntu.com karmic Release.gpg
Ign http://id.archive.ubuntu.com karmic/main Translation-en_US
Get:3 http://ppa.launchpad.net karmic Release.gpg [307B]
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://security.ubuntu.com karmic-security/universe Translation-en_US
Get:4 http://security.ubuntu.com karmic-security Release [44.1kB]
Hit http://archive.canonical.com karmic Release
Hit http://deb.opera.com stable Release
Get:5 http://ppa.launchpad.net karmic Release [66.0kB]
Ign http://id.archive.ubuntu.com karmic/restricted Translation-en_US
Ign http://id.archive.ubuntu.com karmic/universe Translation-en_US
Get:6 http://id.archive.ubuntu.com karmic-updates Release.gpg [189B]
Ign http://id.archive.ubuntu.com karmic-updates/main Translation-en_US
Ign http://id.archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://id.archive.ubuntu.com karmic-updates/universe Translation-en_US
Ign http://deb.opera.com stable/non-free Packages
Hit http://id.archive.ubuntu.com karmic Release
Get:7 http://id.archive.ubuntu.com karmic-updates Release [44.1kB]
Ign http://deb.opera.com stable/non-free Packages
Get:8 http://ppa.launchpad.net karmic Release [66.0kB]
Hit http://ppa.launchpad.net karmic Release
Hit http://ppa.launchpad.net karmic Release
Ign http://ppa.launchpad.net karmic Release
Hit http://deb.opera.com stable/non-free Packages
Hit http://archive.canonical.com karmic/partner Packages
Get:9 http://ppa.launchpad.net karmic/main Packages [3,436B]
Get:10 http://security.ubuntu.com karmic-security/main Packages [76.3kB]
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://id.archive.ubuntu.com karmic/main Packages
Hit http://id.archive.ubuntu.com karmic/restricted Packages
Hit http://id.archive.ubuntu.com karmic/main Sources
Hit http://id.archive.ubuntu.com karmic/restricted Sources
Hit http://id.archive.ubuntu.com karmic/universe Packages
Hit http://id.archive.ubuntu.com karmic/universe Sources
Get:11 http://id.archive.ubuntu.com karmic-updates/main Packages [184kB]
Get:12 http://security.ubuntu.com karmic-security/restricted Packages [14B]
Get:13 http://security.ubuntu.com karmic-security/main Sources [22.5kB]
Get:14 http://security.ubuntu.com karmic-security/restricted Sources [14B]
Get:15 http://security.ubuntu.com karmic-security/universe Packages [36.8kB]
Get:16 http://security.ubuntu.com karmic-security/universe Sources [6,767B]
Get:17 http://id.archive.ubuntu.com karmic-updates/restricted Packages [14B]
Get:18 http://id.archive.ubuntu.com karmic-updates/main Sources [54.2kB]
Get:19 http://id.archive.ubuntu.com karmic-updates/restricted Sources [14B]
Get:20 http://id.archive.ubuntu.com karmic-updates/universe Packages [108kB]
Get:21 http://id.archive.ubuntu.com karmic-updates/universe Sources [26.3kB]
Err http://kambing.ui.edu intrepid Release.gpg
Could not connect to kambing.ui.edu:80 (152.118.24.30), connection timed out
Err http://kambing.ui.edu intrepid/main Translation-en_US
Unable to connect to kambing.ui.edu http:
Fetched 673kB in 2min 0s (5,602B/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2E183FA1E260F5B0
W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/intrepid/Release.gpg Could not connect to kambing.ui.edu:80 (152.118.24.30), connection timed out

W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/intr ... -en_US.bz2 Unable to connect to kambing.ui.edu http:

W: Some index files failed to download, they have been ignored, or old ones used instead.
ozi@ozi-desktop:~$ apt-get install squid squid-client squid-cgi
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ozi@ozi-desktop:~$ sudo apt-get install squid squid-client squid-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package squid-client
ozi@ozi-desktop:~$

gak bisa lanjut kayake :(
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Cek HTB Tools + Squid 3

Postby MasDjo » 25 Feb 2010, 15:59

Itu server di Kambing sedang down, cobalah beberapa saat lagi (kayak telpon ya :grin: ) atau gunakan repositori lokal lain kan banyak pilihan
Tapi kok yg di kambing pake reponya intrepid bukan karmic ?
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cek HTB Tools + Squid 3

Postby zitux » 25 Feb 2010, 16:16

hayooo yang salah kambing nya atau saya ini :grin:
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cek HTB Tools + Squid 3

Postby zitux » 26 Feb 2010, 22:07

deb http://kambing.ui.edu/ubuntu intrepid main
kagak bisa diakses
down terus
ada repository lain nya yg bisa install squid squid-client squid-cgi ?? :confused:
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Cek HTB Tools + Squid 3

Postby lisnux » 27 Feb 2010, 17:56

Bro ozi ubuntu nya karmic kan, kok ambil repository yang interpid sih? :confused:
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cek HTB Tools + Squid 3

Postby zitux » 27 Feb 2010, 18:28

muhlis88 wrote:Bro ozi ubuntu nya karmic kan, kok ambil repository yang interpid sih? :confused:

lhaaaaaaa
namanya juga nubie om :grin: bener2 orang baru :grin:

harus nya dimana om ?
kasih contoh supaya bisa langsung dipaste :grin:

matur suwun sing katha
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Cek HTB Tools + Squid 3

Postby lisnux » 27 Feb 2010, 20:31

semoga benar
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cek HTB Tools + Squid 3

Postby zitux » 27 Feb 2010, 23:15

matur suwun om muhlis
tp yang terjadi :(

Get:8 http://dl2.foss-id.web.id hardy-security/universe Packages [109kB]
Get:9 http://dl2.foss-id.web.id hardy-security/multiverse Packages [12.3kB]
Get:10 http://dl2.foss-id.web.id hardy-security/main Sources [35.7kB]
Get:11 http://dl2.foss-id.web.id hardy-security/restricted Sources [943B]
Get:12 http://dl2.foss-id.web.id hardy-security/universe Sources [17.3kB]
Get:13 http://dl2.foss-id.web.id hardy-security/multiverse Sources [1,122B]
Err http://kambing.ui.edu karmic/main Translation-en_US
Could not connect to kambing.ui.edu:80 (152.118.24.30). - connect (113: No route to host)
Ign http://kambing.ui.edu karmic Release
Ign http://kambing.ui.edu karmic/main Packages
Ign http://kambing.ui.edu karmic/main Packages
Err http://kambing.ui.edu karmic/main Packages
Unable to connect to kambing.ui.edu http:
Fetched 523kB in 2min 39s (3,267B/s)
W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/karmic/Release.gpg Could not connect to kambing.ui.edu:80 (152.118.24.30). - connect (113: No route to host)

W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/karm ... -en_US.bz2 Could not connect to kambing.ui.edu:80 (152.118.24.30). - connect (113: No route to host)

W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/karm ... ackages.gz Unable to connect to kambing.ui.edu http:

E: Some index files failed to download, they have been ignored, or old ones used instead.
ozi@ozi-desktop:~$ sudo apt-get install squid squid-client squid-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package squid-client
ozi@ozi-desktop:~$

knp ya mosok server kambing down sampai beberapa hari :(
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Cek HTB Tools + Squid 3

Postby lisnux » 28 Feb 2010, 04:37

muhlis88 wrote:semoga benar

salah ternyata, semoga yang ini benar
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Cek HTB Tools + Squid 3

Postby lisnux » 28 Feb 2010, 04:39

wah sepertinya sources.list kacau tuh, masak masih ada hardy segala sih ....
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Cek HTB Tools + Squid 3

Postby lisnux » 28 Feb 2010, 04:57

coba copas disini isi dari sources.list nya
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cek HTB Tools + Squid 3

Postby zitux » 28 Feb 2010, 16:45

muhlis88 wrote:coba copas disini isi dari sources.list nya


ini om hardy nya udah saya remove :grin: kagak ngerti soalnya :blush:

# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://archive.ubuntu.com/ubuntu/ karmic universe
deb http://archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu karmic partner

deb http://archive.ubuntu.com/ubuntu/ karmic-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ karmic-security main restricted
deb http://archive.ubuntu.com/ubuntu/ karmic-security universe
deb-src http://archive.ubuntu.com/ubuntu/ karmic-security universe
# deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb http://ppa.launchpad.net/ubuntu-tweak-t ... ppa/ubuntu karmic main
deb http://ubuntusatanic.org/hell karmic main
deb http://kambing.ui.ac.id/ubuntu karmic main

ini hasil nya

ozi@ozi-desktop:~$ sudo apt-get update
Hit http://archive.canonical.com karmic Release.gpg
Ign http://archive.canonical.com karmic/partner Translation-en_US
Hit http://archive.ubuntu.com karmic Release.gpg
Ign http://archive.ubuntu.com karmic/main Translation-en_US
Ign http://archive.ubuntu.com karmic/restricted Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Hit http://ubuntusatanic.org karmic Release.gpg
Ign http://ubuntusatanic.org karmic/main Translation-en_US
Hit http://archive.canonical.com karmic Release
Ign http://archive.ubuntu.com karmic/universe Translation-en_US
Hit http://archive.ubuntu.com karmic-updates Release.gpg
Ign http://archive.ubuntu.com karmic-updates/main Translation-en_US
Hit http://deb.opera.com stable Release.gpg
Ign http://deb.opera.com stable/non-free Translation-en_US
Ign http://archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com karmic-updates/universe Translation-en_US
Hit http://archive.ubuntu.com karmic-security Release.gpg
Ign http://archive.ubuntu.com karmic-security/main Translation-en_US
Ign http://archive.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release
Hit http://ubuntusatanic.org karmic Release
Ign http://archive.ubuntu.com karmic-security/universe Translation-en_US
Hit http://archive.ubuntu.com karmic Release
Hit http://deb.opera.com stable Release
Hit http://archive.canonical.com karmic/partner Packages
Hit http://archive.ubuntu.com karmic-updates Release
Hit http://archive.ubuntu.com karmic-security Release
Hit http://ppa.launchpad.net karmic Release
Hit http://ppa.launchpad.net karmic Release
Hit http://ubuntusatanic.org karmic/main Packages
Ign http://deb.opera.com stable/non-free Packages
Hit http://archive.ubuntu.com karmic/main Packages
Hit http://archive.ubuntu.com karmic/restricted Packages
Hit http://archive.ubuntu.com karmic/main Sources
Hit http://archive.ubuntu.com karmic/restricted Sources
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://archive.ubuntu.com karmic/universe Packages
Ign http://deb.opera.com stable/non-free Packages
Hit http://archive.ubuntu.com karmic/universe Sources
Hit http://archive.ubuntu.com karmic-updates/main Packages
Hit http://archive.ubuntu.com karmic-updates/restricted Packages
Hit http://archive.ubuntu.com karmic-updates/main Sources
Hit http://archive.ubuntu.com karmic-updates/restricted Sources
Hit http://archive.ubuntu.com karmic-updates/universe Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://deb.opera.com stable/non-free Packages
Hit http://archive.ubuntu.com karmic-updates/universe Sources
Hit http://archive.ubuntu.com karmic-security/main Packages
Hit http://archive.ubuntu.com karmic-security/restricted Packages
Hit http://archive.ubuntu.com karmic-security/main Sources
Hit http://archive.ubuntu.com karmic-security/restricted Sources
Hit http://archive.ubuntu.com karmic-security/universe Packages
Hit http://archive.ubuntu.com karmic-security/universe Sources
Err http://kambing.ui.ac.id karmic Release.gpg
Could not connect to kambing.ui.ac.id:80 (152.118.24.30), connection timed out
Err http://kambing.ui.ac.id karmic/main Translation-en_US
Unable to connect to kambing.ui.ac.id http:
Reading package lists... Done
W: Failed to fetch http://kambing.ui.ac.id/ubuntu/dists/karmic/Release.gpg Could not connect to kambing.ui.ac.id:80 (152.118.24.30), connection timed out

W: Failed to fetch http://kambing.ui.ac.id/ubuntu/dists/ka ... -en_US.bz2 Unable to connect to kambing.ui.ac.id http:

W: Some index files failed to download, they have been ignored, or old ones used instead.
ozi@ozi-desktop:~$ sudo apt-get install squid squid-client squid-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package squid-client
ozi@ozi-desktop:~$
User avatar
M3L3R
Posts: 1335
Joined: 18 Jan 2010, 22:40
Location: Jogja
Contact:

Re: Cek HTB Tools + Squid 3

Postby M3L3R » 28 Feb 2010, 16:50

coba, lebih mudahnya pake software source

system > administration > software source ...
User avatar
M3L3R
Posts: 1335
Joined: 18 Jan 2010, 22:40
Location: Jogja
Contact:

Re: Cek HTB Tools + Squid 3

Postby M3L3R » 28 Feb 2010, 16:51

untuk install squid bisa lewat ubuntu software center ...
User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Re: Cek HTB Tools + Squid 3

Postby zitux » 28 Feb 2010, 17:28

M3L3R wrote:untuk install squid bisa lewat ubuntu software center ...

sudah om sudah berhasil di instal lewat sypnatic cuma gw remove lagi coz squid.conf nya kosong gak sama dgn contoh yg ada di http://opensource.telkomspeedy.com/foru ... hp?id=5530
:confused:
ngerepotin terus ini nubie
User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Re: Cek HTB Tools + Squid 3

Postby lisnux » 28 Feb 2010, 19:04

sip dah kalo begitu :grin:

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 5 guests