From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rens Houben Date: Fri, 31 May 2002 11:49:19 +0000 Subject: [LARTC] Shaping and accounting MIME-Version: 1 Content-Type: multipart/mixed; boundary="=-OJsSxmif/tzkn/gYgv/q" Message-Id: List-Id: To: lartc@vger.kernel.org --=-OJsSxmif/tzkn/gYgv/q Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, A while ago now I had to set up a traffic shaper for the ISP I work for, and I used linux and cbq.init to accomplish this. It worked reasonably well, too, but after a while and some double-checking it turned out that the ipac accounting on the same machine was consistently reporting higher usage than was actually the case by roughly the same factor (not amount) for every client. After a lot of thinking about this, the only conclusion I could reach that didn't involve a gross and so far completely undiscovered programming flaw in ipac or TCP/IP gremlins was that the difference was caused by traffic shaping occuring at the point where packets exit the machine while ipac does its accounting of packets at the point where they enter. Am I right, or am I just blowing smoke and moondust, and in either case, is there any way to correctly shape and account traffic on one machine? Thanks, --=20 Rens Houben | opinions are mine Resident linux guru and sysadmin | if my employers have one Systemec Internet Services. |they'll tell you themselves PGP public key at http://suzaku.systemec.nl/shadur.key.asc -- new Dec 12 2001 --=-OJsSxmif/tzkn/gYgv/q Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQA892M+R5T92/AjF/gRAl02AJ9mN4HJ05YbDDNRb9bn2g56qhhWMACeKkUz DyawLuu1xbyw1LT3jW58QBk= =/xJZ -----END PGP SIGNATURE----- --=-OJsSxmif/tzkn/gYgv/q-- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/