GithubHelp home page GithubHelp logo

infowolfe / exabgp-edgerouter Goto Github PK

View Code? Open in Web Editor NEW
35.0 35.0 10.0 13 KB

ExaBGP based automated blocklist for Spamhaus DROP/EDROP and Emerging Threats blocklists for Ubiquiti EdgeRouters (and possibly Vyatta vRouters)

Python 100.00%

exabgp-edgerouter's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

exabgp-edgerouter's Issues

error in conf.ini

16:10:29 | 20997  | configuration | performing reload of exabgp 4.2.11
16:10:29 | 20997  | configuration | not reloaded, no change found in the configuration
16:10:29 | 20997  | configuration |         
16:10:29 | 20997  | configuration | syntax error in section 
16:10:29 | 20997  | configuration | line 1: group AS64512 {
16:10:29 | 20997  | configuration |         
16:10:29 | 20997  | configuration | section group is invalid in root, 

loop issue

Hi,

Great project! I'm testing this for possibly rolling out to a couple of networks we maintain.

However, i'm getting it having a bit of a tizzy whenever upstream remove an ip from the RBL. It will sit there and redownload the rbl from the peer, withdrawing the route every second. Over and over until the process is cleared.

As an example:

Mar 4 19:54:30 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:30 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:31 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:31 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:31 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:31 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:32 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:32 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:32 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:32 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:32 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:32 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:33 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:33 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:33 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:33 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:33 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:33 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:34 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:34 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:34 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:34 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:34 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:34 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:35 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:35 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:35 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:35 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:36 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:36 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:36 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:36 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:36 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:36 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:37 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:37 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:37 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:37 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:37 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:37 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:38 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:38 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:38 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:38 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:38 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:38 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:39 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:39 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:39 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:39 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:40 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:40 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:40 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:40 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666
Mar 4 19:54:40 addisrtr exabgp[7524]: processes Command from process droproutes : withdraw route 159.65.160.55/32 next-hop self community [64512:666]
Mar 4 19:54:40 addisrtr exabgp[7524]: reactor Route removed : 159.65.160.55/32 next-hop 10.1.1.200 community 64512:666

My Config hasn't really changed much from the defaults provided apart from the router and local addresses:

#!/usr/bin/env exabgp
group AS64512 {
router-id 10.1.1.200;
local-as 64512;
local-address 10.1.1.200;
peer-as 64512;

    neighbor 10.1.1.254 {
            family {
                    ipv4 unicast;
                    ipv4 multicast;
            }
    }

    family {
            ipv4 unicast;
            ipv4 multicast;
    }

    process droproutes {
            run /usr/local/bin/blocklists_simple.py;
    }

}

I have set mins to 1440 (IE expire every 24 hours) and sleep to mins * 5

Do you have any ideas where I might start looking?

Thanks!

Routes inactive?

Dear Chip,

May I ask how did you overcome the inactive routes? I'm trying to set this up; but I keep ending up with:
admin@er01:~$ show ip route 8.8.8.8
Routing entry for 8.8.8.8/32
Known via "bgp", distance 200, metric 0, External Route Tag: 0
Last update 00:04:14 ago
0.0.0.1 inactive

The 0.0.0.1 entry seems right:
sjcjonker@sjc-er01:~$ show ip route 0.0.0.1
Routing entry for 0.0.0.1/32
Known via "static", distance 1, metric 0, External Route Tag: 0, best

  • directly connected, Null

Thanks in advance,
Stijn

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.