From 6d3af40a958d3847456488393dc6e614e7c7cb5b Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Mon, 15 Nov 1999 00:59:07 +0100 Subject: Imported Debian version 4.4.1 --- data.h | 50 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 10 deletions(-) (limited to 'data.h') diff --git a/data.h b/data.h index 8ff202e..58ed638 100644 --- a/data.h +++ b/data.h @@ -1,17 +1,36 @@ -const char *ripeflags="acFLmMrRS"; -const char *ripeflagsp="gisTtv"; - +/* + * RIPE-like servers. + * All of them do not understand -V2.0Md with the exception of RA and RIPN. + * 6bone-like servers will accept the flag with a warning (the flag must + * match /^V [a-zA-Z]{1,4}\d+[\d\.]{0,5}$/). + */ const char *ripe_servers[] = { + /* will accept the new syntax (-V wp3.0) */ "whois.ripe.net", - "whois.ra.net", "whois.apnic.net", - "whois.mci.net", - "whois.isi.edu", + "whois.6bone.net", /* 3.0.0b1 */ + "whois.aunic.net", + "whois.connect.com.au", /* 3.0.0b1 */ + "whois.nic.fr", + "whois.nic.net.sg", + "whois.metu.edu.tr", + /* end of servers accepting new syntax */ "whois.nic.it", - "whois.6bone.net", "whois.ans.net", + "whois.ra.net", + "whois.ripn.net", + NULL +}; + +#if 0 +const char *rwhois_servers[] = { + "whois.isi.edu", /* V-1.0B9.2 */ + "rwhois.rcp.net.pe", /* V-1.5.3 */ + "ns.twnic.net", /* V-1.0B9 */ + "dragon.seed.net.tw", /* V-1.0B9.2 */ NULL }; +#endif const char *gtlds[] = { ".com", @@ -29,9 +48,9 @@ const char *arin_nets[] = { }; struct ip_del { - unsigned long int net; - unsigned long int mask; - const char *serv; + unsigned long net; + unsigned long mask; + const char *serv; }; struct ip_del ip_assign[] = { @@ -39,6 +58,17 @@ struct ip_del ip_assign[] = { { 0, 0, NULL } }; +struct as_del { + unsigned short first; + unsigned short last; + const char *serv; +}; + +struct as_del as_assign[] = { +#include "as_del.h" + { 0, 0, NULL } +}; + const char *tld_serv[] = { #include "tld_serv.h" NULL, NULL -- cgit v1.2.3