Skip to contentSkip to conversation

Missing ipt_osf.h in p-o-m (kernel 2.6)

DISCUSSION Samir Bellabes 5 participants 16 messages Aug 18, 2004 – Aug 26, 2004 netfilter

lore
Share & tools
lore
#0 lore raw

Hi Harald,

It's seems that the file p-o-m/osf/linux-2.6/include/linux/netfilter_ipv4/ipt_osf.h is missing.
Without it, ipt_osf can't be compile.
thanks.

Signature · 2 lines
samir bellabes
[email protected]
#1 lore raw
Quoted 5 lines · Samir Bellabes

Hi Harald,

It's seems that the file p-o-m/osf/linux-2.6/include/linux/netfilter_ipv4/ipt_osf.h is missing.

Erm, it's not missing. It is in the linux-2.4 and linux-2.6 shared

pom/osf/linux/include/linux/netfilter_ipv4/

directory in order to avoid duplication of the same file at two locations within cvs.

Quoted 2 lines

Without it, ipt_osf can't be compile.
thanks.

btw: I wouldn't start using dyndns for email... just imagine what happens if you get disconnected, somebody else gets the ip and now somebody delivers email to that ip? Yes, that email is either lost and received at his node, or causes a bounce (which in turn might automatically unsubscribe yourself from a mailinglist).

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#2 lore raw
Quoted 11 lines · Harald Welte
Quoted 7 lines · Samir Bellabes

Hi Harald,

It's seems that the file p-o-m/osf/linux-2.6/include/linux/netfilter_ipv4/ipt_osf.h is missing.

Quoted 8 lines

Erm, it's not missing. It is in the linux-2.4 and linux-2.6 shared

pom/osf/linux/include/linux/netfilter_ipv4/

directory in order to avoid duplication of the same file at two locations within cvs.

Oops. I just commited the file to 2.6, I didn't knew this works. How come it didn't compile ?

Regards
Patrick

#3 lore raw
Quoted 10 lines · Patrick McHardy
Quoted 8 lines · Harald Welte
Quoted 4 lines · Samir Bellabes

It's seems that the file p-o-m/osf/linux-2.6/include/linux/netfilter_ipv4/ipt_osf.h is missing.

Erm, it's not missing. It is in the linux-2.4 and linux-2.6 shared

Quoted 7 lines
Quoted 4 lines

pom/osf/linux/include/linux/netfilter_ipv4/

directory in order to avoid duplication of the same file at two locations within cvs.

Oops. I just commited the file to 2.6, I didn't knew this works. How come it didn't compile ?

In the original design of pom-ng the files in the different version-trees were not duplicated. Unfortunately due to the complexity of the versioning than could not be preserved and in present pom-ng the kernel/userspace trees must be complete. Therefore the missing header file resulted the failing compilation. I added the header file fixed by Phil Oester to the cvs tree.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] 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
#4 lore raw
Quoted 6 lines · Jozsef Kadlecsik
Quoted 2 lines

Oops. I just commited the file to 2.6, I didn't knew this works. How come it didn't compile ?

In the original design of pom-ng the files in the different version-trees were not duplicated. Unfortunately due to the complexity of the versioning than could not be preserved

Mh, do you still remember the precise reason for this? I would like to have this resolved in a cleaner way than copying everything over and over...

Quoted 2 lines

Best regards,
Jozsef

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#5 lore raw
Quoted 11 lines · Harald Welte
Quoted 6 lines · Jozsef Kadlecsik
Quoted 2 lines

Oops. I just commited the file to 2.6, I didn't knew this works. How come it didn't compile ?

In the original design of pom-ng the files in the different version-trees were not duplicated. Unfortunately due to the complexity of the versioning than could not be preserved

Mh, do you still remember the precise reason for this? I would like to have this resolved in a cleaner way than copying everything over and over...

As far as I remember the main problem was how to express when a file was *not* required in specific versions or above a given version.

I agree that it's not elegant to store indentical files in the different version trees, but actually it's not that bad at all. Surprisingly enough quite often even the include files differ in the 2.4/2.6 trees. And from management point of view, thus a single tree holds a complete version-specific patchlet.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] 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
#6 lore raw
Quoted 2 lines · Jozsef Kadlecsik

As far as I remember the main problem was how to express when a file was *not* required in specific versions or above a given version.

I propose that in such case the file need to be forked into the respective version trees where it should be used.

Regards
Henrik

#7 lore raw
Quoted 7 lines · Henrik Nordstrom
Quoted 2 lines · Jozsef Kadlecsik

As far as I remember the main problem was how to express when a file was *not* required in specific versions or above a given version.

I propose that in such case the file need to be forked into the respective version trees where it should be used.

yes, this was my initial idea about this, too.

Quoted 2 lines

Regards
Henrik

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#8 lore raw
In reply to Harald Welte
Quoted 3 lines · Harald Welte

Mh, do you still remember the precise reason for this? I would like to have this resolved in a cleaner way than copying everything over and over...

I don't remember, and also do not see any reason why there can not be a shared directory or even hierarchy.

My suggestion

linux version independent files
linux-2.4 linux-2.4 specific
linux-2.6 linux-2.6 specific
linux-2.6.8 linux-2.6.8 or later specific

where if you are on linux-2.6.9 the files are the sum of linux, linux-2.4 and linux-2.6.8, where the same file in a more specific version overrides the less specific version.

This should not be very complex to accomplish, and is open to several different ways of maintaining the versions depending on the authors preference.

Regards
Henrik

#9 lore raw
Quoted 24 lines · Henrik Nordstrom
Quoted 3 lines · Harald Welte

Mh, do you still remember the precise reason for this? I would like to have this resolved in a cleaner way than copying everything over and over...

I don't remember, and also do not see any reason why there can not be a shared directory or even hierarchy.

My suggestion

linux version independent files
linux-2.4 linux-2.4 specific
linux-2.6 linux-2.6 specific
linux-2.6.8 linux-2.6.8 or later specific

where if you are on linux-2.6.9 the files are the sum of linux, linux-2.4 and linux-2.6.8, where the same file in a more specific version overrides the less specific version.

This should not be very complex to accomplish, and is open to several different ways of maintaining the versions depending on the authors preference.

Quoted 5 lines
Quoted 2 lines

As far as I remember the main problem was how to express when a file was *not* required in specific versions or above a given version.

I propose that in such case the file need to be forked into the respective version trees where it should be used.

Using the directory scheme and logic above, how you could express that foo.c is required up to 2.6.8 but not above?

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] 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
#10 lore raw
Quoted 5 lines · Jozsef Kadlecsik
Quoted 2 lines

I propose that in such case the file need to be forked into the respective version trees where it should be used.

Using the directory scheme and logic above, how you could express that foo.c is required up to 2.6.8 but not above?

oh, i see. So a more recent version doesn't require a file to be different or to be present, but requires an old one not to be present.

Now I understand, thanks Jozsef.

Quoted 2 lines

Best regards,
Jozsef

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
#11 lore raw
In reply to Jozsef Kadlecsik
Quoted 2 lines · Jozsef Kadlecsik

Using the directory scheme and logic above, how you could express that foo.c is required up to 2.6.8 but not above?

Place it in linux-2.6.1 (or from whatever version is required), and create a linux-2.6.9 directory not having this file.

If there is other releases between 2.6.1 and 2.6.9 for the file into each release.

Regards
Henrik

#12 lore raw
Quoted 10 lines · Henrik Nordstrom
Quoted 2 lines · Jozsef Kadlecsik

Using the directory scheme and logic above, how you could express that foo.c is required up to 2.6.8 but not above?

Place it in linux-2.6.1 (or from whatever version is required), and create a linux-2.6.9 directory not having this file.

If there is other releases between 2.6.1 and 2.6.9 for the file into each release.

The assumption is that the file is required for all releases up to 2.6.8.

We can't put the file into linux/, because then it'd be added to 2.6.9. We can't put the file into linux-2.4/ and linux-2.6/ either, from the same reason.

If we put the file into each linux-x.y.z directory up to 2.6.8, we are copying the same file between directories in spite of the efforts of avoiding that.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] 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
#13 lore raw
Quoted 3 lines · Jozsef Kadlecsik

If we put the file into each linux-x.y.z directory up to 2.6.8, we are copying the same file between directories in spite of the efforts of avoiding that.

If there is that many Linux version dependencies of the extension yes, but I doubt this will be the case very often.

Regards
Henrik

#14 lore raw
Quoted 8 lines · Henrik Nordstrom
Quoted 3 lines · Jozsef Kadlecsik

If we put the file into each linux-x.y.z directory up to 2.6.8, we are copying the same file between directories in spite of the efforts of avoiding that.

If there is that many Linux version dependencies of the extension yes, but I doubt this will be the case very often.

Yes, and we smooth out the versions by bringing them up to the most recent 2.4/2.6 version by the special update/ patches.

Patches are always welcomed :-). But it'd be interesting to see how many files are actually affected.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] 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
#15 lore raw
In reply to Samir Bellabes
Quoted 7 lines · Samir Bellabes

Hi Harald,

It's seems that the file p-o-m/osf/linux-2.6/include/linux/netfilter_ipv4/ipt_osf.h is missing.
Without it, ipt_osf can't be compile.
thanks.

Thank you, the file is added to cvs.

Best regards,
Jozsef
-
E-mail : [email protected], [email protected] 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