HomeFreeBSD

Allow nghook to execute a program with the data socket connected to
rS121464Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

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.

Details

Provenance
hartiAuthored on
Parents
rS121463: Don't check timeout just after booted.
Branches
Unknown
Tags
Unknown

Event Timeline