summaryrefslogtreecommitdiff
path: root/data.h
blob: 243f90f7c521bb7b9372db140165d535345801b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/*
 * RIPE-like servers.
 * All of them do not understand -V2.0Md with the exception of RA and RIPN.
 */

/* servers which accept the new syntax (-V XXn.n) */
const char *ripe_servers[] = {
    "whois.ripe.net",
    "whois.apnic.net",
    "whois.afrinic.net",
    "rr.arin.net",		/* does not accept the old syntax */
    "whois.connect.com.au",	/* 3.0.0b1 */
    "whois.nic.fr",
    "whois.restena.lu",
    "rr.level3.net",		/* 3.0.0a13 */
    "whois.ripn.net",
    "whois.arnes.si",
    "whois.nic.ir",
    "whois.ra.net",
    "whois.bgpmon.net",
    NULL
};

const char *hide_strings[] = {
    "The data in Networksolutions.com's WHOIS database", NULL,
    /* Some registrars like .wang copied the first paragraph of this
     * disclaimer, so the detection here needs to be split in two parts. */
    "TERMS OF USE: You are not authorized", NULL,	/* crsnic */
    "The data in Register.com's WHOIS database", NULL,
    "The Data in the Tucows Registrar WHOIS database", NULL,
    "The data in NameSecure.com's WHOIS database", NULL,
    "The Data in Gabia's WHOIS database", NULL,
    "The data contained in GoDaddy.com", NULL,
    "Personal data access and use are governed by French", NULL, /* GANDI */
    "The data in this whois database is provided to you", NULL,	/* enom */
    "; Please register your domains at; http://www.", NULL, /* key-systems.net */
    "%% NOTICE: Access to this information is provided", NULL, /* bookmyname.com */
    "% NOTICE: Access to the domains information", NULL, /* CORE */
    "The Data in MarkMonitor.com's", NULL, /* MarkMonitor */
    "Corporation Service Company(c) (CSC)  The Trusted Partner", "Register your domain name at", /* CSC */
    "The data in Networksolutions.com's", NULL,		/* Networksolutions */
    "# Welcome to the OVH WHOIS Server", "", /* ovh */
    "TERMS OF USE OF MELBOURNE IT WHOIS DATABASE", NULL,
    "The data contained in this Registrar's Whois", NULL, /* wildwestdomains.com */
    "The data in the FastDomain Inc. WHOIS database", NULL,

    /* gTLDs */
    "Access to .AERO WHOIS information", "",
    "DotAsia WHOIS LEGAL STATEMENT", "integrity of the database.",
    "The .coop registry WHOIS", "VERIFICATION, NOR DO",
    "%% puntCAT Whois Server", "%% any time.",
    "This Registry database contains ONLY .EDU", "type: help",	/* edu */
    "Access to AFILIAS WHOIS information is provided", NULL,	/* .info */
    "mTLD WHOIS LEGAL STATEMENT", "integrity of the database.",	/* .mobi */
    "Access to Public Interest Registry WHOIS information", NULL, /* .org */
    "Access to .PRO REGISTRY WHOIS information", "",
    "Telnic, Ltd., the Registry Operator for .TEL", NULL,
    "Tralliance, Inc., the Registry Operator for .travel", NULL,
    "Access to .XXX ICM REGISTRY WHOIS", NULL,			/* .xxx */

    /* new gTLDs */
    "Terms of Use: Users accessing the Donuts WHOIS", NULL,
    "Terms of Use: Users accessing the United TLD WHOIS", NULL,
    "Access to WHOIS information is provided", NULL,		/* Afilias */
    "The  WHOIS information provided on this page", NULL, /* uniregistry.net */
    "The whois information provided on this site", "",	/* mm-registry.com */
    "; This data is provided by ", NULL,		/* ksregistry.net */
    "This whois service is provided by CentralNic Ltd", "",
    ".Club Domains, LLC, the Registry Operator", NULL,
    "% Except for agreed Internet operational purposes", NULL,	/* .berlin */
    "TERMS OF USE: The information in the Whois database", NULL, /* .wang */
    "The WHOIS service offered by Neustar, Inc, on behalf", NULL,
    "The WHOIS service offered by the Registry Operator", NULL, /* .science */

    /* ccTLDs */
    "Access to CCTLD WHOIS information is provided", "",	/* Afilias */
    "This WHOIS information is provided", NULL,			/* as */
    "% The WHOIS service offered by DNS Belgium", "",		/* be */
    "%   (c) 2015 NIC Costa Rica", "",				/* cr */
    "% The WHOIS service offered by EURid", "% of the database", /* eu */
    "Access to .IN WHOIS information", "",			/* in */
    "% WHOIS LEGAL STATEMENT AND TERMS & CONDITIONS", NULL,	/* sx */
    "; The data in the WHOIS database of KSregistry GmbH", "",	/* vg */
    "NeuStar, Inc., the Registry Administrator for .US", NULL,

    NULL, NULL
};

const char *nic_handles[] = {
    "net-",	"whois.arin.net",
    "netblk-",	"whois.arin.net",
    "poem-",	"whois.ripe.net",
    "form-",	"whois.ripe.net",
    "pgpkey-",	"whois.ripe.net",
    "denic-",	"whois.denic.de",
    /* RPSL objects */
    "as-",	"whois.ripe.net",
    "rs-",	"whois.ripe.net",
    "rtrs-",	"whois.ripe.net",
    "fltr-",	"whois.ripe.net",
    "prng-",	"whois.ripe.net",
    NULL,	NULL
};

struct ip_del {
    const unsigned long net;
    const unsigned long mask;
    const char         *serv;
};

const struct ip_del ip_assign[] = {
#include "ip_del_recovered.h"
#include "ip_del.h"
    { 0, 0, NULL }
};

struct ip6_del {
    const unsigned long  net;
    const unsigned short masklen;
    const char          *serv;
};

const struct ip6_del ip6_assign[] = {
#include "ip6_del.h"
    { 0, 0, NULL }
};

struct as_del {
    const unsigned short first;
    const unsigned short last;
    const char          *serv;
};

const struct as_del as_assign[] = {
#include "as_del.h"
    { 0, 0, NULL }
};

struct as32_del {
    const unsigned long first;
    const unsigned long last;
    const char         *serv;
};

const struct as32_del as32_assign[] = {
#include "as32_del.h"
    { 0, 0, NULL }
};

const char *new_gtlds[] = {
#include "new_gtlds.h"
    NULL
};

const char *tld_serv[] = {
#include "tld_serv.h"
    NULL,	NULL
};

const char *nic_handles_post[] = {
#include "nic_handles.h"
    NULL,	NULL
};

#ifdef HAVE_ICONV
struct server_charset {
    const char *name;
    const char *charset;
    const char *options;
};

const struct server_charset servers_charset[] = {
#include "servers_charset.h"
    { NULL, NULL, NULL }
};
#endif