Questions tagged [accounting]
40 questions
7
votes
2 answers
How to do network accounting using cgroups
I am trying to get network statistics for groups of processes.
As far as I know, complex network accounting on linux is normally done using the accounting infrastructure of netfilter/iptables.
As I'd like to have inheritance for such groups cgroups…
t-8ch
- 71
- 2
5
votes
4 answers
Log every IP connecting on a system with iptables
Title says it all.
How can I, with iptables under Linux, log all IP connecting to a server?
As a little detail, I'd like to have only ONE entry in the log PER DAY PER IP.
Thanks :)
EDIT:
I narrowed it down to 5 packets logged for every new session…
Alexandre Nizoux
- 498
- 1
- 4
- 15
5
votes
1 answer
Where are nftables counters logged/stored, and how long do they persist?
I'm attempting to track the total data being transmitted from a specific set of IP addresses (both IPv4 and IPv6) using nftables with a named counter on the rule. My goal is to be able to track this total over the course of a calendar month so I can…
oucil
- 445
- 3
- 16
4
votes
3 answers
Network traffic accounting on gateway server
I have a sub-net of machines which are run autonomously by users. I control the server which acts as gateway between the sub-net and the internet. My server is running Ubuntu.
I'm looking for a way to:
Record the amount (only need size, don't care…
user53747
- 210
- 1
- 6
4
votes
7 answers
open-source LAMP package for simple accouting and receiving?
I am involved with a computer-based charity where we take donation of old equipment, often recycle it, mostly rehabilitate it and make it available through grants and 'adoptions', and sell some items.
What we're looking for is a LAMP package that…
user26664
- 287
- 1
- 2
- 7
3
votes
1 answer
Howto change the default radius logging path for accounting?
I have freeradius 2.1.12+dfsg-1.2 working and logging accounting packets to /var/log/freeradius/radacct/detail-20130401.
However I need to tail the log and I want to ideally tail a single log file and manage the logs with logrotate.
What do I change…
hendry
- 667
- 2
- 10
- 23
3
votes
3 answers
Find out how long a user was logged into a Linux server
In my Debian Squeeze server, all user logins and logouts are recorded in the file /var/log/auth.log
Jan 28 07:11:06 xen8 sshd[29826]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jan 28 07:33:47 xen8 sshd[29826]:…
andreas-h
- 1,054
- 1
- 16
- 27
3
votes
5 answers
Microsoft Licensing for the small business
Possible Duplicate:
Can you help me with my software licensing question?
I run a small it shop with roughly 60 PCs currently. We add about 5 to 10 new employees annually. Up to this point, when it comes to software for the Desktop/Laptops of my…
TechGuyTJ
- 782
- 1
- 12
- 25
3
votes
1 answer
Is there such a thing as "server sliding" (or similar), and if so, what is it?
I am not a network engineer, but rather a translator, so I apologize in advance if this is a rather obvious question to some of you. Normally Google can answer my questions, but in this case I'm coming up blank. If I'm asking this in the wrong…
mahoke
- 31
- 2
3
votes
1 answer
Per user network traffic accounting under Linux
I have several users on a computer running Linux (Ubuntu Lucid to be more specific).
I need to see how much network traffic they generate on a specific interface.
Iptables can match outgoing packages, so I could create chains for every user to be…
netom
- 223
- 1
- 8
2
votes
0 answers
How non-HP PCL print jobs keep PJL-like job control information?
In print queue systems, each job has print job information in print control languages such as Epson EPL or HP PJL; in MS Windows print spools, this information is kept in separate SHD files.
Are there other languages besides EPL, PJL and SHD,…
Leandro
- 176
- 1
- 13
2
votes
1 answer
Where does Cups keep print job information?
We are trying to assemble a free software stack to get detailed print job accounting information, something similar to what Papercut Printlogger does, for raw printing queues. We have been testing Apple Common Unix printing system (Cups) in Debian…
Leandro
- 176
- 1
- 13
2
votes
0 answers
Freeradius radacct table is empty
I am using Freeradius 2 in FreeBSD server.
The server is able to authenticate the user in MySQL database but i found that radacct table is not updated. I have check the configuration in the /sites-enable/default. sql has been uncomment in…
ZKT
- 21
- 2
2
votes
3 answers
restrict external SSH logins to specific users and allow intranet logins to all
I would like to restrict external SSH logins to specific users and allow intranet logins (192.168.0.0/24) to all users. I would appreciate a complete example file for this scenario.
agsamek
- 301
- 1
- 3
- 12
2
votes
1 answer
Configure VPN on ASA to log accounting via NPS
Currently we have VPN setup on an ASA 5510. I have it set to use NPS for RADIUS authentication, but I've never really configured much as far as accounting. I'm wanting to set this up to be able to tell more of what people are doing/accessing when…
Don
- 838
- 8
- 18
- 33