Michael Talbot-Wilson <[EMAIL PROTECTED]> wrote:

> I noticed a difference between the Sent bytes entry in the pppd 2.3.7 log
> and corresponding number provided by ipchains -L -v.  I guess this
> reflects the difference between raw bytes and cooked packet contents, but

Yes, the numbers reported by pppd are the number of characters sent
and received at the tty interface.  This will differ from the number
of bytes at the network device level because of:

* packet compression (deflate or BSD-Compress, if you're using it).
* VJ TCP header compression
* overhead for escaping, framing, FCS, and the PPP protocol number on
  each packet.

> I'd like to understand why 24853 in one case and 8444 in the other.

If you are using deflate compression (e.g. if you have a linux box on
both ends of the link), that's about what I'd expect, assuming you
aren't sending lots of gzipped or jpeg'd files. :-)

Paul.

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]

Reply via email to