All of lore.kernel.org
 help / color / mirror / Atom feed
* pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme
@ 2004-04-11 11:15 Friedrich Lobenstock
  2004-04-11 11:55 ` Evgeniy Polyakov
  2004-04-11 20:44 ` Henrik Nordstrom
  0 siblings, 2 replies; 6+ messages in thread
From: Friedrich Lobenstock @ 2004-04-11 11:15 UTC (permalink / raw)
  To: Netfilter Development Mailinglist
  Cc: Jozsef Kadlecsik, Evgeniy Polyakov, Harald Welte, Gerd Knorr,
	Tommi Virtanen

Hi netfilter team!

*persons responsible for each individual breaking patch CC'd*

I want to inform you that the following patches in pom-20040409,
which btw apply cleanly to the kernel 2.4.25, do break the
compilation of iptables-1.2.9-20040409:

   1) base/set
        a "make" of iptables does not even succeed to
        create the dependencies, message
          "Something wrong... deleting dependencies."

   2) base/dstlimit
        breaks the extension in iptables - see log below

   3) base/osf
        breaks the extension in iptables - see log below

Patches that break kernel 2.4.25 compile:

   4) base/connlimit
        undefined variable used for locking
        fix availabl will be posted to the list soon

Patches that break pom's runme, so that it can not continue with
other patches:

   5) submitted/61_nulldev_alignment
        seems to be already in 2.4.25 but not in the same form as
        this patch.
        Is it ok with you if I submit a patch that matches kernel
        2.4.25? Tommi Virtanen can you please look at this and tell
        me if your patch is the same as what is already included in
        kernel 2.4.25!

Hope you can fix that.

PS: PLEASE for those people who are on netfiler-devel please respond
TO THE LIST ONLY. Thanks!

---------------------------------------------------------------------------
---------------------------------------------------------------------------
LOG for 2)

Extensions found: IPv4:IPV4OPTSSTRIP IPv4:NETLINK IPv4:addrtype 
IPv4:condition IPv4:dstlimit IPv4:fuzzy IPv4:ipv4opti
ons IPv4:mport IPv4:nth IPv4:pool IPv4:POOL IPv4:psd IPv4:quota IPv4:random 
IPv4:recent IPv4:time IPv4:u32 IPv6:REJEC
T IPv6:ah IPv6:esp IPv6:frag IPv6:fuzzy IPv6:ipv6header IPv6:nth IPv6:hbh 
IPv6:dst IPv6:random IPv6:rt
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.9-20040409\"  -fPIC -o extensions/
libipt_dstlimit_sh.o -c extensions/libipt_dstlimit.c
extensions/libipt_dstlimit.c: In function `init':
extensions/libipt_dstlimit.c:104: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:105: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:106: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c: In function `parse':
extensions/libipt_dstlimit.c:138: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:152: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:163: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:173: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:185: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:196: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:204: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:207: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:209: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:212: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c: In function `print':
extensions/libipt_dstlimit.c:278: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:279: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:280: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:294: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:295: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:296: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:297: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:298: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:298: error: `IPT_DSTLIMIT_GCINTEVAL' 
undeclared (first use in this function)
extensions/libipt_dstlimit.c:298: error: (Each undeclared identifier is 
reported only once
extensions/libipt_dstlimit.c:298: error: for each function it appears in.)
extensions/libipt_dstlimit.c:299: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:300: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:301: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c: In function `save':
extensions/libipt_dstlimit.c:310: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:311: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:312: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:313: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:327: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:328: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:329: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:330: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:331: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:332: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:333: error: structure has no member named `cfg'
extensions/libipt_dstlimit.c:334: error: structure has no member named `cfg'
make: *** [extensions/libipt_dstlimit_sh.o] Error 1

---------------------------------------------------------------------------
---------------------------------------------------------------------------
LOG for 3)

Extensions found: IPv4:IPV4OPTSSTRIP IPv4:NETLINK IPv4:addrtype 
IPv4:condition IPv4:fuzzy IPv4:ipv4options IPv4:mport
  IPv4:nth IPv4:osf IPv4:pool IPv4:POOL IPv4:psd IPv4:quota IPv4:random 
IPv4:recent IPv4:time IPv4:u32 IPv6:REJECT IPv
6:ah IPv6:esp IPv6:frag IPv6:fuzzy IPv6:ipv6header IPv6:nth IPv6:hbh 
IPv6:dst IPv6:random IPv6:rt
[...]
cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ 
-DIPTABLES_VERSION=\"1.2.9-20040409\"  -fPIC -o extensions/
libipt_osf_sh.o -c extensions/libipt_osf.c
extensions/libipt_osf.c: In function `parse':
extensions/libipt_osf.c:106: error: `IPT_OSF_NETLINK' undeclared (first use 
in this function)
extensions/libipt_osf.c:106: error: (Each undeclared identifier is reported 
only once
extensions/libipt_osf.c:106: error: for each function it appears in.)
make: *** [extensions/libipt_osf_sh.o] Error 1

---------------------------------------------------------------------------
---------------------------------------------------------------------------
patches which pom lists as applied:
                  submitted/01_2.4.19
                  submitted/02_2.4.20
                  submitted/03_2.4.21
                  submitted/04_2.4.22
                  submitted/05_2.4.23
                  submitted/06_2.4.23_core_changes
                  submitted/59_ip_nat_h-unused-var
                  submitted/60_ecn_raw_unclone
                  submitted/61-remove-memsets
                  submitted/64_masquerade-sameip-noflush
                  submitted/69_amanda-helpers
                  submitted/70_expect-evict-order
                  submitted/72_recent_procfs_fix
                  submitted/74_listhelp
                  submitted/75_selective_cleanup
                  submitted/76_conntrack_bucket_sysctl
                  submitted/88_ip_queue-maxlen
                  submitted/89_ipv6_mld_netfilter
                  submitted/90_fw_compat_local-nullbinding
                  submitted/91_listhelp_fix
                  pending/40_nf-log
                  pending/40_nf-log-ipv6
                  pending/62_masquerade-oif
                  pending/92_redirect-indev-locking
                  optimizations/ip_ct_refresh_optimization
                  optimizations/ip_ct_refresh_optimization_pptp
                  base/HL-ipv6
                  base/IPV4OPTSSTRIP
                  base/NETLINK
                  base/NETMAP
                  base/REJECT-ipv6
                  base/SAME
                  base/TTL
                  base/connlimit
                  base/fuzzy
                  base/fuzzy6-ipv6
                  base/iprange
                  base/ipv4options
                  base/mport
                  base/nth
                  base/nth6-ipv6
                  base/pool
                  base/psd
                  base/quota
                  base/random
                  base/random6-ipv6
                  base/raw
                  base/realm
                  base/time
                  base/u32
                  extra/CLASSIFY
                  extra/CONNMARK
                  extra/addrtype
                  extra/condition
                  extra/h323-conntrack-nat
                  extra/ipt_TARPIT
                  extra/mms-conntrack-nat
                  extra/pptp-conntrack-nat
                  extra/quake3-conntrack
                  extra/rpc
                  extra/rtsp-conntrack
                  extra/talk-conntrack-nat
---------------------------------------------------------------------------
---------------------------------------------------------------------------

PS: If it makes a difference, everything that can be compiled as module was 
selected to be compiled as module

-- 
MfG / Regards
Friedrich Lobenstock

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme
  2004-04-11 11:55 ` Evgeniy Polyakov
@ 2004-04-11 11:54   ` Friedrich Lobenstock
  2004-04-11 12:16     ` Evgeniy Polyakov
  0 siblings, 1 reply; 6+ messages in thread
From: Friedrich Lobenstock @ 2004-04-11 11:54 UTC (permalink / raw)
  To: johnpol; +Cc: netfilter-devel

Evgeniy Polyakov wrote on 11.04.2004 13:55 MET:
> On Sun, 11 Apr 2004 13:15:03 +0200 Friedrich Lobenstock <fl@fl.priv.at> wrote:
> 
>>I want to inform you that the following patches in pom-20040409,
>>which btw apply cleanly to the kernel 2.4.25, do break the
>>compilation of iptables-1.2.9-20040409:
> 
> 
>>   3) base/osf
>>        breaks the extension in iptables - see log below
> 
> 
>>Extensions found: IPv4:IPV4OPTSSTRIP IPv4:NETLINK IPv4:addrtype 
>>IPv4:condition IPv4:fuzzy IPv4:ipv4options IPv4:mport
>>  IPv4:nth IPv4:osf IPv4:pool IPv4:POOL IPv4:psd IPv4:quota
>>  IPv4:random 
>>IPv4:recent IPv4:time IPv4:u32 IPv6:REJECT IPv
>>6:ah IPv6:esp IPv6:frag IPv6:fuzzy IPv6:ipv6header IPv6:nth IPv6:hbh 
>>IPv6:dst IPv6:random IPv6:rt
>>[...]
>>cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ 
>>-DIPTABLES_VERSION=\"1.2.9-20040409\"  -fPIC -o extensions/
>>libipt_osf_sh.o -c extensions/libipt_osf.c
>>extensions/libipt_osf.c: In function `parse':
>>extensions/libipt_osf.c:106: error: `IPT_OSF_NETLINK' undeclared
>>(first use in this function)
>>extensions/libipt_osf.c:106: error: (Each undeclared identifier is
>>reported only once
>>extensions/libipt_osf.c:106: error: for each function it appears in.)
>>make: *** [extensions/libipt_osf_sh.o] Error 1
> 
> 
> What sources do you use?
> You need CVS pom-ng + CVS iptables/extensions/libipt_osf.c for
> successfull compilation.
> 
> IPT_OSF_NETLINK is defined in
> patch-o-matic-ng/osf/linux/include/linux/netfilter_ipv4/ipt_osf.h:
> 
> #define IPT_OSF_NETLINK		8
> 
> 
> With CVS pom-ng and CVS iptables/extensions/libipt_osf.c I can compile
> both libipt_osf.so and ipt_osf.o ( using my own scripts, but it doesn't
> matter).

I use plain pom, not pom-ng! Otherwise I would have written pom-ng in the 
subject.


> Thank you for review.

You're welcome.

-- 
MfG / Regards
Friedrich Lobenstock

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme
  2004-04-11 11:15 pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme Friedrich Lobenstock
@ 2004-04-11 11:55 ` Evgeniy Polyakov
  2004-04-11 11:54   ` Friedrich Lobenstock
  2004-04-11 20:44 ` Henrik Nordstrom
  1 sibling, 1 reply; 6+ messages in thread
From: Evgeniy Polyakov @ 2004-04-11 11:55 UTC (permalink / raw)
  To: Friedrich Lobenstock; +Cc: netfilter-devel

On Sun, 11 Apr 2004 13:15:03 +0200
Friedrich Lobenstock <fl@fl.priv.at> wrote:

> Hi netfilter team!
> 
> *persons responsible for each individual breaking patch CC'd*

Hello, I am maintainer of the OSF extension.

> I want to inform you that the following patches in pom-20040409,
> which btw apply cleanly to the kernel 2.4.25, do break the
> compilation of iptables-1.2.9-20040409:

>    3) base/osf
>         breaks the extension in iptables - see log below

> Extensions found: IPv4:IPV4OPTSSTRIP IPv4:NETLINK IPv4:addrtype 
> IPv4:condition IPv4:fuzzy IPv4:ipv4options IPv4:mport
>   IPv4:nth IPv4:osf IPv4:pool IPv4:POOL IPv4:psd IPv4:quota
>   IPv4:random 
> IPv4:recent IPv4:time IPv4:u32 IPv6:REJECT IPv
> 6:ah IPv6:esp IPv6:frag IPv6:fuzzy IPv6:ipv6header IPv6:nth IPv6:hbh 
> IPv6:dst IPv6:random IPv6:rt
> [...]
> cc -O2 -Wall -Wunused -I/usr/src/linux/include -Iinclude/ 
> -DIPTABLES_VERSION=\"1.2.9-20040409\"  -fPIC -o extensions/
> libipt_osf_sh.o -c extensions/libipt_osf.c
> extensions/libipt_osf.c: In function `parse':
> extensions/libipt_osf.c:106: error: `IPT_OSF_NETLINK' undeclared
> (first use in this function)
> extensions/libipt_osf.c:106: error: (Each undeclared identifier is
> reported only once
> extensions/libipt_osf.c:106: error: for each function it appears in.)
> make: *** [extensions/libipt_osf_sh.o] Error 1

What sources do you use?
You need CVS pom-ng + CVS iptables/extensions/libipt_osf.c for
successfull compilation.

IPT_OSF_NETLINK is defined in
patch-o-matic-ng/osf/linux/include/linux/netfilter_ipv4/ipt_osf.h:

#define IPT_OSF_NETLINK		8


With CVS pom-ng and CVS iptables/extensions/libipt_osf.c I can compile
both libipt_osf.so and ipt_osf.o ( using my own scripts, but it doesn't
matter).


Thank you for review.

> 
> -- 
> MfG / Regards
> Friedrich Lobenstock


	Evgeniy Polyakov ( s0mbre )

Only failure makes us experts. -- Theo de Raadt

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme
  2004-04-11 11:54   ` Friedrich Lobenstock
@ 2004-04-11 12:16     ` Evgeniy Polyakov
  0 siblings, 0 replies; 6+ messages in thread
From: Evgeniy Polyakov @ 2004-04-11 12:16 UTC (permalink / raw)
  To: Friedrich Lobenstock; +Cc: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 1036 bytes --]

On Sun, 11 Apr 2004 13:54:41 +0200
Friedrich Lobenstock <fl@fl.priv.at> wrote:

> > What sources do you use?
> > You need CVS pom-ng + CVS iptables/extensions/libipt_osf.c for
> > successfull compilation.
> > 
> > IPT_OSF_NETLINK is defined in
> > patch-o-matic-ng/osf/linux/include/linux/netfilter_ipv4/ipt_osf.h:
> > 
> > #define IPT_OSF_NETLINK		8
> > 
> > 
> > With CVS pom-ng and CVS iptables/extensions/libipt_osf.c I can
> > compile both libipt_osf.so and ipt_osf.o ( using my own scripts, but
> > it doesn't matter).
> 
> I use plain pom, not pom-ng! Otherwise I would have written pom-ng in
> the subject.

Yep.
POM is deprecated is not supported any more.
I think it will dissapear in the near future.

Attached patch disables netlink notification but should not be applied
to CVS libipt_osf.c, it is only for those who use POM instead of POM-NG.

> 
> > Thank you for review.
> 
> You're welcome.
> 
> -- 
> MfG / Regards
> Friedrich Lobenstock


	Evgeniy Polyakov ( s0mbre )

Only failure makes us experts. -- Theo de Raadt

[-- Attachment #2: diff --]
[-- Type: application/octet-stream, Size: 432 bytes --]

--- /home/s0mbre/aWork/osf/libipt_osf.c	Sat Jan 31 19:57:39 2004
+++ libipt_osf.c	Sun Apr 11 16:12:42 2004
@@ -103,10 +103,12 @@
 			info->flags |= IPT_OSF_LOG;
 			break;
 		case '4': /* --netlink */
+#if 0
 			if (*flags & IPT_OSF_NETLINK)
 				exit_error(PARAMETER_PROBLEM, "Can't specify multiple smart parameter");
 			*flags |= IPT_OSF_NETLINK;
 			info->flags |= IPT_OSF_NETLINK;
+#endif
 			break;
 		default:
 			return 0;

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme
  2004-04-11 11:15 pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme Friedrich Lobenstock
  2004-04-11 11:55 ` Evgeniy Polyakov
@ 2004-04-11 20:44 ` Henrik Nordstrom
  2004-04-11 20:53   ` Friedrich Lobenstock
  1 sibling, 1 reply; 6+ messages in thread
From: Henrik Nordstrom @ 2004-04-11 20:44 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

On Sun, 11 Apr 2004, Friedrich Lobenstock wrote:

>    1) base/set
>         a "make" of iptables does not even succeed to
>         create the dependencies, message
>           "Something wrong... deleting dependencies."

This is because the set extension depends on libipset which is no longer
in the iptables source tree..

Regards
Henrik

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme
  2004-04-11 20:44 ` Henrik Nordstrom
@ 2004-04-11 20:53   ` Friedrich Lobenstock
  0 siblings, 0 replies; 6+ messages in thread
From: Friedrich Lobenstock @ 2004-04-11 20:53 UTC (permalink / raw)
  To: Netfilter Development Mailinglist

Henrik Nordstrom wrote on 11.04.2004 22:44 MET:
> On Sun, 11 Apr 2004, Friedrich Lobenstock wrote:
> 
> 
>>   1) base/set
>>        a "make" of iptables does not even succeed to
>>        create the dependencies, message
>>          "Something wrong... deleting dependencies."
> 
> 
> This is because the set extension depends on libipset which is no longer
> in the iptables source tree..

In that case please remove base/set from pom!

-- 
MfG / Regards
Friedrich Lobenstock

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-04-11 20:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-11 11:15 pom-20040409: patches that break iptables-1.2.9-20040409, kernel 2.4.25 or pom's runme Friedrich Lobenstock
2004-04-11 11:55 ` Evgeniy Polyakov
2004-04-11 11:54   ` Friedrich Lobenstock
2004-04-11 12:16     ` Evgeniy Polyakov
2004-04-11 20:44 ` Henrik Nordstrom
2004-04-11 20:53   ` Friedrich Lobenstock

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.