FYI
2010-11-04, 04:44 AM
Pixelserv Homepage (http://proxytunnel.sourceforge.net/pixelserv.php)
Pixelserv is a super minimal webserver, it's one and only purpose is serving a 1x1 pixel transparent gif file. Using some creative firewalling (netfilter/iptables) rules you can redirect some webrequests (for adds for example) to pixelserv.
How to Remove Advertisements with Pixelserv on DD-WRT :: Sysadmin Geek (http://sysadmingeek.com/articles/how-to-remove-advertisements-with-pixelserv-on-dd-wrt/)
相信有些網友會在%SystemRoot%\system32\drivers\etc\hosts 加入
127.0.0.1 rad.msn.com
127.0.0.1 rad.live.com
127.0.0.1 hiad.myweb.hinet.net
以便阻擋MSN & Hinet 的廣告, 不過這在開啟網頁的情形下會導致瀏覽器停頓, 所以並非最好的辦法, 上述連結所提供的辦法則是把網站黑名單導入Pixelserv, 再回傳一個只有 "一點" 的透明GIF 圖形 (所以才稱為 "Pixel Server"), 這個方法只適用於封鎖整個網站, 不適用於只封鎖網站的部分內容, 作者雖然以DD-WRT 為基礎, 應該也可以適用於其他平台, 例如OpenWrt, 而且可能更容易移植, 因為OpenWrt 的架構更開放, 更容易修改, 不過在此要特別指出的是以上連結所提供的Pixelserv 執行檔應該只能用於MIPSEL 架構, 例如Broadcom CPU, 其他架構 (MIPS/Atheros) 則請自行編譯, 否則請安裝Perl 或Microperl, 再執行Perl 版的Pixelserv
此外, 以上連結的作者假設Pixelserv's IP: xxx.xxx.xxx.254, 其實以OpenWrt 的作法可以更簡單, 也不需要那麼複雜的腳本, 原因就是受到DD-WRT 的架構所限制, 建議安裝之前先瞭解一下腳本內容
pixelserv compiled to run on router WRT54G - LinksysInfo - Community Forums for Linksys Devices (http://www.linksysinfo.org/forums/showthread.php?t=62758)
tomato.multics.mooo.com : / (http://tomato.multics.mooo.com)
贊助商連結
Pixelserv is a super minimal webserver, it's one and only purpose is serving a 1x1 pixel transparent gif file. Using some creative firewalling (netfilter/iptables) rules you can redirect some webrequests (for adds for example) to pixelserv.
How to Remove Advertisements with Pixelserv on DD-WRT :: Sysadmin Geek (http://sysadmingeek.com/articles/how-to-remove-advertisements-with-pixelserv-on-dd-wrt/)
相信有些網友會在%SystemRoot%\system32\drivers\etc\hosts 加入
127.0.0.1 rad.msn.com
127.0.0.1 rad.live.com
127.0.0.1 hiad.myweb.hinet.net
以便阻擋MSN & Hinet 的廣告, 不過這在開啟網頁的情形下會導致瀏覽器停頓, 所以並非最好的辦法, 上述連結所提供的辦法則是把網站黑名單導入Pixelserv, 再回傳一個只有 "一點" 的透明GIF 圖形 (所以才稱為 "Pixel Server"), 這個方法只適用於封鎖整個網站, 不適用於只封鎖網站的部分內容, 作者雖然以DD-WRT 為基礎, 應該也可以適用於其他平台, 例如OpenWrt, 而且可能更容易移植, 因為OpenWrt 的架構更開放, 更容易修改, 不過在此要特別指出的是以上連結所提供的Pixelserv 執行檔應該只能用於MIPSEL 架構, 例如Broadcom CPU, 其他架構 (MIPS/Atheros) 則請自行編譯, 否則請安裝Perl 或Microperl, 再執行Perl 版的Pixelserv
此外, 以上連結的作者假設Pixelserv's IP: xxx.xxx.xxx.254, 其實以OpenWrt 的作法可以更簡單, 也不需要那麼複雜的腳本, 原因就是受到DD-WRT 的架構所限制, 建議安裝之前先瞭解一下腳本內容
pixelserv compiled to run on router WRT54G - LinksysInfo - Community Forums for Linksys Devices (http://www.linksysinfo.org/forums/showthread.php?t=62758)
tomato.multics.mooo.com : / (http://tomato.multics.mooo.com)
贊助商連結