We should forget about small efficiencies — Donald Knuth
21 Jun
The dark side of the source - hostids, from Frank Hofmann’s Weblog.
這篇文章主要是說 Windows XP activation 會抓硬體資訊 (hardware ID), 這就是所謂的反盜版技術 — 產品啟動 MPA (Microsoft Product Activation).
其實很多人對這種 privacy 很重視, 也會對我們造成不便. 比如說將硬碟格式化後, 重新安裝 Windows XP, 我們必須再次執行產品啟動的動作. 而如果因為變更電腦硬體, 導致透過 Internet 啟動無法成功, 我們必須改用透過電話啟動來產品. 市售的 Microsoft 產品提供2次啟動(安裝)機會, 如果要作第3次安裝, 需要打電話至微軟確認. 當然, 我肯定反盜版, 但是對我們生活造成不便是有點誇張.
不過這不是這篇的重點, 軟體如果取得我們硬體的資訊, 然後送給 Microsoft, 那是不是和 Spyware 有點像呢? 只是偷的東西不一樣而己. 好, 這也不是重點, 所以 Frank 帶我們 trace 一下 OpenSolaris 的 sources, 看一下 OpenSolaris 是怎樣取得唯一的 host ID.
大意是說 OpenSolaris 不會取得 hardware-specific information, 他們是利用 modified during installation — Solaris install process simply patches the binary 來取得不同的 host ID, 讓它看起來很像 hardware-specific.
不過好玩的是, 他說 “I cannot show you the source for the install program since the Solaris installation utilities are not yet part of OpenSolaris, but for all practical purposes it’s safe to assume that the install process simply assigns a random number to be the hostid.”
真是無言的結局啊 :p
Popularity: 9% [?]
Leave a reply