/proc/net/netfilter/nf_log boot setup / persistence

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Hi

I manage to change the /proc/net/netfilter/nf_log flags using echo > /process/sys/netfilter/nf_log/ ...
( For IPv6 nflogging )

But it gets deleted at reboot.
Worse, using a boot-time script fails ( the flags get overwritten )
Using /etc/sysctl.conf doesn't seem to work.

I end up using a 1minute cron job that rewrites the flags each minute.

Is there a better way ? Or a sysctl.conf kind config file ?

Thanks  :-)


---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux