Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!hao!oddjob!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.bugs.4bsd Subject: Re: Mods for syslod to allow anonymous ftp logging Message-ID: <8599@mimsy.UUCP> Date: Wed, 16-Sep-87 12:56:10 EDT Article-I.D.: mimsy.8599 Posted: Wed Sep 16 12:56:10 1987 Date-Received: Sat, 19-Sep-87 10:45:30 EDT References: <2935@psuvax1.psu.edu> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 15 Keywords: syslogd, BSD 4.3, anonymous ftp A simpler change, though two-part, is this: First, make syslog() connect() the socket it obtains in openlog() when opening with LOG_NDELAY. Change the sendto() call to a write() call. Then, change ftpd (if it is not this way already) to call openlog with LOG_NDELAY before it chroot()s. (My diff listings for the first change will not be useful to anyone else, as my syslog depends on my new stdio. I have not implemented the second half yet.) -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris