~ubuntu-branches/ubuntu/oneiric/whois/oneiric

« back to all changes in this revision

Viewing changes to data.h

  • Committer: Bazaar Package Importer
  • Author(s): Marco d'Itri
  • Date: 2002-04-05 15:20:23 UTC
  • Revision ID: james.westby@ubuntu.com-20020405152023-p6xq7ohewpjofamy
Tags: 4.5.25
* Updated data for -H option.
* Updated .tk and .hr TLD servers (Closes: #140517).
* Updated mkpasswd (added --password-fd).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * RIPE-like servers.
 
3
 * All of them do not understand -V2.0Md with the exception of RA and RIPN.
 
4
 * 6bone-derived servers will accept the flag with a warning (the flag must
 
5
 * match /^V [a-zA-Z]{1,4}\d+[\d\.]{0,5}$/).
 
6
 */
 
7
 
 
8
/* servers which accept the new syntax (-V XXn.n) */
 
9
const char *ripe_servers[] = {
 
10
    "whois.ripe.net",
 
11
    "whois.apnic.net",
 
12
    "whois.oleane.net",
 
13
    "whois.denic.de",
 
14
    "rr.arin.net",              /* does not accept the old syntax */
 
15
    "whois.6bone.net",          /* 3.0.0b1 */
 
16
    "whois.aunic.net",
 
17
    "whois.connect.com.au",     /* 3.0.0b1 */
 
18
    "whois.nic.fr",
 
19
    "whois.telstra.net",
 
20
    "whois.nic.net.sg",
 
21
    "whois.metu.edu.tr",
 
22
    "whois.restena.lu",
 
23
    "rr.level3.net",            /* 3.0.0a13 */
 
24
    "whois.arnes.si",
 
25
    "www.registry.co.ug",
 
26
    "whois.nic.ir",
 
27
    NULL
 
28
};
 
29
 
 
30
/* servers which do not accept the new syntax */
 
31
const char *ripe_servers_old[] = {
 
32
    "whois.ra.net",
 
33
    "whois.nic.it",
 
34
    "whois.ans.net",
 
35
    "whois.cw.net",
 
36
    "whois.ripn.net",
 
37
    "whois.nic.ck",
 
38
    "whois.domain.kg",
 
39
    NULL
 
40
};
 
41
 
 
42
#if 0
 
43
const char *rwhois_servers[] = {
 
44
    "whois.isi.edu",            /* V-1.0B9.2 */
 
45
    "rwhois.rcp.net.pe",        /* V-1.5.3 */
 
46
    "ns.twnic.net",             /* V-1.0B9 */
 
47
    "dragon.seed.net.tw",       /* V-1.0B9.2 */
 
48
    NULL
 
49
};
 
50
#endif
 
51
 
 
52
const char *hide_strings[] = {
 
53
    "The Data in the VeriSign", "terms at any time.",
 
54
    "The data in Register", "By submitting",
 
55
    " The data contained in Dotster", "Please limit your",
 
56
    "This whois service currently only", "top-level domains.",
 
57
    "Signature Domains' Whois Service", "agree to abide by the above",
 
58
    "Access to ASNIC", "by this policy.",
 
59
    "* Copyright (C) 1998 by SGNIC", "* modification.",
 
60
    "The Data in Gabia", "you agree to abide",
 
61
    "NeuLevel, Inc., the Registry Operator", "whatsoever, you agree",
 
62
    "NOTICE: Access to .INFO WHOIS", "time. By submitting",
 
63
    "Disclaimer: The Global Name Registry", "for any commercial",
 
64
    "Access to America Online", "time. By accessing",
 
65
    "Access and use restricted", "http://www.icann", /* GANDI */
 
66
    NULL, NULL
 
67
};
 
68
 
 
69
const char *nic_handles[] = {
 
70
    "net-",     "whois.arin.net",
 
71
    "netblk-",  "whois.arin.net",
 
72
    "asn-",     "whois.arin.net",
 
73
    "lim-",     "whois.ripe.net",
 
74
    "coco-",    "whois.corenic.net",
 
75
    "coho-",    "whois.corenic.net",
 
76
    "core-",    "whois.corenic.net",
 
77
    "denic-",   "whois.denic.de",
 
78
    /* RPSL objects */
 
79
    "as-",      "whois.ripe.net",
 
80
    "rs-",      "whois.ripe.net",
 
81
    "rtrs-",    "whois.ripe.net",
 
82
    "fltr-",    "whois.ripe.net",
 
83
    "prng-",    "whois.ripe.net",
 
84
    NULL,       NULL
 
85
};
 
86
 
 
87
struct ip_del {
 
88
    unsigned long net;
 
89
    unsigned long mask;
 
90
    const char    *serv;
 
91
};
 
92
 
 
93
struct ip_del ip_assign[] = {
 
94
#include "ip_del.h"
 
95
    { 0, 0, NULL }
 
96
};
 
97
 
 
98
struct as_del {
 
99
    unsigned short first;
 
100
    unsigned short last;
 
101
    const char     *serv;
 
102
};
 
103
 
 
104
struct as_del as_assign[] = {
 
105
#include "as_del.h"
 
106
    { 0, 0, NULL }
 
107
};
 
108
 
 
109
const char *tld_serv[] = {
 
110
#include "tld_serv.h"
 
111
    NULL,       NULL
 
112
};
 
113