Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lede-mikrotik
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Johannes Rudolph
lede-mikrotik
Commits
31681f08
Commit
31681f08
authored
10 years ago
by
Felix Fietkau
Browse files
Options
Downloads
Patches
Plain Diff
ipset: use in-tree kernel modules to fix crash issues
Signed-off-by:
Felix Fietkau
<
nbd@openwrt.org
>
SVN-Revision: 44883
parent
e3d19988
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
package/kernel/linux/modules/netfilter.mk
+48
-0
48 additions, 0 deletions
package/kernel/linux/modules/netfilter.mk
package/network/utils/ipset/Makefile
+0
-26
0 additions, 26 deletions
package/network/utils/ipset/Makefile
with
48 additions
and
26 deletions
package/kernel/linux/modules/netfilter.mk
+
48
−
0
View file @
31681f08
...
@@ -223,6 +223,54 @@ endef
...
@@ -223,6 +223,54 @@ endef
$(
eval
$(
call KernelPackage,ipt-ipsec
))
$(
eval
$(
call KernelPackage,ipt-ipsec
))
IPSET_MODULES
:=
\
ipset/ip_set
\
ipset/ip_set_bitmap_ip
\
ipset/ip_set_bitmap_ipmac
\
ipset/ip_set_bitmap_port
\
ipset/ip_set_hash_ip
\
ipset/ip_set_hash_ipmark
\
ipset/ip_set_hash_ipport
\
ipset/ip_set_hash_ipportip
\
ipset/ip_set_hash_ipportnet
\
ipset/ip_set_hash_mac
\
ipset/ip_set_hash_netportnet
\
ipset/ip_set_hash_net
\
ipset/ip_set_hash_netnet
\
ipset/ip_set_hash_netport
\
ipset/ip_set_hash_netiface
\
ipset/ip_set_list_set
\
xt_set
define
KernelPackage/ipt-ipset
SUBMENU
:=
Netfilter Extensions
TITLE
:=
IPset netfilter modules
DEPENDS
+=
+kmod-ipt-core +kmod-nfnetlink
KCONFIG
:=
\
CONFIG_IP_SET
\
CONFIG_IP_SET_MAX
=
256
\
CONFIG_NETFILTER_XT_SET
\
CONFIG_IP_SET_BITMAP_IP
\
CONFIG_IP_SET_BITMAP_IPMAC
\
CONFIG_IP_SET_BITMAP_PORT
\
CONFIG_IP_SET_HASH_IP
\
CONFIG_IP_SET_HASH_IPMARK
\
CONFIG_IP_SET_HASH_IPPORT
\
CONFIG_IP_SET_HASH_IPPORTIP
\
CONFIG_IP_SET_HASH_IPPORTNET
\
CONFIG_IP_SET_HASH_MAC
\
CONFIG_IP_SET_HASH_NET
\
CONFIG_IP_SET_HASH_NETNET
\
CONFIG_IP_SET_HASH_NETIFACE
\
CONFIG_IP_SET_HASH_NETPORT
\
CONFIG_IP_SET_HASH_NETPORTNET
\
CONFIG_IP_SET_LIST_SET
\
CONFIG_NET_EMATCH_IPSET
=
n
FILES
:=
$(
foreach mod,
$(
IPSET_MODULES
)
,
$(
LINUX_DIR
)
/net/netfilter/
$(
mod
)
.ko
)
AUTOLOAD
:=
$(
call AutoLoad,49,
$(
notdir
$(
IPSET_MODULES
)))
endef
$(
eval
$(
call KernelPackage,ipt-ipset
))
define
KernelPackage/ipt-nat
define
KernelPackage/ipt-nat
TITLE
:=
Basic NAT targets
TITLE
:=
Basic NAT targets
...
...
This diff is collapsed.
Click to expand it.
package/network/utils/ipset/Makefile
+
0
−
26
View file @
31681f08
...
@@ -39,25 +39,8 @@ MAKE_FLAGS += \
...
@@ -39,25 +39,8 @@ MAKE_FLAGS += \
ARCH
=
"
$(
LINUX_KARCH
)
"
\
ARCH
=
"
$(
LINUX_KARCH
)
"
\
SHELL
=
"
$(
BASH
)
"
SHELL
=
"
$(
BASH
)
"
IPSET_MODULES
:=
\
ipset/ip_set
\
ipset/ip_set_bitmap_ip
\
ipset/ip_set_bitmap_ipmac
\
ipset/ip_set_bitmap_port
\
ipset/ip_set_hash_ip
\
ipset/ip_set_hash_ipmark
\
ipset/ip_set_hash_ipport
\
ipset/ip_set_hash_ipportip
\
ipset/ip_set_hash_ipportnet
\
ipset/ip_set_hash_net
\
ipset/ip_set_hash_netiface
\
ipset/ip_set_hash_netport
\
ipset/ip_set_list_set
\
xt_set
\
define
Build/Compile
define
Build/Compile
$(
call
Build/Compile/Default
)
$(
call
Build/Compile/Default
)
$(
call
Build/Compile/Default,modules
)
endef
endef
define
Package/ipset/install
define
Package/ipset/install
...
@@ -67,13 +50,4 @@ define Package/ipset/install
...
@@ -67,13 +50,4 @@ define Package/ipset/install
$(CP)
$(PKG_INSTALL_DIR)/usr/lib/libipset*.so*
$(1)/usr/lib/
$(CP)
$(PKG_INSTALL_DIR)/usr/lib/libipset*.so*
$(1)/usr/lib/
endef
endef
define
KernelPackage/ipt-ipset
SUBMENU
:=
Netfilter Extensions
TITLE
:=
IPset netfilter modules
DEPENDS
+=
+kmod-ipt-core +kmod-nfnetlink
FILES
:=
$(
foreach mod,
$(
IPSET_MODULES
)
,
$(
PKG_BUILD_DIR
)
/kernel/net/netfilter/
$(
mod
)
.ko
)
AUTOLOAD
:=
$(
call AutoLoad,49,
$(
notdir
$(
IPSET_MODULES
)))
endef
$(
eval
$(
call BuildPackage,ipset
))
$(
eval
$(
call BuildPackage,ipset
))
$(
eval
$(
call KernelPackage,ipt-ipset
))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment