amethyst623

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

http://blog.sina.com.cn/s/blog_6f0c85fb0100xi1x.html

2.6内核基于NetFilter处理框架修改TCP数据包实现访问控制

 

参考上面的钩子函数,结合下面的函数修改tcp的数据内容。

__nf_nat_mangle_tcp_packet

 

(十五)洞悉linux下的Netfilter&iptables:开发自己的hook函数【实战】(上) 

http://blog.chinaunix.net/uid-23069658-id-3243434.html

 

posted on 2016-08-21 00:36  amethyst623  阅读(970)  评论(0编辑  收藏  举报