diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/domain-template.txt | 231 | ||||
-rwxr-xr-x | etc/megapop.pl | 116 | ||||
-rw-r--r-- | etc/sql-reserved-words.txt | 103 |
3 files changed, 450 insertions, 0 deletions
diff --git a/etc/domain-template.txt b/etc/domain-template.txt new file mode 100644 index 000000000..8e4983ce2 --- /dev/null +++ b/etc/domain-template.txt @@ -0,0 +1,231 @@ +[ URL ftp://rs.internic.net/templates/domain-template.txt ] [ 03/98 ] + +******* Please DO NOT REMOVE Version Number or Sections A-Q ******** + +Domain Version Number: 4.0 + +******* Email completed agreement to hostmaster@internic.net ******* + + NETWORK SOLUTIONS, INC. + + DOMAIN NAME REGISTRATION AGREEMENT + + +A. Introduction. This domain name registration agreement +("Registration Agreement") is submitted to NETWORK SOLUTIONS, INC. +("NSI") for the purpose of applying for and registering a domain name +on the Internet. If this Registration Agreement is accepted by NSI, +and a domain name is registered in NSI's domain name database and +assigned to the Registrant, Registrant ("Registrant") agrees to be +bound by the terms of this Registration Agreement and the terms of +NSI's Domain Name Dispute Policy ("Dispute Policy") which is +incorporated herein by reference and made a part of this Registration +Agreement. This Registration Agreement shall be accepted at the +offices of NSI. + +B. Fees and Payments. + +1) Registration or renewal (re-registration) date through March 31, 1998: +Registrant agrees to pay a registration fee of One Hundred United States +Dollars (US$100) as consideration for the registration of each new domain +name or Fifty United States Dollars (US$50) to renew (re-register) an +existing registration. +2) Registration or renewal date on and after April 1, 1998: Registrant +agrees to pay a registration fee of Seventy United States Dollars (US$70) +as consideration for the registration of each new domain name or the +applicable renewal (re-registration) fee (currently Thirty-Five United +States Dollars (US$35)) at the time of renewal (re-registration). +3) Period of Service: The non-refundable fee covers a period of two (2) +years for each new registration, and one (1) year for each renewal, +and includes any permitted modification(s) to the domain name record +during the covered period. +4) Payment: Payment is due to Network Solutions within thirty (30) +days from the date of the invoice. + +C. Dispute Policy. Registrant agrees, as a condition to +submitting this Registration Agreement, and if the Registration +Agreement is accepted by NSI, that the Registrant shall be bound by +NSI's current Dispute Policy. The current version of the Dispute +Policy may be found at the InterNIC Registration Services web site: +"http://www.netsol.com/rs/dispute-policy.html". + +D. Dispute Policy Changes or Modifications. Registrant agrees +that NSI, in its sole discretion, may change or modify the Dispute +Policy, incorporated by reference herein, at any time. Registrant +agrees that Registrant's maintaining the registration of a domain name +after changes or modifications to the Dispute Policy become effective +constitutes Registrant's continued acceptance of these changes or +modifications. Registrant agrees that if Registrant considers any such +changes or modifications to be unacceptable, Registrant may request +that the domain name be deleted from the domain name database. + +E. Disputes. Registrant agrees that, if the registration of its +domain name is challenged by any third party, the Registrant will be +subject to the provisions specified in the Dispute Policy. + +F. Agents. Registrant agrees that if this Registration Agreement +is completed by an agent for the Registrant, such as an ISP or +Administrative Contact/Agent, the Registrant is nonetheless bound as a +principal by all terms and conditions herein, including the Dispute +Policy. + +G. Limitation of Liability. Registrant agrees that NSI shall have +no liability to the Registrant for any loss Registrant may incur in +connection with NSI's processing of this Registration Agreement, in +connection with NSI's processing of any authorized modification to the +domain name's record during the covered period, as a result of the +Registrant's ISP's failure to pay either the initial registration fee +or renewal fee, or as a result of the application of the provisions of +the Dispute Policy. Registrant agrees that in no event shall the +maximum liability of NSI under this Agreement for any matter exceed +Five Hundred United States Dollars (US$500). + +H. Indemnity. Registrant agrees, in the event the Registration +Agreement is accepted by NSI and a subsequent dispute arises with any +third party, to indemnify and hold NSI harmless pursuant to the terms +and conditions contained in the Dispute Policy. + +I. Breach. Registrant agrees that failure to abide by any +provision of this Registration Agreement or the Dispute Policy may be +considered by NSI to be a material breach and that NSI may provide a +written notice, describing the breach, to the Registrant. If, within +thirty (30) days of the date of mailing such notice, the Registrant +fails to provide evidence, which is reasonably satisfactory to NSI, +that it has not breached its obligations, then NSI may delete +Registrant's registration of the domain name. Any such breach by a +Registrant shall not be deemed to be excused simply because NSI did +not act earlier in response to that, or any other, breach by the +Registrant. + +J. No Guaranty. Registrant agrees that, by registration of a +domain name, such registration does not confer immunity from objection +to either the registration or use of the domain name. + +K. Warranty. Registrant warrants by submitting this Registration +Agreement that, to the best of Registrant's knowledge and belief, the +information submitted herein is true and correct, and that any future +changes to this information will be provided to NSI in a timely manner +according to the domain name modification procedures in place at that +time. Breach of this warranty will constitute a material breach. + +L. Revocation. Registrant agrees that NSI may delete a +Registrant's domain name if this Registration Agreement, or subsequent +modification(s) thereto, contains false or misleading information, or +conceals or omits any information NSI would likely consider material +to its decision to approve this Registration Agreement. + +M. Right of Refusal. NSI, in its sole discretion, reserves the +right to refuse to approve the Registration Agreement for any +Registrant. Registrant agrees that the submission of this Registration +Agreement does not obligate NSI to accept this Registration Agreement. +Registrant agrees that NSI shall not be liable for loss or damages +that may result from NSI's refusal to accept this Registration +Agreement. + +N. Severability. Registrant agrees that the terms of this +Registration Agreement are severable. If any term or provision is +declared invalid, it shall not affect the remaining terms or +provisions which shall continue to be binding. + +O. Entirety. Registrant agrees that this Registration Agreement +and the Dispute Policy is the complete and exclusive agreement between +Registrant and NSI regarding the registration of Registrant's domain +name. This Registration Agreement and the Dispute Policy supersede all +prior agreements and understandings, whether established by custom, +practice, policy, or precedent. + +P. Governing Law. Registrant agrees that this Registration +Agreement shall be governed in all respects by and construed in +accordance with the laws of the Commonwealth of Virginia, United +States of America. By submitting this Registration Agreement, +Registrant consents to the exclusive jurisdiction and venue of the +United States District Court for the Eastern District of Virginia, +Alexandria Division. If there is no jurisdiction in the United States +District Court for the Eastern District of Virginia, Alexandria +Division, then jurisdiction shall be in the Circuit Court of Fairfax +County, Fairfax, Virginia. + +Q. This is Domain Name Registration Agreement Version +Number 4.0. This Registration Agreement is only for registrations +under top-level domains: COM, ORG, NET, and EDU. By completing +and submitting this Registration Agreement for consideration and +acceptance by NSI, the Registrant agrees that he/she has read and +agrees to be bound by A through P above. + + +Authorization +0a. (N)ew (M)odify (D)elete....:###action### +0b. Auth Scheme................: +0c. Auth Info..................: + +1. Comments...................:###purpose### + +2. Complete Domain Name.......:###domain### + +Organization Using Domain Name + +3a. Organization Name..........:###company### +###LOOP### +3b. Street Address.............:###address### +###ENDLOOP### +3c. City.......................:###city### +3d. State......................:###state### +3e. Postal Code................:###zip### +3f. Country....................:###country### + +Administrative Contact +4a. NIC Handle (if known)......: +4b. (I)ndividual (R)ole........:I +4c. Name (Last, First).........:###last###, ###first### +4d. Organization Name..........:###company### +###LOOP### +4e. Street Address.............:###address### +###ENDLOOP### +4f. City.......................:###city### +4g. State......................:###state### +4h. Postal Code................:###zip### +4i. Country....................:###country### +4j. Phone Number...............:###daytime### +4k. Fax Number.................:###fax### +4l. E-Mailbox..................:###email### + +Technical Contact +5a. NIC Handle (if known)......:###tech_contact### +5b. (I)ndividual (R)ole........: +5c. Name (Last, First).........: +5d. Organization Name..........: +5e. Street Address.............: +5f. City.......................: +5g. State......................: +5h. Postal Code................: +5i. Country....................: +5j. Phone Number...............: +5k. Fax Number.................: +5l. E-Mailbox..................: + +Billing Contact +6a. NIC Handle (if known)......: +6b. (I)ndividual (R)ole........: +6c. Name (Last, First).........: +6d. Organization Name..........: +6e. Street Address.............: +6f. City.......................: +6g. State......................: +6h. Postal Code................: +6i. Country....................: +6j. Phone Number...............: +6k. Fax Number.................: +6l. E-Mailbox..................: + +Prime Name Server +7a. Primary Server Hostname....:###primary### +7b. Primary Server Netaddress..:###primary_ip### + +Secondary Name Server(s) +###LOOP### +8a. Secondary Server Hostname..:###secondary### +8b. Secondary Server Netaddress:###secondary_ip### +###ENDLOOP### + +END OF AGREEMENT + diff --git a/etc/megapop.pl b/etc/megapop.pl new file mode 100755 index 000000000..b250bcdde --- /dev/null +++ b/etc/megapop.pl @@ -0,0 +1,116 @@ +#!/usr/bin/perl -Tw +# +# $Id: megapop.pl,v 1.1 1999-04-19 10:32:44 ivan Exp $ +# +# this will break when megapop changes the URL or format of their listing page. +# that's stupid. perhaps they can provide a machine-readable listing? + +use strict; +use LWP::UserAgent; +use FS::UID qw(adminsuidsetup); +use FS::svc_acct_pop; + +my $url = "http://www.megapop.com/location.htm"; + +my $user = shift or die &usage; +adminsuidsetup($user); + +my %state2usps = &state2usps; +$state2usps{'WASHINGTON STATE'} = 'WA'; #megapop's on crack +$state2usps{'CANADA'} = 'CANADA'; #freeside's on crack + +my $ua = new LWP::UserAgent; +my $request = new HTTP::Request('GET', $url); +my $response = $ua->request($request); +die $response->error_as_HTML unless $response->is_success; +my $line; +my $usps = ''; +foreach $line ( split("\n", $response->content) ) { + if ( $line =~ /\W(\w[\w\s]*\w)\s+LOCATIONS/i ) { + $usps = $state2usps{uc($1)} + or warn "warning: unknown state $1\n"; + } elsif ( $line =~ /(\d{3})\-(\d{3})\-(\d{4})\s+(\w[\w\s]*\w)/ ) { + print "$1 $2 $3 $4 $usps\n"; + my $svc_acct_pop = new FS::svc_acct_pop ( { + 'city' => $4, + 'state' => $usps, + 'ac' => $1, + 'exch' => $2, + } ); + my $error = $svc_acct_pop->insert; + die $error if $error; + } +} + +sub usage { + die "Usage:\n $0 user\n"; +} + +sub state2usps{ ( + 'ALABAMA' => 'AL', + 'ALASKA' => 'AK', + 'AMERICAN SAMOA' => 'AS', + 'ARIZONA' => 'AZ', + 'ARKANSAS' => 'AR', + 'CALIFORNIA' => 'CA', + 'COLORADO' => 'CO', + 'CONNECTICUT' => 'CT', + 'DELAWARE' => 'DE', + 'DISTRICT OF COLUMBIA' => 'DC', + 'FEDERATED STATES OF MICRONESIA' => 'FM', + 'FLORIDA' => 'FL', + 'GEORGIA' => 'GA', + 'GUAM' => 'GU', + 'HAWAII' => 'HI', + 'IDAHO' => 'ID', + 'ILLINOIS' => 'IL', + 'INDIANA' => 'IN', + 'IOWA' => 'IA', + 'KANSAS' => 'KS', + 'KENTUCKY' => 'KY', + 'LOUISIANA' => 'LA', + 'MAINE' => 'ME', + 'MARSHALL ISLANDS' => 'MH', + 'MARYLAND' => 'MD', + 'MASSACHUSETTS' => 'MA', + 'MICHIGAN' => 'MI', + 'MINNESOTA' => 'MN', + 'MISSISSIPPI' => 'MS', + 'MISSOURI' => 'MO', + 'MONTANA' => 'MT', + 'NEBRASKA' => 'NE', + 'NEVADA' => 'NV', + 'NEW HAMPSHIRE' => 'NH', + 'NEW JERSEY' => 'NJ', + 'NEW MEXICO' => 'NM', + 'NEW YORK' => 'NY', + 'NORTH CAROLINA' => 'NC', + 'NORTH DAKOTA' => 'ND', + 'NORTHERN MARIANA ISLANDS' => 'MP', + 'OHIO' => 'OH', + 'OKLAHOMA' => 'OK', + 'OREGON' => 'OR', + 'PALAU' => 'PW', + 'PENNSYLVANIA' => 'PA', + 'PUERTO RICO' => 'PR', + 'RHODE ISLAND' => 'RI', + 'SOUTH CAROLINA' => 'SC', + 'SOUTH DAKOTA' => 'SD', + 'TENNESSEE' => 'TN', + 'TEXAS' => 'TX', + 'UTAH' => 'UT', + 'VERMONT' => 'VT', + 'VIRGIN ISLANDS' => 'VI', + 'VIRGINIA' => 'VA', + 'WASHINGTON' => 'WA', + 'WEST VIRGINIA' => 'WV', + 'WISCONSIN' => 'WI', + 'WYOMING' => 'WY', + 'ARMED FORCES AFRICA' => 'AE', + 'ARMED FORCES AMERICAS' => 'AA', + 'ARMED FORCES CANADA' => 'AE', + 'ARMED FORCES EUROPE' => 'AE', + 'ARMED FORCES MIDDLE EAST' => 'AE', + 'ARMED FORCES PACIFIC' => 'AP', +) } + diff --git a/etc/sql-reserved-words.txt b/etc/sql-reserved-words.txt new file mode 100644 index 000000000..dc507cef5 --- /dev/null +++ b/etc/sql-reserved-words.txt @@ -0,0 +1,103 @@ +From http://epoch.cs.berkeley.edu:8000/sequoia/dba/montage/FAQ/SQL.html + by Jean Anderson (jta@postgres.berkeley.edu) + +What are the SQL reserved words? + +I grep'd the following list out of the sql docs available via anonymous ftp to speckle.ncsl.nist.gov:/isowg3. +SQL3 words are not set in stone, but you'd do well to avoid them. + + From sql1992.txt: + + AFTER, ALIAS, ASYNC, BEFORE, BOOLEAN, BREADTH, + COMPLETION, CALL, CYCLE, DATA, DEPTH, DICTIONARY, EACH, ELSEIF, + EQUALS, GENERAL, IF, IGNORE, LEAVE, LESS, LIMIT, LOOP, MODIFY, + NEW, NONE, OBJECT, OFF, OID, OLD, OPERATION, OPERATORS, OTHERS, + PARAMETERS, PENDANT, PREORDER, PRIVATE, PROTECTED, RECURSIVE, REF, + REFERENCING, REPLACE, RESIGNAL, RETURN, RETURNS, ROLE, ROUTINE, + ROW, SAVEPOINT, SEARCH, SENSITIVE, SEQUENCE, SIGNAL, SIMILAR, + SQLEXCEPTION, SQLWARNING, STRUCTURE, TEST, THERE, TRIGGER, TYPE, + UNDER, VARIABLE, VIRTUAL, VISIBLE, WAIT, WHILE, WITHOUT + + From sql1992.txt (Annex E): + + ABSOLUTE, ACTION, ADD, ALLOCATE, ALTER, ARE, ASSERTION, AT, BETWEEN, + BIT, BIT + +What are the SQL reserved words? + +I grep'd the following list out of the sql docs available via anonymous ftp to speckle.ncsl.nist.gov:/isowg3. +SQL3 words are not set in stone, but you'd do well to avoid them. + + From sql1992.txt: + + AFTER, ALIAS, ASYNC, BEFORE, BOOLEAN, BREADTH, + COMPLETION, CALL, CYCLE, DATA, DEPTH, DICTIONARY, EACH, ELSEIF, + EQUALS, GENERAL, IF, IGNORE, LEAVE, LESS, LIMIT, LOOP, MODIFY, + NEW, NONE, OBJECT, OFF, OID, OLD, OPERATION, OPERATORS, OTHERS, + PARAMETERS, PENDANT, PREORDER, PRIVATE, PROTECTED, RECURSIVE, REF, + REFERENCING, REPLACE, RESIGNAL, RETURN, RETURNS, ROLE, ROUTINE, + ROW, SAVEPOINT, SEARCH, SENSITIVE, SEQUENCE, SIGNAL, SIMILAR, + SQLEXCEPTION, SQLWARNING, STRUCTURE, TEST, THERE, TRIGGER, TYPE, + UNDER, VARIABLE, VIRTUAL, VISIBLE, WAIT, WHILE, WITHOUT + + From sql1992.txt (Annex E): + + ABSOLUTE, ACTION, ADD, ALLOCATE, ALTER, ARE, ASSERTION, AT, BETWEEN, + BIT, BIT + +What are the SQL reserved words? + +I grep'd the following list out of the sql docs available via anonymous ftp to speckle.ncsl.nist.gov:/isowg3. +SQL3 words are not set in stone, but you'd do well to avoid them. + + From sql1992.txt: + + AFTER, ALIAS, ASYNC, BEFORE, BOOLEAN, BREADTH, + COMPLETION, CALL, CYCLE, DATA, DEPTH, DICTIONARY, EACH, ELSEIF, + EQUALS, GENERAL, IF, IGNORE, LEAVE, LESS, LIMIT, LOOP, MODIFY, + NEW, NONE, OBJECT, OFF, OID, OLD, OPERATION, OPERATORS, OTHERS, + PARAMETERS, PENDANT, PREORDER, PRIVATE, PROTECTED, RECURSIVE, REF, + REFERENCING, REPLACE, RESIGNAL, RETURN, RETURNS, ROLE, ROUTINE, + ROW, SAVEPOINT, SEARCH, SENSITIVE, SEQUENCE, SIGNAL, SIMILAR, + SQLEXCEPTION, SQLWARNING, STRUCTURE, TEST, THERE, TRIGGER, TYPE, + UNDER, VARIABLE, VIRTUAL, VISIBLE, WAIT, WHILE, WITHOUT + + From sql1992.txt (Annex E): + + ABSOLUTE, ACTION, ADD, ALLOCATE, ALTER, ARE, ASSERTION, AT, BETWEEN, + BIT, BIT_LENGTH, BOTH, CASCADE, CASCADED, CASE, CAST, CATALOG, + CHAR_LENGTH, CHARACTER_LENGTH, COALESCE, COLLATE, COLLATION, COLUMN, + CONNECT, CONNECTION, CONSTRAINT, CONSTRAINTS, CONVERT, CORRESPONDING, + CROSS, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, CURRENT_USER, + DATE, DAY, DEALLOCATE, DEFERRABLE, DEFERRED, DESCRIBE, DESCRIPTOR, + DIAGNOSTICS, DISCONNECT, DOMAIN, DROP, ELSE, END-EXEC, EXCEPT, + EXCEPTION, EXECUTE, EXTERNAL, EXTRACT, FALSE, FIRST, FULL, GET, + GLOBAL, HOUR, IDENTITY, IMMEDIATE, INITIALLY, INNER, INPUT, + INSENSITIVE, INTERSECT, INTERVAL, ISOLATION, JOIN, LAST, LEADING, + LEFT, LEVEL, LOCAL, LOWER, MATCH, MINUTE, MONTH, NAMES, NATIONAL, + NATURAL, NCHAR, NEXT, NO, NULLIF, OCTET_LENGTH, ONLY, OUTER, OUTPUT, + OVERLAPS, PAD, PARTIAL, POSITION, PREPARE, PRESERVE, PRIOR, READ, + RELATIVE, RESTRICT, REVOKE, RIGHT, ROWS, SCROLL, SECOND, SESSION, + SESSION_USER, SIZE, SPACE, SQLSTATE, SUBSTRING, SYSTEM_USER, + TEMPORARY, THEN, TIME, TIMESTAMP, TIMEZONE_HOUR, TIMEZONE_MINUTE, + TRAILING, TRANSACTION, TRANSLATE, TRANSLATION, TRIM, TRUE, UNKNOWN, + UPPER, USAGE, USING, VALUE, VARCHAR, VARYING, WHEN, WRITE, YEAR, ZONE + + From sql3part2.txt (Annex E) + + ACTION, ACTOR, AFTER, ALIAS, ASYNC, ATTRIBUTES, BEFORE, BOOLEAN, + BREADTH, COMPLETION, CURRENT_PATH, CYCLE, DATA, DEPTH, DESTROY, + DICTIONARY, EACH, ELEMENT, ELSEIF, EQUALS, FACTOR, GENERAL, HOLD, + IGNORE, INSTEAD, LESS, LIMIT, LIST, MODIFY, NEW, NEW_TABLE, NO, + NONE, OFF, OID, OLD, OLD_TABLE, OPERATION, OPERATOR, OPERATORS, + PARAMETERS, PATH, PENDANT, POSTFIX, PREFIX, PREORDER, PRIVATE, + PROTECTED, RECURSIVE, REFERENCING, REPLACE, ROLE, ROUTINE, ROW, + SAVEPOINT, SEARCH, SENSITIVE, SEQUENCE, SESSION, SIMILAR, SPACE, + SQLEXCEPTION, SQLWARNING, START, STATE, STRUCTURE, SYMBOL, TERM, + TEST, THERE, TRIGGER, TYPE, UNDER, VARIABLE, VIRTUAL, VISIBLE, + WAIT, WITHOUT + + sql3part4.txt (ANNEX E): + + CALL, DO, ELSEIF, EXCEPTION, IF, LEAVE, LOOP, OTHERS, RESIGNAL, + RETURN, RETURNS, SIGNAL, TUPLE, WHILE |