History log of /freebsd-current/usr.sbin/nghook/main.c
Revision Date Author Comments
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# d3a3b087 24-Oct-2003 Hartmut Brandt <harti@FreeBSD.org>

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.


# 96d282ec 17-Aug-2003 Philippe Charnier <charnier@FreeBSD.org>

add FBSDID, compare getopt() against -1, use fprintf() + exit() in usage()
instead of errx() to get the message starting with "usage:".


# 7cfb043c 13-Aug-2003 Hartmut Brandt <harti@FreeBSD.org>

Make this WARNS=6 clean by just constifying two local char pointers.


# 1cdff5c9 13-Aug-2003 Hartmut Brandt <harti@FreeBSD.org>

Implement two command line options that allow one to change the
file descriptors that are used for input and output. That allows
one, for example, to use nghook to bi-directionally pipe the
input and output into/from another non-netgraph-aware program.


# e1b4d8d0 26-Jul-2001 Sheldon Hearn <sheldonh@FreeBSD.org>

Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by: David Hill <david@phobia.ms>


# 0d3e7286 27-Jul-2000 Archie Cobbs <archie@FreeBSD.org>

Add '-n' flag: don't attempt to read any data from standard input.


# f928d1a2 18-Jul-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Add the '-l' flag to nghook which loops the received data back.


# 2ab04c7d 29-Nov-1999 Archie Cobbs <archie@FreeBSD.org>

Remove extra spaces in hex dump output.


# ebdb21f4 23-Oct-1999 Matthew Dillon <dillon@FreeBSD.org>

Put include <netgraph.h> back in - problem was due to a cvsup mess on
freefall. There may also be a real problem w/ buildworld but the fix
would go somewhere else, not here.


# f41f949d 23-Oct-1999 Matthew Dillon <dillon@FreeBSD.org>

Cleanup missing includes, stale includes, and a few printf format
inconsistancies.


# 4cf49a43 21-Oct-1999 Julian Elischer <julian@FreeBSD.org>

Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from: Whistle CVS tree