Skip to content

SebastianFernandez893/TCPserver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCPserver

Justin Gomez, Sebastian Fernandez, Gabriella Munger

Description

This project simulates a Network Denial of Service through a method of a TCP SYN flood attack. The program simulates the attack by the flood.go acting as the adversary performing the TCP SYN flood attack. The file flood.go asks a user to input the amount of clients to send to the server as well as the amount of GOMAXPROCS() to utilize on the "client" end. The server, server.go, asks the user for the amount of GOMAXPROCS() to utilize on the server end, and then starts running the server. Once the server is running, it will run until receiving an EOF interrupt command (i.e. "CRTL-C") or when an abundance of clients can succesfully trigger the server fail.

Input and Output

server.go Input

The input will ask the user to specify the amount of GOMAXPROCS() to use

server.go Output

The output will reflect the amount of clients that have connected to the server and the time each client connected since the start of the server running.

flood.go Input

The input will consist of the amount of clients to send to the target server as well as the amount of GOMAXPROCS() to utilize when running.

flood.go Output

currently there is no output

How to Run:

1. Clone the repository:

git clone https://github.com/justinG31/TCPserver.git

2. Run server using one terminal window and follow input prompts

go run server.go

3. Run client(s) using another terminal window and follow input prompts

go run flood.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%