Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!haven!trantor.umd.edu!louie From: louie@trantor.umd.edu (Louis A. Mamakos) Newsgroups: comp.unix.wizards Subject: Re: anonymous ftp, and chroot Message-ID: <3042@haven.umd.edu> Date: 14 Dec 88 13:47:05 GMT References: <6827@xanth.cs.odu.edu> Sender: news@haven.umd.edu Reply-To: louie@trantor.umd.edu (Louis A. Mamakos) Organization: University of Maryland, College Park Lines: 19 In article <6827@xanth.cs.odu.edu> tadguy@cs.odu.edu (Tad Guy) writes: > >What I did was to connect() the datagram socket to "/dev/log" at the >time of openlog() if LOG_NDELAY was specified, then just use send(). >Don't forget to add LOG_NDELAY to the openlog() call in ftpd.c. > I made a change like this in our syslog(); consider what happens to long-lived daemons when /etc/syslogd is restarted for some reason. The socket is no longer connected, and logging ceases. I'd like to see an option to syslog via UDP/SOCK_DGRAM internet sockets, just like 4.2 did. In fact, the code in syslogd is already there for for forwarding log messages to other hosts. All you need is something in the library routine syslog(). Louis A. Mamakos WA3YMH Internet: louie@TRANTOR.UMD.EDU University of Maryland, Computer Science Center - Systems Programming