Git Product home page Git Product logo

Comments (2)

job avatar job commented on July 21, 2024

I created an example as-set for easy testing after hurricane fixes their set:

Vurt:~ job$ whois -h rr.ntt.net AS15562:AS-PRIV32BITASN | grep -v remarks
as-set:         AS15562:AS-PRIV32BITASN
descr:          test for bgpq3
members:        AS4200052101
members:        AS4200053111
tech-c:         DUMY-RIPE
admin-c:        DUMY-RIPE
mnt-by:         SNIJDERS-MNT
changed:        [email protected] 20000101
created:        2015-06-16T08:46:36Z
last-modified:  2015-06-16T08:46:36Z
source:         RIPE

Vurt:~ job$ bgpq3 -h rr.ntt.net -j3f1 AS15562:AS-PRIV32BITASN
{"NN": [
  -94915195,-94914185
]}
Vurt:~ job$

from bgpq3.

snar avatar snar commented on July 21, 2024

On Tue, Jun 16, 2015 at 01:33:46AM -0700, Henrik Thostrup Jensen wrote:

$ bgpq3 -3f1 AS-HURRICANE |tail -n 3
ip as-path access-list NN permit ^1([0-9]+)(525620|553259|559371|1973394)$
ip as-path access-list NN permit ^1([0-9]+)
(2629023|-94915195|-94914185)$

Thanks for noticing, fixed and uploaded to github.

The set of private/special as number should probably be filtered out.
http://www.iana.org/assignments/iana-as-numbers-special-registry/
iana-as-numbers-special-registry.xhtml

as23456 were already in exclusion list, now all other asns in private
and reserved space are excluded by default too.

I guess that a signed int/long is used for as numbers. It should probably
be an unsigned long.

AS numbers storead as a bitmap, problem was with %i format character
that interpreted numbers > 2^31 as negative integers :( Thanks again.

from bgpq3.

Related Issues (20)

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.