Date: Fri, 24 Oct 2003 03:01:36 -0700 (PDT) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/nghook main.c nghook.8 Message-ID: <200310241001.h9OA1aEa049860@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2003/10/24 03:01:36 PDT FreeBSD src repository Modified files: usr.sbin/nghook main.c nghook.8 Log: Allow nghook to execute a program with the data socket connected to stdin and stdout instead of relaying the data. Now it is possible to say: nghook -e path: hook /usr/local/bin/foo arg1 arg2 and foo will have the hook to path: at file descriptors 0 and 1. Add an option to specify control messages to be send to the node before either executing the program or entering the data relay loop. Revision Changes Path 1.11 +70 -10 src/usr.sbin/nghook/main.c 1.15 +39 -3 src/usr.sbin/nghook/nghook.8
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310241001.h9OA1aEa049860>