Geekzone: technology news, blogs, forums
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.

27 posts


# 31519 20-Mar-2009 14:40
Send private message

Hi everyone
At home we have at least 5 different people accessing the internet all at one time. We are on an uncapped plan with Xnet paying $0.01 a Mb.

Basically at any one time there could be:
3 Macs
2 Windows Pcs
1 iPod Touch
any number of virtual machines (probably up to 5)
and any guests staying over
attached to the wireless network at any one time.

What I really want to do is set up a server that can monitor all traffic for the IPs of each person connected to the network.
I was thinking that I could static IPs or MAC addresses to monitor the traffic to the internet only (not local network traffic) so to bill each person for their share of the downloading because my flatmates don't seem to be owning up to what they are using.
I am relatively competant at networking (studying it at CPIT) but really have no idea how I can do this.

I was wondering if anyone got the time they could explain the software and topology required to set this up to me.

Thanks so much
Allan Loveday

Create new topic


923 posts

Ultimate Geek


  # 202360 20-Mar-2009 15:07
Send private message

You want something like WebGauge.. but if you want to do it yourself, you want a router, not a server.

In its simplest form, a linux router using iptables is what you're after, with a netfilter table that matches each internal IP address (or mac address - look at ebtables) on the LAN. Then the counters for each rule in the table will tell you about usage.


27 posts


  # 202364 20-Mar-2009 15:39
Send private message

Thanks for your quick reply
I kind of wanted a way to do it myself so if anyone knows of a way? I have a PC with windows server 2008 on it too by the way.
But this way looks awesome.
Would it still work with the VFX service that we have installed?

The setup would look something like this:?


Cloud Guru
4060 posts

Uber Geek


  # 202391 20-Mar-2009 17:36
Send private message

I was wondering if anyone got the time they could explain the software and topology required to set this up to me.

use a 1 port adsl router (like the dynalink freebies)
connect that to a hub (not a switch)
connect wireless AP to the hub
connect monitoring computer to hub (linux, windows etc) and use a network monitioring program like wireshark to sniff traffic in promiscuous mode (i.e. capture all packets going through hub)

if you use a switch instead of a hub you wont see all the traffic on the switch, only whats addressed to the port you are connected to

alternative to hub is a switch that can do port mirroring - you would then mirror the port that connects to the adsl router and sniff off the mirror port (second NIC in server)

another alternative is to load custom firmware on your adsl router (if supported) that can log and deliver traffic starts to another machine.

8034 posts

Uber Geek


  # 202413 20-Mar-2009 20:10
Send private message

What wireless router and/or dsl modem do you have currently?

Create new topic

Twitter and LinkedIn »

Follow us to receive Twitter updates when new discussions are posted in our forums:

Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:

Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:

News »

Logitech introduces new Made for Google keyboard and mouse devices
Posted 16-Oct-2019 13:36

MATTR launches to accelerate decentralised identity
Posted 16-Oct-2019 10:28

Vodafone X-Squad powers up for customers
Posted 16-Oct-2019 08:15

D Link ANZ launches EXO Smart Mesh Wi Fi Routers with McAfee protection
Posted 15-Oct-2019 11:31

Major Japanese retailer partners with smart New Zealand technology IMAGR
Posted 14-Oct-2019 10:29

Ola pioneers one-time passcode feature to fight rideshare fraud
Posted 14-Oct-2019 10:24

Spark Sport new home of NZC matches from 2020
Posted 10-Oct-2019 09:59

Meet Nola, Noel Leeming's new digital employee
Posted 4-Oct-2019 08:07

Registrations for Sprout Accelerator open for 2020 season
Posted 4-Oct-2019 08:02

Teletrac Navman welcomes AI tech leader Jens Meggers as new President
Posted 4-Oct-2019 07:41

Vodafone makes voice of 4G (VoLTE) official
Posted 4-Oct-2019 07:36

2degrees Reaches Milestone of 100,000 Broadband Customers
Posted 1-Oct-2019 09:17

Nokia 1 Plus available in New Zealand from 2nd October
Posted 30-Sep-2019 17:46

Ola integrates Apple Pay as payment method in New Zealand
Posted 25-Sep-2019 09:51

Facebook Portal to land in New Zealand
Posted 19-Sep-2019 18:35

Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.