New Version of the RIPE Database

Download Report

Transcript New Version of the RIPE Database

Migration to the new RIPE Database
Andrei Robachevsky
RIPE NCC
<[email protected]>
1
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
Outline
• Current status of the RIPE Database
• New version of the Database
• Migration timeline
• More information
2
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
RIPE Database Status
• Contains
• IP allocations/assignments
• Domain registry
• Routing registry
• 3.7 Million objects
• 75% person, 10% inetnum, 0.65% route
• 6,700 updates/day
• 770,000 queries/day (9 queries/s)
• 38% IP addresses, 1% IP prefixes
3
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
RIPE Routing Registry
• 24500 routes, 4000 aut-num’s
• 13500 routes are not announced
• 6454 routes are not registered
• 60% of all registered routes are “foreign” (non-RIPE
ASN or IP space)
• Routing Registry Consistency Check Project
•
•
•
•
identify bad data
help to correct it
keep it up-to-date
http://www.ripe.net/ripencc/pub-services/rrcc
4
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
New version of the Database
• Supports RPSL (RFC2622)
• Extended syntax
• New objects and attributes
• Supports RPS-auth (RFC2725)
• New authorization rules
• Supports RAToolset
• Code is completely rewritten
• New database format
• New version of mirroring protocol
• New access control
5
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
RPSL Support
• Extended syntax rules are applied to all object
types
• New objects
•
•
•
•
as-set (as-macro), route-set (community)
peering-set
filter-set
rtr-set
• New attributes
• member-of
• mbrs-by-ref
6
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
RPS-SEC support
• New authorization rules
• route creation
• aut-num
• hierarchical names
• New object
• as-block
• New attributes
• mnt-routes: <mnt_name> [ rpsl list of prefixes | ANY]
• referral-by: <mnt_name>
• auth-override: YYYYMMDD
7
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
RAToolset Support
• New queries
• -l <ip range>
• -x <ip range>
• -K
• RtConfig -protocol bird
• Patch is available
• to parse RIPE-style comments (%)
8
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
New software
• Mainly in C
• RDBMS as a back-end
• MySQL
• Transaction support
• In-memory radix tree for IP lookups
• also more and less specific lookups for reverse
delegation domains
• Automatic access control
• separate accounting for public and contact data
• New version of NRTM protocol
9
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
Who will be affected ?
• Query users
• new query flags
• Update users
• new syntax rules
• new authorization rules
• Scripts
• new object format and syntax
• new/modified objects and attributes
• access control
• NRTM clients
• new software
• new version of the mirroring protocol
10
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
Transition timeline - Updates
Production
Prototype/Compatibility
RIPE181
Updates in RIPE-181
to <[email protected]>
Updates in RPE-181
to <[email protected]>
Updates in RPSL
to <[email protected]>
RPSL
TEST
Updates in RIPE-181
to <[email protected]>
Updates in RPSL
to <[email protected]>
Proposed dates:
Updates in RPSL
to <[email protected]>
Updates in RPSL
to <[email protected]>
Day X
X=23
April
DayMay
Y
Y=14
Z
Z=15Day
October
11
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
Transition timeline - Queries
Production
Prototype
RIPE-181
v2.x
Querying RIPE DB in RIPE-181
at whois.ripe.net :43
RPSL
v3.0
Querying RIPE DB in RPSL
at rpsl.ripe.net :43
Additional flags available
Querying RIPE DB in RPSL
at whois.ripe.net : 43
Additional flags available
Day X
12
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
Transition timeline - NRTM
Production
Prototype
RIPE181
v2.x
Mirroring RIPE DB in RIPE-181
at whois.ripe.net :43
RPSL
v3.0
Mirroring RIPE DB in RPSL
at rpsl.ripe.net :4444
Mirroring RIPE DB in RPSL
at whois.ripe.net : 4444
Day X
13
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
Prototype servers
• Near real-time mirror of the RIPE Database
• whois -h rpsl.ripe.net
• contains live RIPE Database in RPSL format
• Test server for submissions
• mail <[email protected]>
• whois -h rpsl.ripe.net -p 4343
• NRTM
• rpsl.ripe.net, port 4444
• discuss with <[email protected]>
14
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net
More Information
• RIPE-181 to RPSL Migration page
• http://www.ripe.net/rpsl
• Documentation
•
•
•
•
Transition to the RIPE DB v3.0
Whois Queries in the RIPE DB v3.0
Updates in the RIPE DB v3.0
Error codes in the RIPE DB v3.0
• Software
• New whois client
ftp://ftp.ripe.net/ripe/dbase/reimp/whoisRIP-1.0.tar.gz
• Server software v3.0
http://www.ripe.net/ripencc/pub-services/db/reimp/latestbeta.html
15
Andrei Robachevsky
.
NANOG 21, February 2001, Atlanta, GA
.
http://www.ripe.net