近日睇到一篇工具軟件推介, 當中所講的全是解決電腦問題既有用軟件, 唔知當中你用過幾多個呢?
To help you make a good first impression and to cement your reputation as a seasoned troubleshooting guru, I offer the following list of my top 10 must-have Windows utilities for PC support professionals. Some you probably already know. Others you may have heard of only in passing. But all deserve your consideration [...]
在進階上篇使用 regular expressions 去強化 privoxy, 在這篇會介紹如果用 URL Blacklist.com 所提供既其他資源去進一步強化 privoxy.
先停止 privoxy 服務
因為 URL Blacklist.com 提供了大量分類網址, 為了簡單控制, 在 privoxy config 檔案的 actionsfile 段內加入獨立既 action 檔案. 例如: porn 會用 actionsfile porn.action 去區別.
建議參考 ads, malware, phishing, porn, spyware 及 virusinfected
在每一個新的 actionsfile 內, 將第一行設定為 block reason, 格式如下:
{+block{Blacklist – (block reason).}}
將 URL Blacklist.com 中各分類內既檔案 domain 或 url 既網址加入自定既 action 檔案內. [...]
在基本篇介紹了怎樣安裝及增加基本設定, 在這一篇則介紹如果進一步使用 regular expression 去增加一些進階既設定. 因為 privoxy 本身依賴 regular expressions, 所以要參考 squidguard 方法, 到 URL Blacklist.com 下載分類網址, 其實主要使用其中幾個分類內的 expressions 檔 — ads, malware, 及 porn. 可因應需要更改, 注意以下設定與 URL Blacklist.com 所提供的有少少分別.
在 default.action 中將 Generic block patterns by path 段落 comment 為失效, 只保留 phpads(new)
加入下列各行:
/(ads/|ad/|banner/|sponsor/|event.ng/|Advertisement/|advertisement/|adverts/)
/(cgi-bin/nph-adclick\.exe|ads/media/images/|smartbanner/|\.com/ads/banners/|apfbanners/|Realmedia/ads/|realmedia/ads/|event\.ng/)
/(pics/banner/|viewcgi?pool=|clicktrack|hittrack|images\.go2net\.com/go2net/ads/|\.com/banners/|\.com/httpads/|\.com/advertising/|ads/adview\.php\?)
/^(ads\.|ad\.|adserver\.|k5ads\.)
/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/search\?q=[0-9]
/(adultos|adultsight|adultsite|adultsonly|adultweb|blow-job|bondage|centerfold|cumshot|cyberlust|cybercore|hardcore|incest|masturbat|obscene|pedophil|pedofil|playmate|pornstar|sexdream|showgirl|softcore|striptease|penis|vagina)
重新啟動 privoxy 令新設定生效
參考文章:
URL Blacklist.com
近日對網絡安全既興趣越來越大, 所以都開始諗一諗點做. 近日發現到一個細小既 proxy server – privoxy, 佢既好處在於除了支援 linux 之外, 仲支援 windows 及其他平台. 有興趣就去 http://www.privoxy.org 研究一下. 佢本身除了係 proxy server 之外, 最緊要佢有 content filtering 既功能, 可以有效阻擋廣告及不良網站. 而且, 軟件作者都好好心機, 軟件完全零設定, 安裝完便可立即使用. 當然, 進一步既設定及優化軟件對安全性同防止誤報有幫助. 以下會用 windows 平台做示範, 各位有興趣都可以試一下或互相討論一下.
安裝篇: (Windows)
到官方網址下載
安裝軟件包
最新版已經支援 windows 服務, 在安裝後到 C:\Program Files\Privoxy, 執行 privoxy –install 便可
之後可以在服務中, 選擇自動啟動或者手動執行
Linux 平台方面, 因為要由 compile 講起, 所以有機會至再開文詳講.
基本設定篇:
到 config.txt / config 修改 SSL [...]
Microsoft 承認在 firefox 內安裝了 Microsoft .net Framework Assistant, 這個 plugins 就會令 firefox 直接受到 Microsoft .net Framework Assistant 漏洞所引起既安全問題. 係 search engine 隨便找都可以找到方法, 不過我想引用 Microsoft 官方步驟:
1. 先在擴充套件移除 Microsoft .net Framework Assistant;
2. 關閉 firefox;
3. 開啟 regedit, 到 HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\extensions 移除 20a82645-c095-46ed-80e3-08825760534b};
4. 關閉 regedit;
5. 重啟 firefox;
6. 在地址欄鍵入 “about:config”, 篩選 general.useragent.extra.microsoftdotnet;
7. 用滑鼠右鍵按一下此的項目,然後按一下重設;
8. 開啟我的電腦, 進入 %SYSTEMDRIVE%\Windows\Microsoft.NET\Framework\v3.5\Windows Presentation Foundation\DotNetAssistantExtension\;
9. 刪除 DotNetAssistantExtension 整個資料夾便可
近日新買了一部電腦, 當安裝完成後未能進行 windows update, 苦無對策下在 google 找找, 發現了最有效解決 windows update 問題既方法.
1. 移除下列資料夾:
C:\WINDOWS\SoftwareDistribution
C:\Program Files\WindowsUpdate
2. 移除下列資料夾內狀態為錯誤的檔案
C:\WINDOWS\Downloaded Program Files
今日睇雜誌發現 Microsoft 出了一個 theme 俾 WinXP, 個 theme 外表很似 Vista, 有興趣既朋友可到 Microsoft 網站下載, 或直接進入下列網址
http://go.microsoft.com/fwlink/?LinkID=75078
Windows NT 4.0 / XP
Expand the *.cpl file from the Microsoft Windows NT 4.0 CD. The following example demonstrates how to expand the file Access.cpl from the Microsoft Windows NT 4.0 CD into the C:\Winnt\System32 directory:
expand d:\i386\access.cp_ c:\winnt\system32\access.cpl
For additional information about how to manually open the Control Panel folders, click the article number below to [...]
1. Run the Command Prompt
2. type net stop spooler
3. Delete *.SPL & *.SHD under system32\spool\printers
4. type net start spooler
平時安裝完 windows 後, 通常都會第一時間更新 windows 去確保安全同減少問題. 最近發現了幾個 windows xp 安裝後都建議安裝既更新, 雖然唔係甚麼大安全性既更新, 但係一聽到個名可能各位看倌又會有唔同睇法.
Hotfix for Windows XP, 加入對 SDHC 支援具有該卡容量為 4 GB 以上
http://support.microsoft.com/kb/934428
在 Windows XP SP2 電腦或 Windows 2000 SP4 電腦上套用安全性更新 930178 (MS07-021) 後,可能會發生數個問題
http://support.microsoft.com/kb/940275
當應用程式存在於 Windows XP SP – 2 multi-core 電腦發生存取違規
http://support.microsoft.com/kb/946501
上個星期幫細佬整電腦, 以為好簡單. 因為自己之前都有 down grade 既經驗, 不過今次就同自己上次唔同. 今次部機因為係用新款既顯示卡, 所以當時只有支援 vista 既 driver. 而亦因為咁, 搞到最後好急趕咁俾返部機人.
琴日取回部腦再試, 發現間廠仲未有 driver 提供. 係以為無出路之際, 驚奇地發現終於有原廠 driver 提供了. 真是天無絕人之路. 希望係今次同大家分享一下, 現在係一個互聯網既世界, 任何事第一件事就係安裝 network card driver. 只要有了它, 怎樣困難既事大部份都可以有解決既機會. 之後就要更新系統, eg Windows Update. 最後才安裝 driver, 因為好多時 driver 要有某些必要條件才可安裝.
|
|