[ LUGOS ] analiza LAN prometa

Dori Seliskar dori.seliskar na aster.si
Sre Maj 28 14:21:24 CEST 1997


Damjan Lampret wrote:
> 
> Ahoj !
> 
> Hvala vsem za predloge programov, ki se ukvarjajo s to tematiko. Vendar nisem
> nasel tocno tega kar rabim (kar je fino, zato da lahko napisem svojega ;).
> 
> Se najbolj bil bil uporaben net-acct, vendar nima nobenega utila zraven za
> procesiranje log filov (??!!??). Namrec brez tega je stvar precej neuporabna
> (razen, ce sem, nasel kaksno staro verzijo, vendar dvomim ...). Programi za
> dump paketov pa niso, kar potrebujem.
> 
> lp
> 
> p.s. Cez kaksen mesec si boste zainteresirani lahko ogledali, kaj sem
> potreboval ;).
> 
> --
> Greetings,
> 
>  Damjan Lampret,                   \\\\|////
>  SSER Network Admin                / ^   ^ \
>                                   {-(O)^(O)-}
>  -------------------------oOOOo--------U-------oOOOo---------------------
> |             My URL                   | Address:         Home Address:  |
> | http://www.s-sser.lj.edus.si/gizmox/ |                                 |
> |       (under construction)           | SSER             Damjan Lampret |
> |--------------------------------------| Vegova 4         Drazevnik 8    |
> |            My E-Mail                 | 1000 Ljubljana   1356 Dobrova   |
> |  damjan.lampret na s-sser.lj.edus.si    | Slovenia  Oooo.  Slovenia       |
>  --------------------------------.oooO-------------(   )-----------------
>                                  (   )              ) /
>                                   \ (              (_/
>                                    \_)


Pred casom sem imel tudi sam podoben problem in sem si napisal majhen
programcek , ki 
sumira promet po IP - jih in se nekaj podobnih stvari , seveda vse za
net-acct.

Tule so opcije k programu:

Usage: nr [options]

   Options:
     [-r report_type]          report type, one of bytes|reqs
     [-f file]                 log file
     [-a dd.mm.yyyy.hh.mm.ss]  start time for stat
     [-b dd.mm.yyyy.hh.mm.ss]  end time for stat
     [-n net]                  network
     [-m mask]                 mask
     [-i interface]            interface
     [-p port]                 highest port
     [-t interval]             interval for time estimation
     [-h]                      this text



in tule je eno porocilo narejeno z  tem.


Report type     : IP traffic (bytes)
File            : /var/adm/net-acct
Network         : 192.168.100.0
Mask            : 255.255.255.0
Interface       : eth1
Interval (start): since ever
Interval (end)  : no end
First entry at  : Wed May 28 00:01:51 1997
Last entry at   : Wed May 28 13:36:51 1997


User                |      IP Address |    Time |    
Total|                 ftp    telnet      smtp    domain    gopher      
www      pop3      nntp 
                    |                 |         |          |        
0        21        23        25        53        70        80      
110       119 
-------------------------------------------------------------------------------------------------------------------------------------------------------
Neron2              |   192.168.100.1 |     900 |      9707|        
0         0         0         0         0         0         0     
9707         0 
Metod               |   192.168.100.2 |    1799 |  11890736|  
1139488      2119         0         0         0         0        
0         0  10749129 
Nenad               |   192.168.100.6 |       0 |       112|      
112         0         0         0         0         0         0        
0         0 
Ziga                |   192.168.100.7 |       0 |     20686|        
0         0         0         0         0         0     20686        
0         0 
Tamara              |  192.168.100.10 |     600 |    273572|     
1344         0         0         0         0         0    272228        
0         0 
Marko K.            |  192.168.100.12 |       0 |       112|      
112         0         0         0         0         0         0        
0         0 
PPP3                |  192.168.100.53 |     899 |    520992|        
0         0         0         0      1644        80    519268        
0         0 
UNKNOWN             |  192.168.100.93 |       0 |     34096|        
0         0         0         0         0         0     34096        
0         0 
UNKNOWN             |  192.168.100.94 |     300 |     42228|        
0         0         0         0         0         0     42228        
0         0 
XXXXXXXX            | 192.168.100.101 |    8698 |   3981900|     
1848         0     63616      7569     18220         0   3890647        
0         0 
UNKNOWN             | 192.168.100.173 |    6599 |     26096|    
26096         0         0         0         0         0        
0         0         0 
-------------------------------------------------------------------------------------------------------------------------------------------------------
                    |           Total |   19795 |  16800237|  
1169000      2119     63616      7569     19864        80   4779153     
9707  10749129 




Lp,


ds




Dodatne informacije o seznamu Starilist