linux:command-monitor-traffic-network
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:command-monitor-traffic-network [2017/12/13 04:05] – [IFTOP] kbadmin | linux:command-monitor-traffic-network [2020/09/26 04:58] (current) – [HTTPRY] kbadmin | ||
---|---|---|---|
Line 7: | Line 7: | ||
nload | nload | ||
</ | </ | ||
- | tampilan {{: | + | tampilan |
- | cara install | + | cara install\\ |
< | < | ||
# fedora or centos | # fedora or centos | ||
Line 17: | Line 17: | ||
</ | </ | ||
+ | ====== - HTTPRY ====== | ||
+ | Httpry adalah tools monitoring traffic port 80 untuk linux dan Untuk dapat menggunakan httpry anda harus menginstall paket epel | ||
+ | < | ||
+ | yum install epel-release -y | ||
+ | yum install httpry -y | ||
+ | </ | ||
+ | |||
+ | Berikut ini adalah cara penggunaan httpry | ||
+ | < | ||
+ | httpry -i eth0 | ||
+ | </ | ||
+ | dan outputnya kurang lebih seperti ini | ||
+ | < | ||
+ | [root@uvcms1 abuse]# httpry -i eth0 | ||
+ | httpry version 0.1.8 -- HTTP logging and information retrieval tool | ||
+ | Copyright (c) 2005-2014 Jason Bittel < | ||
+ | Starting capture on eth0 interface | ||
+ | 2020-09-26 15: | ||
+ | 2020-09-26 15: | ||
+ | 2020-09-26 15: | ||
+ | 2020-09-26 15: | ||
+ | </ | ||
+ | |||
+ | Anda bisa menghilangkan keterangan header httpry version degan cara menambahkan **-q** | ||
+ | < | ||
+ | httpry -q -i eth0 | ||
+ | </ | ||
+ | Apabila anda hanya ingin mengambil traffic 50 baris anda bisa menggunakan | ||
+ | < | ||
+ | httpry -q -i eth0 -n 30 | ||
+ | </ | ||
+ | Anda juga dapat menyimpan output pada file dengan cara | ||
+ | < | ||
+ | httpry -q -i eth0 -n 30 -o / | ||
+ | </ | ||
+ | atau bisa juga | ||
+ | < | ||
+ | httpry -q -i eth0 -n 30 >> / | ||
+ | </ | ||
+ | Apabila anda ingin memfilter post, | ||
+ | < | ||
+ | httpry -q -i eth0 -n 30 -m post,head | ||
+ | </ | ||
+ | Apabila anda ingin memfilter source traffic dari ip tertentu berikut ini perintahnya | ||
+ | < | ||
+ | httpry -q -i eth0 -n 30 'src host 139.99.53.101' | ||
+ | </ | ||
+ | dan untuk filter traffic berdasarkan destinasi ip address, anda bisa menggunakan perintah | ||
+ | < | ||
+ | httpry -q -i eth0 -n 30 'dst host 139.99.53.101' | ||
+ | </ | ||
+ | |||
+ | apakah httpry dapat memonitor traffic https atau port 443? Sejauh ini belum bisa. | ||
+ | Itulah tadi salah satu command linux yaitu httpry yang mungkin sangat bermanfaat untuk anda. | ||
====== - IFTOP ====== | ====== - IFTOP ====== | ||
Line 23: | Line 77: | ||
$ sudo iftop -n | $ sudo iftop -n | ||
</ | </ | ||
- | Tampilan | + | Tampilan\\ |
{{: | {{: | ||
- | Installasi | + | Installasi\\ |
< | < | ||
# fedora or centos | # fedora or centos | ||
Line 38: | Line 92: | ||
$ sudo iptraf | $ sudo iptraf | ||
</ | </ | ||
- | Tampilan | + | Tampilan\\ |
{{: | {{: | ||
Install | Install |
Layanan
Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |linux/command-monitor-traffic-network.1513155936.txt.gz · Last modified: 2017/12/13 04:05 by kbadmin