bcrelay --version (return code: 0)
BCrelay v1.4.0
bcrelay --help (return code: 0)
BCrelay v1.4.0
A broadcast packet repeater. This packet repeater (currently designed for udp packets) will listen
for broadcast packets. When it receives the packets, it will then re-broadcast the packet.
Usage: bcrelay [options], where options are:
[-d] [--daemon] Run as daemon.
[-h] [--help] Displays this help message.
[-i] [--incoming <ifin>] Defines from which interface broadcasts will be relayed.
[-n] [--nolog] No logging/tracing to /var/log/messages.
[-o] [--outgoing <ifout>] Defines to which interface broadcasts will be relayed.
[-s] [--ipsec <arg>] Defines an ipsec tunnel to be relayed to.
Since ipsec tunnels terminate on the same interface, we need to define the broadcast
address of the other end-point of the tunnel. This is done as ipsec0:x.x.x.255
[-v] [--version] Displays the BCrelay version number.
Log messages and debugging go to syslog as DAEMON.
Interfaces can be specified as regexpressions, ie. ppp[0-9]+