<?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>ubuntu,debian,redhat -linuxany.com &#187; tcp</title>
	<atom:link href="http://www.linuxany.com/archives/tag/tcp/feed" rel="self" type="application/rss+xml" />
	<link>http://www.linuxany.com</link>
	<description></description>
	<lastBuildDate>Thu, 26 Jan 2012 08:59:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Python 抓包获取网卡字节流</title>
		<link>http://www.linuxany.com/archives/1558.html</link>
		<comments>http://www.linuxany.com/archives/1558.html#comments</comments>
		<pubDate>Sat, 07 May 2011 07:39:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[dpkt]]></category>
		<category><![CDATA[eth0]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[pcap]]></category>
		<category><![CDATA[pypcap]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[udp]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=1558</guid>
		<description><![CDATA[import pcap&#160; &#160; &#160; import&#160;dpkt&#160; &#160; &#160; &#160; &#160; &#160; aaa='a'&#160; &#160; &#160; bbb='b'&#160; &#160; &#160; pc=pcap.pcap()&#160; &#160; #注，参数可为网卡名，如eth0&#160; &#160; &#160; pc.setfilter('tcp port 80')&#160; &#160; #设置监听过滤器&#160; &#160; &#160; &#160; &#160; &#160; for&#160;ptime,pdata in pc:&#160; &#160; #ptime为收到时间，pdata为收到数据&#160; &#160; &#160; &#160; &#160; p=dpkt.ethernet.Ethernet(pdata)&#160; &#160; &#160; &#160; &#160; if&#160;p.data.__class__.__name__=='IP':&#160; &#160; &#160; &#160; &#160; &#160; &#160; ip='%d.%d.%d.%d'%tuple(map(ord,list(p.data.dst)))&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/1558.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TCP的状态变迁图</title>
		<link>http://www.linuxany.com/archives/811.html</link>
		<comments>http://www.linuxany.com/archives/811.html#comments</comments>
		<pubDate>Tue, 18 Aug 2009 16:06:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[RedHat]]></category>
		<category><![CDATA[tcp]]></category>

		<guid isPermaLink="false">http://www.linuxany.com/?p=811</guid>
		<description><![CDATA[TCP的状态变迁图 TCP正常连接建立和终止所对应的状态 您还可能感兴趣的内容Python 抓包获取网卡字节流Howto perform UDP tunneling through SSH connectionPython: Basic Socket TCP]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/811.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto perform UDP tunneling through SSH connection</title>
		<link>http://www.linuxany.com/archives/406.html</link>
		<comments>http://www.linuxany.com/archives/406.html#comments</comments>
		<pubDate>Fri, 29 Aug 2008 15:19:50 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[forward]]></category>
		<category><![CDATA[netcat]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[tcp]]></category>
		<category><![CDATA[tunneling]]></category>
		<category><![CDATA[udp]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=438</guid>
		<description><![CDATA[In this tutorial we will are going to provide simple procedure how to to perform UDP tunneling through an SSH connection.Say you need to forward UDP packets between two remote networks securely. E.g : dns queries from your home machine to your dns servers at work. you can use the following way : 1. Connect [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/406.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python: Basic Socket TCP</title>
		<link>http://www.linuxany.com/archives/383.html</link>
		<comments>http://www.linuxany.com/archives/383.html#comments</comments>
		<pubDate>Thu, 21 Aug 2008 16:04:50 +0000</pubDate>
		<dc:creator>x72</dc:creator>
				<category><![CDATA[Python]]></category>
		<category><![CDATA[socket]]></category>
		<category><![CDATA[tcp]]></category>

		<guid isPermaLink="false">http://www.linuxlaptop.cn/?p=408</guid>
		<description><![CDATA[TCP Server 1. new a socket sock=socket.socket(socket.AF_INET,socket.SOCK_STREAM) #SOCK_STREAM MEANS TCP SOCKETS #SOCK_DGRAM MEANS UDP SOCKETS 2. bind ports and address, default is localhost sock.bind((”,8881)) 3. listen connection sock.listen(5) #5 means the connection could be five. 4. accept the client connection and get client socket and address client_sock, client_address=sock.accept() 5. transfer data receive: receive_data=client_sock.recv(buffer_size) send: client_sock.sendall(send_data) [...]]]></description>
		<wfw:commentRss>http://www.linuxany.com/archives/383.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

