nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How to allow MSN messenger through squid proxy

This is a discussion on How to allow MSN messenger through squid proxy within the Linux software forums, part of the Linux Getting Started category; Dear All I Have Redhat linux 9 and transparent squid proxy is enabled in that. My clients machines Windows XP, ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Linux answers from nixCraft.


Linux software General questions and discussion about Redhat/Fedora Core/Cent OS, Debian and Ubuntu Linux related to softwares should go here.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 25-03-2007, 12:38 PM
Member
User
 
Join Date: Nov 2006
Location: Bangalore
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bubloob_13
Default How to allow MSN messenger through squid proxy

Dear All

I Have Redhat linux 9 and transparent squid proxy is enabled in that. My clients machines Windows XP, I have two groups in my network, Group A have all access and group B have only restricted access URLs.

My Group A people are able to login into MSN messenger , but my Group B people are not able to login, I have created separeate ACL for the MSN users also

acl msn_hosts src 192.168.1.2 192.168.1.3
acl msn dst 207.46.104.20 207.46.110.0/24
http_access allow msn_hosts msn
http_access deny all

but still i am unable to login ,

Can anyone tell me how to solve this..


Here is my exact squid ACL


acl lan1_blr src 192.168.1.0/255.255.255.0
acl lan2_blr src 192.168.100.0/255.255.255.0
acl msn_hosts src 192.168.1.65 192.168.1.66 192.168.1.56 192.168.1.4
acl allowed_machines src "/etc/squid/allowed_machines"
acl support_staff src "/etc/squid/support_staff"
acl callcenter src "/etc/squid/callcenter"

acl rejected_urls url_regex "/etc/squid/rejected_urls"
acl allowed_urls dstdomain "/etc/squid/allowed_urls"
acl msn dstdomain 64.4.13.0/24 152.163.241.0/24 64.12.163.0/24 207.46.110.0/24 207.46.1.0/24 65.54.0.0/16 207.46.104.20 207.46.110.0

http_access deny rejected_urls
http_access deny !allowed_machines
http_access deny !lan1_blr !lan2_blr
http_access allow msn_hosts msn
http_access allow callcenter allowed_urls allowed_machines
http_access allow support_staff !callcenter
http_access allow all


Regards
Sakthi
Reply With Quote
  #2 (permalink)  
Old 27-03-2007, 04:22 PM
Member
User
 
Join Date: Nov 2006
Location: Bangalore
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bubloob_13
Default

Can anyone help me out
Reply With Quote
  #3 (permalink)  
Old 28-03-2007, 05:33 PM
Member
User
 
Join Date: Nov 2006
Location: Bangalore
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
bubloob_13
Default

I am not using IPTABLES at all in my linux box....

My client PC's are connecting to internet by proxy server.

My proxy server is connecting to internet through my CISCO firewall, in proxy server my details are given like this

IP : 192.168.1.6 -- Linux squid Proxy server ip
GW : 192.168.1.5 -- MY CISCO Firewall IP
DNS : xx.xx.xx.xx

My client machines also having the same GW AND DNS
my client machines browser is pointing to 192.168.1.6(Linux Squid Proxy server)

My questions is very simple,

My Group A people are able to login to MSN through PRoxy
Only my Group B people are not able to login to MSN

I doubt my ACL is blocking..!!!

Even I tried to place
http_access allow msn_hosts msn
before any deny statment...
Nothing is working out.

Enclosed the access.log file for your reference

207.46.104.201175083489.222 1 192.168.1.65 TCP_DENIED/403 1407 POST http://gateway.messenger.hotmail.com...y/gateway.dll? - NONE/- text/html

ED/403 1329 CONNECT login.live.com:443 - NONE/- text/html
1175083462.022 66 192.168.1.4 TCP_DENIED/403 1407 POST http://gateway.messenger.hotmail.com...y/gateway.dll? - NONE/- text/html
1175083464.350 2397 192.168.1.41 TCP_MISS/200 20728 GET http://mail.google.com/mail/? - DIRECT/72.14.205.17 text/javascript
1175083472.619 226 192.168.1.4 TCP_DENIED/403 1343 POST http://www.microsoft.com/ - NONE/- text/html
1175083476.472 760 192.168.1.39 TCP_MISS/200 353 POST http://shttp.msg.yahoo.com/notify/ - DIRECT/216.155.194.239 text/plain
1175083481.835 302 192.168.1.4 TCP_DENIED/403 1407 POST http://gateway.messenger.hotmail.com...y/gateway.dll? - NONE/- text/html
1175083489.106 272 192.168.1.4 TCP_DENIED/403 1329 CONNECT login.live.com:443 - NONE/- text/html
1175083489.222 1 192.168.1.65 TCP_DENIED/403 1407 POST http://gateway.messenger.hotmail.com...y/gateway.dll? - NONE/- text/html
1175083489.798 576 192.168.1.4 TCP_DENIED/403 1407 POST http://gateway.messenger.hotmail.com...y/gateway.dll? - NONE/- text/html
1175083489.798 576 192.168.1.4 TCP_DENIED/403 1407 POST http://gateway.messenger.hotmail.com...y/gateway.dll? - NONE/- text/html
~


Desperately need to get it down.... Apprasial TIME???!!!!
Reply With Quote
  #4 (permalink)  
Old 31-03-2007, 12:18 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

403 error means remote server (MSN) issued access denied for your request. Try something as follows which is easy to follow:

Code:
acl msnGroupA IP1 IP2 ..
acl msnGroupB IP1 IP2 ...
acl msn dstdomain 64.4.13.0/24 152.163.241.0/24 64.12.163.0/24 207.46.110.0/24 207.46.1.0/24 65.54.0.0/16 207.46.104.20 207.46.110.0
http_access deny !msnGroupB !msnGroupB
Make sure groupB MSN points to proxy IP and port
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #5 (permalink)  
Old 08-04-2007, 09:37 AM
Junior Member
User
 
Join Date: Apr 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
kasper
Default

HI

it just worked with me today

you need to do : in order

define msn ports
allow msn ports

and allow for

acl msn req_mime_type application/x-msn-messenger

that is it

about ports i have allowed for all ports range 90-65000 cause i don't know what are the msn ports ??

is it secure ?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Restrict number of simultaneous proxy connections in SQUID proxy pkvmreddy Getting started tutorials 1 15-06-2007 03:52 PM
Access yahoo messenger voice and webcam via squid proxy server lacloai Linux software 3 05-06-2007 10:24 AM
How to block gtalk messenger through squid bubloob_13 Linux software 0 16-04-2007 11:59 AM
Problems With SQUID Proxy rcordeiro Linux software 25 04-01-2007 01:39 PM
Squid Proxy bubloob_13 Linux software 4 03-12-2006 11:26 PM


All times are GMT +5.5. The time now is 03:36 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38