LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > 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
 
Thread Tools
Old 09-07-2002, 07:56 AM   #1
shahul75
LQ Newbie
 
Registered: Sep 2002
Location: Dubai
Distribution: Suse 8.0
Posts: 17
Thanked: 0
Question Restricting MSN Messenger


[Log in to get rid of this advertisement]
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
shahul75 is offline     Reply With Quote
Old 09-08-2002, 12:17 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 16,668
Blog Entries: 30
Thanked: 274
IIRC, and you could simply Google the 'net for the info, you should block TCP 1863 and range 64.4.13.0/24.
unSpawn is online now     Reply With Quote
Old 09-08-2002, 01:47 AM   #3
shahul75
LQ Newbie
 
Registered: Sep 2002
Location: Dubai
Distribution: Suse 8.0
Posts: 17
Thanked: 0

Original Poster
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"
shahul75 is offline     Reply With Quote
Old 09-08-2002, 01:26 PM   #4
sarin
Member
 
Registered: May 2001
Location: India, Kerala, Thrissur
Distribution: FC 7-10
Posts: 334
Blog Entries: 2
Thanked: 6
I don't know about MSN but yahoo takes a proxy. Make sure that it is not going through proxy
--Sarin
sarin is offline     Reply With Quote
Old 09-09-2002, 02: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
Thanked: 0
just set the highest security for your firewall, and nothing will get through, including MSN,
zLinuxz is offline     Reply With Quote
Old 09-09-2002, 08:12 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 16,668
Blog Entries: 30
Thanked: 274
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.
unSpawn is online now     Reply With Quote
Old 09-09-2002, 02:26 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 16,668
Blog Entries: 30
Thanked: 274
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.
unSpawn is online now     Reply With Quote
Old 09-10-2002, 01:40 AM   #8
shahul75
LQ Newbie
 
Registered: Sep 2002
Location: Dubai
Distribution: Suse 8.0
Posts: 17
Thanked: 0

Original Poster
Thanks Unspawn...Its working now
shahul75 is offline     Reply With Quote
Old 03-19-2005, 12:18 PM   #9
jocast
Member
 
Registered: May 2004
Location: Laredo
Distribution: FC3
Posts: 185
Thanked: 0
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
jocast is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 01:42 PM
msn messenger usamahashimi Linux - Software 1 10-07-2004 05:36 PM
Instant messenger Chat Kopete mandrake linux yahoo and MSN messenger saurya_s Linux - Software 1 11-22-2003 02:05 PM
Msn Messenger ramez Linux - Software 13 07-25-2003 08:33 AM
MSN Messenger kdoswald Linux - Networking 26 10-15-2002 03:22 AM


All times are GMT -5. The time now is 07:17 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration