2009年12月30日 星期三
Ubuntu 9.10 安裝紀本 III
Ubuntu 9.10 解析度更改
檔名:xorg.conf COPY 至 /etc/X11/xorg.conf
=======================================================
同步登入畫面桌布及已登入桌布
檔名為:wallpaper_daemon.py COPY 至 /bin/wallpaper_daemon.py
wallpaper_daemon.py 檔案的權限要有執行的權限 X
安裝套件: xsplash imagemagic
將 /bin/wallpaper_daemon.py 加入啟動項
=======================================================
限制網路頻寬
目前頻寬10000/2000
=======================================================
使用wondershaper
sudo apt-get install wondershaper
當前wondershaper與Ubuntu有點小問題,要作小小修改
sudo gedit /usr/sbin/wondershaper
到最last一句:
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop flowid :1
把flowid :1改了,如下:
tc filter add dev $DEV parent ffff: protocol ip prio 50 u32 match ip src \
0.0.0.0/0 police rate ${DOWNLINK}kbit burst 10k drop #flowid :1
然後save。
限速:
sudo wondershaper eth0 [downspeed] [upspeed]
替代[downspeed]和[upspeed] in Kbits.
取消限速:
sudo wondershaper clean eth0
如果你用wirelss,就不是eth0,可能係wifi0 or ath0,等等
自己用ifconfig和iwconfig查查當前連接
=======================================================
安裝方式:
sudo apt-get install wondershaper
sudo apt-get install trickle
wondershaper 的使用方式如下:
* wondershaper eth0 download upload
ex: wondershaper eth0 10000 500
限制 eth0 下載 10000 kb/s 上傳 500 kb/s
* wondershaper clear eth0
取消限制
* wondershaper eth0
看網卡目前的狀況
trickle 的使用方式如下:
* trickle -u 10 -d 20 ncftp
限制 ncftp 上傳 10 KB/s 下載 20 KB/s
wondershaper 是限制整張網卡。
trickle 則是針對某個 Service。
=======================================================
安裝 trickle
如果要限制firefox 下載 100KB/s 上傳 10KB/s
下指令 trickle -d 100 -u 10 firefox
或將 trickle -d 100 -u 10 加到桌面捷徑的「啟動圖示」指令欄裡
==========================================================
在面板顯示上傳下載流量
如果想隨時掌握網路上傳下載速率的話 有個小巧的程式滿好用的
在終端機中輸入
sudo apt-get install netspeed
重新登入
在面板按滑鼠右鍵 選「加入面板」
新增「Network Monitor」
==========================================================
Ubuntu 9.10 解析度更改
安裝套件 startupmanager (開機管理程式)
====================================================
更改 ubuntu 9.10 的 GDM theme
先確定一下,是否有安裝以下套件:
xsplash
imagemagic
1. 首先下載檔案,請參考以下網址:
http://gnome-look.org/content/download.php?content=114984&id=1&tan=7822693&PHPSESSID=b0b16f620943b703ec96667ace4fe949
這個檔案中只有一個檔案,檔名為 wallpaper_daemon.py,解壓縮並將它放在 ~/bin/ 這個目錄中(目錄名稱可自定),請注意檢查這個檔案的權限要有執行的權限,也就是有 x
如沒,請自行加上
# cd ~/bin
#chmod +x wallpaper_daemon.py
2. 由於這個程式是一個 daemon 所以請在 system -> preferences -> startup applications 加入,以便在開機時能自動載入
3. 重新開機
4. 開機後,可以開一個終端機,用以下指令來檢測效果
# sudo xsplash
5. 若要更換桌面及 GDM 的背景,可在桌面上按滑鼠右鍵,選 change desktop background 來更換
更換後同樣的可開一個終端機,輸入 sudo xsplash 來查看設定的效果
6. 登出,看一下 GDM 的背景是否改變了
-----
更改 GDM 內容較為複雜,請自行參考相關資料..
====================================================================
登出
ctrl+alt+F1
登入以後
export DISPLAY=:0.0
sudo -u gdm gnome-control-center
ctrl+alt+F7
就可以看到 control-center 選單
==================================================
關於splash
9.10的splash分成兩段
前半段可以用startupmanager改
後半在/usr/share/images/xsplash
後半就是登入後的splash
==================================================
查看 VGA 載入的模組
lspci
==================================================
rkhunter 檢測
--checkall (-c) :全系統檢測,rkhunter 的所有檢測項目
--createlogfile :建立登錄檔,一般預設放在 /var/log/rkhunter.log
--cronjob :可以使用 crontab 來執行,不會有顏色顯示
--report-warnings-only :僅列出警告訊息,正常訊息不列出!
--skip-application-check :忽略套件版本檢測(如果您已確定系統的套件已patch)
--skip-keypress :忽略按鍵後繼續的舉動(程式會持續自動執行)
--quiet :僅顯示有問題的訊息,比 --report-warnings-only 更少訊息
--versioncheck :檢測試否有新的版本在伺服器上
BrazilFW 相關記本
(轉載文)
================================================================
澎湖人線上書籍系統-BRAZILFW
BrazilFW下載點:
BrazilFW 2.31.10 Final 2008/05/25
BrazilFW version 2.32 RC 2009/10/13
BrazilFW version 3.X
ISO 下載點
BrazilFW外卦:
下載方法:
用PUTTY工具登陸,或者在路由上直接登陸,按q鍵,進入 字符模式。
打命令: mt 掛載分區
cd /mnt 進入分區
wget http://www.brazilfw.com.br/downloads/addons/sysinfo.tgz 用wget下載外掛
cd /
umt 卸載分區 reboot 重啟,然後你的外掛就能用了
ftp.tgz: FTP客戶端,即linux下的FTP下載工具。
hdparm.tgz: 硬盤停轉工具,即讓硬盤停止工作,可以有效減少噪音,耗電。
hdtools.tgz: 硬盤工具,linux下的硬盤分區維護工具。
sysinfo.tgz 常用:在WEB界面下常用的 流量查看工具。
ifacc.tgz: 流量統計工具,按月,日 統計。
ipacc.tgz: IP acconting,即統計指定的IP流量,比如統計:我的WEB器,IP為:222.212.222.111
iptraf.tgz: 常用:BF的流量顯示外掛,功能最為強大,是LINUX的常用工具之一。
ipupdate.tgz: 動態DNS,解析路由的動態IP,適合動態IP 的ADSL用戶。
upnp.tgz : BFW的 upnp外掛,需要libpthread.tgz 這個庫文件支持。
sslwrap.tgz : WEB方式,遠程管理路由。使用方法:更改http為https,改變端口為8181... 例: https://221.128.222.13:8181
tinyprx.tgz : 很方便的 URL過濾工具,把要禁止訪問的 網址寫入。
打印服務器外掛:
lp.tgz: 讓路由支持並口
p910nd.tgz: 打印機共享外掛,這兩個要同時使用。
BFW的庫文件: libncurses.tgz,libpcap.tgz,libpthread.tgz, partition.tgz
大多數情況下不需要下載,只有特定的外掛才需要這些組件
觀看 網路流量程式
http://www.brazilfw.com.br/downloads/addons/sysinfo.tgz
IP VIEW
http://www.brazilfw.com.br/downloads/addons/ipacc.tgz
======================================================================
Ubuntu 9.10 安裝紀本 II
一般而言,當我們從 Ubuntu 系統中刪除了一個軟件之後,該軟件的殘餘配置文件並沒有被刪除。如果你確信以後不再使用該軟件,那麼保留其配置文件實在沒有必要,所以我們大可一併刪除之。
要刪除某個軟件的殘餘配置文件,可以執行下面的操作:
1. 在終端中執行 sudo synaptic,以便啟動 Synaptic 包管理工具。
2. 點擊 Synaptic 右下角的 Status 按鈕進行切換。
3. 現在,你應該能夠在 Synaptic 的左邊看到 Not installed (residual config)。選擇它即可在右邊看到包含有殘餘配置文件的包,你可以在此選擇刪除該包。
提示 2:清理下載的緩存包
我們在 Ubuntu 中通過 sudo apt-get install 安裝軟件時,其下載的包都緩存在 /var/cache/apt/archives/ 目錄中。如果要清理掉這些已下載的緩存包,那麼可以執行命令: sudo apt-get autoclean sudo apt-get clean
提示 3:清理不再需要的包
我們知道,在 Ubuntu 系統中安裝軟件時,該軟件的依賴通常也會自動安裝上。那麼,在我們刪除該軟件後,其依賴可能需要我們手動刪除之。你可以運行 sudo apt-get autoremove 命令來解決這個問題。
提示 4:清理無用的語言文件
Ubuntu 與其他 Linux 發行版一樣,是一個支持多語言界面的系統。其實,對使用自己母語的我們來說,通常保留中文即可,你也可以保留自己所需要使用的語言,如英文。其他的語言文件於我們而言則沒有必要保留。
只選擇EN_US和zh_TW, zh_TW.EUC-TW, zh_TW.UTF-8
為了清理這些無用的語言文件,你需要在 Ubuntu 系統中安裝一個名為 localepurge 的小工具。你可以從本站讀到 localepurge 這個工具的具體用法。
提示 5:清理無用的翻譯內容
你可以使用 trans-purge 這組小工具來清理 *.desktop、mime-database、gconf schema 中的無用翻譯內容。該工具組的詳細使用本站同樣曾經介紹過。
-----------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------
更新檔 比方說拷至一個windows分區下的APT1目錄中: /media/hda3/APT1 3 拷完後用文件瀏覽器(nautilus)進入剛才新建的目錄APT1所在的上一級目錄,也就是: /media/hda3 4 在文件瀏覽器(nautilus) 中的空白處點右鍵,選在終端中打開,這時會打開一個新的終端。 5 在新打開的終端中執行: sudo dpkg-scanpackages APT1 /dev/null |gzip >APT1/Packages.gz 6 gksu gedit /etc/apt/sources.list 把 deb file:///media/hda3/ APT1/ 注意APT1後面有一個斜槓,前面還要有空格 加入到sources.list即可。 如果你安裝了apache2,也可以把這個部分源對外開放,方法如下: sudo ln -s /media/hda3/APT1/ /var/www/ubuntu-local gksu gedit /etc/apt/sources.list 把 deb http://127.0.0.1/ubuntu-local / 加入到sources.list即可。 注意空格後有一個斜槓 網上其它電腦修改源時,要把127.0.0.1改為你的ip地址或域名 另外,也可以: 代碼: sudo apt-get install aptoncd aptoncd可以把/var/cache/apt/archives/下的所有deb文件打包到iso文件,並且自動生成一個虛包,在新立得中加入這個光盤源後,只要安裝這個虛包,即可把所有deb一次性安裝好。
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
Ubuntu 臺灣套件庫
- 國家實驗研究院高速網路與計算中心
- 國家實驗研究院高速網路與計算中心 1 http://ftp.nchc.org.tw/ubuntu/
- 國家實驗研究院高速網路與計算中心 2 http://free.nchc.org.tw/ubuntu/
- 國家實驗研究院高速網路與計算中心 3 http://os.nchc.org.tw/ubuntu/
- 臺灣高品質學術研究網路 http://ftp.twaren.net/ubuntu/ (推薦)
- 縣市政府網路中心
- 新竹縣教育研究發展暨網路中心 http://apt.nc.hcc.edu.tw/pub/ubuntu/
- 高雄市教育網路 http://ftp.kh.edu.tw/Linux/ubuntu/
- 大學校院伺服器
- 國立臺灣大學資訊工程學系 (臺北市) http://ubuntu.csie.ntu.edu.tw/ubuntu/
- 國立中央大學資訊工程學系 (桃園縣) http://ftp.csie.ncu.edu.tw/Linux/Ubuntu/
- 國立交通大學計算機與網路中心 (新竹市) http://debian.nctu.edu.tw/ubuntu/
- 國立交通大學資訊工程學系 (新竹市) http://linux.cs.nctu.edu.tw/distributions/Ubuntu/ubuntu/
- 國立中興大學 (臺中市) http://ftp.nchu.edu.tw/Linux/Ubuntu/
- 國立暨南國際大學 (南投縣) http://ftp.ncnu.edu.tw/Linux/ubuntu/ubuntu/
- 國立中山大學校園宿舍網路推廣會 (高雄市) 1 http://gnu.cdpa.nsysu.edu.tw/Linux/Ubuntu/ubuntu/
- 國立中山大學校園宿舍網路推廣會 (高雄市) 2 http://pgsql.cdpa.nsysu.edu.tw/Linux/Ubuntu/ubuntu/
- 國立中山大學校園宿舍網路推廣會 (高雄市) 3 http://gnupg.cdpa.nsysu.edu.tw/ubuntu/
- 國立臺東大學 (臺東縣) http://mirror.nttu.edu.tw/ubuntu/
- 實踐大學 (臺北市) http://mirrors.usc.edu/pub/linux/distributions/ubuntu/
- 元智大學資訊工程學系 (桃園縣) http://ftp.cse.yzu.edu.tw/Linux/Ubuntu/ubuntu/
- 中華大學電子計算機中心 (新竹市) http://ftp.chu.edu.tw/pub/Linux/Ubuntu/packages/
- 靜宜大學資訊學院 (臺中縣) http://ftp.cs.pu.edu.tw/Linux/Ubuntu/ubuntu/
- 樹德科技大學 (高雄縣) http://ubuntu.stu.edu.tw/ubuntu/
- 淡江大學 (台北縣) http://ftp.tku.edu.tw/ubuntu/
- 自由軟體伺服器
- Ubuntu 官方臺灣映射站 http://tw.archive.ubuntu.com/ubuntu/
- Debian 臺灣 http://debian.linux.org.tw/ubuntu/
- XEmacs 臺灣 http://ftp.tw.xemacs.org/Linux/Ubuntu/ubuntu/
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
登入畫面解析度
登出
按ctrl+alt+F1 跳到終端機
登入以後輸入以下指令
export DISPLSY=:0.0
sudo -u gdm gnome-control-center
跳回圖型介面
(ctrl+alt+F7)
如果有把其它終端機關掉的話
(ctrl+alt+F2)
在gnome-control-center
找到顯示
裡面就可以改了
-----------------------------------------------------------------------------------------------------------------
2009年12月10日 星期四
Google Public DNS
http://code.google.com/intl/zh-TW/speed/public-dns/
IP addresses 8.8.8.8 and 8.8.4.4
HINET 168.95.1.1 , 168.95.192.1
Google IPv6 DNS
2001:4860:4860::8888
2001:4860:4860::8844
BIOS 叫聲對照表
[ AMI BIOS ]
1短音:DRAM 復新失敗!
1長音3短音:DRAM 錯誤!
1長音8短音:顯示測試失敗!
2短音:DRAM 同位檢測失敗!
3短音:基本 64K RAM 測試失敗!
4短音:系統時鐘錯誤!
5短音:CPU 處理器錯誤!
6短音:主機板鍵盤控制器錯誤!
7短音:CPU 中斷錯誤!
8短音:顯示卡記憶體寫入/讀取錯誤!
9短音:ROM BIOS 檢查碼錯誤!
10短音:CMOS 關機暫存器寫入/讀取錯誤!
11短音:快取記憶體故障!
[Award BIOS]
1短音:系統啟動正常!
2短音:CMOS 設定錯誤!
1長音1短音:DRAM 或主機板錯誤!
1長音2短音:顯示錯誤(顯示器或顯示卡)!
1長音3短音:鍵盤控制器錯誤!
1長音9短音:主機板 FLASH RAM 或 EPROM 錯誤( BIOS 損壞)!
不斷地響(長音):DRAM 沒插好或損壞!
不斷地響:電源,顯示器未和顯示卡連接好!
重覆短響:電源有問題!
[ Phoenix BIOS ]
1短:系統啟動正常!
1短1短1短:系統開機初始化失敗!
1短1短2短:主機板錯誤!
1短1短3短:CMOS 或電池失效!
1短1短4短:ROM BIOS 校驗錯誤!
1短4短3短:EISA 時序器錯誤!
1短3短1短:RAM 復新錯誤!
3短1短2短:主 DMA 暫存器錯誤!
3短1短3短:主中斷處理暫存器錯誤!
3短2短4短:主機板鍵盤控制器錯誤!
3短4短2短:顯示錯誤(顯示器或顯示卡)!
4短2短2短:關機錯誤!
4短4短1短:串列埠錯誤!
4短4短2短:並列埠錯誤!
Windows 7 的6個版本
1. Windows 7 Starter(初級版):無視覺特效、無桌面強化改進,最多只能同時運作三個應用程式。可供OEM預裝於新PC,一般市面上買不到。可能會使用在 Netbook小電腦。
2.Windows 7 Home Basic(家用基礎版):無視覺特效、無桌面強化改進,主打新興市場用戶。
3.Windows 7 Home Premium(家用進階版):主打大部分的消費者與家庭用戶,內建視覺特效與桌面強化功能,包含更簡單易用的網路設定、改進外接裝置的連線、存取等功能。可供OEM預裝於新PC並可在市面上銷售。
4.Windows 7 Professional(專業版):主打一般消費者與公司行號,包含Home Premium的全部功能並增加許多額外的功能,如加入網域、進階網路備份功能、檔案系統加密與Mobility Center...等。可供OEM預裝於新PC並可在市面上銷售。
5.Windows 7 Enterprise(企業大量授權版):主打中大型企業,也就是大量授權版,額外的功能包含bitLocker資料保護機制、另外還有限制軟體安裝的 appLocker保護與企業內部網路、系統控管...等等功能。企業用,一般消費者無法單獨購買單一授權。
6.Windows 7 Ultimate(旗艦版):包含全部Windows 7的功能,算是全部版本中的旗艦版,當然也會是最貴的。這是一般消費者可以買到的版本。
台灣版的售價
» Windows 7家用進階版:6999元,升級版:4170元。
» Windows 7專業版:9890元,升級版:6880元。
» Windows 7旗艦版:10590元,升級版:8390元。
台灣IPv4-ip表 2009/10/06
----------------------------------------------------------------------
allow from 58.86.0.0/16
allow from 58.99.0.0/18
allow from 58.99.64.0/18
allow from 59.104.0.0/15
allow from 59.112.0.0/13
allow from 59.120.0.0/14
allow from 59.124.0.0/14
allow from 60.198.0.0/16
allow from 60.199.0.0/16
allow from 60.244.0.0/17
allow from 60.244.128.0/17
allow from 60.245.0.0/18
allow from 60.245.64.0/19
allow from 60.245.96.0/19
allow from 60.248.0.0/16
allow from 60.249.0.0/16
allow from 60.250.0.0/15
allow from 61.20.0.0/16
allow from 61.216.0.0/16
allow from 61.217.0.0/16
allow from 61.218.0.0/15
allow from 61.220.0.0/14
allow from 61.224.0.0/14
allow from 61.228.0.0/14
allow from 61.247.160.0/20
allow from 61.30.0.0/16
allow from 61.31.0.0/16
allow from 61.56.0.0/20
allow from 61.56.128.0/20
allow from 61.56.144.0/20
allow from 61.56.16.0/20
allow from 61.56.160.0/19
allow from 61.56.192.0/19
allow from 61.56.224.0/19
allow from 61.56.64.0/20
allow from 61.56.80.0/20
allow from 61.56.96.0/20
allow from 61.57.0.0/19
allow from 61.57.128.0/20
allow from 61.57.144.0/20
allow from 61.57.160.0/20
allow from 61.57.176.0/20
allow from 61.57.192.0/20
allow from 61.57.208.0/20
allow from 61.57.224.0/20
allow from 61.57.240.0/20
allow from 61.57.32.0/19
allow from 61.57.64.0/18
allow from 61.58.112.0/20
allow from 61.58.128.0/19
allow from 61.58.16.0/20
allow from 61.58.160.0/19
allow from 61.58.192.0/18
allow from 61.58.32.0/20
allow from 61.58.48.0/20
allow from 61.58.64.0/20
allow from 61.58.80.0/20
allow from 61.58.96.0/20
allow from 61.59.0.0/16
allow from 61.60.0.0/19
allow from 61.60.128.0/19
allow from 61.60.160.0/19
allow from 61.60.192.0/20
allow from 61.60.208.0/20
allow from 61.60.224.0/20
allow from 61.60.240.0/20
allow from 61.60.32.0/18
allow from 61.60.95.0/19
allow from 61.61.0.0/17
allow from 61.61.127.0/18
allow from 61.61.208.0/19
allow from 61.61.240.0/20
allow from 61.62.0.0/16
allow from 61.63.0.0/19
allow from 61.63.128.0/19
allow from 61.63.160.0/18
allow from 61.63.223.0/19
allow from 61.63.32.0/18
allow from 61.63.96.0/19
allow from 61.64.0.0/19
allow from 61.64.128.0/17
allow from 61.64.32.0/20
allow from 61.64.48.0/20
allow from 61.64.64.0/18
allow from 61.65.0.0/17
allow from 61.65.128.0/18
allow from 61.65.192.0/18
allow from 61.66.0.0/16
allow from 61.67.0.0/20
allow from 61.67.112.0/20
allow from 61.67.128.0/17
allow from 61.67.16.0/19
allow from 61.67.48.0/20
allow from 61.67.64.0/19
allow from 110.24.0.0/13
allow from 110.50.128.0/18
allow from 111.125.128.0/21
allow from 111.235.192.0/18
allow from 111.240.0.0/12
allow from 111.67.48.0/20
allow from 111.70.0.0/15
allow from 111.80.0.0/14
allow from 112.104.0.0/15
allow from 112.78.64.0/19
allow from 113.196.0.0/16
allow from 113.21.160.0/19
allow from 113.21.80.0/20
allow from 113.61.128.0/17
allow from 114.136.0.0/15
allow from 114.140.0.0/16
allow from 114.198.160.0/20
allow from 114.198.176.0/20
allow from 114.24.0.0/14
allow from 114.30.32.0/20
allow from 114.32.0.0/12
allow from 115.165.192.0/18
allow from 115.30.64.0/18
allow from 115.42.112.0/21
allow from 115.43.0.0/16
allow from 115.80.0.0/14
allow from 115.85.144.0/20
allow from 116.118.128.0/18
allow from 116.212.80.0/20
allow from 116.50.32.0/20
allow from 116.59.0.0/16
allow from 116.89.128.0/20
allow from 117.103.96.0/20
allow from 117.19.0.0/16
allow from 117.56.0.0/16
allow from 118.160.0.0/13
allow from 118.168.0.0/14
allow from 118.231.0.0/16
allow from 118.232.0.0/15
allow from 119.14.0.0/16
allow from 119.15.192.0/18
allow from 119.30.16.0/20
allow from 119.31.176.0/20
allow from 119.75.240.0/20
allow from 119.77.128.0/17
allow from 120.96.0.0/11
allow from 121.50.144.0/21
allow from 121.50.176.0/20
allow from 122.100.64.0/18
allow from 122.116.0.0/15
allow from 122.118.0.0/16
allow from 122.120.0.0/13
allow from 122.128.80.0/21
allow from 122.146.0.0/15
allow from 122.200.152.0/21
allow from 122.201.128.0/17
allow from 122.252.160.0/20
allow from 122.254.0.0/18
allow from 122.255.80.0/20
allow from 122.99.0.0/18
allow from 123.0.192.0/18
allow from 123.0.32.0/19
allow from 123.110.0.0/16
allow from 123.192.0.0/14
allow from 123.204.0.0/15
allow from 123.240.0.0/15
allow from 123.252.0.0/17
allow from 123.50.32.0/19
allow from 123.51.128.0/17
allow from 123.99.0.0/19
allow from 123.99.32.0/19
allow from 124.108.128.0/18
allow from 124.109.112.0/20
allow from 124.12.0.0/16
allow from 124.150.128.0/21
allow from 124.155.128.0/19
allow from 124.155.160.0/19
allow from 124.199.64.0/19
allow from 124.199.96.0/20
allow from 124.218.0.0/16
allow from 124.219.0.0/17
allow from 124.29.128.0/19
allow from 124.29.160.0/19
allow from 124.6.0.0/19
allow from 124.8.0.0/14
allow from 125.224.0.0/13
allow from 125.232.0.0/15
allow from 139.175.0.0/16
allow from 140.109.0.0/16
allow from 140.110.0.0/16
allow from 140.111.0.0/16
allow from 140.112.0.0/16
allow from 140.113.0.0/16
allow from 140.114.0.0/16
allow from 140.115.0.0/16
allow from 140.116.0.0/14
allow from 140.120.0.0/13
allow from 140.128.0.0/16
allow from 140.129.0.0/16
allow from 140.130.0.0/16
allow from 140.131.0.0/16
allow from 140.132.0.0/16
allow from 140.133.0.0/16
allow from 140.134.0.0/16
allow from 140.135.0.0/16
allow from 140.136.0.0/15
allow from 140.138.0.0/16
allow from 163.13.0.0/12
allow from 163.29.0.0/16
allow from 163.30.0.0/15
allow from 163.32.0.0/16
allow from 168.95.0.0/16
allow from 180.176.0.0/15
allow from 180.204.0.0/14
allow from 180.214.176.0/20
allow from 180.217.0.0/16
allow from 180.218.0.0/16
allow from 180.92.0.0/20
allow from 192.192.0.0/16
allow from 192.72.128.0/18
allow from 192.72.16.0/20
allow from 192.72.192.0/19
allow from 192.72.224.0/20
allow from 192.72.240.0/21
allow from 192.72.248.0/22
allow from 192.72.252.0/24
allow from 192.72.3.0/24
allow from 192.72.32.0/19
allow from 192.72.4.0/22
allow from 192.72.64.0/18
allow from 192.72.8.0/21
allow from 192.83.166.0/24
allow from 192.83.167.0/24
allow from 192.83.168.0/24
allow from 192.83.169.0/24
allow from 192.83.170.0/24
allow from 192.83.171.0/24
allow from 192.83.172.0/24
allow from 192.83.173.0/24
allow from 192.83.174.0/24
allow from 192.83.175.0/24
allow from 192.83.176.0/24
allow from 192.83.177.0/24
allow from 192.83.178.0/24
allow from 192.83.179.0/24
allow from 192.83.180.0/24
allow from 192.83.181.0/24
allow from 192.83.182.0/24
allow from 192.83.183.0/24
allow from 192.83.184.0/24
allow from 192.83.185.0/24
allow from 192.83.186.0/24
allow from 192.83.187.0/24
allow from 192.83.188.0/24
allow from 192.83.189.0/24
allow from 192.83.190.0/24
allow from 192.83.191.0/24
allow from 192.83.192.0/24
allow from 192.83.193.0/24
allow from 192.83.194.0/24
allow from 192.83.195.0/24
allow from 192.83.196.0/24
allow from 202.144.208.0/20
allow from 202.148.208.0/20
allow from 202.151.48.0/20
allow from 202.160.64.0/19
allow from 202.168.192.0/20
allow from 202.169.160.0/20
allow from 202.174.16.0/20
allow from 202.178.128.0/17
allow from 202.39.0.0/18
allow from 202.39.128.0/17
allow from 202.39.63.0/19
allow from 202.39.96.0/20
allow from 202.5.12.0/22
allow from 202.5.4.0/23
allow from 202.5.8.0/22
allow from 202.6.104.0/23
allow from 202.8.14.0/23
allow from 203.111.208.0/20
allow from 203.118.224.0/20
allow from 203.119.3.0/24
allow from 203.121.224.0/20
allow from 203.121.240.0/20
allow from 203.145.192.0/20
allow from 203.145.208.0/20
allow from 203.160.144.0/20
allow from 203.160.224.0/19
allow from 203.190.16.0/21
allow from 203.201.32.0/20
allow from 203.207.0.0/20
allow from 203.207.32.0/20
allow from 203.64.0.0/16
allow from 203.65.0.0/17
allow from 203.65.128.0/19
allow from 203.65.160.0/19
allow from 203.65.192.0/19
allow from 203.65.224.0/19
allow from 203.66.0.0/16
allow from 203.67.0.0/16
allow from 203.68.0.0/16
allow from 203.69.0.0/16
allow from 203.70.0.0/16
allow from 203.71.0.0/16
allow from 203.72.0.0/16
allow from 203.73.0.0/16
allow from 203.74.0.0/16
allow from 203.75.0.0/16
allow from 203.78.176.0/20
allow from 203.79.128.0/17
allow from 203.84.144.0/21
allow from 210.200.0.0/16
allow from 210.201.0.0/16
allow from 210.202.0.0/19
allow from 210.202.128.0/17
allow from 210.202.32.0/20
allow from 210.202.48.0/21
allow from 210.202.56.0/21
allow from 210.202.64.0/18
allow from 210.203.0.0/17
allow from 210.240.0.0/16
allow from 210.241.0.0/18
allow from 210.241.128.0/19
allow from 210.241.160.0/19
allow from 210.241.192.0/19
allow from 210.241.224.0/19
allow from 210.241.64.0/18
allow from 210.242.0.0/17
allow from 210.242.128.0/17
allow from 210.243.0.0/18
allow from 210.243.128.0/17
allow from 210.243.64.0/19
allow from 210.243.96.0/19
allow from 210.244.0.0/17
allow from 210.244.192.0/19
allow from 210.244.224.0/19
allow from 210.58.0.0/16
allow from 210.59.0.0/17
allow from 210.59.128.0/17
allow from 210.60.0.0/16
allow from 210.61.0.0/16
allow from 210.62.0.0/19
allow from 210.62.160.0/20
allow from 210.62.176.0/20
allow from 210.62.192.0/19
allow from 210.62.224.0/20
allow from 210.62.240.0/21
allow from 210.62.248.0/21
allow from 210.62.32.0/19
allow from 210.62.64.0/19
allow from 210.63.0.0/19
allow from 210.63.128.0/19
allow from 210.63.160.0/19
allow from 210.63.192.0/19
allow from 210.63.224.0/19
allow from 210.63.32.0/19
allow from 210.63.64.0/18
allow from 210.64.0.0/16
allow from 210.65.0.0/16
allow from 210.66.0.0/16
allow from 210.67.0.0/20
allow from 210.67.112.0/20
allow from 210.67.128.0/20
allow from 210.67.144.0/20
allow from 210.67.16.0/20
allow from 210.67.160.0/19
allow from 210.67.192.0/20
allow from 210.67.208.0/20
allow from 210.67.248.0/21
allow from 210.67.32.0/19
allow from 210.67.64.0/19
allow from 210.67.96.0/20
allow from 210.68.0.0/16
allow from 210.69.0.0/16
allow from 210.70.0.0/16
allow from 210.71.0.0/17
allow from 210.71.128.0/17
allow from 210.85.0.0/16
allow from 211.20.0.0/16
allow from 211.21.0.0/16
allow from 211.22.0.0/16
allow from 211.23.0.0/16
allow from 211.72.0.0/17
allow from 211.72.128.0/17
allow from 211.73.0.0/19
allow from 211.73.128.0/19
allow from 211.73.160.0/19
allow from 211.73.192.0/19
allow from 211.73.224.0/19
allow from 211.73.32.0/19
allow from 211.73.64.0/19
allow from 211.73.96.0/19
allow from 211.74.0.0/17
allow from 211.74.128.0/17
allow from 211.75.0.0/17
allow from 211.75.128.0/17
allow from 211.76.0.0/19
allow from 211.76.112.0/20
allow from 211.76.128.0/20
allow from 211.76.144.0/20
allow from 211.76.160.0/20
allow from 211.76.176.0/20
allow from 211.76.192.0/19
allow from 211.76.240.0/20
allow from 211.76.32.0/19
allow from 211.76.64.0/20
allow from 211.76.80.0/20
allow from 211.76.96.0/20
allow from 211.77.0.0/18
allow from 211.77.128.0/17
allow from 211.77.64.0/18
allow from 211.78.0.0/20
allow from 211.78.128.0/19
allow from 211.78.16.0/20
allow from 211.78.160.0/19
allow from 211.78.208.0/20
allow from 211.78.240.0/20
allow from 211.78.32.0/19
allow from 211.78.64.0/20
allow from 211.78.80.0/20
allow from 211.78.96.0/19
allow from 211.79.0.0/19
allow from 211.79.112.0/20
allow from 211.79.128.0/19
allow from 211.79.160.0/19
allow from 211.79.192.0/20
allow from 211.79.208.0/20
allow from 211.79.32.0/20
allow from 211.79.48.0/20
allow from 211.79.64.0/19
allow from 211.79.96.0/20
allow from 218.160.0.0/14
allow from 218.164.0.0/15
allow from 218.166.0.0/15
allow from 218.168.0.0/13
allow from 218.184.0.0/16
allow from 218.187.0.0/16
allow from 218.210.0.0/16
allow from 218.211.0.0/16
allow from 218.32.0.0/16
allow from 218.34.0.0/16
allow from 218.35.0.0/16
allow from 219.80.0.0/16
allow from 219.81.0.0/16
allow from 219.84.0.0/16
allow from 219.85.0.0/16
allow from 219.86.0.0/15
allow from 219.91.0.0/17
allow from 220.128.0.0/18
allow from 220.128.191.0/18
allow from 220.128.64.0/17
allow from 220.129.0.0/13
allow from 220.137.0.0/14
allow from 220.141.0.0/15
allow from 220.143.0.0/16
allow from 220.157.112.0/20
allow from 220.228.0.0/16
allow from 220.229.0.0/16
allow from 221.120.0.0/18
allow from 221.120.63.0/19
allow from 221.169.0.0/16
allow from 222.156.0.0/16
allow from 222.157.0.0/16
allow from 222.250.0.0/16
allow from 222.251.0.0/17
----------------------------------------------------------------------