Jump to content

Add more Internet connection options to advanced tab


Recommended Posts

Hi there,

There i was mucking about with adding option groups to Folder options, as you do :P , when i thought it might be neat to try one for easy access to the optimal settings for your internet connection. I thought i had it all sussed out as i got the first part working, but then i hit a snag. I need your help!

If you're interested, grab the attachment and install the main reg file (Internet_tweak_options.reg) .. it is easily un-installed with the undo file. Or just have a look inside the reg file i you can follow it ...

If you were game enough to install it (use a VM if unsure), go to Internet Options, and the advanced tab, scroll down until you see Connection Settings. This is the section that has been added.

You'll see there are two sections:

* Server connections

* TCP settings

Everything in the first section works and everything in the second (ie TCP settings) doesn't. The reason ( i think) is that i'm trying to update a key in the LOCAL_MACHINE section for all the tweaks in the TCP settings section. Each value option has a "RegPath" setting that is supposed to point to the reg key its related to, but it seems you can only point it to keys in CURRENT_USER ... is this correct? Is there another value i can set that points to a LOCAL_MACHINE key? Can we do this another way? :unsure:

I know this is a bit of overkill but i'm interested in the challenge and its nearly ready !! If we can just fix this little thing, then we can all use it... :thumbup

Internet_tweak_options.zip

Link to comment
Share on other sites


Very nice settings u got there, all in such a handy place... :thumbup

I'll add your REG file to mine [if you don't mind]:

http://www.mdgx.com/newtip19.htm#AOG

Thanks, and keep up the good work.

BTW:

I've looked at your reg settings, and I took the liberty of making some minor corrections + changes.

Here it is...

Please take a look and let me know if ok.

ADV_IE.REG

Edit:

Added ADV_IE.REG to the web page:

http://www.mdgx.com/newtip19.htm#AOG

File can be downloaded separately [ZIPped, 7 KB]:

http://www.mdgx.com/files/ADVREG.ZIP

Have fun.

Link to comment
Share on other sites

Soporific,

Your undo file does not restore the original values of certain keys/values you modify :

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
@=""
"MaxConnectionsPer1_0Server"=dword:00000008
"MaxConnectionsPerServer"=dword:00000004


[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\MSTCP]
@=""
"DefaultRcvWindow"="15246"
"SackOpts"="1"
"DefaultTTL"="128"

You should provide a backup for those two keys IMO.

Link to comment
Share on other sites

BTW:

I've looked at your reg settings, and I took the liberty of making some minor corrections + changes.

Please take a look and let me know if ok.

It's all good! I may have used less words for the server connection title text but overall i like your changes so just keep it as it is.

HOWEVER!!! Can i please get some clarification on something ... as my first post pointed out, all the settings in the TCP/IP section change the CURRENT_USER (CU) key when we are supposed to be changing (or adding in this case) the LOCAL_MACHINE key --- but even this is not entirely correct. Prior to applying these settings, there is no such thing as HKEY_CURRENT_USER\SYSTEM -- that entire key section only exists in LOCAL_MACHINE (LM). When i try to use a 3rd party program to set my Receive Window value after setting it using the new options, it obviously can't read my new value because it's looking in LM for it when my settings are in CU. So if i go ahead and use the 3rd party program to change my settings, LM will be changed but not CU. This is totally contradictory - something can't work in the above.

Please comment ...

Your undo file does not restore the original values of certain keys/values you modify :

You should provide a backup for those two keys IMO.

Yep, i will create an installer that saves these are restores them if you un-install from Add/Remove programs.

Link to comment
Share on other sites

HOWEVER!!! Can i please get some clarification on something ... as my first post pointed out, all the settings in the TCP/IP section change the CURRENT_USER (CU) key when we are supposed to be changing (or adding in this case) the LOCAL_MACHINE key --- but even this is not entirely correct. Prior to applying these settings, there is no such thing as HKEY_CURRENT_USER\SYSTEM -- that entire key section only exists in LOCAL_MACHINE (LM). When i try to use a 3rd party program to set my Receive Window value after setting it using the new options, it obviously can't read my new value because it's looking in LM for it when my settings are in CU. So if i go ahead and use the 3rd party program to change my settings, LM will be changed but not CU. This is totally contradictory - something can't work in the above.

Please comment ...

These are the registry keys where these values should be, and you already have them in your REG file [checked using X-Setup Pro 6.6, freeware]:
[HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"EnableHttp1_1"=dword:00000001
"DnsCacheEnabled"=dword:00000001
"MaxConnectionsPer1_0Server"=dword:00000008
"MaxConnectionsPerServer"=dword:00000010

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VXD\MSTCP]
"DefaultRcvWindow"="256960"
"DefaultTTL"="64"
"EnablePMTUBHDetect"="0"
"EnablePMTUDiscovery"="0"
"PMTUBlackHoleDetect"="0"
"PMTUDiscovery"="1"
"Tcp1323Opts"="1"
"SackOpts"="1"
"GlobalMaxTcpWindowSize"="256960"
"KeepAliveTime"="7200000"
"KeepAliveInterval"="1000"

As you can see, there are also other settings you may wish to add to your REG file.

Please let me know if you do, or if you wish to make any other changes, so I can also post the updated file at my web site.

Most of these settings are detailed at this MSKB article:

http://support.microsoft.com/?id=158474

I also have a bunch of related stuff at my web site [the ones for Win9x]:

http://www.mdgx.com/modem.htm#MY

Many thanks.

Link to comment
Share on other sites

These are the registry keys where these values should be, and you already have them in your REG file [checked using X-Setup Pro 6.6, freeware]:

Well if you're sure, i bow to your wisdom!

[HKEY_USERS\.Default\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"EnableHttp1_1"=dword:00000001
"DnsCacheEnabled"=dword:00000001
"MaxConnectionsPer1_0Server"=dword:00000008
"MaxConnectionsPerServer"=dword:00000010

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VXD\MSTCP]
"DefaultRcvWindow"="256960"
"DefaultTTL"="64"
"EnablePMTUBHDetect"="0"
"EnablePMTUDiscovery"="0"
"PMTUBlackHoleDetect"="0"
"PMTUDiscovery"="1"
"Tcp1323Opts"="1"
"SackOpts"="1"
"GlobalMaxTcpWindowSize"="256960"
"KeepAliveTime"="7200000"
"KeepAliveInterval"="1000"

As you can see, there are also other settings you may wish to add to your REG file.

Please let me know if you do, or if you wish to make any other changes, so I can also post the updated file at my web site

I will certainly do, and i will most certainly be adding more options, of course! ;)

I have just read about computer identification by TCP/IP stack fingerprinting. Quite interesting and relevant to this thread maybe.

http://insecure.org/nmap/osdetect/

http://www.usenix.org/publications/library...art/smart_html/

http://www.securiteam.com/tools/5MP052KI0A.html

excellent links, thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...