* [iptables] Use ipset with conntrack module
@ 2020-08-17 12:12 Amiq Nahas
2020-08-17 17:31 ` Florian Westphal
0 siblings, 1 reply; 2+ messages in thread
From: Amiq Nahas @ 2020-08-17 12:12 UTC (permalink / raw)
To: netfilter-devel
Hi Guys,
Currently only a single ip-address can be specified with these options
in conntrack module:
--ctorigsrc address[/mask]
--ctorigdst address[/mask]
--ctreplsrc address[/mask]
--ctrepldst address[/mask]
I would like to add a new feature into iptables so that multiple
ip-addresses can be specified at once. I am thinking this can be done
using ipset.
Please share your thoughts on how this can be implemented.
Thanks
Amiq
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [iptables] Use ipset with conntrack module
2020-08-17 12:12 [iptables] Use ipset with conntrack module Amiq Nahas
@ 2020-08-17 17:31 ` Florian Westphal
0 siblings, 0 replies; 2+ messages in thread
From: Florian Westphal @ 2020-08-17 17:31 UTC (permalink / raw)
To: Amiq Nahas; +Cc: netfilter-devel
Amiq Nahas <m992493@gmail.com> wrote:
> Hi Guys,
>
> Currently only a single ip-address can be specified with these options
> in conntrack module:
> --ctorigsrc address[/mask]
> --ctorigdst address[/mask]
> --ctreplsrc address[/mask]
> --ctrepldst address[/mask]
>
> I would like to add a new feature into iptables so that multiple
> ip-addresses can be specified at once. I am thinking this can be done
> using ipset.
>
> Please share your thoughts on how this can be implemented.
This can be done with nftables. I don't think its worth it to spend
time on this in iptables world.
You would also need to copy-paste reimplement the match again if you want to
combine it with e.g. network interface.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-17 17:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-17 12:12 [iptables] Use ipset with conntrack module Amiq Nahas
2020-08-17 17:31 ` Florian Westphal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.