cvs commit: src/usr.sbin/nghook main.c nghook.8

Hartmut Brandt harti at FreeBSD.org
Fri Oct 24 03:01:50 PDT 2003


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


More information about the cvs-src mailing list