Monitorring bytes from wan only

Robin Hood

Expert Member
Joined
Jun 5, 2004
Messages
3,322
Reaction score
1
Location
All Over...
Dunno if this post falls under adsl, but i hope someone can give me some insight...Im using netstat -e to monitor bytes going through my NIC...is it possible to monitor ONLY internet bytes?
tia
 
Are you dialing a PPPoE connection for Internet access or does your router dial your ADSL account? If the router dials your internet account you would only be able to monitor the usage with the usage of a SNMP/PRTG monitoring application like PRTG Traffic Grapher. Unfortunately not all routers supports SNMP protocol.

You can always install NetLimiter 2 Monitor to monitor the Internet usage. If you setup your LAN & Internet subnets correctly (which should usually be automatically setup correctly for home networks), NetLimiter would be able to distinguish between Internet, Local Area Network and My Computer zones.
 
Are you dialing a PPPoE connection for Internet access or does your router dial your ADSL account? If the router dials your internet account you would only be able to monitor the usage with the usage of a SNMP/PRTG monitoring application like PRTG Traffic Grapher. Unfortunately not all routers supports SNMP protocol.

You can always install NetLimiter 2 Monitor to monitor the Internet usage. If you setup your LAN & Internet subnets correctly (which should usually be automatically setup correctly for home networks), NetLimiter would be able to distinguish between Internet, Local Area Network and My Computer zones.

Im actuay busy doing some script programming and was looking for a windows component to use...no 3rd party software :(
 
Im actuay busy doing some script programming and was looking for a windows component to use...no 3rd party software :(
Unfortunately I don't think its possible without injecting a DLL that is acting as a network service. If you've managed to do distinguish the traffic sources/destinations without having to inject/register a network service I would really like to know how you did it :) I wrote a traffic splitter application (like RouteSentry) that includes basic network statistics (which would be the same as netstat -e, except that I'm using API calls to get that info).
 
You might be able to get the information that you would like from the WinPcap library, like Wireshark is using...
 
Yeah - you would have to use the WinPcap library and filter by your WAN ip.

Otherwise if you ran linux: tcpdump -i ppp0 :D
 
Top
Sign up to the MyBroadband newsletter
X