如何伪造udp数据包的源ip地址? [英] How to fake source ip-address of a udp-packet?

查看:1190
本文介绍了如何伪造udp数据包的源ip地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请考虑以下内容:
您的ISP为您提供了一个动态IP地址(例如123.123.123.123).

Think about the following:
Your ISP offers you a dynamic ip-address (for example 123.123.123.123).

我的问题很简单(答案可能并非如此):

My question is simple (the answer may not be):

是否可以将带有外部源IP(例如124.124.124.124)的单个udp数据包发送到固定IP服务器?我不需要从服务器获得答案.我只想知道是否/如何使用伪造的源IP地址完成这种单向通信.

Is it possible to send a single udp-packet with an outer source-ip (for example 124.124.124.124) to a fixed-ip server? I don't need to get an answer from the server. I just want to know if/how this one way communication can be done, using a faked source-ip address.

服务器和其他任何人都不能找出真正的客户端ip.

The server and no one else should not be able to find out the real client ip.

推荐答案

UDP数据包实际上没有源(您的)IP地址.源IP地址是发送它的数据包的一部分.因此,您必须修改它包含在其中的数据包.因此,尽管它是不平凡的,但还是可以的. UDP

The UDP packet does not actually have the source (your) IP address. The source IP address is part of the packet it is sent in. So you would have to modify the packet it is enclosed in. So while it is non-trivial, it is possible. The packet structure for UDP, and the enclosing packets for reference.

这篇关于如何伪造udp数据包的源ip地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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