Koozali.org: home of the SME Server

SARG Reports + Squid Authentication

Offline cfarrier

  • *
  • 12
  • +0/-0
    • http://www.everythingit.com.au
SARG Reports + Squid Authentication
« on: April 17, 2004, 02:54:37 PM »
Hi all,

I have been looking through the forums trying to find any reference to anybody who has successfully installed SARG and Squid Authentication on SME v6.0-01.

I have a need to track users by username and total traffic downloaded per day or time frame.

Can anybody please point me in the right direction.

Thanks in advance.

Regards
Craig

ryan

SARG Reports + Squid Authentication
« Reply #1 on: April 18, 2004, 07:45:53 AM »
Craig,

I monitor and watch my users with sarg on sme 5.6.  It also works on sme 6.0.  At my primary site, I use MS dhcp with a 15 day lease (bigger LAN).  This allows me to easily map sarg IP addresses to users.  

At another site, I use sme as the sme dhcp.  In this case, each client is entered as a local host into the 'hostname' on server manager (enter mac address).  This is an IP reservation from sme.  Be aware that reservations can not be included in the sme dhcp IP range.  The client name defined for the 'hostname' will appear in the sarg report.  This works best on a small LAN, as you have to enter a reservation for each client.

ryan

Craig

SARG Reports + Squid Authentication
« Reply #2 on: April 18, 2004, 08:34:39 AM »
Thanks for the reply.

I have SARG running (BTW there seems to be a problem with SARG reports when you have AWStats installed) on the system but what I really require is some way to track individual users.

The server is a proxy server for a small hotel and they offer Internet access to users. They charge users for access and they get given 20MB of traffic per day. They would like to monitor each rooms traffic and then charge them any additional usage above the 20MB allocated.

I know that Proxy_Auth or Squid Authentication worked on older versions of SME but haven't seen it as a contrib for SMEServer v6.0X. This would allow me to block users access until they are given a password and account name to access the internet with. When the client leaves the account is disabled. At least this way SARG will track on username.

Does anybody have this working or got another solution for monitoring usage of web traffic.

Thanks or your help.

Regards
Craig

ryan

SARG Reports + Squid Authentication
« Reply #3 on: April 18, 2004, 08:54:58 AM »
I can't help with proxy_auth or squid_auth, but I have to ask why the 20mb limit?  Just charge what you want for unlimited and give customers the password.  I stayed at the Double Tree in San Diego which offered WayPort unlimited for 9.95 per day.  Unfortunetately for Double Tree, I was able to by pass the controls and got free access during my stay...but you might consider lossing the admin burden and just let them have unlimited for a given price......

ryan

Offline ajkeane

  • *****
  • 187
  • +0/-0
    • http://keane.co.nz
SARG Reports + Squid Authentication
« Reply #4 on: April 18, 2004, 11:30:50 AM »
Install sme-squid-1.0-2.i386.rpm and sme-upgppp-1.0-1.noarch.rpm and you will be able to aloow usage per users set up in the server-manager panel.

Tony
...

shanen

SARG Reports + Squid Authentication
« Reply #5 on: April 18, 2004, 01:33:07 PM »
You can monitor squid access all you like but it's not going to help you keep a track of smtp/pop/IM  traffic which is what customers are primarily going to be interested in and using. In my experience with hotels/resorts, guests just want to quickly download emails and respond if required. Then they spend a few mins goofing off and check sport/weather/news back home, then get back to their holiday.
I realise you are going to get the odd bunch that decide to visit windowsupdate.microsoft.com at your expense.
One option is to have a big old patch panel and switch in your reception or another back of house area and connect rooms as required.
Run DHCP, transparent proxy and shape traffic to a level that your wan link can handle using "CBQ" and "HTB".
Hope this helps

Shane

Anonymous

SARG Reports + Squid Authentication
« Reply #6 on: April 20, 2004, 10:32:34 AM »
Thanks all for your suggestions.

I have found Squid Authentication addon which seems to work.

The clients are only going to have HTTP access to the net and everything else will be blocked.

Craig

ztasevski

SARG Reports + Squid Authentication
« Reply #7 on: November 29, 2004, 04:45:28 AM »
Hi,

I am trying to track down the squid authentication module..Where did you find it Craig ?

shanen

SARG Reports + Squid Authentication
« Reply #8 on: November 29, 2004, 08:58:27 AM »
Quote from: "ztasevski"
Hi,

I am trying to track down the squid authentication module..Where did you find it Craig ?


Look here
http://forums.contribs.org/index.php?topic=24886.0

ztasevski

SARG Reports + Squid Authentication
« Reply #9 on: November 30, 2004, 01:48:09 AM »
hi shannen,

nice one mate...downloaded it -> installed it -> tested it -> ported to the live server -> everyone happy  :-D

On another note is there a module that is able to map static IP's to MAC's via DHCP. Installed the DHCP manager it has everything but that option ?

Zoran

shanen

SARG Reports + Squid Authentication
« Reply #10 on: November 30, 2004, 10:22:38 AM »
Hi Zoran,
The proxy auth is a great addition to SME. What would be great is if you could have a check box next to the username to enable/disable internet access.

Sorry I haven't played much with the DHCP panels so I can't help you there. I do know there are at least 2 floating around.

Shane

ztasevski

SARG Reports + Squid Authentication
« Reply #11 on: December 01, 2004, 04:41:54 AM »
Hi Shanen,

Such a simple solution. It's already built in !

Check up: http://forums.contribs.org/index.php?topic=25006.0

Zoran

shanen

SARG Reports + Squid Authentication
« Reply #12 on: December 01, 2004, 05:26:06 AM »
Good one...
I'm glad you found a solution

Shane

ztasevski

SARG Reports + Squid Authentication
« Reply #13 on: December 01, 2004, 05:45:48 AM »
Shanen,

Well ! What I was think of was this:

Assign certain computers on the network static IP & then use the e-smith-squid-restrict-ip-0.1-1 module to allow/disallow internet access...in a clik of a button  :-D

so that gives you 2 options:

1. pc's that you do not want to get out on the net totally assign them a static ip binded to their mac and block them through squid-restrict

2. pc's that are to get out on the net get them to authenticate and monitor activity through sarg

I'll be testing it very soon & report the outcome here !

zoran