* ipset problem.
@ 2010-01-22 11:54 Husnu Demir
2010-01-22 13:22 ` Jozsef Kadlecsik
0 siblings, 1 reply; 17+ messages in thread
From: Husnu Demir @ 2010-01-22 11:54 UTC (permalink / raw)
To: Netfilter Developer Mailing List
[-- Attachment #1: Type: text/plain, Size: 2090 bytes --]
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a problem. As I show below if I lookat with ipset -S <name_of_set> there
are unknown list members. But I could not see these list members with ipset -S
command.
I do not know it is a real problem or just a cosmetics error.
hdemir.
- --------------
Details.
# uname -a
Linux nl 2.6.32.2 #1 SMP Wed Dec 30 11:29:42 EET 2009 x86_64 GNU/Linux
nl# ipset -S VERIDEPOLARI
# Generated by ipset 4.1 on Fri Jan 22 13:48:33 2010
- -N VERIDEPOLARI nethash --hashsize 1024 --probes 4 --resize 50
- -A VERIDEPOLARI 85.17.173.0/24
- -A VERIDEPOLARI 72.232.170.0/25
- -A VERIDEPOLARI 85.131.172.96/27
- -A VERIDEPOLARI 85.131.151.0/25
- -A VERIDEPOLARI 75.126.168.8/29
- -A VERIDEPOLARI 85.131.152.0/25
- -A VERIDEPOLARI 81.95.11.208/28
- -A VERIDEPOLARI 85.131.179.0/24
- -A VERIDEPOLARI 91.121.132.0/24
- -A VERIDEPOLARI 66.211.108.0/26
- -A VERIDEPOLARI 208.72.168.0/21
- -A VERIDEPOLARI 85.17.172.0/24
- -A VERIDEPOLARI 130.117.156.0/24
- -A VERIDEPOLARI 97.114.97.148/31
- -A VERIDEPOLARI 116.115.105.214/31
- -A VERIDEPOLARI 0.103.65.200/31
- -A VERIDEPOLARI 104.116.101.218/31
- -A VERIDEPOLARI 0.104.115.192/31
COMMIT
# Completed on Fri Jan 22 13:48:33 2010
nl# ipset -S | grep VERI
- -N VERIDEPOLARI nethash --hashsize 1024 --probes 4 --resize 50
- -A VERIDEPOLARI 85.17.173.0/24
- -A VERIDEPOLARI 72.232.170.0/25
- -A VERIDEPOLARI 85.131.172.96/27
- -A VERIDEPOLARI 85.131.151.0/25
- -A VERIDEPOLARI 75.126.168.8/29
- -A VERIDEPOLARI 85.131.152.0/25
- -A VERIDEPOLARI 81.95.11.208/28
- -A VERIDEPOLARI 85.131.179.0/24
- -A VERIDEPOLARI 91.121.132.0/24
- -A VERIDEPOLARI 66.211.108.0/26
- -A VERIDEPOLARI 208.72.168.0/21
- -A VERIDEPOLARI 85.17.172.0/24
- -A VERIDEPOLARI 130.117.156.0/24
nl# ipset -v
ipset v4.1, protocol version 4.
Kernel module protocol version 4.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAktZkdkACgkQHgR50XBBy+m9nACdE1IhGPeFfrc6OpMrrQ4qzLw0
4gsAoO/SD/QYRUSNtQ+lrJORvXzKmHCG
=sR7V
-----END PGP SIGNATURE-----
[-- Attachment #2: hdemir.vcf --]
[-- Type: text/x-vcard, Size: 164 bytes --]
begin:vcard
fn:Husnu Demir
n:Demir;Husnu
email;internet:hdemir@metu.edu.tr
tel;work:+903122103330
tel;fax:+903122103303
x-mozilla-html:FALSE
version:2.1
end:vcard
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: ipset problem.
2010-01-22 11:54 ipset problem Husnu Demir
@ 2010-01-22 13:22 ` Jozsef Kadlecsik
2010-01-22 18:05 ` Tom Eastep
2010-01-23 21:00 ` Jozsef Kadlecsik
0 siblings, 2 replies; 17+ messages in thread
From: Jozsef Kadlecsik @ 2010-01-22 13:22 UTC (permalink / raw)
To: Husnu Demir; +Cc: Netfilter Developer Mailing List
Hi,
On Fri, 22 Jan 2010, Husnu Demir wrote:
> I have a problem. As I show below if I lookat with ipset -S <name_of_set> there
> are unknown list members. But I could not see these list members with ipset -S
> command.
>
> I do not know it is a real problem or just a cosmetics error.
It looks like a bug.
> # uname -a
> Linux nl 2.6.32.2 #1 SMP Wed Dec 30 11:29:42 EET 2009 x86_64 GNU/Linux
>
> nl# ipset -S VERIDEPOLARI
> # Generated by ipset 4.1 on Fri Jan 22 13:48:33 2010
> - -N VERIDEPOLARI nethash --hashsize 1024 --probes 4 --resize 50
> - -A VERIDEPOLARI 85.17.173.0/24
> - -A VERIDEPOLARI 72.232.170.0/25
> - -A VERIDEPOLARI 85.131.172.96/27
> - -A VERIDEPOLARI 85.131.151.0/25
> - -A VERIDEPOLARI 75.126.168.8/29
> - -A VERIDEPOLARI 85.131.152.0/25
> - -A VERIDEPOLARI 81.95.11.208/28
> - -A VERIDEPOLARI 85.131.179.0/24
> - -A VERIDEPOLARI 91.121.132.0/24
> - -A VERIDEPOLARI 66.211.108.0/26
> - -A VERIDEPOLARI 208.72.168.0/21
> - -A VERIDEPOLARI 85.17.172.0/24
> - -A VERIDEPOLARI 130.117.156.0/24
> - -A VERIDEPOLARI 97.114.97.148/31
> - -A VERIDEPOLARI 116.115.105.214/31
> - -A VERIDEPOLARI 0.103.65.200/31
> - -A VERIDEPOLARI 104.116.101.218/31
> - -A VERIDEPOLARI 0.104.115.192/31
> COMMIT
> # Completed on Fri Jan 22 13:48:33 2010
> nl# ipset -S | grep VERI
> - -N VERIDEPOLARI nethash --hashsize 1024 --probes 4 --resize 50
> - -A VERIDEPOLARI 85.17.173.0/24
> - -A VERIDEPOLARI 72.232.170.0/25
> - -A VERIDEPOLARI 85.131.172.96/27
> - -A VERIDEPOLARI 85.131.151.0/25
> - -A VERIDEPOLARI 75.126.168.8/29
> - -A VERIDEPOLARI 85.131.152.0/25
> - -A VERIDEPOLARI 81.95.11.208/28
> - -A VERIDEPOLARI 85.131.179.0/24
> - -A VERIDEPOLARI 91.121.132.0/24
> - -A VERIDEPOLARI 66.211.108.0/26
> - -A VERIDEPOLARI 208.72.168.0/21
> - -A VERIDEPOLARI 85.17.172.0/24
> - -A VERIDEPOLARI 130.117.156.0/24
> nl# ipset -v
> ipset v4.1, protocol version 4.
> Kernel module protocol version 4.
I'll try to reproduce and find the reason for the difference in the
listing.
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@mail.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: ipset problem.
2010-01-22 13:22 ` Jozsef Kadlecsik
@ 2010-01-22 18:05 ` Tom Eastep
2010-01-23 21:00 ` Jozsef Kadlecsik
1 sibling, 0 replies; 17+ messages in thread
From: Tom Eastep @ 2010-01-22 18:05 UTC (permalink / raw)
To: Jozsef Kadlecsik; +Cc: Husnu Demir, Netfilter Developer Mailing List
[-- Attachment #1: Type: text/plain, Size: 2092 bytes --]
Jozsef Kadlecsik wrote:
>> nl# ipset -v
>> ipset v4.1, protocol version 4.
>> Kernel module protocol version 4.
>
> I'll try to reproduce and find the reason for the difference in the
> listing.
>
I can add another data point.
A similar issue can be seen when xtables-addons 1.21 is installed on
Debian Lenny, kernel 2.6.26-openvz-am64. In that case, extra /31
networks show up whether a set name is supplied or not; they are
different in the two cases, however.
gateway:~# ipset -L dshield -n
Name: dshield
Type: nethash
References: 1
Header: hashsize: 1024 probes: 4 resize: 50
Members:
74.63.225.0/24
218.206.128.0/24
210.212.152.0/24
77.254.150.0/24
116.55.199.0/24
118.160.213.0/24
70.38.64.0/24
91.144.92.0/24
58.221.42.0/24
174.129.75.0/24
88.163.67.0/24
219.139.40.0/24
88.79.127.0/24
194.165.153.0/24
75.101.178.0/24
222.45.112.0/24
202.155.202.0/24
89.149.204.0/24
118.161.234.0/24
122.200.121.0/24
116.114.111.222/31
0.112.97.216/31
0.1.0.0/31
97.109.111.218/31
0.0.108.208/31
97.104.112.208/31
0.0.104.228/31
gateway:~# ipset -L -n
...
Name: dshield
Type: nethash
References: 1
Header: hashsize: 1024 probes: 4 resize: 50
Members:
74.63.225.0/24
218.206.128.0/24
210.212.152.0/24
77.254.150.0/24
116.55.199.0/24
118.160.213.0/24
70.38.64.0/24
91.144.92.0/24
58.221.42.0/24
174.129.75.0/24
88.163.67.0/24
219.139.40.0/24
88.79.127.0/24
194.165.153.0/24
75.101.178.0/24
222.45.112.0/24
202.155.202.0/24
89.149.204.0/24
118.161.234.0/24
122.200.121.0/24
48.116.105.228/31
97.104.112.208/31
0.0.104.228/31
0.5.0.8/31
95.116.101.218/31
101.114.105.198/31
0.0.116.196/31
...
All of the /31 nets are bogus.
When installed on a Lenny system running kernel 2.6.26-686, things seem
to work as expected.
-Tom
--
Tom Eastep \ When I die, I want to go like my Grandfather who
Shoreline, \ died peacefully in his sleep. Not screaming like
Washington, USA \ all of the passengers in his car
http://shorewall.net \________________________________________________
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: ipset problem.
2010-01-22 13:22 ` Jozsef Kadlecsik
2010-01-22 18:05 ` Tom Eastep
@ 2010-01-23 21:00 ` Jozsef Kadlecsik
2010-01-23 21:44 ` Jozsef Kadlecsik
1 sibling, 1 reply; 17+ messages in thread
From: Jozsef Kadlecsik @ 2010-01-23 21:00 UTC (permalink / raw)
To: Husnu Demir; +Cc: Netfilter Developer Mailing List
On Fri, 22 Jan 2010, Jozsef Kadlecsik wrote:
> On Fri, 22 Jan 2010, Husnu Demir wrote:
>
> > I have a problem. As I show below if I lookat with ipset -S <name_of_set> there
> > are unknown list members. But I could not see these list members with ipset -S
> > command.
> >
> > I do not know it is a real problem or just a cosmetics error.
>
> It looks like a bug.
>
> > # uname -a
> > Linux nl 2.6.32.2 #1 SMP Wed Dec 30 11:29:42 EET 2009 x86_64 GNU/Linux
> >
> > nl# ipset -S VERIDEPOLARI
> > # Generated by ipset 4.1 on Fri Jan 22 13:48:33 2010
> > - -N VERIDEPOLARI nethash --hashsize 1024 --probes 4 --resize 50
> > - -A VERIDEPOLARI 85.17.173.0/24
> > - -A VERIDEPOLARI 72.232.170.0/25
> > - -A VERIDEPOLARI 85.131.172.96/27
> > - -A VERIDEPOLARI 85.131.151.0/25
> > - -A VERIDEPOLARI 75.126.168.8/29
> > - -A VERIDEPOLARI 85.131.152.0/25
> > - -A VERIDEPOLARI 81.95.11.208/28
> > - -A VERIDEPOLARI 85.131.179.0/24
> > - -A VERIDEPOLARI 91.121.132.0/24
> > - -A VERIDEPOLARI 66.211.108.0/26
> > - -A VERIDEPOLARI 208.72.168.0/21
> > - -A VERIDEPOLARI 85.17.172.0/24
> > - -A VERIDEPOLARI 130.117.156.0/24
> > - -A VERIDEPOLARI 97.114.97.148/31
> > - -A VERIDEPOLARI 116.115.105.214/31
> > - -A VERIDEPOLARI 0.103.65.200/31
> > - -A VERIDEPOLARI 104.116.101.218/31
> > - -A VERIDEPOLARI 0.104.115.192/31
> > COMMIT
> > # Completed on Fri Jan 22 13:48:33 2010
> > nl# ipset -S | grep VERI
> > - -N VERIDEPOLARI nethash --hashsize 1024 --probes 4 --resize 50
> > - -A VERIDEPOLARI 85.17.173.0/24
> > - -A VERIDEPOLARI 72.232.170.0/25
> > - -A VERIDEPOLARI 85.131.172.96/27
> > - -A VERIDEPOLARI 85.131.151.0/25
> > - -A VERIDEPOLARI 75.126.168.8/29
> > - -A VERIDEPOLARI 85.131.152.0/25
> > - -A VERIDEPOLARI 81.95.11.208/28
> > - -A VERIDEPOLARI 85.131.179.0/24
> > - -A VERIDEPOLARI 91.121.132.0/24
> > - -A VERIDEPOLARI 66.211.108.0/26
> > - -A VERIDEPOLARI 208.72.168.0/21
> > - -A VERIDEPOLARI 85.17.172.0/24
> > - -A VERIDEPOLARI 130.117.156.0/24
> > nl# ipset -v
> > ipset v4.1, protocol version 4.
> > Kernel module protocol version 4.
>
> I'll try to reproduce and find the reason for the difference in the
> listing.
I checked on exactly the same kernel release and could not reproduce the
problem you reported.
Can you delete all sets and run the testsuite in the ipset source
directory by executing `make tests'? Do all the tests pass?
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@mail.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: ipset problem.
2010-01-23 21:00 ` Jozsef Kadlecsik
@ 2010-01-23 21:44 ` Jozsef Kadlecsik
[not found] ` <alpine.DEB.2.00.1001242243560.20757@blackhole.kfki.hu>
0 siblings, 1 reply; 17+ messages in thread
From: Jozsef Kadlecsik @ 2010-01-23 21:44 UTC (permalink / raw)
To: Husnu Demir; +Cc: Netfilter Developer Mailing List
On Sat, 23 Jan 2010, Jozsef Kadlecsik wrote:
> On Fri, 22 Jan 2010, Jozsef Kadlecsik wrote:
>
> > I'll try to reproduce and find the reason for the difference in the
> > listing.
>
> I checked on exactly the same kernel release and could not reproduce the
> problem you reported.
Nevermind, I could now reproduce it by creating another sets.
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@mail.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
^ permalink raw reply [flat|nested] 17+ messages in thread
* Ipset Problem
@ 2012-09-13 14:19 Lutfi ODUNCUOGLU
2012-09-13 14:53 ` Jozsef Kadlecsik
0 siblings, 1 reply; 17+ messages in thread
From: Lutfi ODUNCUOGLU @ 2012-09-13 14:19 UTC (permalink / raw)
To: netfilter-devel@vger.kernel.org
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Ipset Problem
2012-09-13 14:19 Ipset Problem Lutfi ODUNCUOGLU
@ 2012-09-13 14:53 ` Jozsef Kadlecsik
2012-09-13 20:12 ` hdemir
0 siblings, 1 reply; 17+ messages in thread
From: Jozsef Kadlecsik @ 2012-09-13 14:53 UTC (permalink / raw)
To: Lutfi ODUNCUOGLU; +Cc: netfilter-devel@vger.kernel.org
On Thu, 13 Sep 2012, Lutfi ODUNCUOGLU wrote:
> 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.
> 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 : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
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
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: Ipset Problem
2012-09-13 14:53 ` Jozsef Kadlecsik
@ 2012-09-13 20:12 ` hdemir
0 siblings, 0 replies; 17+ messages in thread
From: hdemir @ 2012-09-13 20:12 UTC (permalink / raw)
To: Jozsef Kadlecsik; +Cc: Lutfi ODUNCUOGLU, netfilter-devel@vger.kernel.org
> On Thu, 13 Sep 2012, Lutfi ODUNCUOGLU wrote:
>
>> 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.
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.
>
>> 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 : kadlec@blackhole.kfki.hu, kadlecsik.jozsef@wigner.mta.hu
> 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 majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~2012-09-13 20:21 UTC | newest]
Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-22 11:54 ipset problem Husnu Demir
2010-01-22 13:22 ` Jozsef Kadlecsik
2010-01-22 18:05 ` Tom Eastep
2010-01-23 21:00 ` Jozsef Kadlecsik
2010-01-23 21:44 ` Jozsef Kadlecsik
[not found] ` <alpine.DEB.2.00.1001242243560.20757@blackhole.kfki.hu>
2010-01-25 7:17 ` Husnu Demir
2010-01-25 10:24 ` Jozsef Kadlecsik
2010-01-25 11:33 ` Jan Engelhardt
2010-01-25 11:47 ` Husnu Demir
2010-01-25 11:34 ` Husnu Demir
2010-01-25 11:39 ` Jan Engelhardt
2010-01-25 11:49 ` Jozsef Kadlecsik
2010-01-25 11:57 ` Husnu Demir
2010-01-25 12:01 ` Husnu Demir
-- strict thread matches above, loose matches on Subject: below --
2012-09-13 14:19 Ipset Problem Lutfi ODUNCUOGLU
2012-09-13 14:53 ` Jozsef Kadlecsik
2012-09-13 20:12 ` hdemir
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).