Coder Social home page Coder Social logo

Comments (8)

wladwm avatar wladwm commented on August 12, 2024

Hi.

It should connect to your BGP router specified in ban2bgp.ini as peers=10.0.0.1 AS65535
Listen port was specified as listen=0.0.0.0:1179 - port 1179, not 179! Because you can not listen at port below 1024 if you're not root.

from ban2bgp.

vi9dgupta avatar vi9dgupta commented on August 12, 2024

With or without sudo with 1179 or 179, it is not connecting to 10.0.0.1

from ban2bgp.

wladwm avatar wladwm commented on August 12, 2024

Could you please show your ban2bgp.ini ?
I will try to test

from ban2bgp.

vi9dgupta avatar vi9dgupta commented on August 12, 2024

[main]
httplisten=0.0.0.0:8080
listen=0.0.0.0:1179
nexthop=198.18.0.1
communities=666:666
peers=10.0.0.1 AS65535
duration=3600
skiplist=10.0.0.0/24

from ban2bgp.

wladwm avatar wladwm commented on August 12, 2024

Could you please replace content by following and try again?

[main]
httplisten=0.0.0.0:8080
listen=0.0.0.0:1179
nexthop=198.18.0.1
communities=666:666
peers=peer_r1
duration=3600
skiplist=10.0.0.0/24

[peer_r1]
peer=10.0.0.1
as=65535
mode=blackhole

from ban2bgp.

vi9dgupta avatar vi9dgupta commented on August 12, 2024

Doing this change in ban2bgp.ini solved the issue!
Advertised routes are added, but not getting removed after duration defined! Why?

from ban2bgp.

wladwm avatar wladwm commented on August 12, 2024

Please update ban2bgp and rebuild.
When routes should expire please check on main page (http://...:8080) presence of these routes.

from ban2bgp.

wladwm avatar wladwm commented on August 12, 2024

Seems that problem was solved any way...

from ban2bgp.

Related Issues (4)

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.