On 11 February 2013 07:05, Todd T. Fries <[email protected]> wrote:
> In light of nat64 in pf(4), what purpose does faithd(8) serve anymore?
>
> I played with it a bit over a decade ago, but don't recall having any use
> for it in the last number of years.
>
> I vote it gets tedu'ed.
>
I vote for it too, I remember suggesting it last year.
> Penned by David Hill on 20130209 12:53.51, we have:
> | Anyone want to OK and commit?
> |
> | On Sun, Jan 20, 2013 at 05:19:18PM -0500, David Hill wrote:
> | >O_NONBLOCK is set with F_SETFL
> | >
> | >Index: usr.sbin/faithd/tcp.c
> | >===================================================================
> | >RCS file: /cvs/src/usr.sbin/faithd/tcp.c,v
> | >retrieving revision 1.12
> | >diff -N -u -p usr.sbin/faithd/tcp.c
> | >--- usr.sbin/faithd/tcp.c 8 Sep 2002 01:20:15 -0000 1.12
> | >+++ usr.sbin/faithd/tcp.c 20 Jan 2013 22:17:13 -0000
> | >@@ -206,7 +206,7 @@ relay(int s_rcv, int s_snd, const char *service, int d
> | > FD_ZERO(&readfds);
> | > FD_ZERO(&writefds);
> | > FD_ZERO(&exceptfds);
> | >- fcntl(s_snd, F_SETFD, O_NONBLOCK);
> | >+ fcntl(s_snd, F_SETFL, O_NONBLOCK);
> | > oreadfds = readfds; owritefds = writefds; oexceptfds = exceptfds;
> | > if (s_rcv >= FD_SETSIZE)
> | > exit_failure("descriptor too big");
> | >
>
> --
> Todd Fries .. [email protected]
>
> ____________________________________________
> | \ 1.636.410.0632 (voice)
> | Free Daemon Consulting, LLC \ 1.405.227.9094 (voice)
> | http://FreeDaemonConsulting.com \ 1.866.792.3418 (FAX)
> | PO Box 16169, Oklahoma City, OK 73113 \ sip:[email protected]
> | "..in support of free software solutions." \ sip:[email protected]
> \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
>
> 37E7 D3EB 74D0 8D66 A68D B866 0326 204E 3F42 004A
> http://todd.fries.net/pgp.txt
>