Date: Mon, 3 Dec 2001 13:48:11 -0000 From: "Tariq Rashid" <tariq@inty.net> To: <ports@FreeBSD.org> Subject: FreeBSD Port: isakmpd-20010403 fix?!?! Message-ID: <MPENKFCCIIDAJKJJOLBHEEFCCDAA.tariq@inty.net>
next in thread | raw e-mail | index | archive | help
the freebsd port of openbsd isakmpd has a bug which soaks up CPU the solution we found was to open the UI FIFO as RDRW and not RDONLY... this is in fact in the code but was difficult for us to track down as teh cause (i'm not an expert coder)... in ui.c: /* No need to know about errors. */ unlink (ui_fifo); if (mkfifo (ui_fifo, 0600) == -1) log_fatal ("ui_init: mkfifo (\"%s\", 0600) failed", ui_fifo); /* XXX Is O_RDWR needed on some OSes? Photurisd seems to imply that. */ // TR ... FIFO opened as O_RDWR and not O_RDONLY ... ui_socket = open (ui_fifo, O_RDWR | O_NONBLOCK, 0); // ui_socket = open (ui_fifo, O_RDONLY | O_NONBLOCK, 0); if (ui_socket == -1) log_fatal ("ui_init: open (\"%s\", O_RDONLY | O_NONBLOCK, 0) failed", ui_fifo); } we did this to cvs of mid november sources from openbsd - i notice that the official ports are chronically out of date... the newer isakmpd has a lot more functionality and stability ... regards tariq ----------------------------------------------- Information in this electronic mail message is confidential and may be legally privileged. It is intended solely for the addressee. Access to this message by anyone else is unauthorised. If you are not the intended recipient any use, disclosure, copying or distribution of this message is prohibited and may be unlawful. When addressed to our customers, any information contained in this message is subject to Intelligent Network Technology Ltd Terms & Conditions. ----------------------------------------------- Take part in the intY 2001 Email Usage survey online at http://www.inty.net/email/survey.html ----------------------------------------------- intY has automatically scanned this email using Sophos Anti-Virus (www.inty.net) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MPENKFCCIIDAJKJJOLBHEEFCCDAA.tariq>