Date: Tue, 4 Jan 2000 16:17:09 -0800 (PST) From: "Eric J. Schwertfeger" <ejs@bfd.com> To: questions@freebsd.org Subject: poll() questions, lsh port Message-ID: <Pine.BSF.4.10.10001041558540.93587-100000@harlie.bfd.com>
next in thread | raw e-mail | index | archive | help
I'm working on getting lsh 0.1.20 (a GPL implementation of the secsh/SSH 2.0 protocol) working under FreeBSD, and it is in fact working, but I'm trying to provide feedback to the developers as far as what is more standard. One of the issues concerns poll() and the event flags POLLIN and POLLRDNORM. The program uses POLLIN, and works on at least some platforms. However, in order to get it to work under FreeBSD, I had to replace POLLIN with POLLRDNORM, otherwise the program waited forever while trying to read from disk-based files. I guess the question is, where do I go to find out what the official behavior should be? I imagine that this is covered by POSIX somewhere. For those interested in either the status or the reason for lsh, the SSH 1.X protocol uses the RSA algorithm and the patent on that isn't due to expire for several more months, which causes problems for commercial use, and SSH 2.0.X isn't free for commercial use, so lsh came into being to address these issues. At this time, some people have been able to get lsh and ssh 2.0 to interoperate, though I don't know if this required patches that haven't been rolled into the tree. I haven't heard of anyone failing to interoperate since about 0.1.15, but I haven't tried myself. lsh just recently added port-forwarding, though I doubt that it works reliably yet, and there doesn't seem to be an rcp-equivalent yet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10001041558540.93587-100000>