LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-07-2002, 06:56 AM   #1
shahul75
LQ Newbie
 
Registered: Sep 2002
Location: Dubai
Distribution: Suse 8.0
Posts: 17

Rep: Reputation: 0
Question Restricting MSN Messenger


Hi I am newbie to Linux...

I am in a process of learning linux myself at home...

I am using Suse 7.0 in one pc and i windoze in another..I use Linux box as gateway for windoze pc. I would like to know how to configure the firwall to restrict the windoze Pc accessing the msn messenger.

Could anybody can help me out to do this.

Thanks :)
shahul
 
Old 09-07-2002, 11:17 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
IIRC, and you could simply Google the 'net for the info, you should block TCP 1863 and range 64.4.13.0/24.
 
Old 09-08-2002, 12:47 AM   #3
shahul75
LQ Newbie
 
Registered: Sep 2002
Location: Dubai
Distribution: Suse 8.0
Posts: 17

Original Poster
Rep: Reputation: 0
I tried the below.... But still my msn messenger get working... Is this what i am asked to do or somewhat else.

# Do you want to autoprotect all global running services?
#
# If set to "yes", all network access to services TCP and UDP on this machine
# which are not bound to a special IP address will be prevented (except to
# those which you explicitly allow, see below: FW_*_SERVICES_*)
# Example: "0.0.0.0:23" would be protected, but "10.0.0.1:53" not.
#
# Choice: "yes" or "no", defaults to "yes"
#
FW_AUTOPROTECT_GLOBAL_SERVICES="yes" # "yes" is a good choice
#Below BA
FW_AUTOPROTECT_GLOBAL_SERVICES_TCP="64.4.13.0/24:1863"
 
Old 09-08-2002, 12:26 PM   #4
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 354
Blog Entries: 2

Rep: Reputation: 34
I don't know about MSN but yahoo takes a proxy. Make sure that it is not going through proxy
--Sarin
 
Old 09-09-2002, 01:42 AM   #5
zLinuxz
Senior Member
 
Registered: Feb 2002
Location: Shanghai, CHINA
Distribution: RH 5.0,5.1 6.0,6.1 7.0,7.1,7.2,7.3.,8.0,9.0, RH Enterprise, Fedora C1, C2
Posts: 1,216

Rep: Reputation: 45
just set the highest security for your firewall, and nothing will get through, including MSN,
 
Old 09-09-2002, 07:12 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Try adding a logging line that will log outgoing traffic and read to what server on what ports its connecting to. If it's using a proxy port it might try to do 64.4.13.0/24:80 or :8080, then just block the range w/o ports.
 
Old 09-09-2002, 01:26 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Uncomment "FW_CUSTOMRULES", open up the script mentioned there, add, stir, fry.
# Range: 64.4.13.170- 64.4.13.190, hmm, CIDR:
MSNR="64.4.130/255.255.255.224"
MSNP0="1863"
MSNP1="6891:6900"
iptables -A INPUT -b -i eth1 -d localnet -s $MSN --sport $MSNP0 -j DENY -l
iptables -A INPUT -b -i eth1 -d localnet -s $MSN --sport $MSNP1 -j DENY -l

Restart the firewall and see if this blocks. If so remove the "-l" logging param.
 
Old 09-10-2002, 12:40 AM   #8
shahul75
LQ Newbie
 
Registered: Sep 2002
Location: Dubai
Distribution: Suse 8.0
Posts: 17

Original Poster
Rep: Reputation: 0
Thanks Unspawn...Its working now
 
Old 03-19-2005, 11:18 AM   #9
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185

Rep: Reputation: 30
does this works for all the network, can i set it for some IPs on my network? Is there any way to restrict only to some users
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i use MSN Messenger or Yahoo Messenger in slack ware ruzvay Linux - Software 8 02-16-2006 12:42 PM
msn messenger usa1234 Linux - Software 1 10-07-2004 04:36 PM
Instant messenger Chat Kopete mandrake linux yahoo and MSN messenger saurya_s Linux - Software 1 11-22-2003 01:05 PM
Msn Messenger ramez Linux - Software 13 07-25-2003 07:33 AM
MSN Messenger kdoswald Linux - Networking 26 10-15-2002 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:44 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration