如何制作模拟TCP ip连接之间的ddos atack的java程序 [英] How do I make java program that simulate ddos atack between TCP ip conections

查看:175
本文介绍了如何制作模拟TCP ip连接之间的ddos atack的java程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们我开始使用tcpip或socket编程使用java进行编程,我想创建一个服务器,我尝试从外面进行ddos我需要获取客户端的ip,尝试攻击我的服务器并阻止或重定向一些如何你们中的任何人都可以帮助我



我的尝试:



i在互联网上找到很多代码而不是我想要的一个代码我发现tcpip代码为java而不是反ddos为

Guys i started to programing with java with tcpip or socket programing and i want to make a server that i try to ddos it from out side i need to get client's ip that try to atack my server and Block or redirect it some how any of u can help me

What I have tried:

i find alot of code in internet but not a one code that what i want like i find tcpip code for java but not anti ddos for that

推荐答案

首先,你是需要有多个客户端攻击服务器才能产生足够的流量。



其次,服务器本身通常不会实施重定向或过滤流量来缓解攻击。这通常是在路由器级别处理的。



现在,如果您正在攻击Web服务器,那么简单的攻击可能只是创建HTTP请求并发送这些请求尽可能快地请求,忽略任何响应。



攻击服务器的方法有很多种。您作为客户端所做的工作将根据您正在攻击的内容进行更改,例如服务器前面的路由器,服务器中的网络接口或运行它的Web服务器。
First, you'd need to have multiple clients "attacking" the server in order to generate enough traffic.

Second, the server itself will typically NOT implement the redirection or filtering of traffic to mitigate the attack. That is normally handled at the router level.

Now, if you're attacking a web server, a simplistic "attack" could just be creating HTTP requests and send those requests as fast as you can, ignoring any responses.

There are many different ways of attacking a server. What you do as a "client" is going to change depending on exactly what you're attacking, like the router in front of the server, the network interface in the server, or the web server running on it.


这篇关于如何制作模拟TCP ip连接之间的ddos atack的java程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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