Solved

current internet user view

Posted on 2000-02-22
6
211 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

 

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Apache LDAP Authentication 20 52
plsql job on oracle 18 73
Looking for a program called HoneyMine. 3 62
Can't "Unset" Proxy in Apache headers for PCI compliance... 4 34
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

735 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