Dynamic control of packet filtering period
View Patent ↗A communication control apparatus including: a count portion that counts the number of received data; and a discard portion that is provided at an upstream side of a control portion on a forwarding route of the received data, and discards received data according to a counted value by the count portion.
1. A communication apparatus comprising:
a memory that stores a value indicating a packet measurement period;
a network interface that receives data packets;
a packet filter that discards data packets; and
a comparison unit that determines whether a first number of data packets received by the network interface during a first packet measurement period exceeds a predetermined threshold, controls the packet filter to discard data packets received by the network interface during a packet filtering period following the first packet measurement period, determines whether a second number of data packets received by the network interface during a second packet measurement period following the first packet measurement period exceeds the predetermined threshold, and controls the packet filter to continuously discard data packets received by the network interface for a period of time after the packet filtering period.
2. The communication apparatus according to claim 1 , wherein a duration of the packet filtering period is equal to a duration of the packet measurement period.
3. The communication apparatus according to claim 2 , wherein the comparison unit controlling the packet filter extends the duration of the packet filtering period by the period of time.
4. The communication apparatus according to claim 2 , wherein the period of time is equal to the duration of the packet filtering period.
5. The communication apparatus according to claim 2 , wherein the comparison unit controlling the packet filter renews the packet filtering period.
6. The communication apparatus according to claim 1 , wherein a duration of the packet filtering period is greater than a duration of the packet measurement period.
7. The communication apparatus according to claim 6 , wherein the comparison unit controlling the packet filter extends the duration of the packet filtering period by the duration of the packet measurement period.
8. The communication apparatus according to claim 6 , wherein the period of time is equal to the duration of the packet filtering period.
9. The communication apparatus according to claim 6 , wherein the comparison unit controlling the packet filter renews the packet filtering period.