<?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>Tsung.暴躁 &#187; GFW</title>
	<atom:link href="http://tsung.bz/category/gfw/feed/" rel="self" type="application/rss+xml" />
	<link>http://tsung.bz</link>
	<description>How To Rock On?</description>
	<lastBuildDate>Thu, 29 Jul 2010 08:55:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<atom:link rel='hub' href='http://tsung.bz/?pushpress=hub'/>
		<item>
		<title>Ubuntu底下用proxychains越墙安装dropbox</title>
		<link>http://tsung.bz/2010/07/12/fuck-gfw-to-install-dropbox-online-under-ubuntu/</link>
		<comments>http://tsung.bz/2010/07/12/fuck-gfw-to-install-dropbox-online-under-ubuntu/#comments</comments>
		<pubDate>Mon, 12 Jul 2010 04:58:28 +0000</pubDate>
		<dc:creator>Tsung.W</dc:creator>
				<category><![CDATA[GFW]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[proxychains]]></category>

		<guid isPermaLink="false">http://tsung.bz/?p=253</guid>
		<description><![CDATA[优秀的云存储服务Dropbox被华丽丽的和谐了~windows底下直接可以下到客户端，ubuntu底下还要去网络上获取安装资源，这就碰到一个问题，给任意本地程序添加代理功能。当然，这里的任意可能有些复杂，比如前段时间DNS的原因我在公司上不去empathy的gtalk客户端，用了代理也是没用，估计是因为我在proxychains设置了代理DNS（可能理解有误）。下面简单说下安装步骤： 1、到dropbox下载ubuntu的DEB安装包，并安装。 2、安装完DEB后关掉dropbox。 3、安装proxychains，sudo apt-get install proxychains 4、运行 proxychains dropbox start -i &#038; （这里&#038;的意思是在终端打印出调试信息） 这样，就能顺利完成安装了 感谢@riku的提醒，可以参考他这篇文章更改设置：http://w.riku.me/blog/pino]]></description>
			<content:encoded><![CDATA[<p>优秀的云存储服务Dropbox被华丽丽的和谐了~windows底下直接可以下到客户端，ubuntu底下还要去网络上获取安装资源，这就碰到一个问题，给任意本地程序添加代理功能。当然，这里的任意可能有些复杂，比如前段时间DNS的原因我在公司上不去empathy的gtalk客户端，用了代理也是没用，估计是因为我在proxychains设置了代理DNS（可能理解有误）。下面简单说下安装步骤：<br />
1、到dropbox下载ubuntu的DEB安装包，并安装。<br />
2、安装完DEB后关掉dropbox。<br />
3、安装proxychains，sudo apt-get install proxychains<br />
4、运行 proxychains dropbox start -i &#038; （这里&#038;的意思是在终端打印出调试信息）<br />
这样，就能顺利完成安装了<br />
感谢@riku的提醒，可以参考他这篇文章更改设置：<a href="http://w.riku.me/blog/pino">http://w.riku.me/blog/pino</a></p>
]]></content:encoded>
			<wfw:commentRss>http://tsung.bz/2010/07/12/fuck-gfw-to-install-dropbox-online-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ubuntu底下SSH+Polipo越过围墙</title>
		<link>http://tsung.bz/2010/04/20/use-ssh-and-polipo-to-fuck-gfw/</link>
		<comments>http://tsung.bz/2010/04/20/use-ssh-and-polipo-to-fuck-gfw/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 00:59:58 +0000</pubDate>
		<dc:creator>Tsung.W</dc:creator>
				<category><![CDATA[GFW]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[expect]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[polipo]]></category>
		<category><![CDATA[privoxy]]></category>
		<category><![CDATA[socks5]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://tsung.bz/?p=171</guid>
		<description><![CDATA[最终方案 自动登录代码，基于expect #!/usr/bin/expect -f set timeout 300 spawn ssh -qTfnN -D 7070 xxxxx@my.cutessh.info expect &#123; &#160; &#160; &#160; &#160; &#34;*yes/no*&#34; &#123; send &#34;yes\r&#34; &#125; &#160; &#160; &#160; &#160; &#34;*password*&#34; &#123; send &#34;xxxxx\r&#34; &#125; &#125; interact &#160; 开机启动代码，放在/etc/rc.local &#160; sleep 60 &#38;&#38; /usr/bin/expect -f /home/tsung/ssh.exp &#160; polipo配置文件，放在/etc/polipo/config &#160; socksParentProxy = &#34;localhost:7070&#34; socksProxyType = socks5 &#160; proxyAddress [...]]]></description>
			<content:encoded><![CDATA[<p><strong>最终方案</strong></p>
<li>自动登录代码，基于expect</li>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="re3">#!/usr/bin/expect -f</span></div>
</li>
<li class="li1">
<div class="de1"><span class="kw1">set</span> timeout <span class="nu0">300</span></div>
</li>
<li class="li1">
<div class="de1">spawn <span class="kw2">ssh</span> -qTfnN -D <span class="nu0">7070</span> xxxxx@my.cutessh.info</div>
</li>
<li class="li1">
<div class="de1">expect <span class="br0">&#123;</span></div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;*yes/no*&quot;</span> <span class="br0">&#123;</span> send <span class="st0">&quot;yes<span class="es0">\r</span>&quot;</span> <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="st0">&quot;*password*&quot;</span> <span class="br0">&#123;</span> send <span class="st0">&quot;xxxxx<span class="es0">\r</span>&quot;</span> <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1"><span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">interact</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<li>开机启动代码，放在/etc/rc.local</li>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1"><span class="kw2">sleep</span> <span class="nu0">60</span> &amp;&amp; /usr/bin/expect -f /home/tsung/<span class="kw2">ssh</span>.exp</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<li>polipo配置文件，放在/etc/polipo/config</li>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">socksParentProxy = <span class="st0">&quot;localhost:7070&quot;</span></div>
</li>
<li class="li1">
<div class="de1">socksProxyType = socks5</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li2">
<div class="de2">proxyAddress = <span class="st0">&quot;127.0.0.1&quot;</span></div>
</li>
<li class="li1">
<div class="de1">proxyPort = <span class="nu0">1984</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p><strong>弯路</strong></p>
<li>本来想用privoxy作socks转http，死活不成功，最终在一个网站看到说对karmic发行版貌似不支持，用sysv-rc-conf看了下，服务是打开的</li>
<li>刚开始没写好启动代码，用任务去跑</li>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">crontab -e</div>
</li>
<li class="li1">
<div class="de1">*/<span class="nu0">5</span> * * * * /usr/bin/expect -f /home/tsung/<span class="kw2">ssh</span>.exp &gt;&gt; /home/tsung/errtask <span class="nu0">2</span>&gt;&amp;<span class="nu0">1</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://tsung.bz/2010/04/20/use-ssh-and-polipo-to-fuck-gfw/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>puff的1984端口被占用</title>
		<link>http://tsung.bz/2010/04/19/puff-1984-port/</link>
		<comments>http://tsung.bz/2010/04/19/puff-1984-port/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 05:40:46 +0000</pubDate>
		<dc:creator>Tsung.W</dc:creator>
				<category><![CDATA[GFW]]></category>

		<guid isPermaLink="false">http://tsung.bz/?p=167</guid>
		<description><![CDATA[电脑puff突然连不上了,用netstat -a看了下端口的确是打开的..在网上找到了查找哪个进程占用的方法,备忘下: 1.netstat -aon&#124;findstr &#8220;1984&#8243; 得到结果 TCP 10.0.0.176:1984 74.125.155.125:5222 ESTABLISHED 1668 可以看到是进程1668的程序占用了端口 2.tasklist&#124;findstr &#8220;1668&#8243; 得到结果 googletalk.exe 1668 Console 0 59,224 K 居然是被gtalk占用..关掉gtalk,开puff,再开gtalk,恢复正常]]></description>
			<content:encoded><![CDATA[<p>电脑puff突然连不上了,用netstat -a看了下端口的确是打开的..在网上找到了查找哪个进程占用的方法,备忘下:<br />
1.netstat -aon|findstr &#8220;1984&#8243;<br />
得到结果 TCP    10.0.0.176:1984        74.125.155.125:5222    ESTABLISHED     1668<br />
可以看到是进程1668的程序占用了端口<br />
2.tasklist|findstr &#8220;1668&#8243;<br />
得到结果 googletalk.exe              1668 Console                 0     59,224 K<br />
居然是被gtalk占用..关掉gtalk,开puff,再开gtalk,恢复正常</p>
]]></content:encoded>
			<wfw:commentRss>http://tsung.bz/2010/04/19/puff-1984-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>买了个VPN测试</title>
		<link>http://tsung.bz/2009/11/08/vpn-test/</link>
		<comments>http://tsung.bz/2009/11/08/vpn-test/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 08:52:30 +0000</pubDate>
		<dc:creator>Tsung.W</dc:creator>
				<category><![CDATA[GFW]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[VPN]]></category>

		<guid isPermaLink="false">http://tsung.bz/?p=31</guid>
		<description><![CDATA[在billzhong那购买了一个月VPN测试，本来ubuntu9.10装了WICD管理网络，但是不支持VPN管理，不得不换回network-manager。发现用来看youtube还是慢了点。]]></description>
			<content:encoded><![CDATA[<p>在billzhong那购买了一个月VPN测试，本来ubuntu9.10装了WICD管理网络，但是不支持VPN管理，不得不换回network-manager。发现用来看youtube还是慢了点。</p>
]]></content:encoded>
			<wfw:commentRss>http://tsung.bz/2009/11/08/vpn-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>墙</title>
		<link>http://tsung.bz/2009/11/04/%e5%a2%99/</link>
		<comments>http://tsung.bz/2009/11/04/%e5%a2%99/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 06:17:36 +0000</pubDate>
		<dc:creator>Tsung.W</dc:creator>
				<category><![CDATA[GFW]]></category>
		<category><![CDATA[twitter]]></category>

		<guid isPermaLink="false">http://tsung.bz/?p=17</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://tsung.bz/wp-content/uploads/2009/11/berlinwall.jpg" target="_blank"><img class="size-medium wp-image-18 aligncenter" style="border: 1px solid black;" title="berlinwall" src="http://tsung.bz/wp-content/uploads/2009/11/berlinwall-300x163.jpg" alt="berlinwall" width="300" height="163" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://tsung.bz/2009/11/04/%e5%a2%99/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
