Re: allocating netlink families? (was: re: Announce: NetKeeper Firewall For Linux)

From: Emmanuel Fleury (fleury_at_cs.auc.dk)
Date: 11/04/03

  • Next message: Michael Clark: "Re: Things that Longhorn seems to be doing right"
    To: linux-kernel <linux-kernel@vger.kernel.org>
    Date:	Tue, 04 Nov 2003 09:47:53 +0100
    
    

    On Tue, 2003-11-04 at 01:43, Dan Kegel wrote:
    > Emmanuel Fleury wrote:
    > > http://www.cs.auc.dk/~fleury/netkeeper/
    >
    > Hey, that seems to be a nice example of how to write
    > a new netlink family. Thanks!

    :)

    > I see you're using NETLINK_USERSOCK. Netlink families
    > appear to be a precious commodity (netlink_dev.c, at
    > least, will break if you raise MAX_LINKS above 32).
    >
    > Has there been any discussion of how one should pick
    > netlink family numbers for new stuff like netkeeper?

    I think netlink is perfect as it is for now.
    Our scheme just demonstrate how flexible is this code.

    Before being added "permanently" (I don't like this word) we should get
    out with something better than an alpha release. :)

    But, even if the process is long, we are still working on it.
    And hopefully one day it will be possible to try Netekeeper easily
    on your own network (I have to admit now that the user-space tools are
    difficult to get to work, even if I trust a lot the kernel-space code).

    > Sure, everyone could use NETLINK_USERSOCK, but
    > that means only one new netlink module could be resident at a time...

    Yes, this is true, but it doesn't matter so much for experimental things
    (in my humble opinion).

    Regards

    -- 
    Emmanuel
    But the important thing is persistence.
      -- Calvin trying to juggle eggs (Bill Waterson)
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Michael Clark: "Re: Things that Longhorn seems to be doing right"

    Relevant Pages

    • allocating netlink families? (was: re: Announce: NetKeeper Firewall For Linux)
      ... Emmanuel Fleury wrote: ... Hey, that seems to be a nice example of how to write ... Netlink families ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] libata: fix broken Kconfig setup
      ... and now you have a totally sensible setup, where the low-level drivers can ... I don't think it _buys_ you anything, but hey, at least it's logical. ... That SCSI Kconfig file is one of the biggest ones (yeah, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: ImExPS/2 status
      ... James E. Jennison wrote: ... > Hey everyone...this is my first posting here, and I may not be going about ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [PATCH] close race condition in shared memory mapping/unmapping
      ... Hey all- ... be a race condition in the counter that records how many processes are ... accessing a given shared memory segment. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: no DRQ after issuing WRITE
      ... Thus spake Steven Adams: ... >> Hey guys, ... >> Ive searched high and low to try find out what this means, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)