Changeset 26567


Ignore:
Timestamp:
2011-04-10T01:23:46+02:00 (7 years ago)
Author:
hauke
Message:

iipt-debug: create bundle of netfilter modules for debugging

Add a bundle for including commonly useful modules for IPtables debugging and development.

For now, it just contains xt_TRACE.ko

Signed-off-by: Philip Prindeville <philipp@…>

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/netfilter.mk

    r26451 r26567  
    279279 
    280280 
     281# debugging 
     282 
     283$(eval $(call nf_add,IPT_DEBUG,CONFIG_NETFILTER_XT_TARGET_TRACE, $(P_XT)xt_TRACE)) 
     284 
    281285# tproxy 
    282286 
     
    338342IPT_BUILTIN += $(IPT_NATHELPER_EXTRA-y) 
    339343IPT_BUILTIN += $(IPT_ULOG-y) 
     344IPT_BUILTIN += $(IPT_DEBUG-y) 
    340345IPT_BUILTIN += $(IPT_TPROXY-y) 
    341346IPT_BUILTIN += $(EBTABLES-y) 
  • trunk/package/kernel/modules/netfilter.mk

    r26451 r26567  
    263263 
    264264 
     265define KernelPackage/ipt-debug 
     266  TITLE:=Module for debugging/development 
     267  KCONFIG:=$(KCONFIG_IPT_DEBUG) 
     268  DEFAULT:=n 
     269  FILES:=$(foreach mod,$(IPT_DEBUG-m),$(LINUX_DIR)/net/$(mod).ko) 
     270  AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_DEBUG-m))) 
     271  $(call AddDepends/ipt) 
     272endef 
     273 
     274define KernelPackage/ipt-debug/description 
     275 Netfilter modules for debugging/development of the firewall 
     276 Includes: 
     277 - TRACE 
     278endef 
     279 
     280$(eval $(call KernelPackage,ipt-debug)) 
     281 
     282 
    265283define KernelPackage/ipt-led 
    266284  TITLE:=Module to trigger a LED with a Netfilter rule 
Note: See TracChangeset for help on using the changeset viewer.