Hello Alexey!
06 Oct 2018 11:44, Alexey Vissarionov wrote to Benny Pedersen:
so how do i know module name for LOG target ?
is it just grep from lsmod, or find name in .config ?
gremlin@nb:~ > zcat /proc/config.gz | grep '_NF.*LOG' CONFIG_NF_LOG_COMMON=y
# CONFIG_NF_LOG_NETDEV is not set
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
# CONFIG_NF_LOG_ARP is not set
CONFIG_NF_LOG_IPV4=y
CONFIG_NF_LOG_IPV6=y
missed 2 last ones
save the pipes with
zgrep NF.*LOG /proc/config.gz
----- config begins -----
CONFIG_LOG_BUF_SHIFT=17
CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
CONFIG_PRINTK_SAFE_LOG_BUF_SHIFT=13
# CONFIG_X86_MCELOG_LEGACY is not set
# CONFIG_ACPI_EXTLOG is not set
CONFIG_NETFILTER_NETLINK_LOG=y
CONFIG_NF_LOG_COMMON=y
CONFIG_NF_LOG_NETDEV=y
CONFIG_NFT_LOG=y
CONFIG_NETFILTER_XT_TARGET_LOG=y
CONFIG_NETFILTER_XT_TARGET_NFLOG=y
CONFIG_NF_LOG_ARP=y
CONFIG_NF_LOG_IPV4=y
CONFIG_NF_LOG_IPV6=y
CONFIG_NF_LOG_BRIDGE=y
CONFIG_BRIDGE_EBT_LOG=y
CONFIG_BRIDGE_EBT_NFLOG=y
CONFIG_SCSI_LOGGING=y
# CONFIG_SCSI_BUSLOGIC is not set
# CONFIG_SCSI_QLOGIC_1280 is not set
# CONFIG_DM_LOG_USERSPACE is not set
# CONFIG_DM_LOG_WRITES is not set
# CONFIG_FUSION_LOGGING is not set
CONFIG_NET_VENDOR_QLOGIC=y
CONFIG_MOUSE_PS2_LOGIPS2PP=y
# CONFIG_JOYSTICK_ANALOG is not set
# CONFIG_DRM_ANALOGIX_ANX78XX is not set
# CONFIG_LOGO is not set
CONFIG_XEN_MCE_LOG=y
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4
----- config ends -----
Regards Benny
... there can only be one way of life, and it works :)
--- Msged/LNX 6.1.2 (Linux/4.18.8-x86_64-linode117 (x86_64))
* Origin: I will always keep a PC running CPM 3.0 (2:230/0)