Git Product home page Git Product logo

ladvd's Introduction

Build Status

WHAT IS LADVD?

ladvd is a lldp / cdp / edp / fdp / ndp sender for Unix.

ladvd uses link-layer advertisements to inform switches about connected hosts, which simplifies Ethernet switch management. It does this by forking into a privileged parent which handles all raw sockets (and certain ioctls), and an unprivileged child which creates and parses all packets. Every 30 seconds the child generates advertisement frames reflecting the current system state. Interfaces (bridge, bonding, wireless), capabilities (bridging, forwarding, wireless) and addresses (IPv4, IPv6) are detected dynamically. Secondly ladvd can listen for incoming frames and utilize these for various features (protocol auto-enable, logging, interface descriptions).

USAGE

Basically you start ladvd like any unix daemon. To get a complete list of supported options type

ladvd -h

and see the manual for more information.

SETUP

Ladvd needs root privileges to initialize the required raw-sockets. It can run in `daemon' mode, logging to syslog, or in the foreground, logging to stderr.

To prepare for building ladvd, first run "autoreconf -fi", this will create the configure script and makefiles needed to compile ladvd. This will only work if autoconf, automake, pkgconfig and libtool are installed. Feel free to skip this step when building from a release tarball.

To build ladvd, first run the "configure" script. This will create a Makefile and config.h appropriate for your system. Then type "make" and optionally "make install".

Please note that a ladvd user should be created for normal operation. And that the provided systemd unit-file (for linux systems) uses FHS standard paths (/usr/sbin) and not the autoconf default (/usr/local/sbin).

BUG REPORTS

Please create an issue on github or email your bug report to [email protected].

COPYRIGHT

ladvd is written by Sten Spans, and may be used, modified and redistributed only under the terms of the ISC License, found in the file LICENSE in this distribution.

AVAILABILITY

The main web site for ladvd is http://github.com/sspans/ladvd/

ladvd's People

Contributors

dmitryluhtionov avatar howardjones avatar msperl avatar sspans avatar sspans-sbp avatar zdzichu avatar

Watchers

 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.