Hi,all
 
I want to do something in this way:

All ip packets sent to a host A will be captured in A before the packets
are passed to the high layer, i.e. the TCP or APP.

And, all ip packets sent from A to some other host will be captured in
low layer in A, i.e. Link layer, then the packet will be transferd.

that means i can do something before a packet is passed to the TCP or APP and the same as before it is passed to the Link layer.

I think, if i rewrite the ip stack in kernel, i can do it.
but, is there a simple method to do this? for example, writing a module or a program, when i load the module or run the program, all will be ok.

it is seem to be more difficult. and what is about the windows. i can't rebuild the windows.
i didn't want something like firewalls.

would you like to give me some suggestions?
 
thx.
 
 
 
 
 
=====================================================
 姓名:      王金一  
 电话:      (+86)10-58812325
 单位:      中国科学院计算机网络信息中心 R&D
 地址:      北京中关村南四街四号
 邮编:      100080
 email:     [EMAIL PROTECTED]
-----------------------------------------------------
 Name:       jinyi wang
 Phone:      (86-10) 5881-2325
 Division:   R&D,Computer Network Information Center,
             Chinese Academy of Sciences
 Address:    4,4th South Street, Zhongguancun,
             Haidian District, Beijing, China
 Zip code:   100080
 Email:      [EMAIL PROTECTED]
=====================================================

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
mon mailing list
mon@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/mon

Reply via email to