Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 1 New Version of the RIPE Database Andrei Robachevsky RIPE NCC
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 2 Outline Current status of the RIPE Database New database software RIPE Database migration
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 3 RIPE Database Status Contains IP allocations/assignments Domain registry Routing registry More than 4 Million objects 84% person, 11% inetnum, 0.66% route 6,700 updates/day Up to 1.5 Mqueries/day (15 queries/s) 38% IP addresses, 1% IP prefixes Up to 15% are denied
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 4 Distribution by object type (August 2001)
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 5 Queries reached 15 q/s average ( 35q/s max)
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 6 % of queries by object type
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 7 Updates 7 per min
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 8 Database Software v3 Functionality Architecture Performance
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan. 9 New version of the RIPE Database Supports RPSL (RFC2622) Extended syntax New objects and attributes Supports RPSS (RFC2725) New authorization rules Supports RAToolset RtConfig -protocol ripe Code is completely rewritten
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan RPSL features Provides rich syntax for expressing routing policies router configuration ready RPSL syntax extensions apply to all object types end of line comments line continuation order of attributes New objects as-block, as-set (as-macro), route-set (community) peering-set, filter-set, rtr-set New attributes member-of, mbrs-by-ref mnt-routes: [ rpsl list of prefixes | ANY] referral-by:
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Security features Provides strong security mechanisms Protection of individual objects Protection of IP address space Protection of ASN space Protection of route space Protection of set membership Protection of hierarchical set names Protection of domain object space 4 supported auth schemes GPG public keys are supported
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan New software Mainly in C, multithreaded CPU: 70% idle RDBMS as a back-end MySQL, customized transaction support In-memory radix tree for IP lookups also more and less specific lookups for reverse delegation domains MIME and GPG support correct PGP keys are also accepted Automatic access control separate accounting for public and contact data
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Server architecture RDBMS Core Server Update FE RDBMS Mirror Server NRTM clients Queue rules Message queues Syntax checks, acks, notifications queries
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Query Performance (I) Query rate, q/s # of concurrent clients V2 operational zone V3 operational zone V3 V2
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Query Performance (II) Response time, s # of concurrent clients V2 operational zone V3 operational zone V3 V2
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Transition phases Pre-migration period Conversion to RPSL Prototype servers Transition period 23 April: Migration Night RIPE-181 compatibility mode Finalizing the migration ftp site structure deprecating legacy stuff
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Pre-migration: RIPE181 -> RPSL Sets as-macro: => as-set: community: => route-set: RS- Reserved prefixes (RP) AS-, RS-, RTRS-, FLTR-, PRNG- mntner: - 9 cases, all resolved by the owners as-name: => ASN- Mandatory attribute: mnt-by (except dn, pn, ro) no mnt-by => mnt-by: RIPE-NCC-NONE-MNT no mnt-by (aut-num’s) => mnt-by: RIPE-NCC-AN-MNT New attribute: referral-by => referral-by: RIPE-DBM-MNT
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Pre-migration: 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 whois -h rpsl.ripe.net -p 4343 NRTM rpsl.ripe.net, port 4444 please contact
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Pre-migration: milestones April 5 ripe-dbase-3.0 release April 12 Advised mirrors’ switchover 4 servers switched to the RPSL mirror April 19 Migration if the TESTDatabase dress rehearsal of the migration
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Transition: Compatibility mode RIPE-181 updates can be sent to a separate mail robot automatically converted to RPSL PGP authentication cannot be used RPSL syntax rules empty attributes are not allowed optional -> mandatory no aliases no prefix notation
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Transition: issues Routing Policy System Security (RFC2725) new authorisation rules for route creation need to duplicate objects in the RIPE DB encompassing inetnum with NONE auth for mnt-routes as-blocks for non RIPE space with NONE auth for mnt-lower low level of security in non RIPE space still apply in RIPE-181 compatibility mode V2 undocumented features leading white space stripping correcting misspelled attributes filtering out empty attributes
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Transition timeline Updates in RIPE-181 to Updates in RPSL to Updates in RPE-181 to RIPE181 RPSL Production Prototype/Compatibility TEST Updates in RIPE-181 to Updates in RPSL to Updates in RPSL to Updates in RPSL to X=23 AprilY=14 MayZ=15 October
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan Future Plans Provide support for several platforms Solaris (SPARC & Intel) Linux (RedHat) FreeBSD New features DB and object schema/syntax, object library extensions to RFC2725 implementation
Andrei Robachevsky. 12th APNIC Open Plicy Meeting, August 2001, Taipei, Taiwan More Information RIPE-181 to RPSL Migration page Documentation RIPE Database Reference Manual RIPE Database User Manual (coming soon) RIPE Database Operation Manual (coming soon) Software New whois client ftp://ftp.ripe.net/tools/ripe-whois-3.0.tar.gz Server software v3 ftp://ftp.ripe.net/ripe/dbase/software/ripe-dbase tar.gz