Code Monkey home page Code Monkey logo

ubrs's Introduction

README

Made for and by Lyon e-Sport - www.lyon-esport.fr.

Installation

  1. Install dependencies pip3 install -r requirements.txt

  2. Compile udp-broadcast-relay cd broadcast-relay/udp-broadcast-relay-0.3; make; cd -

  3. (optional) To start UBRS at startup: cp systemd/ubrs.service /etc/systemd/system/ubrs.service; systemctl enable ubrs

Configuration

Please update the configuration file config.py before using. Note that it starts a webserver on port 80 by default.

Interface configuration

Example

# The primary network interface for admin
rename ens224=admin
allow-hotplug admin
iface admin inet static
	address 172.16.2.29/24
	gateway 172.16.2.1
	# dns-* options are implemented by the resolvconf package, if installed
	dns-nameservers 172.16.2.20 8.8.8.8 1.1.1.1
	dns-search les

# Trunk interface managed by UBRS
# No given IP
rename ens192=trunk
allow-hotplug trunk
iface trunk inet manual
	pre-up ip link set dev trunk up
	post-down ip link set dev trunk down

Usage

  1. Start the webserver:

    • as a daemon (will be executed in background): sudo python3 ubrs.py start
    • in foreground for debug/ sudo python3 ubrs.py
  2. Connect to the web interface (see config.py)

  3. Select the OAM interface use for the administration. It will be excluded from the relay.

  4. Select the trunk interface that will receive UDP broadcast

  5. Create as many interfaces as vlans

  6. Add UDP port. Broadcast messages will be relayed on all the interfaces.

If you add a new interface, existing port will be updated dynamically to relay traffic on the new VLAN.

Author

rarenlys - [email protected]

ubrs's People

Contributors

corpg avatar

Watchers

Etienne G. avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.