ipfm no out bytes

Support section for FREESCO v0.4.x 3rd Party Packages

ipfm no out bytes

Postby caveman » Wed Dec 02, 2009 9:55 am

HI, i have installed IPFMv0.11.5 on Freesco 0.4.2
It looks that it works fine, but on the local clients 192.168.2.0/255.255.255.0 i get no OUT bytes on the files generated.
I do get out bytes though in the internet interface 192.168.1.0/255.255.255.0.

aDSL Modem Router (192.168.1.1 eth0) <-> Freesco <-> LAN (192.168.2.x eth1)
I need to monitor the internet usage of the LAN clients.

Any suggestions?
Code: Select all
# This is the main ipfm (IP Flow Meter) configuration
#>> = FREESCO specific notes by dingetje

DEVICE eth0

NEWLOG
LOG 192.168.2.0/255.255.255.0
FILENAME "/usr/local/ipfm/var/log/%Y_%d_%m"   
DUMP EVERY 15 second
CLEAR ALWAYS
SORT TOTAL
RESOLVE


##### SECOND LOGGING CONFIGURATION #####
NEWLOG
LOG 192.168.1.0/255.255.255.0
FILENAME "usr/local/ipfm/var/log/subnet_%Y_%d_%m"
DUMP EVERY 15 second
CLEAR ALWAYS


UPDATE: I found this: viewtopic.php?f=41&t=17051 but the link dingetje suggest does not work!!
### there are darker places than your basement ###
User avatar
caveman
Newbie
 
Posts: 16
Joined: Thu Dec 11, 2003 11:12 am

Re: ipfm no out bytes

Postby dingetje » Wed Dec 02, 2009 5:09 pm

Because of NAT all outgoing traffic is only measurable when you enable monitoring of your FREESCO's external IP address.

Here's my config:
Code: Select all
# for scr_ipfm
# everyday
NEWLOG
LOG 192.168.0.0/255.255.255.0
LOG 94.215.16.200
LOG NONE 192.168.0.0/255.255.255.0 WITH 192.168.0.0/255.255.255.0
FILENAME "/usr/local/ipfm/var/log/ipfm-global-%Y-%m-%d.log"
DUMP EVERY 30 minutes
CLEAR EVERY 1 day
SORT TOTAL
RESOLVE


This means you do get to measure all station downloads on a per station basis, but not their uploads. These are all summed up and collected in the FREESCO IP address (94.215.16.200 in my case)
GreetZ
http://dingetje.hopto.org

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
dingetje
FREESCO GURU !!
 
Posts: 1010
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands

Re: ipfm no out bytes

Postby dingetje » Wed Dec 02, 2009 5:10 pm

The link doesn't work anymore because the archived forum has been taken off line.
GreetZ
http://dingetje.hopto.org

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
dingetje
FREESCO GURU !!
 
Posts: 1010
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands

Re: ipfm no out bytes

Postby caveman » Fri Dec 04, 2009 9:26 am

Thanks dingetje for the reply. It's clear now how it works.
I wish though that iptraf and iptotal are made for v.4.x soon. That way on 3.x versions i had a more detailed info of my network.

Anyway, thanks again.
### there are darker places than your basement ###
User avatar
caveman
Newbie
 
Posts: 16
Joined: Thu Dec 11, 2003 11:12 am


Return to 3rd Party Package Support for FREESCO v0.4.x

Who is online

Users browsing this forum: No registered users and 2 guests

cron