Yo, it might be worth exploring using win hooks [Detours, EasyHook] instead of using browser addons. That way more apps can work with .bit [mail / rss client, download manager]
[1] http://www.codeproject.com/KB/IP/DnsHijack.aspx
[2] http://research.microsoft.com/en-us/projects/detours/
[3] http://easyhook.codeplex.com/
[sug] Win api hook
Forum rules
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
Warning !
Avoid using binary softwares from untrusted users.
Prefer compiling it yourself and verify sources.
Re: [sug] Win api hook
cocktopus, on irc, suggested another way of doing this :
http://en.wikipedia.org/wiki/Layered_Service_Provider
More infos here :cocktopus on irc wrote:for windows users, the devs might look into LSP technologies
to prevent users having to specifically set proxy settings
in each app
a Layered Service Provider is a proxy vy virtue of it's being layered into the TCP/UDP stack in windows
http://en.wikipedia.org/wiki/Layered_Service_Provider
NamecoinID: id/khal
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
GPG : 9CC5B92E965D69A9
NMC: N1KHAL5C1CRzy58NdJwp1tbLze3XrkFxx9
BTC: 1KHAL8bUjnkMRMg9yd2dNrYnJgZGH8Nj6T
Register Namecoin domains with BTC
My bitcoin Identity - Send messages to bitcoin users
Charity Ad - Make a good deed without paying a cent
-
- Posts: 1
- Joined: Mon Jan 16, 2012 3:05 am
Re: [sug] Win api hook
This has been on my mind for a while; the need for OS-level dot-bit support so that any old app will work, not just your browser.
Fortunately, someone has already done some of the work. Apple's Bonjour project is an implementation of multicast-DNS. They have different goals, but they too required a pseudo-TLD to make it work. In their case, they created dot-local. With Bonjour (on windows or mac - linux users have the Avahi project), your PC can be found by anyone on your network as "yourpc.local". Really spiffy.
Avahi on Linux uses a very well-known OS interface called name-service-switch. On Windows, the equivalent interface is called Name Space Providers.
http://msdn.microsoft.com/en-us/library ... p/ms740537
Avahi and Bonjour are both open source, so one could theoretically modify their code to answer dot-bit and dot-i2p by querying the block chain using a local instance of the client with its xmlrpc interface. No need for a local name service, proxy, or any browser plugins. Everything would Just Work.
I haven't looked at Apple's mDNS code for OSX. I assume OSX either supports NSS like Linux or has something equivalent.
For mobile: Portable editions of Windows apparently have the NSP interface. I don't know about Android, iOS, Blackberry, etc..
Fortunately, someone has already done some of the work. Apple's Bonjour project is an implementation of multicast-DNS. They have different goals, but they too required a pseudo-TLD to make it work. In their case, they created dot-local. With Bonjour (on windows or mac - linux users have the Avahi project), your PC can be found by anyone on your network as "yourpc.local". Really spiffy.
Avahi on Linux uses a very well-known OS interface called name-service-switch. On Windows, the equivalent interface is called Name Space Providers.
http://msdn.microsoft.com/en-us/library ... p/ms740537
Avahi and Bonjour are both open source, so one could theoretically modify their code to answer dot-bit and dot-i2p by querying the block chain using a local instance of the client with its xmlrpc interface. No need for a local name service, proxy, or any browser plugins. Everything would Just Work.
I haven't looked at Apple's mDNS code for OSX. I assume OSX either supports NSS like Linux or has something equivalent.
For mobile: Portable editions of Windows apparently have the NSP interface. I don't know about Android, iOS, Blackberry, etc..