gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
76793 Posts in 13502 Topics by 1651 Members - Latest Member: Arnold99 November 23, 2024, 08:07:36 am
*
gfx*gfx
gfx
WinMX World :: Forum  |  Discussion  |  Think Tank  |  Winmx upgrade comparison
gfx
gfxgfx
 

Author Topic: Winmx upgrade comparison  (Read 3387 times)

0 Members and 1 Guest are viewing this topic.

ArchStanton

  • Guest
Winmx upgrade comparison
« on: October 31, 2005, 02:24:37 am »
There's a lot of information going around about various ways to keep winmx working and avoid interference from the music industry.  (A few listed below)  Is there any source of definitive technical information on exactly what each does?  I'd like a way to compare them so KM, could you please jump in with descriptions of these.

Since it's obvious (at least to me) what the hosts file winmx fix does I'll start things off with my understanding of how it fixes winmx.

    1. hosts file - One of the first methods windows uses to resolve DNS queries to resolve a server name to an IP address is to search for the server name in the hosts file.  For more on DNS in windows see http://support.microsoft.com/default.aspx?scid=kb;EN-US;172218
So the PIE patched hosts file directs various winmx server names away from the disabled winmx.com servers and to the new ones.

    2. Sherwood

    3. PeerGuardian

    4. olepro32.dll

    5. ws2_32.dll

KM

  • Guest
Winmx upgrade comparison
« Reply #1 on: October 31, 2005, 04:45:29 am »
sherwood and peer guardian just block connections from IP Addresses on the block lists, peer guardian blocks in and out but the lists are... well, huge, and mostly irrelevant, sherwood only blocks inbound but the list has been made just for winmx so only has relevant IP addresses and has many more of the IP Addresses that a winmx user would want to block

the other 2 are system files, so i'm not entirely sure what you mean, but i'll assume you mean the connection patches i've released? they both do the same sort of thing but just load in different ways

ws2_32.dll replaces the winsock dll so winmx accesses that dll instead of winsock when calling winsock functions, that then calls the original dll - this allows it to interfere with the winsock functions, for example when gethostbyname() is called by winmx with a parameter pointing to one of the original cache hostnames when it calls the original dll the parameter is instead one of the new hostnames, so in fact it is as if winmx is doing a DNS lookup on a different hostname. This also modifies the accept() function so after accepting a connection it checks the IP Address of it, and if it is a blocked one it closes the connection straight away before winmx even gets the socket back.

olepro32.dll does the same thing of replacing the winsock functions, it just does it in a different way, it gets loaded to do a completely different task but when it loads it goes and modifies winmx in memory so instead of calling winsock functions it goes and calls the replacement ones contained within the dll, the current version only replaces the various functions for doing dns lookups, and because it depends on working in a specific way it doesn't effect the internet explorer window in the top left like a winsock replacement dll does.

by merging the sources of both files (ie. putting all the actual replaced functions in a common file and only the bits to do with how it loads in each dll) the next versions of each will end up doing exactly the same, although they will still use the 2 different methods of loading, this is just a simpler way of saying the block list and any other added features will be put in the 9x version as well :-) i'm just having a problem with the IE window on the 9x version, only a cosmetic thing but still...

Kadabra

  • Guest
Winmx upgrade comparison
« Reply #2 on: November 01, 2005, 02:45:25 am »
Thanks !

I wanted to know that.



And i didn't know that the white line at the top left was an encapsulation of an IExplorer windows.  I always wondered.  :roll:  Gosh, that remind me of when i was doing some programming.....

WinMX World :: Forum  |  Discussion  |  Think Tank  |  Winmx upgrade comparison
 

gfxgfx
gfx
©2005-2024 WinMXWorld.com. All Rights Reserved.
SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
Page created in 0.008 seconds with 18 queries.
Helios Multi © Bloc
gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!