Comments (2)
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.
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)
- FATAL ERROR:EOF from RADB (dequeue, ripe) Exit Code 255 HOT 2
- Clarify Nokia (classic CLI) options HOT 2
- Feature Request: Do not print anything if 0 objects received HOT 4
- bgpq3 exit code is 255, stderr: b'FATAL ERROR:select timeout\n' HOT 2
- Limitations of bgpq3 -S HOT 1
- filter route and AS (possible feature request) HOT 2
- Rationale behind the recommended sources HOT 1
- Cisco IOS XR format lacks one space in indentation HOT 1
- Sequence numbers not respected with empty result HOT 1
- Subnet length wrong HOT 3
- Uncorrected as-patch filter for Huawei HOT 1
- Possibility of tagging a new release HOT 1
- Add BGPQ3 to Arista EOS HOT 5
- Allow generation of combined IPv4/IPv6 lists HOT 3
- About the operation when multiple database sources are specified by'-S flag'
- BSD-3 files
- Invalid symbol in ASN errors HOT 1
- Certain prefixes that show up in the RIPE GUI don't get outputted by BGPq3 when the ASSet is queried HOT 8
- missing some prefixes HOT 11
- Install on ASR9K
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bgpq3.