freebsd-dev/usr.sbin/nghook
Hartmut Brandt d3a3b08778 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.
2003-10-24 10:01:36 +00:00
..
main.c Allow nghook to execute a program with the data socket connected to 2003-10-24 10:01:36 +00:00
Makefile Make this WARNS=6 clean by just constifying two local char pointers. 2003-08-13 07:51:06 +00:00
nghook.8 Allow nghook to execute a program with the data socket connected to 2003-10-24 10:01:36 +00:00