+2004-11-25 Hasso Tepper <hasso at quagga.net>
+
+ * bgp_main.c: Make group to run as configurable.
+
2004-11-09 Paul Jakma <paul@dishone.st>
* bgp_nexthop.c: collapse bgp_connected_ipvX, bgp_nexthop_cache_ipvX
{ "retain", no_argument, NULL, 'r'},
{ "no_kernel", no_argument, NULL, 'n'},
{ "user", required_argument, NULL, 'u'},
+ { "group", required_argument, NULL, 'g'},
{ "version", no_argument, NULL, 'v'},
{ "help", no_argument, NULL, 'h'},
{ 0 }
-P, --vty_port Set vty's port number\n\
-r, --retain When program terminates, retain added route by bgpd.\n\
-n, --no_kernel Do not install route to kernel.\n\
--u, --user User and group to run as\n\
+-u, --user User to run as\n\
+-g, --group Group to run as\n\
-v, --version Print program version\n\
-h, --help Display this help and exit\n\
\n\
/* Command line argument treatment. */
while (1)
{
- opt = getopt_long (argc, argv, "df:i:hp:A:P:rnu:v", longopts, 0);
+ opt = getopt_long (argc, argv, "df:i:hp:A:P:rnu:g:v", longopts, 0);
if (opt == EOF)
break;
case 'n':
bgp_option_set (BGP_OPT_NO_FIB);
break;
- case 'u':
- bgpd_privs.user = bgpd_privs.group = optarg;
- break;
+ case 'u':
+ bgpd_privs.user = optarg;
+ break;
+ case 'g':
+ bgpd_privs.group = optarg;
+ break;
case 'v':
print_version (progname);
exit (0);
+2004-11-25 Hasso Tepper <hasso at quagga.net>
+
+ * *.8: Document -g/--group command line switch and some small
+ cosmetical changes.
+
2004-11-22 Paul Jakma <paul@dishone.st>
* bgpd.8: escape -/+ signs, reported by ESR to bug-zebra.
-.TH BGPD 8 "10 August 2004" "Quagga BGPD daemon" "Version 0.96.5"
+.TH BGPD 8 "25 November 2004" "Quagga BGPD daemon" "Version 0.97.3"
.SH NAME
bgpd \- a BGPv4, BGPv4\+, BGPv4\- routing engine for use with Quagga routing
software
.B \-p
.I bgp-port-number
] [
-.B \--bgp_port=
-.I port-number
-] [
.B \-P
.I port-number
] [
] [
.B \-u
.I user
+] [
+.B \-g
+.I group
]
.SH DESCRIPTION
.B bgpd
Specifies the config file to use for startup. If not specified this
option will likely default to \fB\fI/usr/local/etc/bgpd.conf\fR.
.TP
+\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR
+Specify the group to run as. Default is \fIquagga\fR.
+.TP
\fB\-h\fR, \fB\-\-help\fR
A brief message.
.TP
\fB\fIpid-file\fR. The init system uses the recorded PID to stop or
restart bgpd. The likely default is \fB\fI/var/run/bgpd.pid\fR.
.TP
-\fB\-p\fR, \fB\-\-bgp_port=\fR\fIport\fR
+\fB\-p\fR, \fB\-\-bgp_port \fR\fIbgp-port-number\fR
Set the port that bgpd will listen to for bgp data.
.TP
\fB\-P\fR, \fB\-\-vty_port \fR\fIport-number\fR
intrefaces.
.TP
\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
-Specify the user and group to run as. User and group have to have same
-name at the moment. Default is \fIquagga\fR.
+Specify the user to run as. Default is \fIquagga\fR.
.TP
\fB\-r\fR, \fB\-\-retain\fR
When the program terminates, retain routes added by \fBbgpd\fR.
-.TH IS-IS 8 "10 August 2004" "Quagga IS-IS daemon" "Version 0.96.5"
+.TH IS-IS 8 "25 November 2004" "Quagga IS-IS daemon" "Version 0.97.3"
.SH NAME
isisd \- an IS-IS routing engine for use with Quagga routing software.
.SH SYNOPSIS
] [
.B \-u
.I user
+] [
+.B \-g
+.I group
]
.SH DESCRIPTION
.B isisd
Specifies the config file to use for startup. If not specified this
option will likely default to \fB\fI/usr/local/etc/isisd.conf\fR.
.TP
+\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR
+Specify the group to run as. Default is \fIquagga\fR.
+.TP
\fB\-h\fR, \fB\-\-help\fR
A brief message.
.TP
intrefaces.
.TP
\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
-Specify the user and group to run as. User and group have to have same
-name at the moment. Default is \fIquagga\fR.
+Specify the user to run as. Default is \fIquagga\fR.
.TP
\fB\-v\fR, \fB\-\-version\fR
Print the version and exit.
-.TH OSPF6D 8 "10 August 2004" "Quagga OSPFv3 daemon" "Version 0.96.5"
+.TH OSPF6D 8 "25 November 2004" "Quagga OSPFv3 daemon" "Version 0.97.3"
.SH NAME
ospf6d \- an OSPFv3 routing engine for use with Quagga routing software.
.SH SYNOPSIS
] [
.B \-u
.I user
+] [
+.B \-g
+.I group
]
.SH DESCRIPTION
.B ospf6d
Specifies the config file to use for startup. If not specified this
option will likely default to \fB\fI/usr/local/etc/ospf6d.conf\fR.
.TP
+\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR
+Specify the group to run as. Default is \fIquagga\fR.
+.TP
\fB\-h\fR, \fB\-\-help\fR
A brief message.
.TP
intrefaces.
.TP
\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
-Specify the user and group to run as. User and group have to have same
-name at the moment. Default is \fIquagga\fR.
+Specify the user to run as. Default is \fIquagga\fR.
.TP
\fB\-v\fR, \fB\-\-version\fR
Print the version and exit.
-.TH OSPFD 8 "10 August 2004" "Quagga OSPFv2 daemon" "Version 0.96.5"
+.TH OSPFD 8 "25 November 2004" "Quagga OSPFv2 daemon" "Version 0.97.3"
.SH NAME
ospfd \- an OSPFv2 routing engine for use with Quagga routing software.
.SH SYNOPSIS
] [
.B \-u
.I user
+] [
+.B \-g
+.I group
]
.SH DESCRIPTION
.B ospfd
Specifies the config file to use for startup. If not specified this
option will likely default to \fB\fI/usr/local/etc/ospfd.conf\fR.
.TP
+\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR
+Specify the group to run as. Default is \fIquagga\fR.
+.TP
\fB\-h\fR, \fB\-\-help\fR
A brief message.
.TP
intrefaces.
.TP
\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
-Specify the user and group to run as. User and group have to have same
-name at the moment. Default is \fIquagga\fR.
+Specify the user to run as. Default is \fIquagga\fR.
.TP
\fB\-a\fR, \fB\-\-apiserver \fR
Enable OSPF apiserver. Default is disabled.
-.TH RIPD 8 "10 August 2004" "Quagga RIP daemon" "Version 0.96.5"
+.TH RIPD 8 "25 November 2004" "Quagga RIP daemon" "Version 0.97.3"
.SH NAME
ripd \- a RIP routing engine for use with Quagga routing software.
.SH SYNOPSIS
] [
.B \-u
.I user
+] [
+.B \-g
+.I group
]
.SH DESCRIPTION
.B ripd
Runs in daemon mode, forking and exiting from tty.
.TP
\fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR
-Specifies the config file to use for startup. If not specified this option will likely default to \fB\fI/usr/local/etc/ripd.conf\fR.
+Specifies the config file to use for startup. If not specified this
+option will likely default to \fB\fI/usr/local/etc/ripd.conf\fR.
+.TP
+\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR
+Specify the group to run as. Default is \fIquagga\fR.
.TP
\fB\-h\fR, \fB\-\-help\fR
A brief message.
intrefaces.
.TP
\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
-Specify the user and group to run as. User and group have to have same
-name at the moment. Default is \fIquagga\fR.
+Specify the user to run as. Default is \fIquagga\fR.
.TP
\fB\-r\fR, \fB\-\-retain\fR
When the program terminates, retain routes added by \fBripd\fR.
-.TH RIPNGD 8 "10 August 2004" "Quagga RIPNG daemon" "Version 0.96.5"
+.TH RIPNGD 8 "25 November 2004" "Quagga RIPNG daemon" "Version 0.97.3"
.SH NAME
ripngd \- a RIPNG routing engine for use with Quagga routing software.
.SH SYNOPSIS
] [
.B \-u
.I user
+] [
+.B \-g
+.I group
]
.SH DESCRIPTION
.B ripngd
Specifies the config file to use for startup. If not specified this
option will likely default to \fB\fI/usr/local/etc/ripngd.conf\fR.
.TP
+\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR
+Specify the group to run as. Default is \fIquagga\fR.
+.TP
\fB\-h\fR, \fB\-\-help\fR
A brief message.
.TP
intrefaces.
.TP
\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
-Specify the user and group to run as. User and group have to have same
-name at the moment. Default is \fIquagga\fR.
+Specify the user to run as. Default is \fIquagga\fR.
.TP
\fB\-r\fR, \fB\-\-retain\fR
When the program terminates, retain routes added by \fBripd\fR.
-.TH ZEBRA 8 "10 August 2004" "Zebra daemon" "Version 0.96.5"
+.TH ZEBRA 8 "25 November 2004" "Zebra daemon" "Version 0.97.3"
.SH NAME
zebra \- a routing manager for use with associated Quagga components.
.SH SYNOPSIS
] [
.B \-u
.I user
+] [
+.B \-g
+.I group
]
.SH DESCRIPTION
.B zebra
Runs in daemon mode, forking and exiting from tty.
.TP
\fB\-f\fR, \fB\-\-config-file \fR\fIconfig-file\fR
-Specifies the config file to use for startup. If not specified this option will likely default to \fB\fI/usr/local/etc/zebra.conf\fR.
+Specifies the config file to use for startup. If not specified this
+option will likely default to \fB\fI/usr/local/etc/zebra.conf\fR.
+.TP
+\fB\-g\fR, \fB\-\-group \fR\fIgroup\fR
+Specify the group to run as. Default is \fIquagga\fR.
.TP
\fB\-h\fR, \fB\-\-help\fR
A brief message.
intrefaces.
.TP
\fB\-u\fR, \fB\-\-user \fR\fIuser\fR
-Specify the user and group to run as. User and group have to have same
-name at the moment. Default is \fIquagga\fR.
+Specify the user to run as. Default is \fIquagga\fR.
.TP
\fB\-r\fR, \fB\-\-retain\fR
When the program terminates, retain routes added by \fBzebra\fR.
+2004-11-25 Hasso Tepper <hasso at quagga.net>
+
+ * isis_main.c: Make group to run as configurable.
+
2004-11-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
* dict.c: Include "zassert.h" instead of <assert.h>.
{"vty_addr", required_argument, NULL, 'A'},
{"vty_port", required_argument, NULL, 'P'},
{"user", required_argument, NULL, 'u'},
+ {"group", required_argument, NULL, 'g'},
{"version", no_argument, NULL, 'v'},
{"help", no_argument, NULL, 'h'},
{0}
-i, --pid_file Set process identifier file name\n\
-A, --vty_addr Set vty's bind address\n\
-P, --vty_port Set vty's port number\n\
--u, --user User and group to run as\n\
+-u, --user User to run as\n\
+-g, --group Group to run as\n\
-v, --version Print program version\n\
-h, --help Display this help and exit\n\
\n\
/* Command line argument treatment. */
while (1)
{
- opt = getopt_long (argc, argv, "df:i:hA:p:P:u:v", longopts, 0);
+ opt = getopt_long (argc, argv, "df:i:hA:p:P:u:g:v", longopts, 0);
if (opt == EOF)
break;
vty_port = (vty_port ? vty_port : ISISD_VTY_PORT);
break;
case 'u':
- isisd_privs.user = isisd_privs.group = optarg;
+ isisd_privs.user = optarg;
break;
+ case 'g':
+ isisd_privs.group = optarg;
break;
case 'v':
printf ("ISISd version %s\n", ISISD_VERSION);
+2004-11-25 Hasso Tepper <hasso at quagga.net>
+
+ * ospf6_main.c: Make group to run as configurable.
+
2004-11-05 Phil Spagnolo <phillip.a.spagnolo@boeing.com>
* ospf6_flood.c: When adding a thread to retransmit an lsa after
rxmt_interval, the ospf6d used thread_add_event(). However,
{ "pid_file", required_argument, NULL, 'i'},
{ "vty_addr", required_argument, NULL, 'A'},
{ "vty_port", required_argument, NULL, 'P'},
+ { "user", required_argument, NULL, 'u'},
+ { "group", required_argument, NULL, 'g'},
{ "version", no_argument, NULL, 'v'},
{ "help", no_argument, NULL, 'h'},
{ 0 }
-i, --pid_file Set process identifier file name\n\
-A, --vty_addr Set vty's bind address\n\
-P, --vty_port Set vty's port number\n\
+-u, --user User to run as\n\
+-g, --group Group to run as\n\
-v, --version Print program version\n\
-h, --help Display this help and exit\n\
\n\
/* Command line argument treatment. */
while (1)
{
- opt = getopt_long (argc, argv, "df:i:hp:A:P:u:v", longopts, 0);
+ opt = getopt_long (argc, argv, "df:i:hp:A:P:u:g:v", longopts, 0);
if (opt == EOF)
break;
vty_port = (vty_port ? vty_port : OSPF6_VTY_PORT);
break;
case 'u':
- ospf6d_privs.user = ospf6d_privs.group = optarg;
+ ospf6d_privs.user = optarg;
break;
+ case 'g':
+ ospf6d_privs.group = optarg;
+ break;
case 'v':
print_version (progname);
exit (0);
+2004-11-25 Hasso Tepper <hasso at quagga.net>
+
+ * ospf_main.c: Make group to run as configurable.
+
2004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
* ospf_packet.c (ospf_recv_packet): Assume CMSG_SPACE is present
{ "vty_addr", required_argument, NULL, 'A'},
{ "vty_port", required_argument, NULL, 'P'},
{ "user", required_argument, NULL, 'u'},
+ { "group", required_argument, NULL, 'g'},
{ "apiserver", no_argument, NULL, 'a'},
{ "version", no_argument, NULL, 'v'},
{ 0 }
-i, --pid_file Set process identifier file name\n\
-A, --vty_addr Set vty's bind address\n\
-P, --vty_port Set vty's port number\n\
--u, --user User and group to run as\n\
+-u, --user User to run as\n\
+-g, --group Group to run as\n\
-a. --apiserver Enable OSPF apiserver\n\
-v, --version Print program version\n\
-h, --help Display this help and exit\n\
{
int opt;
- opt = getopt_long (argc, argv, "dlf:i:hA:P:u:av", longopts, 0);
+ opt = getopt_long (argc, argv, "dlf:i:hA:P:u:g:av", longopts, 0);
if (opt == EOF)
break;
vty_port = (vty_port ? vty_port : OSPF_VTY_PORT);
break;
case 'u':
- ospfd_privs.group = ospfd_privs.user = optarg;
+ ospfd_privs.user = optarg;
+ break;
+ case 'g':
+ ospfd_privs.group = optarg;
break;
#ifdef SUPPORT_OSPF_API
case 'a':
+2004-11-25 Hasso Tepper <hasso at quagga.net>
+
+ * rip_main.c: Make group to run as configurable.
+
2004-10-22 Paul Jakma <paul@dishone.st>
* ripd.c: Collapse redundant passing of various address structs,
{ "vty_port", required_argument, NULL, 'P'},
{ "retain", no_argument, NULL, 'r'},
{ "user", required_argument, NULL, 'u'},
+ { "group", required_argument, NULL, 'g'},
{ "version", no_argument, NULL, 'v'},
{ 0 }
};
-A, --vty_addr Set vty's bind address\n\
-P, --vty_port Set vty's port number\n\
-r, --retain When program terminates, retain added route by ripd.\n\
--u, --user User and group to run as\n\
+-u, --user User to run as\n\
+-g, --group Group to run as\n\
-v, --version Print program version\n\
-h, --help Display this help and exit\n\
\n\
{
int opt;
- opt = getopt_long (argc, argv, "df:i:hA:P:u:rv", longopts, 0);
+ opt = getopt_long (argc, argv, "df:i:hA:P:u:g:rv", longopts, 0);
if (opt == EOF)
break;
case 'r':
retain_mode = 1;
break;
- case 'u':
- ripd_privs.group = ripd_privs.user = optarg;
- break;
+ case 'u':
+ ripd_privs.user = optarg;
+ break;
+ case 'g':
+ ripd_privs.group = optarg;
+ break;
case 'v':
print_version (progname);
exit (0);
+2004-11-25 Hasso Tepper <hasso at quagga.net>
+
+ * ripng_main.c: Make group to run as configurable.
+
2004-10-26 Hasso Tepper <hasso at quagga.net>
* ripng_debug.c: Fix help of "show debugging ripng" command.
{ "vty_port", required_argument, NULL, 'P'},
{ "retain", no_argument, NULL, 'r'},
{ "user", required_argument, NULL, 'u'},
+ { "group", required_argument, NULL, 'g'},
{ "version", no_argument, NULL, 'v'},
{ 0 }
};
-A, --vty_addr Set vty's bind address\n\
-P, --vty_port Set vty's port number\n\
-r, --retain When program terminates, retain added route by ripngd.\n\
--u, --user User and group to run as\n\
+-u, --user User to run as\n\
+-g, --group Group to run as\n\
-v, --version Print program version\n\
-h, --help Display this help and exit\n\
\n\
{
int opt;
- opt = getopt_long (argc, argv, "dlf:i:hA:P:u:v", longopts, 0);
+ opt = getopt_long (argc, argv, "dlf:i:hA:P:u:g:v", longopts, 0);
if (opt == EOF)
break;
case 'r':
retain_mode = 1;
break;
- case 'u':
- ripngd_privs.group = ripngd_privs.user = optarg;
- break;
+ case 'u':
+ ripngd_privs.user = optarg;
+ break;
+ case 'g':
+ ripngd_privs.group = optarg;
+ break;
case 'v':
print_version (progname);
exit (0);
* irdp_interface.c: Remove comment from DEFUN, it breaks vtysh because
it confuses extract.pl.
+ * main.c: Make group to run as configurable.
2004-10-28 Hasso Tepper <hasso at quagga.net>
{ "nl-bufsize", no_argument, NULL, 's'},
#endif /* HAVE_NETLINK */
{ "user", required_argument, NULL, 'u'},
+ { "group", required_argument, NULL, 'g'},
{ "version", no_argument, NULL, 'v'},
{ 0 }
};
"-P, --vty_port Set vty's port number\n"\
"-r, --retain When program terminates, retain added route "\
"by zebra.\n"\
- "-u, --user User and group to run as\n", progname);
+ "-u, --user User to run as\n"\
+ "-g, --group Group to run as\n", progname);
#ifdef HAVE_NETLINK
printf ("-s, --nl-bufsize Set netlink receive buffer size\n");
#endif /* HAVE_NETLINK */
int opt;
#ifdef HAVE_NETLINK
- opt = getopt_long (argc, argv, "bdklf:i:hA:P:ru:vs:", longopts, 0);
+ opt = getopt_long (argc, argv, "bdklf:i:hA:P:ru:g:vs:", longopts, 0);
#else
- opt = getopt_long (argc, argv, "bdklf:i:hA:P:ru:v", longopts, 0);
+ opt = getopt_long (argc, argv, "bdklf:i:hA:P:ru:g:v", longopts, 0);
#endif /* HAVE_NETLINK */
if (opt == EOF)
nl_rcvbufsize = atoi (optarg);
break;
#endif /* HAVE_NETLINK */
- case 'u':
- zserv_privs.user = zserv_privs.group = optarg;
- break;
+ case 'u':
+ zserv_privs.user = optarg;
+ break;
+ case 'g':
+ zserv_privs.group = optarg;
+ break;
case 'v':
print_version (progname);
exit (0);