Todd Fleisher <[EMAIL PROTECTED]> wrote:
>
> I am trying to up the expire time used by my firewall, but need to
> know what unit this definition is in:
> 
>       #define MASQUERADE_EXPIRE_TCP     15*60*HZ

Timers in the Linux kernel measure time in "clock ticks".  The clock
runs at a frequence of "HZ" ticks per second.  So, if you set a timer to
go off in "10 * HZ" ticks, it will go off in 10 seconds.

So as you can see from the above, 15 * 60 * HZ is a timeout of 15
minutes.

That being said, I think you should investigate the "ipfwadm -M -s"
option, or the "ipchains -M -S" option, depending on your kernel/masq
version.

-- 
   [EMAIL PROTECTED] (Fuzzy Fox)      || "Nothing takes the taste out of peanut
sometimes known as David DeSimone  ||  butter quite like unrequited love."
  http://www.dallas.net/~fox/      ||                       -- Charlie Brown


_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
http://tiffany.indyramp.com/mailman/listinfo/masq
Admin requests can be handled by web (above) or [EMAIL PROTECTED]

Reply via email to