Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

for internet access, i config squid to authenticate users with win active directory.

when a user enter username and pass check with AC users. is a way to know what user from what ip connected?

share|improve this question
add comment

2 Answers 2

I don't know if it's possible to see information like "John Doe is currently authenticated from 192.168.1.105" but you can fetch the list of currently connected client IPs from Squid Cache Manager CGI (cachemgr.cgi) or via SNMP using SQUID.MIB and cacheClientTable.

share|improve this answer
add comment

Yes: Squid's access.log. It will report both the client IP address and the user name, if the user is authenticated.

share|improve this answer
    
no, i say seassion details for connected users. for example users that close web browser or expire his seassion, logs that –  haw3d Aug 26 '10 at 10:29
    
How could the proxy server know the user closed its browser? That's simply not possible, the HTTP protocol doesn't specify that this information should be sent by the browser to the web server (or proxy). –  Massimo Aug 26 '10 at 10:38
    
i mean that close session, when a user close his browser and open that again must enter user-name and pass again –  haw3d Aug 26 '10 at 10:54
    
There's no authentication session on the proxy, the browser simply remebers your credentials after you enter them for the first time. Eveyr HTTP request is authenticated on its own, as HTTP is a connectionless protocol. –  Massimo Aug 26 '10 at 11:44
    
OK, that authentication details where store? –  haw3d Aug 27 '10 at 6:02
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.