{"id":1026,"date":"2013-09-09T22:52:20","date_gmt":"2013-09-09T12:52:20","guid":{"rendered":"https:\/\/thedragon.kicks-ass.org\/?p=1026"},"modified":"2018-04-26T11:06:58","modified_gmt":"2018-04-26T01:06:58","slug":"iptraf-for-monitoring-bandwidth","status":"publish","type":"post","link":"https:\/\/thedragon.kicks-ass.org\/?p=1026","title":{"rendered":"iptraf for Monitoring Bandwidth"},"content":{"rendered":"<p>I&#8217;ve used iptraf for years, but never been able to get the filter to work properly to exclude the ssh sessions. I found a <a title=\"iptraf filtering\" href=\"http:\/\/nativnux.com\/?p=93\" target=\"_blank\" rel=\"noopener\">good post about filtering ssh<\/a> on iptraf, and when used with ip traffic on all interfaces it shows traffic through the Linux box.<\/p>\n<ul>\n<li>Create a new filter, add a new entry and set the dest port to &#8220;22 to 0 &#8221; and Y for TCP, E for Exclude and Y to match opposite, Enter to save<\/li>\n<li>Add a second entry with ALL IP protocols set to Y and I for Include, Enter to save<\/li>\n<li>Press X to save the filter (CTRL+X Cancels!)<\/li>\n<li>Apply the Filter.<\/li>\n<\/ul>\n<p>Also a <a title=\"bandwith Monitoring Tools for Linux\" href=\"http:\/\/www.dynacont.net\/documentation\/linux\/network_monitoring\/\" target=\"_blank\" rel=\"noopener\">few other tools<\/a> for checking interfaces <a href=\"https:\/\/itsolutiondesign.wordpress.com\/2014\/12\/05\/18-commands-to-monitor-network-bandwidth-on-linux-server\/\">and Bandwidth<\/a><\/p>\n<ul>\n<li>bmon<\/li>\n<li>slurm<\/li>\n<li>iftop -nNbP -i ppp0<\/li>\n<li>tcptrack -i ppp0<\/li>\n<li>pktstat -n -i ppp0<\/li>\n<li>vnstat<\/li>\n<li>bwm-ng<\/li>\n<li>cbm<\/li>\n<li>speedometer<\/li>\n<li>sktstat<\/li>\n<li>netwatch<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve used iptraf for years, but never been able to get the filter to work properly to exclude the ssh sessions. I found a good post about filtering ssh on iptraf, and when used with ip traffic on all interfaces &hellip; <a href=\"https:\/\/thedragon.kicks-ass.org\/?p=1026\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[9,4],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p20dKL-gy","_links":{"self":[{"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=\/wp\/v2\/posts\/1026"}],"collection":[{"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1026"}],"version-history":[{"count":6,"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=\/wp\/v2\/posts\/1026\/revisions"}],"predecessor-version":[{"id":1134,"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=\/wp\/v2\/posts\/1026\/revisions\/1134"}],"wp:attachment":[{"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thedragon.kicks-ass.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}