Menu

Tree [0a588c] default tip /
 History

Read Only access


File Date Author Commit
 Makefile 2019-01-27 Edgar Pettijohn Edgar Pettijohn [0a588c] build on linux
 README 2019-01-27 Edgar Pettijohn Edgar Pettijohn [0a588c] build on linux
 config.h 2019-01-27 Edgar Pettijohn Edgar Pettijohn [0a588c] build on linux
 patch_void-run-hook 2019-01-27 Edgar Pettijohn Edgar Pettijohn [0a588c] build on linux
 patch_void.c 2019-01-27 Edgar Pettijohn Edgar Pettijohn [0a588c] build on linux
 setresguid.c 2019-01-13 Edgar Pettijohn Edgar Pettijohn [40479c] Initial commit of working daemon.
 slack-desc 2019-01-27 Edgar Pettijohn Edgar Pettijohn [0a588c] build on linux
 strtonum.c 2019-01-13 Edgar Pettijohn Edgar Pettijohn [40479c] Initial commit of working daemon.
 void-run-hook 2019-01-13 Edgar Pettijohn Edgar Pettijohn [40479c] Initial commit of working daemon.
 void.8 2019-01-20 Edgar Pettijohn Edgar Pettijohn [aa30b4] final touches
 void.SlackBuild 2019-01-27 Edgar Pettijohn Edgar Pettijohn [0a588c] build on linux
 void.c 2019-01-27 Edgar Pettijohn Edgar Pettijohn [0a588c] build on linux

Read Me

How to install
	Prerequisites: libevent2
	Prerequisites for linux: bmake libbsd

	$ make

	# make install

	On Slackware use the provided SlackBuild script.

How to use

	# void -u nobody -p 21,22,23

	See the manual for more examples.

What it does

	It listens on the provided ports and executes a script located at:

	/usr/local/libexec/void-run-hooks

	The script receives the address that connected and its port number.

	#!/bin/sh

	addr=$1
	port=$2

	logger "$addr $port" || exit 1

	exit 0

It should build and install on any unix like system. It is known to work on
OpenBSD 6.4, NetBSD 8.0, and Slackware 14.2