Blocking Msn Server with host file

Discussion in 'Hardware' started by jakinov, Jul 31, 2006.

Thread Status:
Not open for further replies.
  1. jakinov

    jakinov Private E-2

    I'm trying to block the msn server from anyone logging on to msn messenger passport server but I don't know how to do that with the host files and for some reason my host file won't block msn.com
     
  2. TheDoug

    TheDoug MajorGeek

    Add this line to your hosts file:

    127.0.0.1 nnnnnn.nnn

    where nnnnnn.nnn is the domain you want blocked. You probably already know your hosts file is in [SIZE=-1]c:\windows\system32\drivers\etc\ and is read only, so you will have to open its Properties and unset the Read Only attribute before you can edit it, making sure to reset it when you're finished..
    [/SIZE]
     
  3. jakinov

    jakinov Private E-2

    the only problem now is that i don't know the host name of msn servers only the ips. do you know the host names?
     
  4. dedub

    dedub Corporal

    One quick thing that comes to mind is do a netstat in a cmd prompt when MSN is connected. Then a domain lookup; use that info in your host. I'm sure there is an easier way but that will work.

    good luck
     
  5. jakinov

    jakinov Private E-2

    :confused: huh? can you explain how to do that?
     
  6. dedub

    dedub Corporal

    Im assuming your using 2000 or XP.
    go to start, run, and type CMD...
    in the black box (CMD window) type *netstat* without the *
    That shows you all active network connections by port, IP, Protocol and the state its in. ie.. established, timed out ect...

    you could also do a netstat /? and that will give you an explanation and some additional switches to include in the command. You can google netstat or go to MS online documentation and read more on it than you could possible ever want to.

    Again, while logged into MSN or any other service, do a netstat and you will get the server name or at a minimum the IP.
    Good luck
     
  7. jakinov

    jakinov Private E-2

    alright i'll try that:) :) :) :D:D:D
     
  8. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

  9. IkoJ

    IkoJ Private E-2

    try this. it works

    0.0.0.0 msn.com
    0.0.0.0 www.msn.com
    0.0.0.0 *.msn.com
    0.0.0.0 bestbuy.msn.com
    0.0.0.0 canon.msn.com
    0.0.0.0 charter.msn.com
    0.0.0.0 home.msn.com
    0.0.0.0 staples.msn.com
    0.0.0.0 www.my.msn.com
    0.0.0.0 janicerussellbeck.com
    0.0.0.0 pineantiques.com
    0.0.0.0 msn.be
    0.0.0.0 msn.ca
    0.0.0.0 msn.cr
    0.0.0.0 msn.hn
    0.0.0.0 msn.lt
    0.0.0.0 msn.net
    0.0.0.0 msn.pl
    0.0.0.0 msn.sg
    0.0.0.0 msn.sr
    0.0.0.0 msn.vn
    0.0.0.0 msn.bi
    0.0.0.0 msn.dk
    0.0.0.0 msn.fr
    0.0.0.0 msn.kz
    0.0.0.0 msn.se
    0.0.0.0 msn.nl

    if you want to throw it completely under the bus?
    add these(swap the bullet out for 0.0.0.0)


     
  10. Eldon

    Eldon Major Geek Extraordinaire

    This thread is almost 15 years old!
     
  11. IkoJ

    IkoJ Private E-2

    okay and your point is??
     
  12. TimW

    TimW MajorGeeks Administrator - Jedi Malware Expert Staff Member

    The OP was last here on August 4th 2006. Kinda doubt he is still looking for a solution.
     
    IkoJ and Eldon like this.
Thread Status:
Not open for further replies.

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds