www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Bandwidth monitoring for each IP Connect to internet

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Request a new feature
View previous topic :: View next topic  
Author Message
yce_kelvin



Joined: 14 Jul 2008
Posts: 16

PostPosted: Tue Aug 19, 2008 5:23 am    Post subject: Bandwidth monitoring for each IP Connect to internet Reply with quote

It is possible to view the traffic for each IP to internet?

Upload and download speed. This is important for VPN purpose.. Very Happy
Back to top
View user's profile Send private message
yce_kelvin



Joined: 14 Jul 2008
Posts: 16

PostPosted: Tue Aug 19, 2008 5:36 am    Post subject: Reply with quote

Mayb something like ipband integration..?

http://ipband.sourceforge.net/
Back to top
View user's profile Send private message
fulvio
Site Admin


Joined: 01 Nov 2006
Posts: 997

PostPosted: Tue Aug 19, 2008 6:16 am    Post subject: Reply with quote

At the moment a possible solution to have the amount of traffic for each IP is to create an ACCEPT rule in the forward chain of the the firewal with the source IP set to the address you want to monitor. Viewing the FORWARD chain you will be able to look at the outgoing traffic counters. To view the incoming ones, you should create a rule with destination IP set to the address.
I am going to investigate about what graphical tool to integrate within Zeroshell to monitor the bandwidth.

Regards
Fulvio
Back to top
View user's profile Send private message Send e-mail
yce_kelvin



Joined: 14 Jul 2008
Posts: 16

PostPosted: Tue Aug 19, 2008 7:24 am    Post subject: Reply with quote

Hi fulvio,

Thank you for your answer.

That is great. Then this will possible about something like PFsense graphical statistic.

The current solution you provided is not perfect because it will slow down browsing activity because of the firewall monitoring. I saw another IT support guy who doing the VPN site to site with Ubuntu Server version and he is able to get the information on which IP going out and receive. For eg: He is doing a site to site GAMING - Warcraft 3 and it required around 15K upload and 15K download speed. So, he can estimate that the game software is required 15K up/down speed. So, if the person get 1.5MB up down speed mean the max can support is around 100PC, and for 1.5MB Download / 512K Upload speed line only can support 34 PC connection max.

So, that's y i say the integration on statistic for IP bandwidth monitoring to internet is important.

Anyway, hope fulvio can success on it. I always support. After going to webmin, IPCOP and pfsense i think zeroshell is the most great linux software for networking.

Good luck !

Kelvin
Back to top
View user's profile Send private message
izilic



Joined: 10 Aug 2008
Posts: 20

PostPosted: Sun Aug 24, 2008 8:06 pm    Post subject: Reply with quote

Hi!!

I am pretty new to ZS, but already making great things with it so i am very happy.

In other linux servers/routers I have I use MRTG as monitoring tool for almost everything from bandwidth to cpu or hard drives tempetature.

I think it could be nice to have MRTG in ZS.

What do you think?

Best Regards,

IAZS
Back to top
View user's profile Send private message
fulvio
Site Admin


Joined: 01 Nov 2006
Posts: 997

PostPosted: Mon Aug 25, 2008 6:45 am    Post subject: Reply with quote

I am planning to export all significant values such as QoS bandwidth, interface traffic, CPU and memory usage by using SNMP. It will be possible to collect these values and view them with tools such as MRTG.

Regards
Fulvio
Back to top
View user's profile Send private message Send e-mail
mmiller



Joined: 08 Apr 2008
Posts: 13

PostPosted: Thu Sep 11, 2008 1:02 am    Post subject: SNMP Package Reply with quote

Fulvio,

I think it would be nice to have SNMP added into ZeroShell as well. Will this be a add-on package or be apart of the default release?

Could you also include a Netflow/sFlow probe?
nProbe, NDSAD ( another probe) or even ipt-netflow (iptables module)?

http://www.ntop.org/nProbe.html <--- may not be a good example.
http://freshmeat.net/projects/ndsad/
http://sourceforge.net/projects/ipt-netflow/ <--- Might be the best choice due to it being a iptables module.

Thanks.
Back to top
View user's profile Send private message
fulvio
Site Admin


Joined: 01 Nov 2006
Posts: 997

PostPosted: Thu Sep 11, 2008 5:16 pm    Post subject: Reply with quote

Thanks for the links. I will read these documents before starting to implement SNMP monitoring interface. In any case, this feature will be included in Zeroshell and not an external package.

Regards
Fulvio
Back to top
View user's profile Send private message Send e-mail
yce_kelvin



Joined: 14 Jul 2008
Posts: 16

PostPosted: Sat Sep 13, 2008 7:10 pm    Post subject: Reply with quote

fulvio,

Thanks so much Very Happy

We always support u Very Happy
Back to top
View user's profile Send private message
yce_kelvin



Joined: 14 Jul 2008
Posts: 16

PostPosted: Tue Sep 23, 2008 10:35 am    Post subject: Reply with quote

Fulvio,

I think you can integrade bwm-ng to it..

Thanks
Kelvin
Back to top
View user's profile Send private message
AtroposX



Joined: 26 Nov 2008
Posts: 155
Location: USA

PostPosted: Tue Jun 29, 2010 4:42 pm    Post subject: Reply with quote

You could use bandwidthd to graph all ips. You basically specify subnet(s), and it will use promiscuous mode to graph bandwidth up and down, as well as some basic protocols i.e, HTTP, VPN, P2P. It works very well. I had about 52 subnets specified on one box just running Debian, on a mirrored inet port, and it runs very smooth. This will only graph though.

To see in realtime, ntop would be nice, or perhaps some sort of netflow. Zeroshell already has iptraf readily to use.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> Request a new feature All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group