<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>資訊藝術家 &#187; Cisco</title>
	<atom:link href="http://www.info-artist.net/tag/cisco/feed" rel="self" type="application/rss+xml" />
	<link>http://www.info-artist.net</link>
	<description>記錄下來自工作中的經驗 智慧</description>
	<lastBuildDate>Thu, 26 Aug 2010 01:34:57 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://www.info-artist.net/?pushpress=hub'/>
		<item>
		<title>阻擋Facebook流量簡單分享</title>
		<link>http://www.info-artist.net/2009/09/facebook.html</link>
		<comments>http://www.info-artist.net/2009/09/facebook.html#comments</comments>
		<pubDate>Mon, 07 Sep 2009 15:22:16 +0000</pubDate>
		<dc:creator>資訊藝術家</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[MIS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[網路相關]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.info-artist.net/2009/09/%e9%98%bb%e6%93%8bfacebook%e6%b5%81%e9%87%8f%e7%b0%a1%e5%96%ae%e5%88%86%e4%ba%ab.html</guid>
		<description><![CDATA[google_ad_client = "pub-4122239292938506"; /* index-wordpress-02 */ google_ad_slot = "5845048901"; google_ad_width = 468; google_ad_height = 60; Facebook是時下正夯的網路平台, 那因為有web base的遊戲軟體, 如 : 開心農場, Restaurant City 這些, 也就導致了大流量, 一間公司 一個人上還好, 人多的話整個網路流量就滿出來了 ~~ 一定會影 響到正常的作業程序 !! 那怎麼針對 FACEBOOK 來限制或封鎖呢 ?? 以下我大概舉出 Cisco Router 及 Linux iptables 的設定方式 ~~ 來簡單分享 apps.facebook.com 有很多的主機, 不過經測試大約都在 69.63.0.0 這個網段 Cisco Router 上的做法可以用 ACL 來限制 [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><p><img src="http://lh6.ggpht.com/_j2C5OXpRtbU/SqUlX3gl8oI/AAAAAAAABEE/Mtd4EXR2EPc/facebook.jpg?imgmax=200" alt="facebook.jpg" width="189" height="59" /></p>
<p>Facebook是時下正夯的網路平台, 那因為有web base的遊戲軟體,<br />
如 : 開心農場, <span style="FONT-SIZE: 1em">Restaurant City</span> 這些, 也就導致了大流量, 一間公司<br />
一個人上還好, 人多的話整個網路流量就滿出來了 ~~ 一定會影<br />
響到正常的作業程序 !!</p>
<p>那怎麼針對 FACEBOOK 來限制或封鎖呢 ?? 以下我大概舉出<br />
Cisco Router 及 Linux iptables 的設定方式 ~~ 來簡單分享</p>
<p><span id="more-169"></span></p>
<p>apps.facebook.com 有很多的主機, 不過經測試大約都在 69.63.0.0<br />
這個網段</p>
<p>Cisco Router 上的做法可以用 ACL 來限制 :</p>
<p>Router(config)# access-list 120 permit tcp deny eq www host 69.63.0.0<br />
Router(config)# int f0/0<br />
Router(config)# ip access-group 120</p>
<p>這樣就可以做到阻檔 apps.facebook.com 的 www 的流量了 ~~</p>
<p>在 Linux 上用 iptables 可以用以下方式 :</p>
<p>#iptables -t nat -A PREROUTING -p tcp -d apps.facebook.com -j DROP</p>
<p>這樣可以通往 apps.facebook.com 的封包都丟掉 ~~</p>
<p>#iptables -t nat -A PREROUTING -p tcp -d apps.facebook.com -m multiport<br />
&#8211;port 80,443 -j DNAT &#8211;to 69.63.176.140</p>
<p>這樣可以讓往 apps.facebook.com 的封包都重導向到 facebook 的登入頁面</p>
<p>讓 user 誤認為是 facebook 的問題, 不會知道是IT人員擋掉了 ~~</p>
]]></content:encoded>
			<wfw:commentRss>http://www.info-artist.net/2009/09/facebook.html/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Cisco Switch設定port mirror簡單分享</title>
		<link>http://www.info-artist.net/2009/07/cisco-switchport-mirror.html</link>
		<comments>http://www.info-artist.net/2009/07/cisco-switchport-mirror.html#comments</comments>
		<pubDate>Wed, 22 Jul 2009 01:31:04 +0000</pubDate>
		<dc:creator>資訊藝術家</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[網路相關]]></category>
		<category><![CDATA[NETWORK]]></category>

		<guid isPermaLink="false">http://www.info-artist.net/2009/07/cisco-switch%e8%a8%ad%e5%ae%9aport-mirror%e7%b0%a1%e5%96%ae%e5%88%86%e4%ba%ab.html</guid>
		<description><![CDATA[google_ad_client = "pub-4122239292938506"; /* index-485*15 */ google_ad_slot = "9513087473"; google_ad_width = 468; google_ad_height = 15; 昨天提到NTOP這個即時分析的軟體, 可以讓我們針對網路的封包進行分析 來產生圖表, 可以簡易的找出異常的電腦發出異常的封包, 但是安裝ntop的主 機必需是在 gateway 上, 所有的封包才會進到ntop進行分析. 那如果不是在gateway上的話呢?? 方法還是有的 ~~ 1. 準備一台 HUB , 跟gateway裝在一起 ~~ 2. 準備一台有 port mirror 功能的 switch. 那這邊簡單的分享一下 Cisco 2960 Switch 的 port mirror 設定的方法 案例 : gateway 在 port 21 我們要 mirror [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><p>昨天提到NTOP這個即時分析的軟體, 可以讓我們針對網路的封包進行分析</p>
<p>來產生圖表, 可以簡易的找出異常的電腦發出異常的封包, 但是安裝ntop的主</p>
<p>機必需是在 gateway 上, 所有的封包才會進到ntop進行分析.</p>
<p>那如果不是在gateway上的話呢?? 方法還是有的 ~~</p>
<p><span id="more-132"></span></p>
<p>1. 準備一台 HUB , 跟gateway裝在一起 ~~</p>
<p>2. 準備一台有 port mirror 功能的 switch.</p>
<p>那這邊簡單的分享一下 Cisco 2960 Switch 的 port mirror 設定的方法</p>
<p>案例 : gateway 在 port 21 我們要 mirror 所有 port 21 的封包到 port 22 ~</p>
<pre>
進到 switch configure mod ~
config# monitor session 1 source interface Fa0/21
config# monitor session 1 destination interface Fa0/22
回到 enable mode
# wr me
</pre>
<p>這樣就把 port mirror 設定好囉 !!</p>
<p>注意事項 : 這樣 port 22 的網卡就沒有作用囉 ~~ 只是接收mirror的封包 ~<br />
它會ping不到別人, 別人也ping不到它喔 ~~</p>
]]></content:encoded>
			<wfw:commentRss>http://www.info-artist.net/2009/07/cisco-switchport-mirror.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cisco layer2 Switch 設定IP簡單分享</title>
		<link>http://www.info-artist.net/2009/07/cisco-layer2-switch-ip.html</link>
		<comments>http://www.info-artist.net/2009/07/cisco-layer2-switch-ip.html#comments</comments>
		<pubDate>Mon, 20 Jul 2009 15:12:18 +0000</pubDate>
		<dc:creator>資訊藝術家</dc:creator>
				<category><![CDATA[Cisco]]></category>

		<guid isPermaLink="false">http://www.info-artist.net/2009/07/cisco-layer2-switch-%e8%a8%ad%e5%ae%9aip%e7%b0%a1%e5%96%ae%e5%88%86%e4%ba%ab.html</guid>
		<description><![CDATA[Cisco 的 Switch 幾乎都是網管型的 Switch , 有很多特殊的功能 ~~ 也可以用telnet, http的方式對它進行設定, 那會用到telnet 跟 http 適必就一定需要設定(Assigning IP)一個 IP address, 這樣才可以 透過 telnet or brower 來進行設定 ~ 設定方式 : (要到 enable mode) 開完機輸入 &#62;enable 就會進入 Switch# 的 enable mode ~ #conf t 進入 configure mode ~ config# interface vlan 1 config#ip address 192.168.0.1 255.255.255.0 ctrl+z 回到 enable mode [...]]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><p><span>Cisco 的 Switch 幾乎都是網管</span>型的 Switch , 有很多特殊的功能 ~~</p>
<p>也可以用telnet, http的方式對它進行設定, 那會用到telnet 跟 http</p>
<p>適必就一定需要設定(Assigning IP)一個 IP address, 這樣才可以</p>
<p>透過 telnet or brower 來進行設定 ~</p>
<p><span id="more-124"></span></p>
<p>設定方式 : (要到 enable mode) 開完機輸入 &gt;enable</p>
<p>就會進入 Switch# 的 enable mode ~</p>
<pre>
#conf t
</pre>
<p>進入 configure mode ~</p>
<pre>
config# interface vlan 1
config#ip address 192.168.0.1 255.255.255.0
ctrl+z 回到 enable mode
# write memory
</pre>
<p>將剛剛的設定寫到計憶體中, 下次開機就自動會執行囉 ~~</p>
<p>以上這樣我們就把IP設定好囉 ~~</p>
]]></content:encoded>
			<wfw:commentRss>http://www.info-artist.net/2009/07/cisco-layer2-switch-ip.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>opensource的tftp server !!</title>
		<link>http://www.info-artist.net/2009/07/opensourcetftp-server.html</link>
		<comments>http://www.info-artist.net/2009/07/opensourcetftp-server.html#comments</comments>
		<pubDate>Tue, 14 Jul 2009 03:17:37 +0000</pubDate>
		<dc:creator>資訊藝術家</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[網路相關]]></category>

		<guid isPermaLink="false">http://www.info-artist.net/2009/07/opensource%e7%9a%84tftp-server.html</guid>
		<description><![CDATA[網路上真的無奇不有呀, 不小心發現了一個 opensource 的 tftp server 軟體還支援win32喔, 這對我們使用 Cisco 的設備的人還真是一大福音 !! 使用起來也很簡單 ~~ 以下簡單的分享一下 ~ 下載下來後, 執行就可以看到以下的畫面, 就先把 tftp server 的路徑跟interface 設定完成, tftp server 就算設定好了 ~~ 很簡單吧 ~ 再來就可以在 Cisco 的設備 上使用 tftp server 了 ~~ 在傳輸檔案的畫面就如以下官方網站裡的樣子囉 ~~ TFTP server 官方網站 : http://tftpd32.jounin.net/ &#60;&#8211; 到這邊選 download 就可以 看到很多版本可供下載囉 !!]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><p><span>網路上真的</span>無奇不有呀, 不小心發現了一個 opensource 的 tftp server</p>
<p>軟體還支援win32喔, 這對我們使用 Cisco 的設備的人還真是一大福音 !!</p>
<p>使用起來也很簡單 ~~ 以下簡單的分享一下 ~</p>
<p><span id="more-121"></span></p>
<p>下載下來後, 執行就可以看到以下的畫面, 就先把 tftp server 的路徑跟interface</p>
<p><img src="http://lh5.ggpht.com/_j2C5OXpRtbU/Slv5MrATAeI/AAAAAAAAA7o/9DGqVaiTHWA/tftp_nEO_IMG.jpg?imgmax=512" alt="tftp_nEO_IMG.jpg" width="500" height="344" /></p>
<p>設定完成, tftp server 就算設定好了 ~~ 很簡單吧 ~ 再來就可以在 Cisco 的設備</p>
<p>上使用 tftp server 了 ~~ 在傳輸檔案的畫面就如以下官方網站裡的樣子囉 ~~</p>
<p>TFTP server 官方網站 : <a href="http://tftpd32.jounin.net/">http://tftpd32.jounin.net/</a> &lt;&#8211; 到這邊選 download 就可以</p>
<p>看到很多版本可供下載囉 !!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.info-artist.net/2009/07/opensourcetftp-server.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Cisco Router在rommon&gt;利用tftp載入IOS簡單分享</title>
		<link>http://www.info-artist.net/2009/07/cisco-routerrommon.html</link>
		<comments>http://www.info-artist.net/2009/07/cisco-routerrommon.html#comments</comments>
		<pubDate>Mon, 13 Jul 2009 09:20:51 +0000</pubDate>
		<dc:creator>資訊藝術家</dc:creator>
				<category><![CDATA[Cisco]]></category>
		<category><![CDATA[網路相關]]></category>

		<guid isPermaLink="false">http://www.info-artist.net/2009/07/cisco-router%e5%9c%a8rommon%e5%88%a9%e7%94%a8tftp%e8%bc%89%e5%85%a5ios%e7%b0%a1%e5%96%ae%e5%88%86%e4%ba%ab.html</guid>
		<description><![CDATA[Cisco router 再 rommon 的狀態下透過 tftp server 載入 IOS 的方式蠻簡單的 ~~ 用console進入看到 router 出現 rommon&#62; 後輸入以下的指令就可以透過tftp server . IP_ADDRESS=192.168.5.238 &#60;-- 設定 router 的 IP IP_SUBNET_MASK=255.255.255.0 DEFAULT_GATEWAY=10.0.0.254 TFTP_SERVER=10.0.0.253 &#60;-- 設定 tftp server 的 ip TFTP_FILE=filename &#60;-- 打上你要傳的檔名 TFTP_VERBOSE=2 tftpdnld &#60;---- 開始下載 ~~ 這樣就可以囉 ~~ 很簡單吧 ~~]]></description>
			<content:encoded><![CDATA[<div style="float:right;margin:0px 0px 0px 0px;"></div><p><span>Cisco router 再 rommon 的狀態下透過 tftp server 載入 IOS</span></p>
<p><span>的方式蠻簡單的 ~~ 用console進入看到 router 出現</span></p>
<p><span>rommon&gt; 後輸入以下的指令就可以透過tftp server .</span></p>
<p><span id="more-120"></span></p>
<pre>
IP_ADDRESS=192.168.5.238 &lt;-- 設定 router 的 IP
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=10.0.0.254
TFTP_SERVER=10.0.0.253 &lt;-- 設定 tftp server 的 ip
TFTP_FILE=filename &lt;-- 打上你要傳的檔名
TFTP_VERBOSE=2
tftpdnld &lt;---- 開始下載 ~~
</pre>
<p>這樣就可以囉 ~~ 很簡單吧 ~~</p>
]]></content:encoded>
			<wfw:commentRss>http://www.info-artist.net/2009/07/cisco-routerrommon.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
