Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example SlowLoris attack #248

Merged
merged 1 commit into from
Mar 30, 2017
Merged

Add example SlowLoris attack #248

merged 1 commit into from
Mar 30, 2017

Conversation

CianLR
Copy link
Member

@CianLR CianLR commented Mar 29, 2017

Connects to #225

Bye bye Lucas

Copy link
Member

@iandioch iandioch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

(if anyone is confused by the name, it's a famous attack, but for some reason Can Ruane has capitalised the L)

return "Send {} keep-alive requests to target".format(keep_alive_count)


ATTACK_ITERATIONS = 15
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you mean ATTACK_ITERATIONS = 2**64-1 here.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speaking of, do we have issues if an integer passed over the wire is > 2**64? Does our JSON de-/serialisation support arbitrary-length integers?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A bug isn't an issue until it's found.

Copy link
Member

@byxor byxor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@CianLR CianLR merged commit 734ae36 into master Mar 30, 2017
@CianLR CianLR deleted the c/ddos#225 branch March 30, 2017 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants