Tip of the day: The Security article gives hands-on tips on how to deal with drone attacks, flooding, spammers, (D)DoS and more.

Cloaking

From UnrealIRCd documentation wiki
Jump to navigation Jump to search
This page is a translated version of the page Cloaking and the translation is 100% complete.
Other languages:

Cloaking 是一個方法,用來隱藏 IRC 使用者的 Hostname。假設你的 host 是 d5142341.cable.wanadoo.nl,當未使用 Cloaking 時加入會看起來如下:

*** User ([email protected]) has joined #test

而使用 Cloaking 時看起來如下:

*** User ([email protected]) has joined #test

如你所見,host 會被掩蓋、隱藏,其他使用者將不會看到你真實的 hostname 或 IP。這是一個很有用的功能來避免使用者遇到 flooding/attacking。有心人士無法在不知道你 host 與 IP 下攻擊你。Host 不僅僅是在 JOIN 時會隱藏,於 PART、WHOIS 與其他的指令下都會隱藏。

Cloaking 是由 usermode +x ( 如:/mode yournick +x )所控制。通常管理者預設強制開啟 +x ( 參考 set::modes-on-connect )

一個被 Cloak 隱藏的 Host 是由 Cloaking 模組產生的。你至少需要載入一個 Cloaking 模組,但是不需要擔心太多。根據 modules.default.conf 系統將會載入預設的 Cloaking 模組 ( 內建於 UnrealIRCd )。當然你也可以使用其他的 Cloaking 模組。

Cloaking 演算法需要 cloaking 金鑰來設定,更多訊息請參考 set::cloak-keys

在同一個網絡中,Cloak 金鑰必須在所有伺服器都保持一致。所有金鑰 必須妥善保管,因為透過金鑰可以反向解析原始的 Host。一旦金鑰被取得,Cloaking 機制也就無實質保護作用了。

值得注意的是,雖然使用者在 IRC Server 上被 Cloaking 機制保護著,但仍然有許多方法可以讓使用者暴露其 IP 與 Hostname。例如,你可以請使用者瀏覽一個被你控制的網站,一旦使用者照指示操作,你就可以透過調閱網站日誌檔案來取得使用者的 IP。