From: Andrzej O. <an...@ma...> - 2012-03-06 19:14:46
|
Heiko, I wrote: > For this I need some days, because many interfaces I have only on one, > central router. To test, I need free night. So be patient. Fortunately, today I has possibility to change software on a newly compiled. And as I can see, all the processes go correctly, routing and BGP also, but the mess in the interface has not changed and probably will not change. Look yourself: > root@Gibraltar:~ # uname -a > Linux Gibraltar 3.2.9-grsec #1 SMP Tue Mar 6 05:32:21 CET 2012 i686 GNU/Linux > root@Gibraltar:~ # cat /proc/net/dev > Inter-| Receive | Transmit > face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed > eth3: 10701200 13641 0 0 0 0 0 0 5722494 18283 0 0 0 0 0 0 > tap0: 73358 590 0 0 0 0 0 0 960615 804 0 0 0 0 0 0 > ifb0: 15583424 29796 0 1 0 0 0 0 15583354 29795 0 0 0 0 0 0 > tun12: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > tun3: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > tun7: 1404 14 0 0 0 0 0 0 1407 12 0 0 0 0 0 0 > lo: 57903 683 0 0 0 0 0 0 57903 683 0 0 0 0 0 0 > eth2: 15777556 30017 0 0 0 0 0 0 4850630 22943 71 0 0 229 71 0 > tun11: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > tun2: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > tun15: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > tun6: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > eth1: 9430144 26153 0 0 0 0 0 0 4481901 23709 0 0 0 0 0 0 > tun10: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > tun1: 39392 368 0 0 0 0 0 0 396915 465 0 0 0 0 0 0 > tun5: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > eth0: 3507489 11278 0 2 0 0 0 71 8123938 11235 0 0 0 0 0 0 > tun9: 203 3 0 0 0 0 0 0 219 3 0 0 0 0 0 0 > eth4: 69124 169 0 0 0 0 0 168 250 3 0 0 0 0 0 0 > tap1: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 > ifb1: 10495061 12867 0 1 0 0 0 0 10494991 12866 0 0 0 0 0 0 > tun13: 4362 26 0 0 0 0 0 0 2902 21 0 0 0 0 0 0 > tun4: 2808 35 0 0 0 0 0 0 3138 28 0 0 0 0 0 0 > tun8: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 So my patch, sorting this list is very useful to me, look: > root@Gibraltar:~ # iptraf -g > IPTraf > ┌ Iface ───────────────── Total ──────── IP ────── NonIP ────── BadIP ───── Activity ─────────────┐ > │ eth0 (LAN) 7546 7369 177 0 856.40 kbits/sec │ > │ eth1 (DMZ) 16240 16224 16 0 450.80 kbits/sec │ > │ eth2 (CDP) 19799 19787 12 0 1100.00 kbits/sec │ > │ eth3 (NASK) 7485 7484 1 0 162.20 kbits/sec │ > │ eth4 (WiFi) 120 120 0 0 6.60 kbits/sec │ > │ tap0 (OVPNudp) 158 124 34 0 3.60 kbits/sec │ > │ tap1 (OVPNtcp) 0 0 0 0 0.00 kbits/sec │ > │ tun1 (Chroscickiego) 219 219 0 0 2.00 kbits/sec │ > │ tun2 (Bialystok) 0 0 0 0 0.00 kbits/sec │ > │ tun3 (Bydgoszcz) 0 0 0 0 0.00 kbits/sec │ > │ tun4 (Czestochowa) 69 69 0 0 0.00 kbits/sec │ > │ tun5 (Gdansk) 0 0 0 0 0.00 kbits/sec │ > │ tun6 (Kalisz) 0 0 0 0 0.00 kbits/sec │ > │ tun7 (Katowice) 4 4 0 0 0.00 kbits/sec │ > │ tun8 (Krakow) 0 0 0 0 0.00 kbits/sec │ > │ tun9 (Lodz) 0 0 0 0 0.00 kbits/sec │ > │ tun10 (Poznan) 0 0 0 0 0.00 kbits/sec │ > │ tun11 (Szczecin) 0 0 0 0 0.00 kbits/sec │ > │ tun12 (Wroclaw) 0 0 0 0 0.00 kbits/sec │ > │ tun13 (Zamosc) 31 31 0 0 0.00 kbits/sec │ > │ tun15 (Slupsk) 0 0 0 0 0.00 kbits/sec │ > │ lo 258 258 0 0 2.00 kbits/sec │ > │ │ > │ │ > └ Elapsed time: 0:01 ──────────────── Total, IP, NonIP, and BadIP are packet counts ────────────┘ > Up/Down/PgUp/PgDn-scroll window X-exit > ┌ Select Interface ────┐──────────────┐ > │ All interfaces │ │ > │ eth0 │statistics │ > │ eth1 │ statistics │ > │ eth2 │owns... │ > │ eth3 │r │ > │ eth4 │──────────────│ > │ tap0 │ │ > │ tap1 │──────────────│ > │ tun1 │ │ > │ tun2 │──────────────│ > │ tun3 │ │ > │ tun4 │──────────────┘ > └──────────────────────┘ Best regards -- Andrzej Odyniec |