|
This is a small program that I wrote for a couple of different reasons.
First of all, I needed at least some training for my really lousy coding,
and this was a small and fast project that I found out of the blue. The
second reason was that I wanted it for myself, and the third and last
reason was that I wanted it for the ipsysctl tutorial which should be
released in a preview any day now.
The ratemask program is an extremely simple program that will create
icmp_ratemasks for the /proc/sys/net/ipv4/icmp_ratemask sysctl. This is
done by telling the program which ICMP types to add to the mask, and back
you will get an ICMP mask that should be fairly easy to just echo back
into the sysctl. You may also read a value from the sysctl, and give it to
ratemask and it will calculate what ICMP types are set in the mask.
|