All of lore.kernel.org
 help / color / mirror / Atom feed
* remaining libnetfilter_conntrack issues
@ 2005-10-28 20:59 Harald Welte
  2005-10-28 21:08 ` Harald Welte
  2005-10-29 12:45 ` Pablo Neira
  0 siblings, 2 replies; 6+ messages in thread
From: Harald Welte @ 2005-10-28 20:59 UTC (permalink / raw)
  To: pablo; +Cc: Netfilter Development Mailinglist

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

Hi Pablo!

I've started to write a new ulogd2 plugin against the new
libnetfilter_conntrack, and found a number of issues, mostly related to
header files:

1) why do we need 'asm/types.h'?  this is unacceptable
2) why do we need 'linux/if.h'?
3) libnetfilter_conntrack needs to be split into two parts:
	a) what is visible to application programs
	b) what is visible to extensions
4) if we do '3', we can get rid of the ugly "linux_list.h" include
5) we'd ideally get rid of the ip_conntrack.h include, too
6) we should ship a copy of both nfnetlink.h and nfnetlink_conntrack.h with the library
   this way userspace programs can be built without any
   nfnetlink-enabled kernel headers installed.

I think everything but '5' should be fairly trivial to do.  Which
definitions do we really need from ip_conntrack.h?  The status bits?
Then we should also ship a copy of only those status bit definitions
with the library.  

All copies should be performed during the 'distrib' stage, i.e. every
time we make a release we tell the automake/autoconf system where to
take a current copy of those headers from.  They would not be present in
svn.

Cheers,

-- 
- Harald Welte <laforge@netfilter.org>                 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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2005-10-29 14:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 20:59 remaining libnetfilter_conntrack issues Harald Welte
2005-10-28 21:08 ` Harald Welte
2005-10-28 21:55   ` Harald Welte
2005-10-29 12:45 ` Pablo Neira
2005-10-29 14:01   ` Harald Welte
2005-10-29 14:42     ` Harald Welte

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.