https://github.com/czerwonk/udp-mirror
Listens for UDP packets an sends copies to multiple receivers
https://github.com/czerwonk/udp-mirror
Last synced: 5 months ago
JSON representation
Listens for UDP packets an sends copies to multiple receivers
- Host: GitHub
- URL: https://github.com/czerwonk/udp-mirror
- Owner: czerwonk
- License: mit
- Created: 2017-04-03T19:27:27.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-07T19:37:32.000Z (about 9 years ago)
- Last Synced: 2024-06-20T12:48:00.425Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 10.7 KB
- Stars: 20
- Watchers: 5
- Forks: 11
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# udp-mirror [][travis]
Listens for UDP packets an sends copies to multiple receivers
# Install
```
go get -u github.com/czerwonk/udp-mirror
```
# Application
This tool is helpful if you want to use more than one netflow analysis tool at the same time.
# Use
In this example we want to listen for packets on port 4560. Each packet received should be mirrored and sent to 192.168.1.1:1234 and 192.168.1.2:3456
```
udp-mirror -listen-address ":4560" -receivers "192.168.1.1:1234,192.168.1.2:3456"
```
## Docker
```
docker run -it -p 4560:9999 czerwonk/udp-mirror "192.168.1.1:1234,192.168.1.2:3456"
```
[travis]: https://travis-ci.org/czerwonk/udp-mirror