CBridge

UDP packet forwarder

Download .zip Download .tar.gz View on GitHub

Description

CBridge is a C program which reads UDP packets from one source and send them to multiple destinations.

Installation

$ make
$ make install

Other useful commands:
$ make manifest - generate new MANIFEST
$ make dist     - pack all files in MANIFEST
$ make clean    - clean dir

Usage

Usage: cbridge [OPTIONS]

OPTIONS:
  -s, --src=VAL          source address
  -d, --dst=VAL          destination address
  -p, --sport=VAL        source port
  -r, --dport=VAL        destination port
  -e, --debug            debug mode
  -h, --help             display this help and exit

Examples:
cbridge --src=239.194.1.1 --sport=1234 --dst=137.138.165.238 --dport=1234
cbridge --src=239.194.1.1 --sport=1234 --dst=137.138.165.237 --dport=1235 \
                                       --dst=137.138.165.238 --dport=1236 \
                                       --dst=137.138.165.239 --dport=1237