bird/sysdep/cf
Ondrej Zajicek 1bc2695744 Allows run with restricted privileges.
Adds option -u and -g to specify user and group.
When different user (than root) is specified,
linux capabilities CAP_NET_* are kept.
2011-05-10 02:42:17 +02:00
..
bsd-v6.h Many changes in (mainly) kernel syncers. 2010-02-26 10:55:58 +01:00
bsd.h Many changes in (mainly) kernel syncers. 2010-02-26 10:55:58 +01:00
linux-20.h CONFIG_SKIP_MC_BIND added. 2004-06-03 08:18:14 +00:00
linux-21.h CONFIG_SKIP_MC_BIND added. 2004-06-03 08:18:14 +00:00
linux-22.h Allows run with restricted privileges. 2011-05-10 02:42:17 +02:00
linux-v6.h Allows run with restricted privileges. 2011-05-10 02:42:17 +02:00
README Allows run with restricted privileges. 2011-05-10 02:42:17 +02:00

Available configuration variables:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CONFIG_AUTO_ROUTES	Device routes are added automagically by the kernel
CONFIG_SELF_CONSCIOUS	We're able to recognize whether route was installed by us
CONFIG_MULTIPLE_TABLES	The kernel supports multiple routing tables
CONFIG_ALL_TABLES_AT_ONCE	Kernel scanner wants to process all tables at once
CONFIG_MC_PROPER_SRC	Multicast packets have source address according to socket saddr field
CONFIG_RESTRICTED_PRIVILEGES	Implements restricted privileges using drop_uid()

CONFIG_UNIX_IFACE	Use Unix interface scanner
CONFIG_UNIX_SET		Use Unix route setting
CONFIG_UNIX_DONTROUTE   Use setsockopts DONTROUTE (undef for *BSD)
CONFIG_SKIP_MC_BIND	Don't call bind on multicast socket (def for *BSD)
CONFIG_LINUX_SCAN	Use Linux /proc/net/route scanner

CONFIG_ALL_MULTICAST	krt-iface: All devices support multicasting (i.e., ignore IFF_MULTICAST)
CONFIG_UNNUM_MULTICAST	krt-iface: We support multicasts on unnumbered PtP devices

CONFIG_LINUX_MC_MREQN	Linux: Use struct mreqn for multicasting
CONFIG_LINUX_MC_MREQ	Linux: Use struct mreq
CONFIG_LINUX_MC_MREQ_BIND	Linux: Use struct mreq and SO_BINDTODEVICE