/proc and/or /sys file to know if ip_tables is there?

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

 



Hi,

I need to know reliably at runtime whether or not ip_tables is either currently loaded as a module or built-in the kernel.

Testing for /sys/module/ip_tables solves the first issue, but in case of built-in it's not usable.

I could check for ip_tables_* symbols in /proc/kallsyms but I guess it's not a nice way.

Any other proper way?

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




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux