<?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>ip &#8211; richliu&#039;s blog</title>
	<atom:link href="https://blog.richliu.com/tag/ip/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.richliu.com</link>
	<description>Linux, 工作, 生活, 家人</description>
	<lastBuildDate>Sun, 21 Jul 2013 03:55:35 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>
	<item>
		<title>台灣 ISP IP 列表</title>
		<link>https://blog.richliu.com/2008/01/15/544/%e5%8f%b0%e7%81%a3-isp-ip-%e5%88%97%e8%a1%a8/</link>
					<comments>https://blog.richliu.com/2008/01/15/544/%e5%8f%b0%e7%81%a3-isp-ip-%e5%88%97%e8%a1%a8/#respond</comments>
		
		<dc:creator><![CDATA[richliu]]></dc:creator>
		<pubDate>Tue, 15 Jan 2008 07:27:54 +0000</pubDate>
				<category><![CDATA[Network]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[list]]></category>
		<guid isPermaLink="false">http://blog.richliu.com/2008/01/15/544/</guid>

					<description><![CDATA[<p>記錄一下, 免得每次找半天 🙂 教育部提供的 BGP routing table 請看 這邊 簡單版, 適合拿 [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2008/01/15/544/%e5%8f%b0%e7%81%a3-isp-ip-%e5%88%97%e8%a1%a8/">台灣 ISP IP 列表</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>記錄一下, 免得每次找半天 <img src="https://s.w.org/images/core/emoji/15.0.3/72x72/1f642.png" alt="🙂" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>教育部提供的 BGP routing table 請看 <a href="http://140.111.1.22/tanet/bulletin/ip.txt" title="台灣 IP 列表">這邊</a><br />
簡單版, 適合拿來處理一下丟去用</p>
<p>詳細的資訊請看 TWNIC 提供的 <a href="http://rms.twnic.net.tw/twnic/User/Member/Search/main7.jsp?Order=ORG.ID" title="TWNIC ISP IP 列表" target="_blank" rel="noopener">列表</a><br />
這一部份有 ISP 資訊, 適合判斷該 IP 從那邊來</p>
<p>2013/07/21 寫了一隻小程式去抓 IP 並印出來.<br />
[PHP]<br />
#!/usr/bin/php<br />
< ?
        $urlstr = sprintf("http://rms.twnic.net.tw/twnic/User/Member/Search/main7.jsp?Order=ORG.ID");

        //$matchstr = "\d\.\d\.\d\.\d\s*\-\s*\d\.\d\.\d\.\d";
        $matchstr = "\d+\.\d+\.\d+\.\d+\s*\-\s*\d+\.\d+\.\d+\.\d+";
        echo $matchstr;


        $count=0;
        $fd = fopen($urlstr,"r");
        if($fd == NULL) die("Cannot read TWNIC Web \n");
        while(!feof($fd)){
                $line = fgets($fd,8192);
                //echo $line;
                $ret=   preg_match("/$matchstr/",$line,$mats);
        if($ret){
                echo $mats[0].",  0, Taiwan IP List\n";
        }

        }
        fclose($fd);

?></p>
<p>[/PHP]</p>
<p>The post <a rel="nofollow" href="https://blog.richliu.com/2008/01/15/544/%e5%8f%b0%e7%81%a3-isp-ip-%e5%88%97%e8%a1%a8/">台灣 ISP IP 列表</a> appeared first on <a rel="nofollow" href="https://blog.richliu.com">richliu&#039;s blog</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.richliu.com/2008/01/15/544/%e5%8f%b0%e7%81%a3-isp-ip-%e5%88%97%e8%a1%a8/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
