8xFF / 8xFF/atm0s-sdn

Transporter should limit incoming packet size

Open
#140 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Rust
Stars
87
Forks
18
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The current TcpTransporter is allowing unlimited packet size when handshake. This can cause a spike in memory allocation when a malicious actor send a huge packet, if the size if big enough can resulted in a DDOS attack.

**Expected behavior**
The incoming packet should be limited in size.

**Screenshots**
image

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.