Solved

current internet user view

Posted on 2000-02-22
6
207 Views
Last Modified: 2013-12-16
how can we view that who is connected with internet throught proxy and which site ?
0
Comment
Question by:umar
6 Comments
 
LVL 2

Expert Comment

by:proglot
ID: 2552268
Try to use cachemgr.cgi if you use squid of course.
0
 
LVL 2

Expert Comment

by:GP1628
ID: 2558544
last?
finger? (by iteself with no user given)
netstat?
0
 

Expert Comment

by:AGB
ID: 2560807
1. use netstat command for view who is connected throught proxy now.

2. view proxy's log files
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Expert Comment

by:ristridin
ID: 2590556
if you have access to the proxy logs you can analyze them by using a tool like webalizer, that generates html-output with graphics and all stuff.

you just have to tell squid to use common log file format, that can be done by editing the squid.conf file.

cheerio
Ristridin
0
 
LVL 2

Accepted Solution

by:
mapc earned 50 total points
ID: 2645229
This problem arised couple of times at couple of places we've a squid installation.
The answer is quite surprising - it's very hard.
The reasons are:
1) The log file is updated only *after* the transfer is completed, e.g. if your client downloads ISO image - 650MB, then you'll see it only after he finishes.
2) The user-ip mapping is non trivial.
However, these problems could be solved:
1) use cachemgr interface, for example:
cache_object://localhost/info
will show the "info" screen which you can see with cachemgr.cgi
So, you don't use logs at all, you see the current TCP connections and URLs
netstat won't give you url, just ips.
2) use user authentification, so every user must authentificate before he surfs. Otherwise, create a db for fast lookups.
Now, put it all together and write a perl script.
This is an answer.
0
 
LVL 2

Expert Comment

by:mapc
ID: 2645237
ah.. the cache_object://localhost/info
must be asked from proxyhost:proxyport
it could be other host rather then localhost, and then, authentification or special permissions (squid.conf) - acl, is needed.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now