Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    BGP alerter

    Off-topic
    3
    3
    58
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • robi
      robi last edited by

      https://github.com/nttgin/BGPalerter

      BGPalerter

      Self-configuring BGP monitoring tool, which allows you to monitor in real-time if:

      • any of your prefixes loses visibility;
      • any of your prefixes is hijacked;
      • your AS is announcing RPKI invalid prefixes (e.g., not matching prefix length);
      • your AS is announcing prefixes not covered by ROAs;
      • any of your ROAs is expiring;
      • ROAs covering your prefixes are no longer reachable;
      • RPKI Trust Anchors malfunctions;
      • a ROA involving any of your prefixes or ASes was deleted/added/edited;
      • your AS is announcing a new prefix that was never announced before;
      • an unexpected upstream (left-side) AS appears in an AS path;
      • an unexpected downstream (right-side) AS appears in an AS path;
      • one of the AS paths used to reach your prefix matches a specific condition defined by you.

      You just run it. You don't need to provide any data source or connect it to anything in your network since it connects to public repos.

      It can deliver alerts on files, email, kafka, slack, and more.

      BGPalerter

      BGPalerter connects to public BGP data repos (not managed by NTT), and the entire monitoring is done directly in the application (there are no NTT servers involved).

      TL;DR (1 minute setup)

      This section is useful if you don't care about the source code but you just want to run the monitor. Instead, if you want to run the source code (which is completely open) or develop, please read directly the documentation.

      1. Download the binary here (be sure to select the one for your OS)

      2. Execute the binary (e.g., chmod +x bgpalerter-linux-x64 && ./bgpalerter-linux-x64)
        The first time you run it, the auto-configuration will start.

      If something happens (e.g., a hijack) you will see the alerts in logs/reports.log. In config.yml you can find other reporting mechanisms (e.g., email, Slack, Kafka) in addition to logging on files. Please uncomment the related section and configure according to your needs.

      If the installation doesn't go smoothly, read here.
      Read the documentation below for more options.

      Life of Advanced Technology

      timconsidine 1 Reply Last reply Reply Quote 0
      • timconsidine
        timconsidine App Dev @robi last edited by

        What is BGP? | BGP routing explained
        Border Gateway Protocol (BGP) is the routing protocol for the Internet. Much like the post office processing mail, BGP picks the most efficient routes for delivering Internet traffic.

        JOduMonT 1 Reply Last reply Reply Quote 1
        • JOduMonT
          JOduMonT @timconsidine last edited by

          @timconsidine said in BGP alerter:

          What is BGP?

          it's the glue of internet 😛
          what's make the magic happen in the Best-Effort delivery of Internet.
          https://bgp.he.net/report/peers

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Powered by NodeBB