diff options
author | jjj <none@none> | 2006-06-01 17:01:11 -0700 |
---|---|---|
committer | jjj <none@none> | 2006-06-01 17:01:11 -0700 |
commit | 0ea5e3a571e3da934507bdd32924d11659c70704 (patch) | |
tree | ba35ba32eeb100c1272139f7cfcc462bdc77e3a4 /usr/src/cmd/syslogd/syslogd.h | |
parent | f4646a6c4cd95d2c0e0e22ab5aaf71e77cc8b2b3 (diff) | |
download | illumos-joyent-0ea5e3a571e3da934507bdd32924d11659c70704.tar.gz |
PSARC 2004/368 Secure By Default
4875624 *syslogd* turn off UDP listener by default
5004374 Ship with remote services disabled by default
5016956 By default rpcbind should not listen for remote requests
5016975 By default snmpd/dx should not be enabled.
5016998 By default inetd should not listen for remote connections.
5017041 By default sendmail should not listen for remote connections
5046450 Create a greenline profile for Secure by Default installation
6267741 RFE: One-touch knob for outbound-only sendmail
6414308 syslogd could use some lint soap
Diffstat (limited to 'usr/src/cmd/syslogd/syslogd.h')
-rw-r--r-- | usr/src/cmd/syslogd/syslogd.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/usr/src/cmd/syslogd/syslogd.h b/usr/src/cmd/syslogd/syslogd.h index c3020640e6..5606be1a5d 100644 --- a/usr/src/cmd/syslogd/syslogd.h +++ b/usr/src/cmd/syslogd/syslogd.h @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,9 +19,11 @@ * CDDL HEADER END */ /* - * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. - * + */ + +/* * Copyright 1983,1984,1985,1986,1987,1988,1989 AT&T. * All rights reserved. * @@ -255,7 +256,7 @@ static int ismyaddr(struct netbuf *nbp); static void getnets(void); static int addnet(struct netconfig *ncp, struct netbuf *nbp); static void bindnet(void); -static int logforward(struct filed *f, char *ebuf); +static int logforward(struct filed *f, char *ebuf, size_t elen); static int amiloghost(void); static int same_addr(struct netbuf *, struct netbuf *); static void prepare_sys_poll(void); @@ -290,7 +291,7 @@ static size_t copynl_frwd(char *, const size_t, const char *, const size_t); static size_t copy_frwd(char *, const size_t, const char *, const size_t); static void logerror_format(const char *, char *, va_list); static int logerror_to_console(int, const char *); -static void defaults(void); +static void properties(void); static void shutdown_input(void); static void *hostname_lookup(void *); static void reconfigure(void); |