Rate Limiting - Secure Computing SG300 User Manual

Snapgear gateway
Hide thumbs Also See for SG300:
Table of Contents

Advertisement

If we just wanted to look at traffic that went out to the IPSec world, we could use:
iptables -I FORWARD -j LOG -o IPSec+
Clearly there are many more combinations possible.
It is therefore possible to write rules that log inbound and outbound traffic, or to construct
several rules that differentiate between the two.

Rate Limiting

iptables has the facility for rate-limiting the log messages that are generated, in order to
avoid denial of service issues arising out of logging these access attempts. To achieve
this, use the following option:
--limit rate
rate is the maximum average matching rate, specified as a number with an
optional /second, /minute, /hour, or /day suffix. The default is 3/hour.
--limit-burst number
number is the maximum initial number of packets to match. This number gets
recharged by one every time the limit specified above is not reached, up to this
number. The default is 5.
iptables has many more options. Perform a web search for manpage iptables to find the
relevant documentation.
The LOG rules configured by default (e.g. Default Deny:) are all limited to:
--limit 3/hour --limit-burst 5
Appendix B – System Log
304

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sg530Sg570Sg575Sg580Sg550Sg560 ... Show all

Table of Contents