On Monday 20 October 2003 10:04 pm, John Allen wrote:
> I'm getting the following errors from my hourly cron. Any idea whats
> causing it
>
Found it.
Value for net.ipv4.conf.all.rp_filter in /etc/sysctl.conf was False,
so val = int('False') fails
> TIA.
>
> ---
>--- Traceback (most recent call last):
> File "/usr/share/msec/msec.py", line 266, in ?
> commit_changes()
> File "/usr/share/msec/mseclib.py", line 24, in commit_changes
> f[0](*f[1])
> File "/usr/share/msec/libmsec.py", line 856, in
> enable_ip_spoofing_protection
> set_zero_one_variable(SYSCTLCONF, 'net.ipv4.conf.all.rp_filter', arg,
> 1, 'Enabling ip spoofing protection', 'Disabling ip spoofing protection')
> File "/usr/share/msec/libmsec.py", line 833, in set_zero_one_variable val =
> int(val)
> ValueError: invalid literal for int(): False