Bug 1434 - Traffic accounting per session
Summary: Traffic accounting per session
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 4.7p1
Hardware: Other All
: P2 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-28 23:11 AEDT by Stephen Farrugia
Modified: 2009-10-06 15:02 AEDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Farrugia 2008-01-28 23:11:38 AEDT
Hello.  I spoke with Damien Miller at linuxconf.au today about this and he suggested entering a request here.

I would like the ability to know how much bandwidth an SSH connection has used once complete.  I help run a box with many users and it would help enormously to know who uses how much precious bandwidth (costs lots in Australia).  I found this reference using Google, which is what I'm after, but I'm am not willing to use the patch unless it's in the official distribution:
  http://fixunix.com/openssh/177822-patch-openssh-server.html

Many Thanks
Stephen
Comment 1 Darren Tucker 2009-07-31 10:23:38 AEST
This is now in sshd.c at loglevel=verbose since 5.1p1:

  verbose("Transferred: sent %llu, received %llu bytes", obytes, ibytes);
Comment 2 Stephen Farrugia 2009-08-04 22:58:58 AEST
Your work is much appreciated.
Comment 3 Damien Miller 2009-10-06 15:02:31 AEDT
Mass move of RESOLVED bugs to CLOSED now that 5.3 is out.