| Amaranten Firewall and ECN - Explicit Congestion Notification |
||||||||||||||||||||
| This
Knowledge Base article applies to: |
||||||||||||||||||||
| Background Explicit Congestion Notification is a relatively new mechanism in TCP.
Its purpose is to provide an early The reason for this document is to describe how the advent of ECN affects
firewalls in general and If a firewall drops a packet because of any of these new flags being
used, the result will be that new TCP When a router is nearing capacity, it will start marking IP datagrams
that travel through it, using two
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Version| IHL | DSCP |ECN| Total Length |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Identification |Flags| Fragment Offset |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Time to Live | Protocol | Header Checksum |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Source Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Destination Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
This lets the receiver know that things are about to go south,
but the sender does not yet know that it should slow down. When the receiver learns of congestion for a TCP packet, it transmits
this information back to the original From RFC 3168:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| | | U | A | P | R | S | F |
| Header Length | Reserved | R | C | S | S | Y | I |
| | | G | K | H | T | N | N |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Figure 3: The old definition of bytes 13 and 14 of the TCP
header.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| | | C | E | U | A | P | R | S | F |
| Header Length | Reserved | W | C | R | C | S | S | Y | I |
| | | R | E | G | K | H | T | N | N |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Figure 4: The new definition of bytes 13 and 14 of the TCP
Header.
The ECE and CWR flags were commonly referred to as "XMAS" and "YMAS"
before the advent of ECN. In May 2003, IANA (Internet Assigned Numbers Authority) assigned an
additional flag of the reserved field
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
| | | N | C | E | U | A | P | R | S | F |
| Header Length | Reserved | S | W | C | R | C | S | S | Y | I |
| | | | R | E | G | K | H | T | N | N |
+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
History of Amaranten Firewall in respect to
ECN There are three things a firewall can do if it detects that ECN-related flags are set:
Also, with the new NS flag being used in the newest TCP stacks, it is
important that it is treated the same The following is a list of changes done to Amaranten Firewall over the years in respect to ECN:
TCPECN be set to "Ignore" so that ECN signalling can pass through the firewall unimpeded. More resources
|
||||||||||||||||||||