SYN Cookie is a stateless SYN proxy mechanism you can use in conjunction with the defenses against a SYN flood attack.
Before You Begin |
|---|
For background information, read Understanding SYN Cookie Protection. |
You can use either J-Web or the CLI configuration editor to enable SYN Cookie, set the SYN flood attack threshold.
This topic covers:
To configure screens:
To configure zones:
To configure flow:
- user@host# set security screen ids-option
external-syn-flood tcp syn-flood timeout 20
- user@host# set security zones security-zone
external screen external-syn-flood
- user@host# set security flow syn-flood-protection-mode
syn-cookie
![]() |
Note: The SYN Cookie feature can only detect and protect against spoofed SYN-Flood attacks, thus minimizing the negative impact to hosts that are secured by JUNOS Software. If an attacker is using a legitimate IP source address, rather than a spoofed IP source, then the SYN-Cookie mechanism does not stop the attack. |