LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 07-06-2009, 02:52 AM   #1
kartook
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Rep: Reputation: 0
Thumbs up need a tips on Squid !! --- ((( SOLVED ))) ----


Hi all

We need to moniter the all IM ( Instant messanger ) Usages . We dont want to know the content of the chat .Just we need to know the usage of this IM's

We need to generate the reports for this usage .This is main Goal .

few friends suggest SARG .

any one help me on this

Thanks in Advance to every one

Thanks
MR.K~

Last edited by kartook; 07-11-2009 at 01:17 AM.
 
Old 07-06-2009, 04:13 AM   #2
vap16oct1984
Member
 
Registered: Jun 2009
Location: INDIA
Distribution: RHEL-5
Posts: 174
Blog Entries: 3

Rep: Reputation: 38
Thumbs up

HI Kartook,
First of all you most welcome to Linux world. As this is your 1st post and very interesting too. Its a good question and i hope we can help you.

So inorder to give you exact solution we need dome more inputs from your side.

Quote:
Originally Posted by kartook View Post
Hi all

We need to moniter the all IM ( Instant messanger ) Usages . We dont want to know the content of the chat .Just we need to know the usage of this IM's
So how you monitoring all IM? I mean which is OS. If linux then whis distribution Redhat, Gentoo,SUSE, etc. And which tool you are currently using to monitor IM.

Quote:
We need to generate the reports for this usage .This is main Goal .
few friends suggest SARG .
Again as you need to generate reports i means you are already generating reports or from now onwards you will be generating report.

Well your friends have given you a good suggestion about SARG.

SARG is Squid Analysis Report Generator is a tool that allow you to view "where" your users are going to on the Internet.

This is the link from where you can Download SARG rpm http://dag.wieers.com/rpm/packages/sarg/.

And one more thing pls give the details so that i can you perfect solution.

Hope this help . Thank you.
 
Old 07-06-2009, 03:24 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,860

Rep: Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768
Do you just need to know that an IM transaction has occured, or are you trying to identify that to a user? Or to an ip address? Or something else?

If you are trying to do something like identify the user, that may be, err, interesting depending on how you set up your network. Do you, for example use DHCP to hand out IP addresses?
 
Old 07-06-2009, 08:41 PM   #4
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,093

Rep: Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995Reputation: 1995
Which IM tool?
 
Old 07-07-2009, 12:59 AM   #5
kartook
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks to every one and thank you very much i got really got confidence regarding this implementation . i can complete this work .

Again thanks to every one let we start think and digg more on my request


RT @ vap16oct1984

I am using : Cent OS 5.1 32-Bit version

I am not particularly using any tool as of now .I am planning to go with SQUID for monitoring and SARG . I don't know how i am going to monitor the IM ,s .Thats why i need support from all of linux team Experts . As of now i don't have any particular monitoring tool .

Now i am in Planning stage but i have only15 days time to complete this

RT @ salasi

i am not interest to know the Chat conversations just i want to identify the user or hostname and how much time he spend on the chat on report format . My network was running on DHCP .


Thanks
Mr.K~
 
Old 07-08-2009, 01:54 AM   #6
kartook
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I am waiting friends

any help ??

Here i did

I installed the SQuid and SARG also

I dont know how to configure the Squid File


+++++++

My IP segment 192.168.100.128/25

+++++++

Needs

I dont want to block any Website

just need to get the Squid logs


This setup i have in my laptop

Cent OS ,Windows XP ,Windows VIsta all are running in my laptop for testing once i did and i am satisfied simply i can copy and paste the file on the production server

Now i need everyones help badly

Thanks in Advance to all my friends



Thanks
Mr.K~

Last edited by kartook; 07-08-2009 at 01:57 AM.
 
Old 07-08-2009, 03:21 AM   #7
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,860

Rep: Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768
Quote:
Originally Posted by kartook View Post
RT @ salasi

i am not interest to know the Chat conversations just i want to identify the user or hostname and how much time he spend on the chat on report format . My network was running on DHCP .
You already said that you do not want to know the conversations; I know that. Please re-read my post and try to understand it.

You have said that you want to identify a user.

So, what do you intend to do to identify the user, bearing in mind that, in using DHCP, an IP doesn't necessarily correlate to a computer and, more generally, a computer doesn't necessarily correlate to a user?

So, as far as I can tell from the information that you have posted so far, you are putting effort into collecting information that does not tell you anything that you want. I am unclear how will that help.

Also, given that you haven't posted anything about your location, and I probably wouldn't know much about the legal situation there, I can't really comment on whether what you are doing is legal or not, but I would encourage you to avoid doing things that are illegal.
 
Old 07-08-2009, 04:06 AM   #8
bhupathiraju
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
please help me out


i am also in the same need

i installed sarg but not able to see the content or info abot im's
 
Old 07-08-2009, 04:15 AM   #9
Febi881
Member
 
Registered: Jun 2009
Location: India
Distribution: Fedora,Redhat
Posts: 103
Blog Entries: 1

Rep: Reputation: 17
Quote:
Originally Posted by bhupathiraju View Post
please help me out


i am also in the same need

i installed sarg but not able to see the content or info abot im's
Install webmin and install webmin package of sarg. There you can manage it graphically...
 
Old 07-08-2009, 05:27 AM   #10
kartook
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by salasi View Post
You have said that you want to identify a user.
Identification by user-name with host-name is good

I am from INDIA .The management want to know the traffic and users activity on the internet on office hours .Till date We don't have any restriction .
In future we need to do some restrictions on the internet usage like website blocking ,streaming video like before we need a report.

I installed Squid and Running without any trouble .Logging started .now i need to move to generate the reports

SQUID.conf_

Quote:
#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.0
acl localtest src 192.10.100.128/255.255.255.128
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT

Thanks
Mr.K~

Last edited by kartook; 07-12-2009 at 10:56 AM.
 
Old 07-08-2009, 05:35 AM   #11
kartook
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
I installed sarg and the error shows


#/usr/bin/sarg
*** stack smashing detected***:/usr/bin/sarg terminated
Aborted



any help

Thanks
Mr.K~

Last edited by kartook; 07-08-2009 at 05:39 AM.
 
Old 07-09-2009, 03:21 AM   #12
kartook
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Hi everybody

I was remove the sarg and reinstall and configure now it starts working .But its showing one shot report but i need to know how can i configure the Daily ,weekly and monthly report .



Thanks
Mr.K~
 
Old 07-09-2009, 03:22 AM   #13
kartook
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Here is the Squid .conf_

h**p://wiki.squid-cache.o*g/ConfigExamples/Chat

Thanks
Mr.K~

Last edited by kartook; 07-12-2009 at 10:56 AM.
 
Old 07-10-2009, 01:23 PM   #14
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,860

Rep: Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768
Quote:
Originally Posted by kartook View Post
Kindly check and let me know if i missed anything ........
Well, there was answering the questions, for a start. I don't know why everybody else answers these questions, but having been helped by the community, I'm trying to help the community in return.

If you structure your questioning so as to minimise the help to the community, then I'm not interested (and the private e-mail didn't help).

I hope that you find a satisfactory way of solving your problem, whatever that is.
 
Old 07-11-2009, 01:16 AM   #15
kartook
LQ Newbie
 
Registered: Jan 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks everybody .

Finally i reached my target mostly .I thiought i can the get the help from from you all .But i learned something .

Thanks to every one


Mr.K~

PS : KIndly close this topic
 
  


Reply

Tags
im, report, sarg, squid, squidproxy, undefined


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Squid+DansGuardian not working properly. squid blocking sites that should be linuxlover.chaitanya Linux - Server 12 12-19-2010 11:47 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard laxmantsharma Linux - Software 1 02-24-2009 06:02 AM
Squid 2.6 Reverse Proxy from Squid(3128) to OrginServer(80) Not working rraj Linux - Server 0 06-06-2008 02:29 PM
Squid / DansGuardian / HavP SLOW! Optimisation tips, please! Paulsuk Linux - Software 2 11-09-2006 02:58 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM


All times are GMT -5. The time now is 09:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration