LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: ecjtubaowp

我得到了一个IP数据包,怎么修改里面的内容呢

[复制链接]
 楼主| 发表于 2008-7-10 17:42:25 | 显示全部楼层
Post by dajun;1873056
http://tripp.dynalias.org/   被盾了

TRIPP is a utility to rewrite incoming and outgoing IP packets.
Since it can rewrite both headers and payload, it can be used to configure
the tcp/ip stack behavior in order to perform various tasks mainly intended
for network tests, simulations and development.

It is configured via a small rule-based language, which allows the user to intercept
packets, set arbitrary header values, increment or decrement numeric header fields,
set an arbitrary payload, rewrite parts of the payload, or fragment, delay, multiply,
or drop packets.

It is totally user-level and doesn't require any kernel module.



Sample Applications (see docs for examples):
   [o] test network applications
   [o] test firewalls, IDS ecc..
   [o] passive os fingerprint spoofing
   [o] authenticate connections to OpenBSD pf
   [o] customize packets sent by network scanners
   [o] test/evade (weak) IDS/IPS via ip fragmentation (like fragroute)
   [o] generate network anomalies
   [o] inject a custom bytestream into active connections and potentially trigger software bugs
   [o] forward packets between hosts
   [o] maybe many other little things... (ie quickly rewrite session cookies)



WARNING: the packet delayer doesn't work correctly: due to the usleep() resolution in
multithreaded apps the packets can be delayed for a time NOT LESS than 10ms! This is
true for Linux and OpenBSD, on Darwin (MacOSX) the delayer will work correctly.
On Linux and OpenBSD it's possible to use the packet delayer with a resolution of
10ms, i.e a rule like OUT(tcp)delay(1) will delay all outgoing tcp packets by 10ms
OUT(tcp)delay(50) will delay pkts by 500 ms and so on..
I'm working on fixing it..





Dependences:
      libpcap





我也没怎么研究过, 你看看这个东东吧


有没有这方面中文的资料,谢谢了,另外有没有一些例子来学习一下??
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表