Linux Network IP Accounting | Linux Today

Linux Network IP Accounting

Written By
Web Webster
Web Webster
Nov 10, 2010

[ Thanks to An Anonymous Reader for
this link. ]

“I need to know how much data are transmitted on my
ppp0 network or eth0 Internet links? How do I set IP accounting by
address such as 123.1.2.3 and 123.1.2.4? How do I set IP accounting
per Apache virtual domain? How do I set accounting by service port
(http, smtp) and protocol (tcp, udp, icmp)? How do I record how
much traffic each of the clients computer is using?

“You don’t have to install anything special. The Linux kernel
comes with IP accounting which is part of iptables. It is the part
of Linux firewall software. At firewall level you can filter
traffic and configure IP accounting. Linux kernel collects lots of
information about the network traffic and same can be used for IP
accounting. You can also use 3rd party software too.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.