如何在Windows上篡改源IP地址 [英] How to tamper with source IP address on Windows

查看:119
本文介绍了如何在Windows上篡改源IP地址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们满足了一个测试场景,该场景需要篡改Http请求的源IP地址,以模拟来自不同国家/地区的客户端.您知道对此有任何工具帮助吗?

We meet a testing scenario which needs to tamper with source IP address of a Http request to simulate clients coming from different countries. Do you know any tool help on this?

最后但并非最不重要的一点是,我们的网站是使用ASP.NET构建的.

Last but not least, our web site is built with ASP.NET.

谢谢.

推荐答案

,您不能轻易地伪造需要双向通信的协议中的源地址(例如TCP).注意,在分组级别需要这种双向通信".您不能只说没问题,我想发送请求并忽略HTTP响应."要建立TCP会话,您需要接收数据.最好的选择是使用代理服务器.

As noted in answers to the ServerFault question "Are IP addresses trivial to forge", you cannot easily forge source addresses in a protocol that required two way communication (e.g. TCP). Note that this "two way communication" is required at the packet level. You cannot just say "no problem, I want to send requests and ignore HTTP responses." To establish a TCP session, you need to receive data. Your best bet is to use a proxy server.

这篇关于如何在Windows上篡改源IP地址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆