Skip to contentSkip to conversation

the overdue removal of ip{,6}_queue

RFC PATCH Harald Welte 2 participants 2 messages Apr 11, 2006 – Apr 12, 2006 4 messages not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw
Quoted 5 lines · Patrick McHardy
Quoted 2 lines

Maybe we should add a printk ('app foo is using obsolete ip_queue system').

Good idea, that will probably help speed it up. But I still think we need to give them at least another six month.

ok. I'll prepare a patch for both the printk and the update of feature-removal-schedule.

Quoted 4 lines

I think we need to do two things:

- make libipq_compat a drop-in replacement that doesn't require recompilation

libipq is not distributed as a shared library (at least not by us), so I don't see any purpose for doing so. Do you think anyone is going to re-link statically linked code against the new lib

Quoted 1 line

- make it work with both ipq and nfnetlink_queue

that should be possible, though.

I still don't really think that it is worth all the effort, especially since there is only one hand full of applications using libipq.

The backwards compatibility library is expected to perform a lot worse thna both the old libipq as well as the new native libnetfilter_queue due to additional data copies, etc. When I wrote it, it was more intended as some intermediate aid, something that helps while people migrate. We shouldn't make it too perfect, otherwise they won't migrate at all.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://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 4 lines · Patrick McHardy

I think we need to do two things:

- make libipq_compat a drop-in replacement that doesn't require recompilation

libipq is not distributed as a shared library (at least not by us), so I don't see any purpose for doing so. Do you think anyone is going to re-link statically linked code against the new lib

I wasn't aware of that. That makes it even worse, old applications will break and we can't do anything about it. I think this is normally considered not acceptable.