Miscbrah Posted May 15, 2013 Posted May 15, 2013 Hi - we use Dansguardian as our proxy, and I was hoping someone capable could walk me through the process of extracting log files for %user% from it. I've no idea how it works but in the boss' absence I'd like to look into a certain student's access history. Can anyone hold my hand, if this is even possible? Thanks for any help.
tom_newton Posted May 15, 2013 Posted May 15, 2013 for a fairly brutal approach: 1. Find the dansguardian log file (still called access.log? cant remember) 2. grep logfile.log >/tmp/username.log that will get you everything that user has done from that logfile into /tmp/username.log it will overmatch a bit 1
cpjitservices Posted May 16, 2013 Posted May 16, 2013 the log file is at /var/log/access.log. Well it is on my system anyway. 2
Duke5A Posted May 16, 2013 Posted May 16, 2013 Does your proxy require authentication? If not, then the log will only contain IP addresses and not usernames. DG: /var/log/dansguardian/ Squid v2: /var/log/squid/access.log Squid v3: /var/log/squid3/access.log
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now