Bittorrent 的 Cache Discovery Protocol

在之前寫過 ( 原作者) 認為 Header Encryption 不是解決頻寬不足的好方法 (Bittorrent Encryption 這篇),於是跟 CacheLogic 合作,訂出了 CDP 這個 Cache 的機制:Bittorrent Implements Cache Discovery Protocol,至於 CDP Server 是否能夠像 Proxy Server 一樣被認定為合理使用,就要花時間等第一個法院判決的結果了...

DESTDIR (TARGETDIR)

bsd.port.mk 改動:

Add support for DESTDIR part I.

This commit should largele be a NOOP as it only adds support for DESTDIR undefined. This does allow us to start testing ports with DESTDIR set, but this is as of yet not supported.

Although this has been extensively tested on pointyhat, this is a very intrusive change and some cases may have been overlooked. Please contact Gabor and me if you find any.

PR: 100555
Submitted by: gabor
Sponsored by: Google Summer of Code 2006

這使得本來在 Makefile 裡用 ${PREFIX} 的都要改用 ${TARGETDIR},而且蠻多地方需要人工檢查... 在現在的一萬五千個 ports 裡不知道有多少 ${PREFIX}...

Update:用 INDEX + grep 掃過之後發現,光是 ports@freebsd.org 的就有 2k+ 個要檢查...

ClearType

很好用,但在 Windows XP 上預設是關閉的,所以網頁設計師在設計網頁時必須考慮到這個情況,選擇打開 與關掉 都還順眼的字型。

剛剛在 那邊看到 IE7 將 變成 Browser Feature,並且將預設值打開啟用:ClearerType

不知道以後的 Webpage 會是什麼樣子 :p

Bittorrent 的 Protocol Encryption

剛剛在看 的 Protocol Encryption 資料時發現 Mainline (也就是原廠的 Bittorrent Client) 已經在 4.9.2-beta 支援 MSE/PE 了:

另外,在同一篇文章裡有提到,有些加拿大的 ISP 已經有辦法攔住,在 forum 裡有猜測是透過與 tracker 間的通訊或是透過 DHT 而得知,也有人猜測是挑出大量的 connection 而得知...

有些簡單的方法,像是透過把連線到 tracker 的部分用 保護起來 ( 有提供),再把 Encryption 開成「強制」,並且不允許沒有 Encryption 的連線連入。

不過仔細想想還是有不少漏洞可以偵測就是了... 也許 Bittorrent Protocol 也要配合才能阻止 :o