LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   need a tips on Squid !! (https://www.linuxquestions.org/questions/linux-server-73/need-a-tips-on-squid-737982/)

kartook 07-06-2009 02:52 AM

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~

vap16oct1984 07-06-2009 04:13 AM

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 (Post 3598101)
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.

salasi 07-06-2009 03:24 PM

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?

chrism01 07-06-2009 08:41 PM

Which IM tool?

kartook 07-07-2009 12:59 AM

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~

kartook 07-08-2009 01:54 AM

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~

salasi 07-08-2009 03:21 AM

Quote:

Originally Posted by kartook (Post 3599301)
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.

bhupathiraju 07-08-2009 04:06 AM

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

Febi881 07-08-2009 04:15 AM

Quote:

Originally Posted by bhupathiraju (Post 3600639)
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...

kartook 07-08-2009 05:27 AM

Quote:

Originally Posted by salasi (Post 3600584)
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~

kartook 07-08-2009 05:35 AM

I installed sarg and the error shows


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



any help

Thanks
Mr.K~

kartook 07-09-2009 03:21 AM

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~

kartook 07-09-2009 03:22 AM

Here is the Squid .conf_

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

Thanks
Mr.K~

salasi 07-10-2009 01:23 PM

Quote:

Originally Posted by kartook (Post 3601914)
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.

kartook 07-11-2009 01:16 AM

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 :) :D


All times are GMT -5. The time now is 02:43 AM.