LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-17-2008, 01:33 AM   #1
freddymc
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: Disabled
Log user's HTTP Requests


Hi there!

I've got a teminal-server (edubuntu feisty, ltsp), which makes it possible to boot thin clients with internet connection.

I've got the following network:

Code:
	Internet
	   |
	pfSense (squid/squidGuard)
	   |
	Terminalserver
	/	\
 Client 1 [...] Client n
Now I want to know which websites are requested by the users/thin clients. Best would be a summary of IPs and usernames and their connections.

How can this be done?


Thanks & Regards,

Fred

Last edited by freddymc; 04-17-2008 at 03:33 AM.
 
Old 04-17-2008, 02:06 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
well you should just use a proxy server really like squid, which has nothing to do with LTSP or anything.
 
Old 04-17-2008, 02:30 AM   #3
freddymc
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi!

Yeah, I know about squid, but is squid able to log the corresponding usernames?

I think it's very difficult to figure out, which IP was used by which account one week ago...
 
Old 04-17-2008, 03:05 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
if you are using user authentication then yes, but if there's no actual concept of a user within the proxying framework, natrually that's not possible directly. you may well be able to use user specific DNS or something to imply a user though.
 
Old 04-17-2008, 03:32 AM   #5
freddymc
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi!

You mean user authentication especially for the proxy?

Well, this makes the hole thing a bit more complicated, 'cause then I've to add system users and proxy users.

But I think, this could be improved by using a user DB which is used by the login manager and squid... Should I have a go at LDAP?

Thanks,
Fred
 
Old 04-17-2008, 03:59 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Any self respecting systems administrator should strive to have a single user repository, e.g. ldap. I would never replicate user accounts unless it was literally impossible to do anything else.

http://wiki.squid-cache.org/SquidFaq...Authentication

Last edited by acid_kewpie; 04-17-2008 at 04:01 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
http requests hanging scalforama Linux - Networking 1 01-29-2008 04:01 AM
automating http requests Murdock1979 Programming 5 12-03-2007 09:14 AM
Can't get my http server to respond to requests... garydamm Linux - Networking 9 01-16-2005 10:00 AM
Help! (I'm getting flooded with http requests) rknoesel Mandriva 6 11-14-2004 05:57 PM
log full, raw http requests chr15t0 Linux - General 0 01-03-2003 04:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration