slides30 Flashcards
ddos remedies
Remedies include the server starting to drop half-open connections when resources are low
wat syncookies
Alternatively, use syncookies
Store no information on the server, but encode it in the server’s
initial sequence number (ISN) for this connection
So the ISN is not random, but now encodes some information:
it is called a syncookie
When (or if!) the client ACK gets back, we can decode the
returned sequence number to retrieve the information
Now resources can safely be allocated to this presumably valid connection
This is good as it consumes no resources in the server until they are definitely needed
wat Fragment bombs
Too many fragments for packets that are never completed and
so can’t be reassembled
This overflows fragment buffer space (where fragments are kept pending reassembly) and likely causes a denial of service, even a crash
wat the ping of death
These were sent as forged fragments that, when reassembled, were much larger than expected and overflowed OS buffers in the receiving host
The usual result is a crash: another denial of service
were du de malevolent tings originate from
Usually from the implementers making invalid assumptions about IP and assuming packets are all well-formed and correct