Disabling 6to4 and Teredo

Written in the mid-afternoon in English • Tags: , ,

Windows tries to use 6to4 and Teredo automatically, not always resulting in a good IPv6 experience. To disable both, execute these commands:

netsh interface ipv6 6to4 set state disabled
netsh interface teredo set state disabled

On Windows XP teredo isn’t a context inside interface, but rather a setting in ipv6:

netsh interface ipv6 set teredo disabled

Sources and more information:

»
When you insert a software CD-ROM into the drive on your Windows machine, it can be nice that the installer runs automatically. If you insert a virus infected USB stick, it is not so nice that the virus runs automatically… Microsoft has a knowledge base article about disabling AutoRun (KB953252) on the current versions of Windows. The procedure may require you to install a patch (all instructions are included in the article).
»
Adam asked me about an old document I had written about preventing a Windows NT machine from causing an ISDN router to dialup unnecessarily. I think I had junked the document as too old, but maybe it still is a useful reference. So I have restored it from the Internet Archive’s Wayback Machine.

Disabling temporary IPv6 addresses

Written early in the evening in English • Tags: , ,

I never seem to be able to remember this, and somehow I end up with new Windows installations without this change:

netsh interface ipv6 set privacy state=disable

This will disable temporary IPv6 addresses. These are especially nasty on desktop systems, where the address will expire from under you. If you find yourself having to restart your SSH terminal connections every 14 hours to 6 days, this is why (as far as I can tell).

I really don’t buy the privacy aspect of generating random IP addresses. If you worry about eavesdropping, encrypt your traffic. If you worry about someone tracking your traffic patterns, stop browsing those questionable sites. :)