ANNOUNCE: vflow 0.1 beta

J

jm

Module: vflow
Version: 0.1b

Description
Vflow is a ruby module similar to perl's Cflow and python's pyflowtool.
It provides an interface to the flow-tools library to process flow
files captured by flow-tools flow-capture program.

For example, you can print the source and destination of each flow
thusly,

require 'Vflow'
vf = Vflow.new()
vf.open('aflowfile')
vf.each() { |r|
# print time srcaddr:dstport -> dstaddr:dstport
print "#{Time.at(r.unix_secs)} "
print "#{IPSocket.getaddress(r.srcaddr)}:#{r.srcport} -> "
puts "#{IPSocket.getaddress(r.dstaddr)}:#{r.dstport}"
}
vf.close()

It can be downloaded from http://ghostgun.com/software/vflow/

comments welcome.

Jeff.
 
J

James Britt

jm said:
Module: vflow
Version: 0.1b

Description
Vflow is a ruby module similar to perl's Cflow and python's pyflowtool.

What are Cflow, pyflowtool, and the flow-tools library?


Thanks,

James
 
J

jm

Flow-tools is a set of programs and a library used for processing
netflow packets from routers and switches. Netflow is a UDP based
protocol designed initially by cisco and adopted other network vendors
(after deciding it was not worth maintaining their own protocols) to
meter network traffic in a more flexible manner that is possible by
using SNMP.

see http://www.cisco.com/en/US/tech/tk812/tech_protocol_home.html
http://www.splintered.net/sw/flow-tools/

cflow and pyflowtool provide an interface to the flow tools library for
their respective language.

see http://net.doit.wisc.edu/~plonka/Cflow/
http://www.net.informatik.tu-muenchen.de/~robin/flowtools/

Hope this helps.

Jeff.
 
J

James Britt

jm said:
Flow-tools is a set of programs and a library used for processing
netflow packets from routers and switches.
...
Hope this helps.

Yes, thanks much!

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,813
Messages
2,569,696
Members
45,482
Latest member
AshleighMo

Latest Threads

Top