Skip to contentSkip to conversation

Ipset Problem

DISCUSSION Lutfi ODUNCUOGLU 3 participants 3 messages Sep 13, 2012 netfilter

lore
Share & tools
lore
#0 lore raw

Hi,

I have two iptables configuration, for inet4 and inet6. In order to stop the iptables;

ipset flush
ipset destroy

and for ip6tables

ipset flush
ipset destroy

Can we make them just to flush and destroy inet6 or inet4? Is there any way? If not can you add this to request list?

Thanks in advance.

Lutfi

#1 lore raw
Quoted 10 lines · Lutfi ODUNCUOGLU

I have two iptables configuration, for inet4 and inet6. In order to stop the iptables;

ipset flush
ipset destroy

and for ip6tables

ipset flush
ipset destroy

Unnecessary, the sets are already flushed and destroyed above.

Quoted 1 line

Can we make them just to flush and destroy inet6 or inet4? Is there any way?

"ipset flush" flushes all sets, and "ipset destroy" destroys all sets, both inet and inet6.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences

          H-1525 Budapest 114, POB. 49, Hungary
#2 lore raw
Quoted 9 lines · Lutfi ODUNCUOGLU
Quoted 8 lines

I have two iptables configuration, for inet4 and inet6. In order to stop the
iptables;

ipset flush
ipset destroy

Quoted 6 lines
Quoted 4 lines

and for ip6tables

ipset flush
ipset destroy

Unnecessary, the sets are already flushed and destroyed above.

Why unnecessary? Can I need to only flush and destroy inet6 sets? If I can define them separetly, why not? Mostly iptables and ip6tables are different. They are handled separate. One can need to flush and destroy them, I think.

thanks.

Quoted 21 lines
Quoted 3 lines

Can we make them just to flush and destroy inet6 or inet4? Is there any way?

"ipset flush" flushes all sets, and "ipset destroy" destroys all sets, both inet and inet6.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences

          H-1525 Budapest 114, POB. 49, Hungary

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