Python论坛  - 讨论区

标题:[python-chinese] struct.unpack使用问题

2006年06月21日 星期三 14:42

谢小漫 cat at ewyu.com
Wed Jun 21 14:42:09 HKT 2006

由于要做一个抓包程序。
看到过一个:struct.unpack('!s',msg)
还有一个关于QQ的:
http://www.chinaunix.net/jh/55/569668.html

print struct.unpack('>I',recv_data[recv_len-6:recv_len-2])[0]



lib上的

>>> from struct import *
>>> pack('hhl', 1, 2, 3)
'\x00\x01\x00\x02\x00\x00\x00\x03'
>>> unpack('hhl', '\x00\x01\x00\x02\x00\x00\x00\x03')
(1, 2, 3)
>>> calcsize('hhl')
8

如果不知道'!s','hhl',怎么unpack???
他怎么知道要用'>I'的?
-- 
花开邑大,漫步心月湖。
http://www.ewyu.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060621/db72016d/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月21日 星期三 15:05

swordsp sparas2006 at gmail.com
Wed Jun 21 15:05:13 HKT 2006

这些都是协议本身规定的,要去查相应协议的标准,抓包只是根据标准的一个解析过程。
如果协议本身不公开的话(比如QQ),就得手工去分析破解,就是黑客干的活了。

On 6/21/06, 谢小漫 <cat at ewyu.com> wrote:
>
> 由于要做一个抓包程序。
> 看到过一个:struct.unpack('!s',msg)
> 还有一个关于QQ的:
> http://www.chinaunix.net/jh/55/569668.html
>
> print struct.unpack('>I',recv_data[recv_len-6:recv_len-2])[0]
>
>
>
> lib上的
>
> >>> from struct import *
> >>> pack('hhl', 1, 2, 3)
> '\x00\x01\x00\x02\x00\x00\x00\x03'
> >>> unpack('hhl', '\x00\x01\x00\x02\x00\x00\x00\x03')
> (1, 2, 3)
> >>> calcsize('hhl')
> 8
>
> 如果不知道'!s','hhl',怎么unpack???
> 他怎么知道要用'>I'的?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060621/6e6bb0ed/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月21日 星期三 16:10

谢小漫 cat at ewyu.com
Wed Jun 21 16:10:05 HKT 2006

有点明白了。
那么公开的协议都有那些。
手工分析?有工具吗?具体需要那些知识?


在06-6-21,swordsp <sparas2006 at gmail.com> 写道:
>
> 这些都是协议本身规定的,要去查相应协议的标准,抓包只是根据标准的一个解析过程。
> 如果协议本身不公开的话(比如QQ),就得手工去分析破解,就是黑客干的活了。
>
>
> On 6/21/06, 谢小漫 <cat at ewyu.com> wrote:
> >
> >  由于要做一个抓包程序。
> > 看到过一个:struct.unpack('!s',msg)
> > 还有一个关于QQ的:
> > http://www.chinaunix.net/jh/55/569668.html
> >
> > print struct.unpack('>I',recv_data[recv_len-6:recv_len-2])[0]
> >
> >
> >
> > lib上的
> >
> > >>> from struct import *
> > >>> pack('hhl', 1, 2, 3)
> > '\x00\x01\x00\x02\x00\x00\x00\x03'
> > >>> unpack('hhl', '\x00\x01\x00\x02\x00\x00\x00\x03')
> > (1, 2, 3)
> > >>> calcsize('hhl')
> > 8
> >
> > 如果不知道'!s','hhl',怎么unpack???
> > 他怎么知道要用'>I'的?
> >
> >
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
花开邑大,漫步心月湖。
http://www.ewyu.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060621/afc97070/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月21日 星期三 16:39

swordsp sparas2006 at gmail.com
Wed Jun 21 16:39:43 HKT 2006

On 6/21/06, 谢小漫 <cat at ewyu.com> wrote:
>
> 有点明白了。
> 那么公开的协议都有那些。
>

有成百上千种呢...你的抓包程序总是有目的性的吧?
也许你可以看看ethereal(http://www.ethereal.com/),可能是最强大的开源通用抓包解析程序,支持700多种协议。

另外,也许你用的上Construct模块:http://pyconstruct.wikispaces.com
其作者号称被ethereal协议解析部分的源码恶心坏了,所以自己写了一个pythonic的通用解析框架。

手工分析?有工具吗?具体需要那些知识?
>
> 这个我也不了解...得去请教真正的黑客吧。
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060621/d39366a2/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月21日 星期三 16:55

xxmplus xxmplus at gmail.com
Wed Jun 21 16:55:30 HKT 2006

无论是什么包,都是在传输层上跑,协议不是udp就是tcp,如果不知道应用层的结构,只好从大量的包里找规律。网络基本知识总归是要具备的

On 6/21/06, swordsp <sparas2006 at gmail.com> wrote:
>
>
> On 6/21/06, 谢小漫 <cat at ewyu.com> wrote:
> >
> >
> > 有点明白了。
> > 那么公开的协议都有那些。
>
> 有成百上千种呢...你的抓包程序总是有目的性的吧?
> 也许你可以看看ethereal(http://www.ethereal.com/),可能是最强大的开源通用抓包解析程序,支持700多种协议。
>
> 另外,也许你用的上Construct模块: http://pyconstruct.wikispaces.com
> 其作者号称被ethereal协议解析部分的源码恶心坏了,所以自己写了一个pythonic的通用解析框架。
>
> >
> >
> > 手工分析?有工具吗?具体需要那些知识?
> >
> >
> 这个我也不了解...得去请教真正的黑客吧。
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月21日 星期三 17:40

Xiao Lei Wu xiaoleiw at cn.ibm.com
Wed Jun 21 17:40:56 HKT 2006

¾ÀÕýһϣ¬ipЭÒé¿É²»Ö¹tcpºÍudpÕâÁ½ÖÖ£¬»¹ÓÐicmp,igmpµÈµÈ£¬°üÀ¨ÖøÃûµÄ
EGP,BGP,IS-IS

Best Regards,

Zachary Wu (Îâ°~ÀÚ)
Software Engineer, Enterprise Content Management FVT, IBM China Software
Development Lab
Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235
Internet: xiaoleiw at cn.ibm.com
Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN
Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di,
Beijing 100085, P.R. China

python-chinese-bounces at lists.python.cn дÓÚ 2006-06-21 16:55:30:

> ÎÞÂÛÊÇʲô°ü£¬¶¼ÊÇÔÚ´«Êä²ãÉÏÅÜ£¬Ð­Òé²»ÊÇudp¾ÍÊÇtcp£¬Èç¹û²»ÖªµÀÓ¦Óòã
> µÄ½á¹¹£¬Ö»ºÃ´Ó´óÁ¿µÄ°üÀïÕÒ¹æÂÉ¡£ÍøÂç»ù±¾ÖªÊ¶×ܹéÊÇÒª¾ß±¸µÄ
>
> On 6/21/06, swordsp <sparas2006 at gmail.com> wrote:
> >
> >
> > On 6/21/06, лСÂþ <cat at ewyu.com> wrote:
> > >
> > >
> > > ÓеãÃ÷°×ÁË¡£
> > > ÄÇô¹«¿ªµÄЭÒ鶼ÓÐÄÇЩ¡£
> >
> > ÓгɰÙÉÏǧÖÖÄØ...ÄãµÄ×¥°ü³ÌÐò×ÜÊÇÓÐÄ¿µÄÐԵİɣ¿
> > Ò²ÐíÄã¿ÉÒÔ¿´¿´ethereal£¨http://www.ethereal.com/£©£¬¿ÉÄÜÊÇ×îÇ¿´óµÄ
> ¿ªÔ´Í¨ÓÃ×¥°ü½âÎö³ÌÐò£¬Ö§³Ö700¶àÖÖЭÒé¡£
> >
> > ÁíÍ⣬ҲÐíÄãÓõÄÉÏConstructÄ£¿é£º http://pyconstruct.wikispaces.com
> > Æä×÷ÕߺųƱ»etherealЭÒé½âÎö²¿·ÖµÄÔ´Âë¶ñÐÄ»µÁË£¬ËùÒÔ×Ô¼ºÐ´ÁËÒ»¸ö
> pythonicµÄͨÓýâÎö¿ò¼Ü¡£
> >
> > >
> > >
> > > ÊÖ¹¤·ÖÎö£¿Óй¤¾ßÂ𣿾ßÌåÐèÒªÄÇЩ֪ʶ£¿
> > >
> > >
> > Õâ¸öÎÒÒ²²»Á˽â...µÃÈ¥Çë½ÌÕæÕýµÄºÚ¿Í°É¡£
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060621/b4d8cd0e/attachment.htm

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月21日 星期三 18:26

xxmplus xxmplus at gmail.com
Wed Jun 21 18:26:31 HKT 2006

wqXW99a7ysfSqtf306bTw7Ljt9bO9qOsxOPE0bXA0qrTw2JncMC0tKvK/b7dw7QKCk9uIDYvMjEv
MDYsIFhpYW8gTGVpIFd1IDx4aWFvbGVpd0Bjbi5pYm0uY29tPiB3cm90ZToKPgo+Cj4KPiC+wNX9
0rvPwqOsaXDQrdLpv8myu9a5dGNwus11ZHDV4sG91tajrLu509BpY21wLGlnbXC1yLXIo6yw/MCo
1vjD+7XERUdQLEJHUCxJUy1JUwo+Cj4gIEJlc3QgUmVnYXJkcywKPgo+ICBaYWNoYXJ5IFd1ICjO
4rB+wNopCj4gIFNvZnR3YXJlIEVuZ2luZWVyLCBFbnRlcnByaXNlIENvbnRlbnQgTWFuYWdl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hvbi1j
aGluZXNlCj4gID4gPgo+ICA+ID4KPiAgPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fXwo+ICA+IHB5dGhvbi1jaGluZXNlCj4gID4gUG9zdDogc2VuZCBweXRo
b24tY2hpbmVzZUBsaXN0cy5weXRob24uY24KPiAgPiBTdWJzY3JpYmU6IHNlbmQgc3Vic2NyaWJl
IHRvCj4gcHl0aG9uLWNoaW5lc2UtcmVxdWVzdEBsaXN0cy5weXRob24uY24KPiAgPiBVbnN1YnNj
cmliZTogc2VuZCB1bnN1YnNjcmliZSB0bwo+IHB5dGhvbi1jaGluZXNlLXJlcXVlc3RAbGlzdHMu
cHl0aG9uLmNuCj4gID4gRGV0YWlsIEluZm86Cj4gaHR0cDovL3B5dGhvbi5jbi9tYWlsbWFuL2xp
c3RpbmZvL3B5dGhvbi1jaGluZXNlCj4KPgo+Cj4gX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX18KPiBweXRob24tY2hpbmVzZQo+IFBvc3Q6IHNlbmQgcHl0aG9u
LWNoaW5lc2VAbGlzdHMucHl0aG9uLmNuCj4gU3Vic2NyaWJlOiBzZW5kIHN1YnNjcmliZSB0bwo+
IHB5dGhvbi1jaGluZXNlLXJlcXVlc3RAbGlzdHMucHl0aG9uLmNuCj4gVW5zdWJzY3JpYmU6IHNl
bmQgdW5zdWJzY3JpYmUgdG8KPiBweXRob24tY2hpbmVzZS1yZXF1ZXN0QGxpc3RzLnB5dGhvbi5j
bgo+IERldGFpbCBJbmZvOgo+IGh0dHA6Ly9weXRob24uY24vbWFpbG1hbi9saXN0aW5mby9weXRo
b24tY2hpbmVzZQo+Cj4K

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月21日 星期三 21:39

谢小漫 cat at ewyu.com
Wed Jun 21 21:39:07 HKT 2006

比如我想把CS1.6发的包都转到另外的服务器上,之后服务器再转发到其他机器上。
所以需要研究如何抓包。。
也不知道能不能用python实现(应该可以吧?)。


在06-6-21,xxmplus <xxmplus at gmail.com> 写道:
>
> 楼主只是要作应用层分析,你难道要用bgp来传数据么
>
> On 6/21/06, Xiao Lei Wu <xiaoleiw at cn.ibm.com> wrote:
> >
> >
> >
> > 纠正一下,ip协议可不止tcp和udp这两种,还有icmp,igmp等等,包括著名的EGP,BGP,IS-IS
> >
> >  Best Regards,
> >
> >  Zachary Wu (吴皛磊)
> >  Software Engineer, Enterprise Content Management FVT, IBM China
> Software
> > Development Lab
> >  Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235
> >  Internet: xiaoleiw at cn.ibm.com
> >  Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN
> >  Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang
> Di,
> > Beijing 100085, P.R. China
> >
> >  python-chinese-bounces at lists.python.cn 写于 2006-06-21
> > 16:55:30:
> >
> >  > 无论是什么包,都是在传输层上跑,协议不是udp就是tcp,如果不知道应用层
> >
> >  > 的结构,只好从大量的包里找规律。网络基本知识总归是要具备的
> >  >
> >  > On 6/21/06, swordsp <sparas2006 at gmail.com> wrote:
> >  > >
> >  > >
> >  > > On 6/21/06, 谢小漫 <cat at ewyu.com> wrote:
> >  > > >
> >  > > >
> >  > > > 有点明白了。
> >  > > > 那么公开的协议都有那些。
> >  > >
> >  > > 有成百上千种呢...你的抓包程序总是有目的性的吧?
> >  > > 也许你可以看看ethereal(http://www.ethereal.com/),可能是最强大的
> >  > 开源通用抓包解析程序,支持700多种协议。
> >  > >
> >  > > 另外,也许你用的上Construct模块:
> > http://pyconstruct.wikispaces.com
> >  > > 其作者号称被ethereal协议解析部分的源码恶心坏了,所以自己写了一个
> >  > pythonic的通用解析框架。
> >  > >
> >  > > >
> >  > > >
> >  > > > 手工分析?有工具吗?具体需要那些知识?
> >  > > >
> >  > > >
> >  > > 这个我也不了解...得去请教真正的黑客吧。
> >  > >
> >  > >
> >  > > _______________________________________________
> >  > > python-chinese
> >  > > Post: send python-chinese at lists.python.cn
> >  > > Subscribe: send subscribe to
> >  > > python-chinese-request at lists.python.cn
> >  > > Unsubscribe: send unsubscribe to
> >  > > python-chinese-request at lists.python.cn
> >  > > Detail Info:
> >  > > http://python.cn/mailman/listinfo/python-chinese
> >  > >
> >  > >
> >  > _______________________________________________
> >  > python-chinese
> >  > Post: send python-chinese at lists.python.cn
> >  > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> >  > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> >  > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
> >
> > _______________________________________________
> > python-chinese
> > Post: send python-chinese at lists.python.cn
> > Subscribe: send subscribe to
> > python-chinese-request at lists.python.cn
> > Unsubscribe: send unsubscribe to
> > python-chinese-request at lists.python.cn
> > Detail Info:
> > http://python.cn/mailman/listinfo/python-chinese
> >
> >
>
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>


-- 
花开邑大,漫步心月湖。
http://www.ewyu.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060621/eccfaec9/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月22日 星期四 07:17

xxmplus xxmplus at gmail.com
Thu Jun 22 07:17:28 HKT 2006

yOe5+9a7ysfX99eqt6KjrNPDdGOxyL3PusOjrLWxyLvV4srH1NpsaW51eM/Co6x3aW5kb3dzvs2y
u8fls/7E8aGroauhqwoKv7S/tGh0dHA6Ly9sYXJ0Yy5vcmcvCgpPbiA2LzIxLzA2LCDQu9Chwv4g
PGNhdEBld3l1LmNvbT4gd3JvdGU6Cj4KPiCxyMjnztLP67DRQ1MxLja3orXEsPy2vNeqtb3B7c3i
tcS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UG9zdDogc2VuZCBweXRo
b24tY2hpbmVzZUBsaXN0cy5weXRob24uY24KPiA+IFN1YnNjcmliZTogc2VuZCBzdWJzY3JpYmUg
dG8KPiBweXRob24tY2hpbmVzZS1yZXF1ZXN0QGxpc3RzLnB5dGhvbi5jbgo+ID4gVW5zdWJzY3Jp
YmU6IHNlbmQgdW5zdWJzY3JpYmUgdG8KPiBweXRob24tY2hpbmVzZS1yZXF1ZXN0QGxpc3RzLnB5
dGhvbi5jbgo+ID4gRGV0YWlsIEluZm86Cj4gaHR0cDovL3B5dGhvbi5jbi9tYWlsbWFuL2xpc3Rp
bmZvL3B5dGhvbi1jaGluZXNlCj4gPgo+ID4KPgo+Cj4KPiAtLQo+ILuov6rS2LTzo6zC/rK90MTU
wrr+oaMKPiBodHRwOi8vd3d3LmV3eXUuY29tLwo+IF9fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fCj4gcHl0aG9uLWNoaW5lc2UKPiBQb3N0OiBzZW5kIHB5dGhv
bi1jaGluZXNlQGxpc3RzLnB5dGhvbi5jbgo+IFN1YnNjcmliZTogc2VuZCBzdWJzY3JpYmUgdG8K
PiBweXRob24tY2hpbmVzZS1yZXF1ZXN0QGxpc3RzLnB5dGhvbi5jbgo+IFVuc3Vic2NyaWJlOiBz
ZW5kIHVuc3Vic2NyaWJlIHRvCj4gcHl0aG9uLWNoaW5lc2UtcmVxdWVzdEBsaXN0cy5weXRob24u
Y24KPiBEZXRhaWwgSW5mbzoKPiBodHRwOi8vcHl0aG9uLmNuL21haWxtYW4vbGlzdGluZm8vcHl0
aG9uLWNoaW5lc2UKPgo+Cg==

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月22日 星期四 08:33

Aiyi recordus at gmail.com
Thu Jun 22 08:33:06 HKT 2006

在06-6-21,Xiao Lei Wu <xiaoleiw at cn.ibm.com> 写道:
>
> 纠正一下,ip协议可不止tcp和udp这两种,还有icmp,igmp等等,包括著名的EGP,BGP,IS-IS
>
tcp和udp是传输层协议,icmp、igmp、EGP、BGP 、IS-IS这些才是IP层协议


-- 
I like Python & Linux.
Blog: http://recordus.cublog.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060622/641a88ee/attachment.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月22日 星期四 12:54

xxmplus xxmplus at gmail.com
Thu Jun 22 12:54:18 HKT 2006

这样说也不对,bgp是跑在tcp上面的,而is-is准确来说并不属于tcpip协议栈

On 6/22/06, Aiyi <recordus at gmail.com> wrote:
>
>
> 在06-6-21,Xiao Lei Wu <xiaoleiw at cn.ibm.com> 写道:
> >
> >
> >
> >
> > 纠正一下,ip协议可不止tcp和udp这两种,还有icmp,igmp等等,包括著名的EGP,BGP,IS-IS
> >
> tcp和udp是传输层协议,icmp、igmp、EGP、BGP 、IS-IS这些才是IP层协议
>
>
> --
> I like Python & Linux.
> Blog: http://recordus.cublog.cn
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to
> python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to
> python-chinese-request at lists.python.cn
> Detail Info:
> http://python.cn/mailman/listinfo/python-chinese
>
>

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2006年06月22日 星期四 13:05

Xiao Lei Wu xiaoleiw at cn.ibm.com
Thu Jun 22 13:05:58 HKT 2006

»ØÈ¥Ôٺúÿ´¿´Êé°É

Best Regards,

Zachary Wu (Îâ°~ÀÚ)
Software Engineer, Enterprise Content Management FVT, IBM China Software
Development Lab
Tel: +86 10 82782244-3235. Fax: 82782244-2886 Tie Line: 915-2244-3235
Internet: xiaoleiw at cn.ibm.com
Notes ID: Xiao Lei Wu/China/Contr/IBM at IBMCN
Address: 8/F, Block A, Power Creative Building, No.1, East Road, Shang Di,
Beijing 100085, P.R. China

python-chinese-bounces at lists.python.cn дÓÚ 2006-06-22 08:33:06:

>

> ÔÚ06-6-21£¬Xiao Lei Wu <xiaoleiw at cn.ibm.com> дµÀ£º
> ¾ÀÕýһϣ¬ipЭÒé¿É²»Ö¹tcpºÍudpÕâÁ½ÖÖ£¬»¹ÓÐicmp,igmpµÈµÈ£¬°üÀ¨ÖøÃûµÄ
> EGP,BGP,IS-IS
> tcpºÍudpÊÇ´«Êä²ãЭÒ飬icmp¡¢igmp¡¢EGP¡¢BGP ¡¢IS-ISÕâЩ²ÅÊÇIP²ãЭÒé
>
>
> --
> I like Python & Linux.
> Blog: http://recordus.cublog.cn
> _______________________________________________
> python-chinese
> Post: send python-chinese at lists.python.cn
> Subscribe: send subscribe to python-chinese-request at lists.python.cn
> Unsubscribe: send unsubscribe to  python-chinese-request at lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.exoweb.net/pipermail/python-chinese/attachments/20060622/5f0005a7/attachment-0001.html

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号