Solved

current internet user view

Posted on 2000-02-22
6
210 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to get maximum transfer speed over LAN 4 103
Access_log 17 144
Using sort and uniq to pare down large syslog 6 50
HOw To Install Docker on VMware Workstation 19 141
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…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

791 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