diff --git a/.rubocop.yml b/.rubocop.yml index 100e331cb..b1ceb5312 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -8,6 +8,7 @@ AllCops: - 'db/whois_schema.rb' - 'db/api_log_schema.rb' - 'db/migrate/*' + - 'db/data/*' # epp support files until 'complexity issues' will be solved - 'spec/support/epp.rb' - 'spec/support/epp_contact_xml_builder.rb' diff --git a/CHANGELOG.md b/CHANGELOG.md index c86af514c..da33768d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ 29.05.2015 +* Removed old 'iptables_counter_update_command' and added 'iptables_counter_enabled', please enable it. + +26.05.2015 + +* Added separate data update, all data migration locate at db/data, more info 'rake -T data' + +29.05.2015 + * Removed old 'iptables_counter_update_command' and added 'iptables_counter_enabled' * Updated deploy script, now staging comes from staging branch diff --git a/Gemfile b/Gemfile index 4776ba7ab..7a947bb76 100644 --- a/Gemfile +++ b/Gemfile @@ -71,7 +71,7 @@ gem 'digidoc_client', '~> 0.2.1' # epp gem 'epp', '~> 1.4.2', github: 'gitlabeu/epp' -gem 'epp-xml', '~> 0.10.4' # EPP XMLs +gem 'epp-xml', '~> 1.0.1' # EPP XMLs gem 'uuidtools', '~> 2.1.4' # For unique IDs (used by the epp gem) # for importing legacy db diff --git a/Gemfile.lock b/Gemfile.lock index f1e5e2863..dbc311d2e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -169,7 +169,7 @@ GEM nokogiri (>= 1.4.0) savon (>= 2.4.0) docile (1.1.5) - epp-xml (0.10.4) + epp-xml (1.0.1) activesupport (~> 4.1) builder (~> 3.2) equalizer (0.0.11) @@ -521,7 +521,7 @@ DEPENDENCIES devise (~> 3.4.1) digidoc_client (~> 0.2.1) epp (~> 1.4.2)! - epp-xml (~> 0.10.4) + epp-xml (~> 1.0.1) fabrication (~> 2.12.2) faker (~> 1.3.0) figaro (~> 1.1.0) diff --git a/app/controllers/epp_controller.rb b/app/controllers/epp_controller.rb index 3a5211de5..1c8f25323 100644 --- a/app/controllers/epp_controller.rb +++ b/app/controllers/epp_controller.rb @@ -1,4 +1,5 @@ class EppController < ApplicationController + include Iptable layout false protect_from_forgery with: :null_session skip_before_action :verify_authenticity_token @@ -285,6 +286,8 @@ class EppController < ApplicationController # rubocop: enable Metrics/CyclomaticComplexity def iptables_counter_update - `ENV['iptables_counter_update_command']` if ENV['iptables_counter_update_command'].present? + return if ENV['iptables_counter_enabled'].blank? && ENV['iptables_counter_enabled'] != 'true' + return if current_user.blank? + counter_update(current_user.registrar_code, request.remote_ip) end end diff --git a/app/models/api_user.rb b/app/models/api_user.rb index e12c3b7b8..3312de5d4 100644 --- a/app/models/api_user.rb +++ b/app/models/api_user.rb @@ -11,13 +11,16 @@ class ApiUser < User } end - # TODO: should have max request limit per day + # TODO: should have max request limit per day? belongs_to :registrar has_many :certificates validates :username, :password, :registrar, :roles, presence: true validates :username, uniqueness: true + # TODO: probably cache, because it's requested on every EPP + delegate :code, to: :registrar, prefix: true + attr_accessor :registrar_typeahead ROLES = %w(super epp billing) # should not match to admin roles diff --git a/app/models/depp/domain.rb b/app/models/depp/domain.rb index 857f74fb2..4a13d5ba5 100644 --- a/app/models/depp/domain.rb +++ b/app/models/depp/domain.rb @@ -192,10 +192,10 @@ module Depp end def construct_edit_hash(domain_params, old_domain_params) - contacts = create_contacts_hash(domain_params) - create_contacts_hash(old_domain_params) + contacts = array_difference(create_contacts_hash(domain_params), create_contacts_hash(old_domain_params)) add_anon = contacts - contacts = create_contacts_hash(old_domain_params) - create_contacts_hash(domain_params) + contacts = array_difference(create_contacts_hash(old_domain_params), create_contacts_hash(domain_params)) rem_anon = contacts if domain_params[:registrant] != old_domain_params[:registrant] @@ -284,6 +284,15 @@ module Depp pubKey: { value: key_data_params['public_key'] } } end + + def array_difference(x, y) + ret = x.dup + y.each do |element| + index = ret.index(element) + ret.delete_at(index) if index + end + ret + end end end end diff --git a/app/models/domain.rb b/app/models/domain.rb index 3355469f1..1a897e150 100644 --- a/app/models/domain.rb +++ b/app/models/domain.rb @@ -117,7 +117,7 @@ class Domain < ActiveRecord::Base validate :validate_nameserver_ips - attr_accessor :registrant_typeahead, :update_me, :deliver_emails, + attr_accessor :registrant_typeahead, :update_me, :deliver_emails, :epp_pending_update, :epp_pending_delete def subordinate_nameservers @@ -155,6 +155,10 @@ class Domain < ActiveRecord::Base self[:name_dirty] = value end + def roid + "EIS-#{id}" + end + def registrant_typeahead @registrant_typeahead || registrant.try(:name) || nil end @@ -250,7 +254,7 @@ class Domain < ActiveRecord::Base def validate_period return unless period.present? if period_unit == 'd' - valid_values = %w(365 366 710 712 1065 1068) + valid_values = %w(365 730 1095) elsif period_unit == 'm' valid_values = %w(12 24 36) else diff --git a/app/views/epp/contacts/check.xml.builder b/app/views/epp/contacts/check.xml.builder index 4df3597e3..efa5ae231 100644 --- a/app/views/epp/contacts/check.xml.builder +++ b/app/views/epp/contacts/check.xml.builder @@ -15,6 +15,6 @@ xml.epp_head do end end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/contacts/create.xml.builder b/app/views/epp/contacts/create.xml.builder index 85f5f50c1..da48d780c 100644 --- a/app/views/epp/contacts/create.xml.builder +++ b/app/views/epp/contacts/create.xml.builder @@ -7,10 +7,10 @@ xml.epp_head do xml.resData do xml.tag!('contact:creData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do xml.tag!('contact:id', @contact.code) - xml.tag!('contact:crDate', @contact.created_at) + xml.tag!('contact:crDate', @contact.created_at.try(:iso8601)) end end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/contacts/delete.xml.builder b/app/views/epp/contacts/delete.xml.builder index 4490335a9..a111f92d0 100644 --- a/app/views/epp/contacts/delete.xml.builder +++ b/app/views/epp/contacts/delete.xml.builder @@ -4,6 +4,6 @@ xml.epp_head do xml.msg 'Command completed successfully' end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/contacts/info.xml.builder b/app/views/epp/contacts/info.xml.builder index cdec58fe2..82edd64b8 100644 --- a/app/views/epp/contacts/info.xml.builder +++ b/app/views/epp/contacts/info.xml.builder @@ -28,11 +28,11 @@ xml.epp_head do end xml.tag!('contact:clID', @contact.registrar.try(:name)) - xml.tag!('contact:crID', @contact.creator.try(:registrar)) - xml.tag!('contact:crDate', @contact.created_at) + xml.tag!('contact:crID', @contact.creator.try(:registrar)) + xml.tag!('contact:crDate', @contact.created_at.try(:iso8601)) if @contact.updated_at != @contact.created_at xml.tag!('contact:upID', @contact.updator.try(:registrar)) - xml.tag!('contact:upDate', @contact.updated_at) + xml.tag!('contact:upDate', @contact.updated_at.try(:iso8601)) end # xml.tag!('contact:trDate', '123') if false if can? :view_password, @contact, @password @@ -49,12 +49,12 @@ xml.epp_head do if can? :view_full_info, @contact, @password xml.tag!('extension') do xml.tag!('eis:extdata', 'xmlns:eis' => 'urn:ee:eis:xml:epp:eis-1.0') do - xml.tag!('eis:ident', @contact.ident, + xml.tag!('eis:ident', @contact.ident, type: @contact.ident_type, cc: @contact.ident_country_code) end end end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/contacts/update.xml.builder b/app/views/epp/contacts/update.xml.builder index 85f5f50c1..da48d780c 100644 --- a/app/views/epp/contacts/update.xml.builder +++ b/app/views/epp/contacts/update.xml.builder @@ -7,10 +7,10 @@ xml.epp_head do xml.resData do xml.tag!('contact:creData', 'xmlns:contact' => 'urn:ietf:params:xml:ns:contact-1.0') do xml.tag!('contact:id', @contact.code) - xml.tag!('contact:crDate', @contact.created_at) + xml.tag!('contact:crDate', @contact.created_at.try(:iso8601)) end end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/domains/check.xml.builder b/app/views/epp/domains/check.xml.builder index 2a6398b15..6bfc382a3 100644 --- a/app/views/epp/domains/check.xml.builder +++ b/app/views/epp/domains/check.xml.builder @@ -15,6 +15,6 @@ xml.epp_head do end end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/domains/create.xml.builder b/app/views/epp/domains/create.xml.builder index ada6b7362..ba6661504 100644 --- a/app/views/epp/domains/create.xml.builder +++ b/app/views/epp/domains/create.xml.builder @@ -7,11 +7,11 @@ xml.epp_head do xml.resData do xml.tag!('domain:creData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do xml.tag!('domain:name', @domain.name) - xml.tag!('domain:crDate', @domain.created_at) - xml.tag!('domain:exDate', @domain.valid_to) + xml.tag!('domain:crDate', @domain.created_at.try(:iso8601)) + xml.tag!('domain:exDate', @domain.valid_to.try(:iso8601)) end end - end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) + end end diff --git a/app/views/epp/domains/info.xml.builder b/app/views/epp/domains/info.xml.builder index 22b352dfb..ad1db1cb2 100644 --- a/app/views/epp/domains/info.xml.builder +++ b/app/views/epp/domains/info.xml.builder @@ -7,6 +7,7 @@ xml.epp_head do xml.resData do xml.tag!('domain:infData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do xml.tag!('domain:name', @domain.name) + xml.tag!('domain:roid', @domain.roid) @domain.domain_statuses.each do |ds| xml.tag!('domain:status', ds.description, 's' => ds.value) unless ds.description.blank? xml.tag!('domain:status', 's' => ds.value) if ds.description.blank? @@ -38,17 +39,17 @@ xml.epp_head do xml.tag!('domain:clID', @domain.registrar_name) - xml.tag!('domain:crID', @domain.creator.try(:registrar)) + xml.tag!('domain:crID', @domain.creator.try(:registrar)) if @domain.creator - xml.tag!('domain:crDate', @domain.created_at) + xml.tag!('domain:crDate', @domain.created_at.try(:iso8601)) - xml.tag!('domain:exDate', @domain.valid_to) + xml.tag!('domain:upDate', @domain.updated_at.try(:iso8601)) if @domain.updated_at != @domain.created_at + + xml.tag!('domain:exDate', @domain.valid_to.try(:iso8601)) # TODO Make domain stampable #xml.tag!('domain:upID', @domain.updated_by) - xml.tag!('domain:upDate', @domain.updated_at) if @domain.updated_at != @domain.created_at - # TODO Make domain transferrable #xml.tag!('domain:trDate', @domain.transferred_at) if @domain.transferred_at @@ -59,26 +60,26 @@ xml.epp_head do end end end - end - xml.extension do - xml.tag!('secDNS:infData', 'xmlns:secDNS' => 'urn:ietf:params:xml:ns:secDNS-1.1') do - @domain.dnskeys.sort.each do |key| - xml.tag!('secDNS:dsData') do - xml.tag!('secDNS:keyTag', key.ds_key_tag) - xml.tag!('secDNS:alg', key.ds_alg) - xml.tag!('secDNS:digestType', key.ds_digest_type) - xml.tag!('secDNS:digest', key.ds_digest) - xml.tag!('secDNS:keyData') do - xml.tag!('secDNS:flags', key.flags) - xml.tag!('secDNS:protocol', key.protocol) - xml.tag!('secDNS:alg', key.alg) - xml.tag!('secDNS:pubKey', key.public_key) + xml.extension do + xml.tag!('secDNS:infData', 'xmlns:secDNS' => 'urn:ietf:params:xml:ns:secDNS-1.1') do + @domain.dnskeys.sort.each do |key| + xml.tag!('secDNS:dsData') do + xml.tag!('secDNS:keyTag', key.ds_key_tag) + xml.tag!('secDNS:alg', key.ds_alg) + xml.tag!('secDNS:digestType', key.ds_digest_type) + xml.tag!('secDNS:digest', key.ds_digest) + xml.tag!('secDNS:keyData') do + xml.tag!('secDNS:flags', key.flags) + xml.tag!('secDNS:protocol', key.protocol) + xml.tag!('secDNS:alg', key.alg) + xml.tag!('secDNS:pubKey', key.public_key) + end end end end - end - end if @domain.dnskeys.any? + end if @domain.dnskeys.any? - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) + end end diff --git a/app/views/epp/domains/partials/_transfer.xml.builder b/app/views/epp/domains/partials/_transfer.xml.builder index 893cd7c2e..39f9b147f 100644 --- a/app/views/epp/domains/partials/_transfer.xml.builder +++ b/app/views/epp/domains/partials/_transfer.xml.builder @@ -2,8 +2,8 @@ builder.tag!('domain:trnData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain- builder.tag!('domain:name', dt.domain_name) builder.tag!('domain:trStatus', dt.status) builder.tag!('domain:reID', dt.transfer_to.code) - builder.tag!('domain:reDate', dt.transfer_requested_at) + builder.tag!('domain:reDate', dt.transfer_requested_at.try(:iso8601)) builder.tag!('domain:acID', dt.transfer_from.code) - builder.tag!('domain:acDate', dt.transferred_at || dt.wait_until) - builder.tag!('domain:exDate', dt.domain_valid_to) + builder.tag!('domain:acDate', dt.transferred_at.try(:iso8601) || dt.wait_until.try(:iso8601)) + builder.tag!('domain:exDate', dt.domain_valid_to.try(:iso8601)) end diff --git a/app/views/epp/domains/renew.xml.builder b/app/views/epp/domains/renew.xml.builder index 34484b096..ea2192c18 100644 --- a/app/views/epp/domains/renew.xml.builder +++ b/app/views/epp/domains/renew.xml.builder @@ -7,10 +7,10 @@ xml.epp_head do xml.resData do xml.tag!('domain:renData', 'xmlns:domain' => 'urn:ietf:params:xml:ns:domain-1.0') do xml.tag!('domain:name', @domain[:name]) - xml.tag!('domain:exDate', @domain.valid_to) + xml.tag!('domain:exDate', @domain.valid_to.try(:iso8601)) end end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/domains/success.xml.builder b/app/views/epp/domains/success.xml.builder index a8bfe162f..a111f92d0 100644 --- a/app/views/epp/domains/success.xml.builder +++ b/app/views/epp/domains/success.xml.builder @@ -3,7 +3,7 @@ xml.epp_head do xml.result('code' => '1000') do xml.msg 'Command completed successfully' end - end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) + end end diff --git a/app/views/epp/domains/success_pending.xml.builder b/app/views/epp/domains/success_pending.xml.builder index 3d1783009..e7c52f970 100644 --- a/app/views/epp/domains/success_pending.xml.builder +++ b/app/views/epp/domains/success_pending.xml.builder @@ -3,7 +3,6 @@ xml.epp_head do xml.result('code' => '1001') do xml.msg 'Command completed successfully; action pending' end + render('epp/shared/trID', builder: xml) end - - xml << render('/epp/shared/trID') end diff --git a/app/views/epp/domains/transfer.xml.builder b/app/views/epp/domains/transfer.xml.builder index bea166939..59fffc852 100644 --- a/app/views/epp/domains/transfer.xml.builder +++ b/app/views/epp/domains/transfer.xml.builder @@ -7,7 +7,7 @@ xml.epp_head do xml.resData do xml << render('epp/domains/partials/transfer', builder: xml, dt: @domain_transfer) end - end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) + end end diff --git a/app/views/epp/error.xml.builder b/app/views/epp/error.xml.builder index 718440bd7..796856f4c 100644 --- a/app/views/epp/error.xml.builder +++ b/app/views/epp/error.xml.builder @@ -20,7 +20,6 @@ xml.epp_head do end end + render('epp/shared/trID', builder: xml) end - - xml << render('/epp/shared/trID') end diff --git a/app/views/epp/poll/poll_ack.xml.builder b/app/views/epp/poll/poll_ack.xml.builder index 3ba104dcd..05ea8b8d0 100644 --- a/app/views/epp/poll/poll_ack.xml.builder +++ b/app/views/epp/poll/poll_ack.xml.builder @@ -6,6 +6,6 @@ xml.epp_head do xml.tag!('msgQ', 'count' => current_user.queued_messages.count, 'id' => @message.id) - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/poll/poll_keyrelay.xml.builder b/app/views/epp/poll/poll_keyrelay.xml.builder index 049b0bf39..5b037702a 100644 --- a/app/views/epp/poll/poll_keyrelay.xml.builder +++ b/app/views/epp/poll/poll_keyrelay.xml.builder @@ -11,7 +11,7 @@ xml.epp( end xml.tag!('msgQ', 'count' => current_user.queued_messages.count, 'id' => @message.id) do - xml.qDate @message.created_at + xml.qDate @message.created_at.try(:iso8601) xml.msg @message.body end @@ -19,7 +19,7 @@ xml.epp( xml.tag!('keyrelay:response') do xml.tag!('keyrelay:panData') do xml.tag!('keyrelay:name', @object.domain_name) - xml.tag!('keyrelay:paDate', @object.pa_date) + xml.tag!('keyrelay:paDate', @object.pa_date.try(:iso8601)) xml.tag!('keyrelay:keyData') do xml.tag!('secDNS:flags', @object.key_data_flags) @@ -44,6 +44,6 @@ xml.epp( end end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/poll/poll_no_messages.xml.builder b/app/views/epp/poll/poll_no_messages.xml.builder index 1e57a1216..b48b8cef5 100644 --- a/app/views/epp/poll/poll_no_messages.xml.builder +++ b/app/views/epp/poll/poll_no_messages.xml.builder @@ -4,6 +4,6 @@ xml.epp_head do xml.msg 'Command completed successfully; no messages' end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/poll/poll_req.xml.builder b/app/views/epp/poll/poll_req.xml.builder index f839670a3..347f0a632 100644 --- a/app/views/epp/poll/poll_req.xml.builder +++ b/app/views/epp/poll/poll_req.xml.builder @@ -5,7 +5,7 @@ xml.epp_head do end xml.tag!('msgQ', 'count' => current_user.queued_messages.count, 'id' => @message.id) do - xml.qDate @message.created_at + xml.qDate @message.created_at.try(:iso8601) xml.msg @message.body end @@ -15,6 +15,6 @@ xml.epp_head do end end if @object - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/sessions/login_fail.xml.builder b/app/views/epp/sessions/login_fail.xml.builder index a76057270..5e2e99162 100644 --- a/app/views/epp/sessions/login_fail.xml.builder +++ b/app/views/epp/sessions/login_fail.xml.builder @@ -3,7 +3,7 @@ xml.epp_head do xml.result('code' => '2501') do xml.msg(@msg || 'Authentication error; server closing connection') end - end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) + end end diff --git a/app/views/epp/sessions/login_success.xml.builder b/app/views/epp/sessions/login_success.xml.builder index 4490335a9..a111f92d0 100644 --- a/app/views/epp/sessions/login_success.xml.builder +++ b/app/views/epp/sessions/login_success.xml.builder @@ -4,6 +4,6 @@ xml.epp_head do xml.msg 'Command completed successfully' end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) end end diff --git a/app/views/epp/sessions/logout.xml.builder b/app/views/epp/sessions/logout.xml.builder index 917481a7e..5bf1f8873 100644 --- a/app/views/epp/sessions/logout.xml.builder +++ b/app/views/epp/sessions/logout.xml.builder @@ -3,7 +3,7 @@ xml.epp_head do xml.result('code' => '1500') do xml.msg 'Command completed successfully; ending session' end - end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) + end end diff --git a/app/views/epp/shared/_trID.xml.builder b/app/views/epp/shared/_trID.xml.builder index 995c27c05..ace7b1beb 100644 --- a/app/views/epp/shared/_trID.xml.builder +++ b/app/views/epp/shared/_trID.xml.builder @@ -1,4 +1,5 @@ -xml.trID do - xml.clTRID params[:clTRID] if params[:clTRID].present? - xml.svTRID @svTRID +# builder ||= xml +builder.trID do + builder.clTRID params[:clTRID] if params[:clTRID].present? + builder.svTRID @svTRID end diff --git a/app/views/epp/shared/success.xml.builder b/app/views/epp/shared/success.xml.builder index a8bfe162f..a111f92d0 100644 --- a/app/views/epp/shared/success.xml.builder +++ b/app/views/epp/shared/success.xml.builder @@ -3,7 +3,7 @@ xml.epp_head do xml.result('code' => '1000') do xml.msg 'Command completed successfully' end - end - xml << render('/epp/shared/trID') + render('epp/shared/trID', builder: xml) + end end diff --git a/config/application-example.yml b/config/application-example.yml index 050216cee..5296f9f9d 100644 --- a/config/application-example.yml +++ b/config/application-example.yml @@ -30,8 +30,8 @@ webclient_cert_common_name: 'webclient' # and returns 2306 "Parameter value policy error" contact_org_enabled: 'false' -# Firewall countrer update command -# iptables_counter_update_command: '' +# Enable iptables counter updater +# iptables_counter_enabled: 'true' # DEPP server configuration (both for Registrar/Registrant servers) show_ds_data_fields: 'false' diff --git a/doc/debian_build_doc.md b/doc/debian_build_doc.md index c2d40f56c..27792b2ce 100644 --- a/doc/debian_build_doc.md +++ b/doc/debian_build_doc.md @@ -42,8 +42,7 @@ Please install following lib, otherwise your bundler install might not be succes ### Firewall rate limit config -First increase the maximum possible value for the hitcount parameter -from its default value of 20 by setting the option +First increase the maximum possible value form 20 to 100 of the hitcount parameter. ip_pkt_list_tot of the xt_recent kernel module. This can be done by creating an ip_pkt_list_tot.conf file in /etc/modeprobe.d/ which contains: @@ -53,7 +52,6 @@ options xt_recent ip_pkt_list_tot=100 Once the file is created, reload the xt_recent kernel module via modprobe -r xt_recent && modprobe xt_recent or reboot the system. - #### Registrar, REPP, Restful-whois ```` @@ -70,22 +68,6 @@ $IPT -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --set $IPT -A INPUT -p tcp --dport 80 -i eth0 -m state --state NEW -m recent --rcheck --seconds ${SECONDS} --hitcount ${BLOCKCOUNT} -j ${DACTION} ```` -#### EPP - -```` -#!/bin/bash -# Inspired and credits to Vivek Gite: http://www.cyberciti.biz/faq/iptables-connection-limits-howto/ -IPT=/sbin/iptables -# Max connection in seconds -SECONDS=60 -# Max connections per IP -BLOCKCOUNT=100 -# default action can be DROP or REJECT or something else. -DACTION="REJECT" -$IPT -A INPUT -p tcp --dport 700 -i eth0 -m state --state NEW -m recent --set -$IPT -A INPUT -p tcp --dport 700 -i eth0 -m state --state NEW -m recent --rcheck --seconds ${SECONDS} --hitcount ${BLOCKCOUNT} -j ${DACTION} -```` - #### Whois ```` @@ -102,3 +84,30 @@ $IPT -A INPUT -p tcp --dport 43 -i eth0 -m state --state NEW -m recent --set $IPT -A INPUT -p tcp --dport 43 -i eth0 -m state --state NEW -m recent --rcheck --seconds ${SECONDS} --hitcount ${BLOCKCOUNT} -j ${DACTION} ```` +#### EPP + +Iptables hitcounter is updated by application. + +```` +#!/bin/bash +# Inspired and credits to Vivek Gite: http://www.cyberciti.biz/faq/iptables-connection-limits-howto/ +IPT=/sbin/iptables +# Registrar handler +REGISTRAR_CODE="test" +# Max connection in seconds +SECONDS=60 +# Max connections per IP +BLOCKCOUNT=100 +# default action can be DROP or REJECT or something else. +DACTION="REJECT" +$IPT -A INPUT -p tcp --dport 700 -i eth0 -m state --state NEW -m recent --set +$IPT -A INPUT -p tcp --dport 700 -m recent --name $REGISTRAR_CODE --rdest --rcheck --hitcount ${BLOCKCOUNT} --seconds ${SECONDS} -j ${DACTION} +```` + +After adding iptable counters, please add correct permissions to proc files at path /proc/net/xt_recent + +Example command: + +```` +sudo chown registry /proc/net/xt_recent/* +```` diff --git a/doc/epp-examples.md b/doc/epp-examples.md index df906d509..4d7192332 100644 --- a/doc/epp-examples.md +++ b/doc/epp-examples.md @@ -1,6 +1,6 @@ # EPP REQUEST - RESPONSE EXAMPLES -GENERATED AT: 2015-04-02 12:30:35 +0300 -EXAMPLE COUNT: 125 +GENERATED AT: 2015-05-27 10:43:23 UTC +EXAMPLE COUNT: 159 --- @@ -42,10 +42,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-1233952216 - + + ABC-12345 + ccReg-1585073425 + ``` @@ -96,11 +96,11 @@ RESPONSE: Required parameter missing: extension > extdata > ident [ident] + + ABC-12345 + ccReg-5715688008 + - - ABC-12345 - ccReg-3287526489 - ``` @@ -149,14 +149,14 @@ RESPONSE: - 8785c682 - 2015-04-02 09:30:37 UTC + FIRST0:34DF69A9 + 2015-05-27 10:43:25 UTC - - ABC-12345 - ccReg-2395064431 - + + ABC-12345 + ccReg-8051171569 + ``` @@ -206,14 +206,14 @@ RESPONSE: - 323ba226 - 2015-04-02 09:30:37 UTC + FIRST0:336265E0 + 2015-05-27 10:43:25 UTC - - ABC-12345 - ccReg-8997416744 - + + ABC-12345 + ccReg-5199925447 + ``` @@ -263,14 +263,14 @@ RESPONSE: - 391df6a8 - 2015-04-02 09:30:37 UTC + FIRST0:C852640B + 2015-05-27 10:43:25 UTC - - ABC-12345 - ccReg-7132910453 - + + ABC-12345 + ccReg-7518097746 + ``` @@ -320,19 +320,19 @@ RESPONSE: - 1eaf1950 - 2015-04-02 09:30:37 UTC + FIRST0:03344A72 + 2015-05-27 10:43:25 UTC - - ABC-12345 - ccReg-6618133267 - + + ABC-12345 + ccReg-3037699624 + ``` -### EPP Contact with valid user create command successfully saves custom code +### EPP Contact with valid user create command should add registrar prefix for code when missing REQUEST: @@ -353,7 +353,7 @@ REQUEST: +372.1234567 test@example.example - 12345 + abc12345 @@ -378,14 +378,414 @@ RESPONSE: - registrar1:12345 - 2015-04-02 09:30:37 UTC + FIRST0:ABC12345 + 2015-05-27 10:43:25 UTC - - ABC-12345 - ccReg-2453380772 - + + ABC-12345 + ccReg-2425066108 + + + +``` + +### EPP Contact with valid user create command should add registrar prefix for code when missing + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + 123456 + EE + + + +372.1234567 + test@example.example + abc:ABC:12345 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:ABC:ABC:12345 + 2015-05-27 10:43:25 UTC + + + + ABC-12345 + ccReg-9903302869 + + + +``` + +### EPP Contact with valid user create command should not allow spaces in custom code + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + 123456 + EE + + + +372.1234567 + test@example.example + abc 123 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + is invalid [code] + + + ABC-12345 + ccReg-2339768655 + + + +``` + +### EPP Contact with valid user create command should add registrar prefix for code when legacy prefix present + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + 123456 + EE + + + +372.1234567 + test@example.example + CID:FIRST0:abc:ABC:NEW:12345 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:CID:FIRST0:ABC:ABC:NEW:12345 + 2015-05-27 10:43:25 UTC + + + + ABC-12345 + ccReg-6869800314 + + + +``` + +### EPP Contact with valid user create command should not remove suffix CID + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + 123456 + EE + + + +372.1234567 + test@example.example + CID:FIRST0:abc:CID:ABC:NEW:12345 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:CID:FIRST0:ABC:CID:ABC:NEW:12345 + 2015-05-27 10:43:25 UTC + + + + ABC-12345 + ccReg-5110224581 + + + +``` + +### EPP Contact with valid user create command should not add registrar prefix for code when prefix present + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + 123456 + EE + + + +372.1234567 + test@example.example + FIRST0:abc22 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:ABC22 + 2015-05-27 10:43:25 UTC + + + + ABC-12345 + ccReg-3526845166 + + + +``` + +### EPP Contact with valid user create command should add registrar prefix for code does not match exactly to prefix + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + 123456 + EE + + + +372.1234567 + test@example.example + cid2:first0:abc:ABC:11111 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:CID2:FIRST0:ABC:ABC:11111 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-3943735784 + + + +``` + +### EPP Contact with valid user create command should ignore custom code when only contact prefix given + +REQUEST: + +```xml + + + + + + + John Doe + + 123 Example + Tallinn + 123456 + EE + + + +372.1234567 + test@example.example + CID:FIRST0 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:CID:FIRST0 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-3812376837 + ``` @@ -436,14 +836,14 @@ RESPONSE: - 9a8b4708 - 2015-04-02 09:30:37 UTC + FIRST0:FCCE0C37 + 2015-05-27 10:43:26 UTC - - ABC-12345 - ccReg-8583394129 - + + ABC-12345 + ccReg-6490804956 + ``` @@ -493,14 +893,14 @@ RESPONSE: - 92af8b59 - 2015-04-02 09:30:37 UTC + FIRST0:1752FB11 + 2015-05-27 10:43:26 UTC - - ABC-12345 - ccReg-4962506701 - + + ABC-12345 + ccReg-4664789940 + ``` @@ -549,11 +949,11 @@ RESPONSE: Parameter value policy error. Org must be blank: postalInfo > org [org] + + ABC-12345 + ccReg-2217323355 + - - ABC-12345 - ccReg-9648398992 - ``` @@ -601,11 +1001,11 @@ RESPONSE: Parameter value policy error. Fax must be blank: fax [fax] + + ABC-12345 + ccReg-2596146301 + - - ABC-12345 - ccReg-5762592386 - ``` @@ -637,14 +1037,11 @@ RESPONSE: Required parameter missing: update > update > id [id] - - Required parameter missing: update > update > authInfo > pw [pw] - + + ABC-12345 + ccReg-5177160774 + - - ABC-12345 - ccReg-5502832054 - ``` @@ -695,14 +1092,14 @@ RESPONSE: Object does not exist - not-exists + NOT-EXISTS + + ABC-12345 + ccReg-1486161642 + - - ABC-12345 - ccReg-6358984822 - ``` @@ -716,7 +1113,7 @@ REQUEST: - sh8013 + FIRST0:SH8013 password @@ -755,19 +1152,65 @@ RESPONSE: - sh8013 - 2015-04-02 09:30:37 UTC + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC - - ABC-12345 - ccReg-9896533575 - + + ABC-12345 + ccReg-1514698242 + ``` -### EPP Contact with valid user update command fails with wrong authentication info +### EPP Contact with valid user update command is succesful for own contact without password + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + + John Doe Edited + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-0772549072 + + + +``` + +### EPP Contact with valid user update command should update other contact with correct password REQUEST: @@ -807,10 +1250,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-7879674966 - + + ABC-12345 + ccReg-3877274588 + ``` @@ -823,7 +1266,7 @@ REQUEST: - sh8013 + FIRST0:SH8013 password @@ -857,14 +1300,20 @@ RESPONSE: - - Authorization error + + Command completed successfully + + + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-0346588044 + - - ABC-12345 - ccReg-9497399081 - ``` @@ -906,10 +1355,142 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-2756467450 - + + ABC-12345 + ccReg-1836171811 + + + +``` + +### EPP Contact with valid user update command should not update other contact without password + +REQUEST: + +```xml + + + + + registrar2 + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-3673815346 + + + +``` + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + + John Doe Edited + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authorization error + + + ABC-12345 + ccReg-0819879826 + + + +``` + +REQUEST: + +```xml + + + + + registrar1 + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-3607963168 + ``` @@ -924,7 +1505,7 @@ REQUEST: - sh8013 + FIRST0:SH8013 password @@ -964,11 +1545,11 @@ RESPONSE: Email is invalid [email] + + ABC-12345 + ccReg-2845722155 + - - ABC-12345 - ccReg-0573724614 - ``` @@ -982,7 +1563,7 @@ REQUEST: - sh8013 + FIRST0:SH8013 password @@ -1020,14 +1601,14 @@ RESPONSE: Object does not exist - sh8013notpossibletoupdate + FIRST0:SH8013NOTPOSSIBLETOUPDATE + + ABC-12345 + ccReg-9111281614 + - - ABC-12345 - ccReg-8967980859 - ``` @@ -1041,7 +1622,7 @@ REQUEST: - sh8013 + FIRST0:SH8013 password @@ -1080,14 +1661,14 @@ RESPONSE: - sh8013 - 2015-04-02 09:30:37 UTC + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC - - ABC-12345 - ccReg-1289469541 - + + ABC-12345 + ccReg-5675773022 + ``` @@ -1102,7 +1683,7 @@ REQUEST: - sh8013 + FIRST0:SH8013 password @@ -1140,11 +1721,11 @@ RESPONSE: Parameter value policy error. Org must be blank: postalInfo > org [org] + + ABC-12345 + ccReg-5962790806 + - - ABC-12345 - ccReg-7130809324 - ``` @@ -1158,7 +1739,7 @@ REQUEST: - sh8013 + FIRST0:SH8013 password @@ -1196,11 +1777,11 @@ RESPONSE: Parameter value policy error. Fax must be blank: fax [fax] + + ABC-12345 + ccReg-4675099884 + - - ABC-12345 - ccReg-9624548628 - ``` @@ -1214,7 +1795,7 @@ REQUEST: - sh8013 + FIRST0:SH8013 Payment overdue. @@ -1235,14 +1816,533 @@ RESPONSE: Parameter value policy error. Client-side object status management not supported: status [status] - - Required parameter missing: update > update > authInfo > pw [pw] - + + ABC-12345 + ccReg-1311892678 + + + +``` + +### EPP Contact with valid user update command should add value voice value + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + +372.11111111 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-5301697215 + + + +``` + +### EPP Contact with valid user update command should return error when add attributes phone value is empty + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + + + + + example@example.ee + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing - phone [phone] + + + Phone nr is invalid [phone] + + + ABC-12345 + ccReg-2304368720 + + + +``` + +### EPP Contact with valid user update command should honor chg value over add value when both changes same attribute + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + +372.2222222222222 + + + +372.11111111111 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-5525783094 + + + +``` + +### EPP Contact with valid user update command should not allow to remove required voice attribute + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + +372.7654321 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing - phone [phone] + + + Phone nr is invalid [phone] + + + ABC-12345 + ccReg-5500267943 + + + +``` + +### EPP Contact with valid user update command should not allow to remove required attribute + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + +372.7654321 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing - phone [phone] + + + Phone nr is invalid [phone] + + + ABC-12345 + ccReg-0108854211 + + + +``` + +### EPP Contact with valid user update command should honor add over rem + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + not important + + + +372.3333333 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-7179239442 + + + +``` + +### EPP Contact with valid user update command should honor chg over rem + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + not important + + + +372.44444444 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-6722651709 + + + +``` + +### EPP Contact with valid user update command should honor chg over rem and add + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + +372.666666 + + + +372.555555 + + + not important + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-3206173115 + + + +``` + +### EPP Contact with valid user update command should not remove password + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + + password + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIRST0:SH8013 + 2015-05-27 10:43:26 UTC + + + + ABC-12345 + ccReg-6097209925 + + + +``` + +### EPP Contact with valid user update command should return general policy error when removing org + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + + not important + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Parameter value policy error. Org must be blank: postalInfo > org [org] + + + ABC-12345 + ccReg-0081608878 + + + +``` + +### EPP Contact with valid user update command should return error when removing street + +REQUEST: + +```xml + + + + + + FIRST0:SH8013 + + password + + + + not important + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Required parameter missing - name [name] + + + ABC-12345 + ccReg-8929861116 + - - ABC-12345 - ccReg-7975112656 - ``` @@ -1271,14 +2371,11 @@ RESPONSE: Required parameter missing: delete > delete > id [id] - - Required parameter missing: delete > delete > authInfo > pw [pw] - + + ABC-12345 + ccReg-4224986078 + - - ABC-12345 - ccReg-4876546115 - ``` @@ -1318,14 +2415,14 @@ RESPONSE: Object does not exist - not-exists + NOT-EXISTS + + ABC-12345 + ccReg-6695799151 + - - ABC-12345 - ccReg-6707134195 - ``` @@ -1339,7 +2436,7 @@ REQUEST: - sh616871733 + FIRST0:SH002595873 password @@ -1365,10 +2462,89 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-0769582785 - + + ABC-12345 + ccReg-9877498133 + + + +``` + +### EPP Contact with valid user delete command deletes own contact even with wrong password + +REQUEST: + +```xml + + + + + + FIRST0:SH085363854 + + wrong password + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-2124046501 + + + +``` + +### EPP Contact with valid user delete command deletes own contact even without password + +REQUEST: + +```xml + + + + + + FIRST0:SH588117405 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-1641432006 + ``` @@ -1383,7 +2559,7 @@ REQUEST: - sh317872324 + FIRST0:SH462986476 password @@ -1409,15 +2585,15 @@ RESPONSE: Object association prohibits operation [domains] + + ABC-12345 + ccReg-6733472504 + - - ABC-12345 - ccReg-9622128674 - ``` -### EPP Contact with valid user delete command fails with wrong authentication info +### EPP Contact with valid user delete command should delete when not owner but with correct password REQUEST: @@ -1457,10 +2633,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-9519410809 - + + ABC-12345 + ccReg-9593963234 + ``` @@ -1473,7 +2649,7 @@ REQUEST: - sh849994836 + FIRST0:SH345866719 password @@ -1496,14 +2672,14 @@ RESPONSE: - - Authorization error + + Command completed successfully + + ABC-12345 + ccReg-4321232367 + - - ABC-12345 - ccReg-6470384730 - ``` @@ -1545,10 +2721,271 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-2702175300 - + + ABC-12345 + ccReg-9943668816 + + + +``` + +### EPP Contact with valid user delete command should not delete when not owner without password + +REQUEST: + +```xml + + + + + registrar2 + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-4143129224 + + + +``` + +REQUEST: + +```xml + + + + + + FIRST0:SH1376434210 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authorization error + + + ABC-12345 + ccReg-2155291311 + + + +``` + +REQUEST: + +```xml + + + + + registrar1 + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-4451657543 + + + +``` + +### EPP Contact with valid user delete command should not delete when not owner with wrong password + +REQUEST: + +```xml + + + + + registrar2 + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-5071844006 + + + +``` + +REQUEST: + +```xml + + + + + + FIRST0:SH3882613511 + wrong password + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + 37605030299 + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Authorization error + + + ABC-12345 + ccReg-6382118387 + + + +``` + +REQUEST: + +```xml + + + + + registrar1 + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-0221108510 + ``` @@ -1578,11 +3015,11 @@ RESPONSE: Required parameter missing: check > check > id [id] + + ABC-12345 + ccReg-1250931582 + - - ABC-12345 - ccReg-9548831820 - ``` @@ -1596,7 +3033,7 @@ REQUEST: - check-1234 + FIXED:CHECK-1234 check-4321 @@ -1617,7 +3054,7 @@ RESPONSE: - check-1234 + FIXED:CHECK-1234 in use @@ -1625,10 +3062,57 @@ RESPONSE: - - ABC-12345 - ccReg-4583380937 - + + ABC-12345 + ccReg-5446739255 + + + +``` + +### EPP Contact with valid user check command should support legacy CID farmat + +REQUEST: + +```xml + + + + + + FIXED:CHECK-LEGACY + CID:FIXED:CHECK-LEGACY + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + + FIXED:CHECK-LEGACY + in use + + + CID:FIXED:CHECK-LEGACY + + + + + ABC-12345 + ccReg-2438715118 + ``` @@ -1658,11 +3142,11 @@ RESPONSE: Required parameter missing: info > info > id [id] + + ABC-12345 + ccReg-8371968302 + - - ABC-12345 - ccReg-0827476737 - ``` @@ -1696,14 +3180,14 @@ RESPONSE: Object does not exist - no-contact + NO-CONTACT + + ABC-12345 + ccReg-3188555074 + - - ABC-12345 - ccReg-7078773469 - ``` @@ -1717,7 +3201,7 @@ REQUEST: - info-4444 + FIXED:INFO-4444 password @@ -1739,9 +3223,9 @@ RESPONSE: - info-4444 + FIXED:INFO-4444 +372.12345678 - otilia@trompmetz.info + llewellyn@bernier.org Johnny Awesome @@ -1752,9 +3236,9 @@ RESPONSE: EE - registrar1 + fixed registrar - 2015-04-02 09:30:38 UTC + 2015-05-27 10:43:29 UTC password @@ -1766,10 +3250,77 @@ RESPONSE: 37605030299 - - ABC-12345 - ccReg-6410502093 - + + ABC-12345 + ccReg-2762164451 + + + +``` + +### EPP Contact with valid user info command should add legacy CID format as append + +REQUEST: + +```xml + + + + + + FIXED:CID:FIXED:INFO-5555 + + password + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIXED:CID:FIXED:INFO-5555 + +372.12345678 + llewellyn@bernier.org + + Johnny Awesome + + Short street 11 + Tallinn + 11111 + + EE + + + fixed registrar + + 2015-05-27 10:43:29 UTC + + password + + + + + + + 37605030299 + + + + ABC-12345 + ccReg-5753089221 + ``` @@ -1784,7 +3335,7 @@ REQUEST: - info-ident + FIRST0:INFO-IDENT password @@ -1806,9 +3357,9 @@ RESPONSE: - info-ident + FIRST0:INFO-IDENT +372.12345678 - otilia@trompmetz.info + llewellyn@bernier.org Johnny Awesome @@ -1821,7 +3372,7 @@ RESPONSE: registrar1 - 2015-04-02 09:30:38 UTC + 2015-05-27 10:43:29 UTC password @@ -1833,15 +3384,15 @@ RESPONSE: 37605030299 - - ABC-12345 - ccReg-6975719991 - + + ABC-12345 + ccReg-0873990421 + ``` -### EPP Contact with valid user info command returns no authorization error for wrong password when owner +### EPP Contact with valid user info command returns no authorization error for wrong password when registrant REQUEST: @@ -1851,7 +3402,7 @@ REQUEST: - sh191232150 + FIRST0:SH762612490 wrong-pw @@ -1873,11 +3424,11 @@ RESPONSE: - sh191232150 + FIRST0:SH762612490 +372.12345678 - otilia@trompmetz.info + llewellyn@bernier.org - Khalil Ernser0 + Liliana Crist II0 Short street 11 Tallinn @@ -1888,7 +3439,7 @@ RESPONSE: registrar1 - 2015-04-02 09:30:36 UTC + 2015-05-27 10:43:24 UTC password @@ -1900,10 +3451,77 @@ RESPONSE: 37605030299 - - ABC-12345 - ccReg-4705338516 - + + ABC-12345 + ccReg-8366914454 + + + +``` + +### EPP Contact with valid user info command should honor new contact code format + +REQUEST: + +```xml + + + + + + FIXED:TEST:CUSTOM:CODE + + password + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + FIXED:TEST:CUSTOM:CODE + +372.12345678 + llewellyn@bernier.org + + Mrs. Willard Kling15 + + Short street 11 + Tallinn + 11111 + + EE + + + fixed registrar + + 2015-05-27 10:43:29 UTC + + password + + + + + + + 37605030299 + + + + ABC-12345 + ccReg-1094860403 + ``` @@ -1948,10 +3566,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-2244559397 - + + ABC-12345 + ccReg-1156272733 + ``` @@ -1964,7 +3582,7 @@ REQUEST: - sh191232150 + FIRST0:SH762612490 password @@ -1986,11 +3604,11 @@ RESPONSE: - sh191232150 + FIRST0:SH762612490 +372.12345678 - otilia@trompmetz.info + llewellyn@bernier.org - Khalil Ernser0 + Liliana Crist II0 Short street 11 Tallinn @@ -2001,7 +3619,7 @@ RESPONSE: registrar1 - 2015-04-02 09:30:36 UTC + 2015-05-27 10:43:24 UTC password @@ -2013,10 +3631,10 @@ RESPONSE: 37605030299 - - ABC-12345 - ccReg-7930412610 - + + ABC-12345 + ccReg-8181550058 + ``` @@ -2059,10 +3677,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-3033397293 - + + ABC-12345 + ccReg-6586282287 + ``` @@ -2107,10 +3725,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-2110451392 - + + ABC-12345 + ccReg-2861885021 + ``` @@ -2123,7 +3741,7 @@ REQUEST: - sh191232150 + FIRST0:SH762612490 wrong-pw @@ -2143,11 +3761,11 @@ RESPONSE: Authorization error + + ABC-12345 + ccReg-0042572211 + - - ABC-12345 - ccReg-6034273022 - ``` @@ -2189,10 +3807,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6728126220 - + + ABC-12345 + ccReg-4742331049 + ``` @@ -2237,10 +3855,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-9479746307 - + + ABC-12345 + ccReg-6748839643 + ``` @@ -2253,7 +3871,7 @@ REQUEST: - sh191232150 + FIRST0:SH762612490 @@ -2275,20 +3893,20 @@ RESPONSE: - sh191232150 + FIRST0:SH762612490 - Khalil Ernser0 + Liliana Crist II0 registrar1 - 2015-04-02 09:30:36 UTC + 2015-05-27 10:43:24 UTC - - ABC-12345 - ccReg-9878707653 - + + ABC-12345 + ccReg-8839721470 + ``` @@ -2331,10 +3949,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-8394470155 - + + ABC-12345 + ccReg-0850650289 + ``` @@ -2369,11 +3987,11 @@ RESPONSE: Unimplemented command + + ABC-12345 + ccReg-8524752910 + - - ABC-12345 - ccReg-4449817183 - ``` @@ -2415,10 +4033,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6479345571 - + + ABC-12345 + ccReg-5841042302 + ``` @@ -2433,7 +4051,7 @@ REQUEST: - example29991941952598574.ee + example70096036052024755.ee 1 @@ -2445,8 +4063,8 @@ REQUEST: ns2.example.net - citizen_1234 - citizen_1234 + FIXED:CITIZEN_1234 + FIXED:CITIZEN_1234 sh1111 sh2222 @@ -2487,11 +4105,11 @@ RESPONSE: sh2222 + + ABC-12345 + ccReg-6329567919 + - - ABC-12345 - ccReg-9003154174 - ``` @@ -2531,15 +4149,15 @@ RESPONSE: Required parameter missing: extension > extdata > legalDocument [legal_document] + + ABC-12345 + ccReg-1727549112 + - - ABC-12345 - ccReg-3507870669 - ``` -### EPP Domain with citizen as an owner creates a domain +### EPP Domain with citizen as a registrant creates a domain REQUEST: @@ -2549,7 +4167,7 @@ REQUEST: - example69986438078627922.ee + example18875779892898751.ee 1 @@ -2561,10 +4179,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -2596,20 +4214,20 @@ RESPONSE: - example69986438078627922.ee - 2015-04-02 09:30:39 UTC - 2016-04-02 00:00:00 UTC + example18875779892898751.ee + 2015-05-27 10:43:30 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-7138232020 + - - ABC-12345 - ccReg-1862475581 - ``` -### EPP Domain with citizen as an owner creates a domain with legal document +### EPP Domain with citizen as a registrant creates a domain with legal document REQUEST: @@ -2619,7 +4237,7 @@ REQUEST: - example47860272766685766.ee + example16518501250481074.ee 1 @@ -2631,10 +4249,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -2658,20 +4276,20 @@ RESPONSE: - example47860272766685766.ee - 2015-04-02 09:30:39 UTC - 2016-04-02 00:00:00 UTC + example16518501250481074.ee + 2015-05-27 10:43:30 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-6949714810 + - - ABC-12345 - ccReg-9791125228 - ``` -### EPP Domain with citizen as an owner validates nameserver ipv4 when in same zone as domain +### EPP Domain with citizen as a registrant validates nameserver ipv4 when in same zone as domain REQUEST: @@ -2681,20 +4299,20 @@ REQUEST: - example65969542925515313.ee + example34657545915229578.ee 1 - ns1.example65969542925515313.ee + ns1.example34657545915229578.ee - ns2.example65969542925515313.ee + ns2.example34657545915229578.ee - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -2724,15 +4342,15 @@ RESPONSE: IPv4 is missing [ipv4] + + ABC-12345 + ccReg-3705921440 + - - ABC-12345 - ccReg-3337898568 - ``` -### EPP Domain with citizen as an owner does not create reserved domain +### EPP Domain with citizen as a registrant does not create reserved domain REQUEST: @@ -2754,10 +4372,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -2790,15 +4408,15 @@ RESPONSE: 1162.ee + + ABC-12345 + ccReg-3665167833 + - - ABC-12345 - ccReg-8534003724 - ``` -### EPP Domain with citizen as an owner does not create domain without contacts and registrant +### EPP Domain with citizen as a registrant does not create domain without contacts and registrant REQUEST: @@ -2808,7 +4426,7 @@ REQUEST: - example61321583015887262.ee + example95948665035556904.ee 1 @@ -2820,9 +4438,9 @@ REQUEST: ns2.example.net - sh8013 - sh8013 - sh801333 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -2853,15 +4471,15 @@ RESPONSE: Required parameter missing: create > create > registrant [registrant] + + ABC-12345 + ccReg-2552697936 + - - ABC-12345 - ccReg-1067001064 - ``` -### EPP Domain with citizen as an owner does not create domain without nameservers +### EPP Domain with citizen as a registrant does not create domain without nameservers REQUEST: @@ -2871,13 +4489,13 @@ REQUEST: - example31779613815936591.ee + example48967884144781787.ee 1 - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -2910,15 +4528,15 @@ RESPONSE: Required parameter missing: create > create > ns > hostAttr [host_attr] + + ABC-12345 + ccReg-9940643139 + - - ABC-12345 - ccReg-6148309271 - ``` -### EPP Domain with citizen as an owner does not create domain with too many nameservers +### EPP Domain with citizen as a registrant does not create domain with too many nameservers REQUEST: @@ -2928,7 +4546,7 @@ REQUEST: - example70843109875439590.ee + example26199879111999630.ee 1 @@ -2974,10 +4592,10 @@ REQUEST: ns13.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3007,15 +4625,15 @@ RESPONSE: Nameservers count must be between 2-11 [nameservers] + + ABC-12345 + ccReg-9523508089 + - - ABC-12345 - ccReg-0854842404 - ``` -### EPP Domain with citizen as an owner returns error when invalid nameservers are present +### EPP Domain with citizen as a registrant returns error when invalid nameservers are present REQUEST: @@ -3025,7 +4643,7 @@ REQUEST: - example63972387399181910.ee + example67443327025915260.ee 1 @@ -3035,10 +4653,10 @@ REQUEST: -invalid2 - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3077,15 +4695,15 @@ RESPONSE: -invalid2 + + ABC-12345 + ccReg-1674811016 + - - ABC-12345 - ccReg-4558439165 - ``` -### EPP Domain with citizen as an owner checks hostAttr presence +### EPP Domain with citizen as a registrant checks hostAttr presence REQUEST: @@ -3095,16 +4713,16 @@ REQUEST: - example64998887953122208.ee + example4862326639681440.ee 1 ns1.example.ee ns2.example.ee - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3134,15 +4752,15 @@ RESPONSE: Required parameter missing: create > create > ns > hostAttr [host_attr] + + ABC-12345 + ccReg-0201147447 + - - ABC-12345 - ccReg-8993773766 - ``` -### EPP Domain with citizen as an owner creates domain with nameservers with ips +### EPP Domain with citizen as a registrant creates domain with nameservers with ips REQUEST: @@ -3152,7 +4770,7 @@ REQUEST: - example66094690867566868.ee + example67163358337402331.ee 1 @@ -3164,10 +4782,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 2fooBAR @@ -3194,20 +4812,20 @@ RESPONSE: - example66094690867566868.ee - 2015-04-02 09:30:40 UTC - 2016-04-02 00:00:00 UTC + example67163358337402331.ee + 2015-05-27 10:43:31 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-8005178303 + - - ABC-12345 - ccReg-8694496624 - ``` -### EPP Domain with citizen as an owner returns error when nameserver has invalid ips +### EPP Domain with citizen as a registrant returns error when nameserver has invalid ips REQUEST: @@ -3217,7 +4835,7 @@ REQUEST: - example74143344678584894.ee + example83921540659724800.ee 1 @@ -3229,10 +4847,10 @@ REQUEST: invalid_ipv6 - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 2fooBAR @@ -3266,15 +4884,15 @@ RESPONSE: INVALID_IPV6 + + ABC-12345 + ccReg-0480672774 + - - ABC-12345 - ccReg-4896771251 - ``` -### EPP Domain with citizen as an owner creates a domain with period in days +### EPP Domain with citizen as a registrant creates a domain with period in days REQUEST: @@ -3284,7 +4902,7 @@ REQUEST: - example68910576882568383.ee + example31168439878572805.ee 1 @@ -3296,10 +4914,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3331,20 +4949,20 @@ RESPONSE: - example68910576882568383.ee - 2015-04-02 09:30:40 UTC - 2016-04-02 00:00:00 UTC + example31168439878572805.ee + 2015-05-27 10:43:31 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-0710914199 + - - ABC-12345 - ccReg-8254662407 - ``` -### EPP Domain with citizen as an owner does not create a domain with invalid period +### EPP Domain with citizen as a registrant does not create a domain with invalid period REQUEST: @@ -3354,7 +4972,7 @@ REQUEST: - example49512361195062727.ee + example91174490590886314.ee 367 @@ -3366,10 +4984,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3402,15 +5020,15 @@ RESPONSE: 367 + + ABC-12345 + ccReg-2677386716 + - - ABC-12345 - ccReg-1464107209 - ``` -### EPP Domain with citizen as an owner creates a domain with multiple dnskeys +### EPP Domain with citizen as a registrant creates a domain with multiple dnskeys REQUEST: @@ -3420,7 +5038,7 @@ REQUEST: - example5422433521677756.ee + example91267215976498865.ee 1 @@ -3432,10 +5050,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3479,20 +5097,20 @@ RESPONSE: - example5422433521677756.ee - 2015-04-02 09:30:40 UTC - 2016-04-02 00:00:00 UTC + example91267215976498865.ee + 2015-05-27 10:43:31 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-6086717774 + - - ABC-12345 - ccReg-3904270163 - ``` -### EPP Domain with citizen as an owner does not create a domain when dnskeys are invalid +### EPP Domain with citizen as a registrant does not create a domain when dnskeys are invalid REQUEST: @@ -3502,7 +5120,7 @@ REQUEST: - example69912340093826806.ee + example45325893459192952.ee 1 @@ -3514,10 +5132,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3595,15 +5213,15 @@ RESPONSE: 5 + + ABC-12345 + ccReg-8175538906 + - - ABC-12345 - ccReg-9441960354 - ``` -### EPP Domain with citizen as an owner does not create a domain with two identical dnskeys +### EPP Domain with citizen as a registrant does not create a domain with two identical dnskeys REQUEST: @@ -3613,7 +5231,7 @@ REQUEST: - example65131165697692498.ee + example15916927116711123.ee 1 @@ -3625,10 +5243,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3667,15 +5285,15 @@ RESPONSE: 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + ABC-12345 + ccReg-9219211054 + - - ABC-12345 - ccReg-6791307481 - ``` -### EPP Domain with citizen as an owner validated dnskeys count +### EPP Domain with citizen as a registrant validated dnskeys count REQUEST: @@ -3685,7 +5303,7 @@ REQUEST: - example45831056679599713.ee + example91454458242964658.ee 1 @@ -3697,10 +5315,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3736,15 +5354,15 @@ RESPONSE: DNS keys count must be between 0-1 [dnskeys] + + ABC-12345 + ccReg-9548686640 + - - ABC-12345 - ccReg-7825718946 - ``` -### EPP Domain with citizen as an owner creates domain with ds data +### EPP Domain with citizen as a registrant creates domain with ds data REQUEST: @@ -3754,7 +5372,7 @@ REQUEST: - example37215299046398843.ee + example71491564741929352.ee 1 @@ -3766,10 +5384,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3801,20 +5419,20 @@ RESPONSE: - example37215299046398843.ee - 2015-04-02 09:30:41 UTC - 2016-04-02 00:00:00 UTC + example71491564741929352.ee + 2015-05-27 10:43:32 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-4235232567 + - - ABC-12345 - ccReg-7095694178 - ``` -### EPP Domain with citizen as an owner creates domain with ds data with key +### EPP Domain with citizen as a registrant creates domain with ds data with key REQUEST: @@ -3824,7 +5442,7 @@ REQUEST: - example67486651509736417.ee + example30406577928067538.ee 1 @@ -3836,10 +5454,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3877,20 +5495,20 @@ RESPONSE: - example67486651509736417.ee - 2015-04-02 09:30:41 UTC - 2016-04-02 00:00:00 UTC + example30406577928067538.ee + 2015-05-27 10:43:32 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-7688480402 + - - ABC-12345 - ccReg-6068198686 - ``` -### EPP Domain with citizen as an owner prohibits dsData +### EPP Domain with citizen as a registrant prohibits dsData REQUEST: @@ -3900,7 +5518,7 @@ REQUEST: - example58465853895457101.ee + example63040009625343060.ee 1 @@ -3912,10 +5530,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -3951,15 +5569,15 @@ RESPONSE: dsData object is not allowed + + ABC-12345 + ccReg-5582933815 + - - ABC-12345 - ccReg-6174712138 - ``` -### EPP Domain with citizen as an owner prohibits keyData +### EPP Domain with citizen as a registrant prohibits keyData REQUEST: @@ -3969,7 +5587,7 @@ REQUEST: - example97193404282661106.ee + example73287430336373315.ee 1 @@ -3981,10 +5599,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -4014,15 +5632,15 @@ RESPONSE: keyData object is not allowed + + ABC-12345 + ccReg-4249180668 + - - ABC-12345 - ccReg-2738595388 - ``` -### EPP Domain with citizen as an owner prohibits dsData and keyData when they exists together +### EPP Domain with citizen as a registrant prohibits dsData and keyData when they exists together REQUEST: @@ -4032,7 +5650,7 @@ REQUEST: - example8349587703882463.ee + example12685922679382848.ee 1 @@ -4044,10 +5662,10 @@ REQUEST: ns2.example.net - citizen_1234 - sh8013 - sh8013 - sh801333 + FIXED:CITIZEN_1234 + FIXED:SH8013 + FIXED:SH8013 + FIXED:SH801333 @@ -4083,15 +5701,15 @@ RESPONSE: Mutually exclusive parameters: extension > create > keyData, extension > create > dsData + + ABC-12345 + ccReg-3972247485 + - - ABC-12345 - ccReg-3820228900 - ``` -### EPP Domain with juridical persion as an owner creates a domain with contacts +### EPP Domain with juridical persion as a registrant creates a domain with contacts REQUEST: @@ -4101,7 +5719,7 @@ REQUEST: - example11522860072959556.ee + example31407412492547028.ee 1 @@ -4113,8 +5731,8 @@ REQUEST: ns2.example.net - juridical_1234 - sh8013 + FIXED:JURIDICAL_1234 + FIXED:SH8013 @@ -4146,20 +5764,20 @@ RESPONSE: - example11522860072959556.ee - 2015-04-02 09:30:41 UTC - 2016-04-02 00:00:00 UTC + example31407412492547028.ee + 2015-05-27 10:43:32 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-4939043794 + - - ABC-12345 - ccReg-7422719300 - ``` -### EPP Domain with juridical persion as an owner does not create a domain without admin contact +### EPP Domain with juridical persion as a registrant does not create a domain without admin contact REQUEST: @@ -4169,7 +5787,7 @@ REQUEST: - example4597088465974685.ee + example43179409594610423.ee 1 @@ -4181,8 +5799,8 @@ REQUEST: ns2.example.net - juridical_1234 - sh8013 + FIXED:JURIDICAL_1234 + FIXED:SH8013 @@ -4212,15 +5830,15 @@ RESPONSE: Admin contacts count must be between 1-10 [admin_domain_contacts] + + ABC-12345 + ccReg-9685299222 + - - ABC-12345 - ccReg-1845021908 - ``` -### EPP Domain with juridical persion as an owner cannot assign juridical person as admin contact +### EPP Domain with juridical persion as a registrant cannot assign juridical person as admin contact REQUEST: @@ -4230,7 +5848,7 @@ REQUEST: - example42791140549073590.ee + example11348446936077523.ee 1 @@ -4242,8 +5860,8 @@ REQUEST: ns2.example.net - juridical_1234 - juridical_1234 + FIXED:JURIDICAL_1234 + FIXED:JURIDICAL_1234 @@ -4273,14 +5891,14 @@ RESPONSE: Admin contact can be private person only - juridical_1234 + FIXED:JURIDICAL_1234 + + ABC-12345 + ccReg-4691511606 + - - ABC-12345 - ccReg-9414004240 - ``` @@ -4324,10 +5942,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-7857345433 - + + ABC-12345 + ccReg-0917111585 + ``` @@ -4342,7 +5960,7 @@ REQUEST: domain1.ee - 6dfc702c9b9f4a4935eddd44e8a9357f + 7e6a4a98534e2582634758ca77ee7148 @@ -4369,18 +5987,18 @@ RESPONSE: domain1.ee serverApproved - 222 - 2015-04-02 09:30:42 UTC - 111 - 2015-04-02 09:30:42 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:32 UTC + REGDOMAIN1 + 2015-05-27 10:43:32 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-3335421781 + - - ABC-12345 - ccReg-8712491017 - ``` @@ -4422,160 +6040,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-1010222202 - - - -``` - -REQUEST: - -```xml - - - - - - domain1.ee - - a1b720f933d963ad93a12169f646de29 - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - domain1.ee - pending - 111 - 2015-04-02 09:30:42 UTC - 222 - 2015-04-02 10:30:42 UTC - 2016-04-02 00:00:00 UTC - - - - - ABC-12345 - ccReg-5304388039 - - -``` - -REQUEST: - -```xml - - - - - - domain1.ee - - a1b720f933d963ad93a12169f646de29 - - - - - - JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - - domain1.ee - pending - 111 - 2015-04-02 09:30:42 UTC - 222 - 2015-04-02 10:30:42 UTC - 2016-04-02 00:00:00 UTC - - - - - ABC-12345 - ccReg-6275383342 - - -``` - -REQUEST: - -```xml - - - - - registrar2 - ghyt9e4fu - - 1.0 - en - - - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - - ABC-12345 - - -``` - -RESPONSE: - -```xml - - - - - Command completed successfully - - - ABC-12345 - ccReg-5159106216 - + + ABC-12345 + ccReg-6267499339 + ``` @@ -4602,24 +6070,24 @@ RESPONSE: Command completed successfully; ack to dequeue - 2015-04-02 09:30:42 UTC - Transfer requested. + 2015-05-27 10:43:33 UTC + Domain transfer was approved, associated contacts are: ["REGDOMAIN2:2C52859D", "REGDOMAIN2:A464BC75"] domain1.ee - pending - 111 - 2015-04-02 09:30:42 UTC - 222 - 2015-04-02 10:30:42 UTC - 2016-04-02 00:00:00 UTC + serverApproved + REGDOMAIN2 + 2015-05-27 10:43:32 UTC + REGDOMAIN1 + 2015-05-27 10:43:32 UTC + 2016-05-27 00:00:00 UTC - - ABC-12345 - ccReg-1613521643 - + + ABC-12345 + ccReg-9254728904 + ``` @@ -4630,24 +6098,19 @@ REQUEST: - - registrar1 - ghyt9e4fu - - 1.0 - en - - - urn:ietf:params:xml:ns:domain-1.0 - urn:ietf:params:xml:ns:contact-1.0 - urn:ietf:params:xml:ns:host-1.0 - urn:ietf:params:xml:ns:keyrelay-1.0 - - urn:ietf:params:xml:ns:secDNS-1.1 - urn:ee:eis:xml:epp:eis-1.0 - - - + + + domain1.ee + + 055ee8bb38b32b97e378132ff3ca916c + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + ABC-12345 @@ -4662,10 +6125,73 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-5553786927 - + + + domain1.ee + pending + REGDOMAIN1 + 2015-05-27 10:43:33 UTC + REGDOMAIN2 + 2015-05-27 11:43:33 UTC + 2016-05-27 00:00:00 UTC + + + + ABC-12345 + ccReg-0275538941 + + + +``` + +REQUEST: + +```xml + + + + + + domain1.ee + + 055ee8bb38b32b97e378132ff3ca916c + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + domain1.ee + pending + REGDOMAIN1 + 2015-05-27 10:43:33 UTC + REGDOMAIN2 + 2015-05-27 11:43:33 UTC + 2016-05-27 00:00:00 UTC + + + + ABC-12345 + ccReg-0757752457 + ``` @@ -4708,10 +6234,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-9831901646 - + + ABC-12345 + ccReg-7935547078 + ``` @@ -4722,7 +6248,7 @@ REQUEST: - + ABC-12345 @@ -4734,14 +6260,28 @@ RESPONSE: - - Command completed successfully + + Command completed successfully; ack to dequeue - - - ABC-12345 - ccReg-2894235467 - + + 2015-05-27 10:43:33 UTC + Transfer requested. + + + + domain1.ee + pending + REGDOMAIN1 + 2015-05-27 10:43:33 UTC + REGDOMAIN2 + 2015-05-27 11:43:33 UTC + 2016-05-27 00:00:00 UTC + + + + ABC-12345 + ccReg-9141426728 + ``` @@ -4784,10 +6324,132 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-4269600320 - + + ABC-12345 + ccReg-6011620786 + + + +``` + +REQUEST: + +```xml + + + + + registrar2 + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-3668445992 + + + +``` + +REQUEST: + +```xml + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + + ABC-12345 + ccReg-3613917922 + + + +``` + +REQUEST: + +```xml + + + + + registrar1 + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-0925120539 + ``` @@ -4832,10 +6494,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-3699819070 - + + ABC-12345 + ccReg-6028794756 + ``` @@ -4850,7 +6512,7 @@ REQUEST: domain2.ee - 357355fa4e0739928775457accc59549 + a3507d8fe60d7b06de6fa7ee3b7a11ad @@ -4877,18 +6539,18 @@ RESPONSE: domain2.ee pending - 222 - 2015-04-02 09:30:43 UTC - 111 - 2015-04-02 10:30:43 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:34 UTC + REGDOMAIN1 + 2015-05-27 11:43:34 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-7730469220 + - - ABC-12345 - ccReg-5521355427 - ``` @@ -4930,10 +6592,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-4791283018 - + + ABC-12345 + ccReg-9035579043 + ``` @@ -4976,10 +6638,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6191445057 - + + ABC-12345 + ccReg-4920254507 + ``` @@ -4994,7 +6656,7 @@ REQUEST: domain2.ee - 357355fa4e0739928775457accc59549 + a3507d8fe60d7b06de6fa7ee3b7a11ad @@ -5021,18 +6683,18 @@ RESPONSE: domain2.ee pending - 222 - 2015-04-02 09:30:43 UTC - 111 - 2015-04-02 10:30:43 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:34 UTC + REGDOMAIN1 + 2015-05-27 11:43:34 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-5694613676 + - - ABC-12345 - ccReg-2972123016 - ``` @@ -5074,10 +6736,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6161338274 - + + ABC-12345 + ccReg-5785816065 + ``` @@ -5122,10 +6784,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-9870720384 - + + ABC-12345 + ccReg-7366349974 + ``` @@ -5140,7 +6802,7 @@ REQUEST: domain3.ee - fd41d26f8400b0cacfec33b018795c90 + a0b72c9e75ef63d04bb9ad8715ca48fc @@ -5162,18 +6824,18 @@ RESPONSE: domain3.ee serverApproved - 222 - 2015-04-02 09:30:43 UTC - 111 - 2015-04-02 09:30:43 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:34 UTC + REGDOMAIN1 + 2015-05-27 10:43:34 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-6246328390 + - - ABC-12345 - ccReg-0598613440 - ``` @@ -5215,10 +6877,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-0655089715 - + + ABC-12345 + ccReg-0391926934 + ``` @@ -5263,10 +6925,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-1498176471 - + + ABC-12345 + ccReg-7912772234 + ``` @@ -5281,7 +6943,7 @@ REQUEST: domain4.ee - 469c52225809cea1b5ab5f269b8f0345 + b083517b9f3a926e61702411cdf0c7be @@ -5303,18 +6965,18 @@ RESPONSE: domain4.ee serverApproved - 222 - 2015-04-02 09:30:43 UTC - 111 - 2015-04-02 09:30:43 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:34 UTC + REGDOMAIN1 + 2015-05-27 10:43:35 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-2452237245 + - - ABC-12345 - ccReg-5410410789 - ``` @@ -5356,10 +7018,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6342683850 - + + ABC-12345 + ccReg-5853115117 + ``` @@ -5404,10 +7066,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-8777764252 - + + ABC-12345 + ccReg-7994647230 + ``` @@ -5422,7 +7084,7 @@ REQUEST: domain5.ee - 57127a78f868cc7105550c99f02f5125 + c6ac11f0a30b90e2435872b947f676bc @@ -5444,18 +7106,18 @@ RESPONSE: domain5.ee serverApproved - 222 - 2015-04-02 09:30:44 UTC - 111 - 2015-04-02 09:30:44 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:35 UTC + REGDOMAIN1 + 2015-05-27 10:43:35 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-8456401947 + - - ABC-12345 - ccReg-3717942382 - ``` @@ -5497,10 +7159,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-7884334910 - + + ABC-12345 + ccReg-0451125168 + ``` @@ -5545,10 +7207,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-5998762450 - + + ABC-12345 + ccReg-9996143631 + ``` @@ -5563,7 +7225,7 @@ REQUEST: domain8.ee - 239f7120741566851be43ff27d8098b3 + 15c978c4fdb8c7c8b320ff836238ff24 @@ -5585,18 +7247,18 @@ RESPONSE: domain8.ee serverApproved - 222 - 2015-04-02 09:30:44 UTC - 111 - 2015-04-02 09:30:44 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:36 UTC + REGDOMAIN1 + 2015-05-27 10:43:36 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-6547163770 + - - ABC-12345 - ccReg-9877768476 - ``` @@ -5638,10 +7300,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-4014504567 - + + ABC-12345 + ccReg-8938696546 + ``` @@ -5686,10 +7348,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-1519903345 - + + ABC-12345 + ccReg-1935599554 + ``` @@ -5704,7 +7366,7 @@ REQUEST: domain9.ee - 8c05b1875ad30ff1ec29cb184ca02595 + 99e7f00907374d57c7152d5a4cf6306c @@ -5726,18 +7388,18 @@ RESPONSE: domain9.ee serverApproved - 222 - 2015-04-02 09:30:45 UTC - 111 - 2015-04-02 09:30:45 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:36 UTC + REGDOMAIN1 + 2015-05-27 10:43:36 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-6108438709 + - - ABC-12345 - ccReg-6035084608 - ``` @@ -5779,10 +7441,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-4665648420 - + + ABC-12345 + ccReg-7842682602 + ``` @@ -5827,10 +7489,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-0827534026 - + + ABC-12345 + ccReg-7725230435 + ``` @@ -5845,7 +7507,7 @@ REQUEST: domain11.ee - 26f350f364ef045477ce75fac2489dee + 02c630c0d9e223719ccd33c01a93a81c @@ -5867,18 +7529,18 @@ RESPONSE: domain11.ee serverApproved - 222 - 2015-04-02 09:30:45 UTC - 111 - 2015-04-02 09:30:45 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:37 UTC + REGDOMAIN1 + 2015-05-27 10:43:37 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-0988527962 + - - ABC-12345 - ccReg-2312727567 - ``` @@ -5920,15 +7582,15 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-2631195876 - + + ABC-12345 + ccReg-1153070739 + ``` -### EPP Domain with valid domain transfers domain and references exsisting owner contact to domain contacts +### EPP Domain with valid domain transfers domain and references exsisting registrant to domain contacts REQUEST: @@ -5968,10 +7630,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-4396670784 - + + ABC-12345 + ccReg-1035262117 + ``` @@ -5986,7 +7648,7 @@ REQUEST: domain14.ee - b2b106747e308678a83d2e6eba9149cf + 8c8a24afd65fb32cbea0683f805a2394 @@ -6008,18 +7670,18 @@ RESPONSE: domain14.ee serverApproved - 222 - 2015-04-02 09:30:46 UTC - 111 - 2015-04-02 09:30:46 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:37 UTC + REGDOMAIN1 + 2015-05-27 10:43:37 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-3828737809 + - - ABC-12345 - ccReg-2042346800 - ``` @@ -6061,10 +7723,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-8668462665 - + + ABC-12345 + ccReg-6455795713 + ``` @@ -6109,10 +7771,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-1154374419 - + + ABC-12345 + ccReg-8823340387 + ``` @@ -6127,7 +7789,7 @@ REQUEST: domain15.ee - 3bcc3c532d935e259e3841a8313fdd15 + 0f81c488e43a5ff0d09d9ae2ad89534e @@ -6149,18 +7811,18 @@ RESPONSE: domain15.ee serverApproved - 222 - 2015-04-02 09:30:46 UTC - 111 - 2015-04-02 09:30:46 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:38 UTC + REGDOMAIN1 + 2015-05-27 10:43:38 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-0363538601 + - - ABC-12345 - ccReg-9821029703 - ``` @@ -6202,10 +7864,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-4088686497 - + + ABC-12345 + ccReg-5923931571 + ``` @@ -6250,10 +7912,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6492717966 - + + ABC-12345 + ccReg-3627375804 + ``` @@ -6286,11 +7948,11 @@ RESPONSE: Authorization error + + ABC-12345 + ccReg-1686309037 + - - ABC-12345 - ccReg-8048438585 - ``` @@ -6332,10 +7994,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-7296528631 - + + ABC-12345 + ccReg-5701905644 + ``` @@ -6352,7 +8014,7 @@ REQUEST: domain17.ee - 35c48f9b0d4c7d70fb1571a9fff630e8 + 16eb001e706172697a4ae9ab2a7982d2 @@ -6379,18 +8041,18 @@ RESPONSE: domain17.ee clientApproved - 222 - 2015-04-02 09:30:47 UTC - 111 - 2015-04-02 09:30:47 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:38 UTC + REGDOMAIN1 + 2015-05-27 10:43:38 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-4816670665 + - - ABC-12345 - ccReg-8455837335 - ``` @@ -6434,10 +8096,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-9895076557 - + + ABC-12345 + ccReg-8804211053 + ``` @@ -6452,7 +8114,7 @@ REQUEST: domain18.ee - 2f1d76dd1d400386194f78986c9a1387 + b9d30de5879c3596d1f8a6c69a832a8a @@ -6475,11 +8137,11 @@ RESPONSE: Transfer can be rejected only by current registrar + + ABC-12345 + ccReg-2803345752 + - - ABC-12345 - ccReg-3480621440 - ``` @@ -6521,10 +8183,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-1371548665 - + + ABC-12345 + ccReg-6778373394 + ``` @@ -6539,7 +8201,7 @@ REQUEST: domain18.ee - 2f1d76dd1d400386194f78986c9a1387 + b9d30de5879c3596d1f8a6c69a832a8a @@ -6566,18 +8228,18 @@ RESPONSE: domain18.ee clientRejected - 222 - 2015-04-02 09:30:47 UTC - 111 - 2015-04-02 09:30:47 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:39 UTC + REGDOMAIN1 + 2015-05-27 10:43:39 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-5197335200 + - - ABC-12345 - ccReg-4727507539 - ``` @@ -6621,10 +8283,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-7738853308 - + + ABC-12345 + ccReg-5888721799 + ``` @@ -6639,7 +8301,7 @@ REQUEST: domain19.ee - 44b3c808fcf89b69de50a5c6daabe206 + d41c85651d45c9289191006f559c9ec8 @@ -6662,11 +8324,11 @@ RESPONSE: Transfer can be approved only by current domain registrar + + ABC-12345 + ccReg-7064775457 + - - ABC-12345 - ccReg-3577435242 - ``` @@ -6708,10 +8370,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-8997502823 - + + ABC-12345 + ccReg-9310455244 + ``` @@ -6751,15 +8413,15 @@ RESPONSE: Authorization error + + ABC-12345 + ccReg-7658729961 + - - ABC-12345 - ccReg-6810281251 - ``` -### EPP Domain with valid domain ignores transfer when owner registrar requests transfer +### EPP Domain with valid domain ignores transfer wha registrant registrar requests transfer REQUEST: @@ -6771,7 +8433,7 @@ REQUEST: domain21.ee - 28ceb4792391b6fef2b39ebaa51efd20 + 8ab45ffd3acddb71c6359404cb4c2c34 @@ -6794,11 +8456,11 @@ RESPONSE: Domain already belongs to the querying registrar + + ABC-12345 + ccReg-1943177997 + - - ABC-12345 - ccReg-9527258829 - ``` @@ -6812,7 +8474,7 @@ REQUEST: - example38015316701110573.ee + example98769030605825402.ee 98oiewslkfkd @@ -6832,11 +8494,11 @@ RESPONSE: Attribute is invalid: op + + ABC-12345 + ccReg-6324054729 + - - ABC-12345 - ccReg-9405995760 - ``` @@ -6880,10 +8542,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6108949505 - + + ABC-12345 + ccReg-2397606336 + ``` @@ -6898,7 +8560,7 @@ REQUEST: domain22.ee - e26e60c11bce975174dd8c0c6eb34d6f + e9bfcbdfeeda4465e3a5f109f2377bca @@ -6925,18 +8587,18 @@ RESPONSE: domain22.ee serverApproved - 222 - 2015-04-02 09:30:48 UTC - 111 - 2015-04-02 09:30:48 UTC - 2016-04-02 00:00:00 UTC + REGDOMAIN2 + 2015-05-27 10:43:40 UTC + REGDOMAIN1 + 2015-05-27 10:43:40 UTC + 2016-05-27 00:00:00 UTC + + ABC-12345 + ccReg-4954465709 + - - ABC-12345 - ccReg-0849827514 - ``` @@ -6950,7 +8612,7 @@ REQUEST: domain22.ee - e26e60c11bce975174dd8c0c6eb34d6f + e9bfcbdfeeda4465e3a5f109f2377bca @@ -6973,11 +8635,11 @@ RESPONSE: Authorization error + + ABC-12345 + ccReg-5087615942 + - - ABC-12345 - ccReg-2282068554 - ``` @@ -7019,10 +8681,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-8548503025 - + + ABC-12345 + ccReg-6484511821 + ``` @@ -7039,7 +8701,7 @@ REQUEST: domain23.ee - 9dc563b201a0bd0719bbad1cfe144c1b + d3e0cefadeefa7f1b2868f852adf1228 @@ -7062,15 +8724,15 @@ RESPONSE: Pending transfer was not found + + ABC-12345 + ccReg-5156334511 + - - ABC-12345 - ccReg-5058318458 - ``` -### EPP Domain with valid domain updates a domain +### EPP Domain with valid domain should update right away without update pending status REQUEST: @@ -7082,7 +8744,7 @@ REQUEST: domain24.ee - citizen_1234 + FIXED:CITIZEN_1234 @@ -7106,11 +8768,99 @@ RESPONSE: Command completed successfully + + ABC-12345 + ccReg-1610390580 + + + +``` + +### EPP Domain with valid domain updates a domain + +REQUEST: + +```xml + + + + + + domain25.ee + + FIXED:CITIZEN_1234 + + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; action pending + + + ABC-12345 + ccReg-2809632744 + + + +``` + +### EPP Domain with valid domain should not allow any update when status pending update + +REQUEST: + +```xml + + + + + + domain26.ee + + FIXED:CITIZEN_1234 + + + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Object status prohibits operation + + + ABC-12345 + ccReg-8912347187 + - - ABC-12345 - ccReg-0340648474 - ``` @@ -7124,7 +8874,7 @@ REQUEST: - domain25.ee + domain27.ee @@ -7134,7 +8884,7 @@ REQUEST: ns2.example.com - mak21 + FIXED:MAK21 Payment overdue. @@ -7172,14 +8922,14 @@ RESPONSE: Contact was not found - mak21 + FIXED:MAK21 + + ABC-12345 + ccReg-7279422608 + - - ABC-12345 - ccReg-4989232734 - ``` @@ -7191,7 +8941,7 @@ REQUEST: - domain25.ee + domain27.ee @@ -7201,7 +8951,7 @@ REQUEST: ns2.example.com - mak21 + FIXED:MAK21 Payment overdue. @@ -7239,11 +8989,11 @@ RESPONSE: Command completed successfully + + ABC-12345 + ccReg-3196572742 + - - ABC-12345 - ccReg-2376189737 - ``` @@ -7255,7 +9005,7 @@ REQUEST: - domain25.ee + domain27.ee @@ -7265,7 +9015,7 @@ REQUEST: ns2.example.com - mak21 + FIXED:MAK21 Payment overdue. @@ -7303,25 +9053,19 @@ RESPONSE: Nameserver already exists on this domain [hostname] - ns1.example.com + ns2.example.com Nameserver already exists on this domain [hostname] - ns2.example.com + ns1.example.com Contact already exists on this domain [contact_code_cache] - mak21 - - - - Status already exists on this domain [value] - - clientHold + FIXED:MAK21 @@ -7331,9 +9075,9 @@ RESPONSE: - Public key already exists [public_key] + Status already exists on this domain [value] - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + clientHold @@ -7342,11 +9086,162 @@ RESPONSE: 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + Public key already exists [public_key] + + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + ABC-12345 + ccReg-3629702536 + + + +``` + +### EPP Domain with valid domain updates domain with registrant change what triggers action pending + +REQUEST: + +```xml + + + + + + domain28.ee + + FIXED:CITIZEN_1234 + + + + + ns1.example.com + + + ns2.example.com + + + FIXED:PENDINGMAK21 + Payment overdue. + + + + + + + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 256 + 3 + 254 + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Contact was not found + + FIXED:PENDINGMAK21 + + + + ABC-12345 + ccReg-0035237276 + + + +``` + +REQUEST: + +```xml + + + + + + domain28.ee + + FIXED:CITIZEN_1234 + + + + + ns1.example.com + + + ns2.example.com + + + FIXED:PENDINGMAK21 + Payment overdue. + + + + + + + + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + 256 + 3 + 254 + 841936717ae427ace63c28d04918569a841936717ae427ace63c28d0 + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully; action pending + + + ABC-12345 + ccReg-2590035754 + - - ABC-12345 - ccReg-8012751067 - ``` @@ -7360,7 +9255,7 @@ REQUEST: - domain26.ee + domain29.ee Payment overdue. @@ -7381,11 +9276,11 @@ RESPONSE: Parameter value policy error. Client-side object status management not supported: status [status] + + ABC-12345 + ccReg-0742932026 + - - ABC-12345 - ccReg-1067863132 - ``` @@ -7399,7 +9294,7 @@ REQUEST: - domain27.ee + domain30.ee @@ -7409,7 +9304,7 @@ REQUEST: ns2.example.com - citizen_1234 + FIXED:CITIZEN_1234 Payment overdue. @@ -7447,11 +9342,11 @@ RESPONSE: Command completed successfully + + ABC-12345 + ccReg-5200564648 + - - ABC-12345 - ccReg-3906653198 - ``` @@ -7463,14 +9358,14 @@ REQUEST: - domain27.ee + domain30.ee ns1.example.com - citizen_1234 + FIXED:CITIZEN_1234 @@ -7498,11 +9393,11 @@ RESPONSE: Command completed successfully + + ABC-12345 + ccReg-0319078323 + - - ABC-12345 - ccReg-8564278542 - ``` @@ -7514,14 +9409,14 @@ REQUEST: - domain27.ee + domain30.ee ns1.example.com - citizen_1234 + FIXED:CITIZEN_1234 @@ -7555,7 +9450,7 @@ RESPONSE: Contact was not found - citizen_1234 + FIXED:CITIZEN_1234 @@ -7570,11 +9465,11 @@ RESPONSE: 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + ABC-12345 + ccReg-1059381148 + - - ABC-12345 - ccReg-5976251561 - ``` @@ -7588,7 +9483,7 @@ REQUEST: - domain28.ee + domain31.ee @@ -7611,11 +9506,11 @@ RESPONSE: serverHold + + ABC-12345 + ccReg-5054919824 + - - ABC-12345 - ccReg-8895696227 - ``` @@ -7629,14 +9524,14 @@ REQUEST: - domain29.ee + domain32.ee - ns.graham84.ee + ns.mclaughlinauer93.ee - sh6892878164 + FIXED:SH1132295975 @@ -7654,11 +9549,11 @@ RESPONSE: Command completed successfully + + ABC-12345 + ccReg-5215036552 + - - ABC-12345 - ccReg-8651137150 - ``` @@ -7670,14 +9565,14 @@ REQUEST: - domain29.ee + domain32.ee - ns.graham84.ee + ns.mclaughlinauer93.ee - sh6892878164 + FIXED:SH1132295975 @@ -7695,20 +9590,20 @@ RESPONSE: Nameserver already exists on this domain [hostname] - ns.graham84.ee + ns.mclaughlinauer93.ee Contact already exists on this domain [contact_code_cache] - sh6892878164 + FIXED:SH1132295975 + + ABC-12345 + ccReg-1074473944 + - - ABC-12345 - ccReg-4328077081 - ``` @@ -7722,9 +9617,9 @@ REQUEST: - domain30.ee + domain33.ee - citizen_1234 + FIXED:CITIZEN_1234 @@ -7742,11 +9637,11 @@ RESPONSE: Required parameter missing: extension > extdata > legalDocument [legal_document] + + ABC-12345 + ccReg-6965471467 + - - ABC-12345 - ccReg-6566236021 - ``` @@ -7760,7 +9655,7 @@ REQUEST: - domain31.ee + domain34.ee @@ -7783,11 +9678,11 @@ RESPONSE: invalidStatus + + ABC-12345 + ccReg-9485651549 + - - ABC-12345 - ccReg-8027057885 - ``` @@ -7801,8 +9696,8 @@ REQUEST: - domain32.ee - 2016-04-02 + domain35.ee + 2016-05-27 1 @@ -7822,14 +9717,14 @@ RESPONSE: - domain32.ee - 2017-04-02 00:00:00 UTC + domain35.ee + 2017-05-27 00:00:00 UTC - - ABC-12345 - ccReg-1155889097 - + + ABC-12345 + ccReg-2938890628 + ``` @@ -7844,7 +9739,7 @@ REQUEST: - domain33.ee + domain36.ee 2200-08-07 1 @@ -7866,11 +9761,11 @@ RESPONSE: 2200-08-07 + + ABC-12345 + ccReg-6690551934 + - - ABC-12345 - ccReg-9921182086 - ``` @@ -7884,8 +9779,8 @@ REQUEST: - domain34.ee - 2016-04-02 + domain37.ee + 2016-05-27 4 @@ -7906,11 +9801,11 @@ RESPONSE: 4 + + ABC-12345 + ccReg-2230915815 + - - ABC-12345 - ccReg-2768552598 - ``` @@ -7924,13 +9819,13 @@ REQUEST: - domain35.ee + domain38.ee 2fooBAR - ABC-12345 + ``` @@ -7946,21 +9841,22 @@ RESPONSE: - domain35.ee + domain38.ee Payment overdue. - sh7284535177 - sh3880278978 + FIXED:REGISTRANT2741815436 + FIXED:SH0138863290 + FIXED:SH2076456589 - ns.baumbach105.ee + ns.gislason114.ee 192.168.1.1 - ns.rosenbaum106.ee + ns.wilkinson115.ee 192.168.1.1 - ns.crooks107.ee + ns.lemke116.ee 192.168.1.1 @@ -7971,47 +9867,46 @@ RESPONSE: registrar1 - 2015-04-02 09:30:51 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:51 UTC + 2015-05-27 10:43:43 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:43 UTC - 33fbbf9a8afc8eaab78beca8da2a9095 + fc35227d625b0f64334a64e79d830693 - - - - - 123 - 3 - 1 - abc - - 257 - 3 + + + + 123 3 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - 123 - 3 - 1 - abc - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - - ABC-12345 - ccReg-1974888440 - + 1 + abc + + 257 + 3 + 3 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + 123 + 3 + 1 + abc + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + + ccReg-0824479428 + + ``` @@ -8023,13 +9918,13 @@ REQUEST: - domain35.ee + domain38.ee 2fooBAR - ABC-12345 + ``` @@ -8045,21 +9940,22 @@ RESPONSE: - domain35.ee + domain38.ee Payment overdue. - sh7284535177 - sh3880278978 + FIXED:REGISTRANT2741815436 + FIXED:SH0138863290 + FIXED:SH2076456589 - ns.baumbach105.ee + ns.gislason114.ee 192.168.1.1 - ns.rosenbaum106.ee + ns.wilkinson115.ee 192.168.1.1 - ns.crooks107.ee + ns.lemke116.ee 192.168.1.1 @@ -8070,47 +9966,46 @@ RESPONSE: registrar1 - 2015-04-02 09:30:51 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:51 UTC + 2015-05-27 10:43:43 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:43 UTC - 33fbbf9a8afc8eaab78beca8da2a9095 + fc35227d625b0f64334a64e79d830693 - - - - - 123 - 3 - 1 - abc - - 257 - 3 + + + + 123 3 - AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 - - - - 123 - 3 - 1 - abc - - 0 - 3 - 5 - 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f - - - - - - ABC-12345 - ccReg-6008864794 - + 1 + abc + + 257 + 3 + 3 + AwEAAddt2AkLfYGKgiEZB5SmIF8EvrjxNMH6HtxWEA4RJ9Ao6LCWheg8 + + + + 123 + 3 + 1 + abc + + 0 + 3 + 5 + 700b97b591ed27ec2590d19f06f88bba700b97b591ed27ec2590d19f + + + + + + ccReg-2750667963 + + ``` @@ -8124,13 +10019,13 @@ REQUEST: - domain36.ee + domain39.ee 2fooBAR - ABC-12345 + ``` @@ -8144,11 +10039,10 @@ RESPONSE: Attribute is invalid: hosts + + ccReg-0144253530 + - - ABC-12345 - ccReg-3939237932 - ``` @@ -8160,13 +10054,13 @@ REQUEST: - domain36.ee + domain39.ee 2fooBAR - ABC-12345 + ``` @@ -8182,37 +10076,37 @@ RESPONSE: - domain36.ee + domain39.ee - sh4498443879 - sh4355215380 + FIXED:REGISTRANT3507395337 + FIXED:SH9812701792 + FIXED:SH5796684791 - ns1.domain36.ee + ns1.domain39.ee 192.168.1.1 1080:0:0:0:8:800:200C:417A - ns2.domain36.ee + ns2.domain39.ee 192.168.1.1 1080:0:0:0:8:800:200C:417A registrar1 - 2015-04-02 09:30:51 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:51 UTC + 2015-05-27 10:43:43 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:43 UTC - 4b37e8ab04620cef28710d125652e91e + fc42e6becbedb165889c19f43a2540ab + + ccReg-1069575583 + - - ABC-12345 - ccReg-6384280415 - ``` @@ -8224,13 +10118,13 @@ REQUEST: - domain36.ee + domain39.ee 2fooBAR - ABC-12345 + ``` @@ -8246,10 +10140,11 @@ RESPONSE: - domain36.ee + domain39.ee - sh4498443879 - sh4355215380 + FIXED:REGISTRANT3507395337 + FIXED:SH9812701792 + FIXED:SH5796684791 ns3.test.ee @@ -8259,19 +10154,18 @@ RESPONSE: registrar1 - 2015-04-02 09:30:51 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:51 UTC + 2015-05-27 10:43:43 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:43 UTC - 4b37e8ab04620cef28710d125652e91e + fc42e6becbedb165889c19f43a2540ab + + ccReg-0643395459 + - - ABC-12345 - ccReg-8224764132 - ``` @@ -8283,13 +10177,13 @@ REQUEST: - domain36.ee + domain39.ee 2fooBAR - ABC-12345 + ``` @@ -8305,25 +10199,25 @@ RESPONSE: - domain36.ee + domain39.ee - sh4498443879 - sh4355215380 + FIXED:REGISTRANT3507395337 + FIXED:SH9812701792 + FIXED:SH5796684791 registrar1 - 2015-04-02 09:30:51 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:51 UTC + 2015-05-27 10:43:43 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:43 UTC - 4b37e8ab04620cef28710d125652e91e + fc42e6becbedb165889c19f43a2540ab + + ccReg-3688764669 + - - ABC-12345 - ccReg-7332661363 - ``` @@ -8335,13 +10229,13 @@ REQUEST: - domain36.ee + domain39.ee 2fooBAR - ABC-12345 + ``` @@ -8357,18 +10251,19 @@ RESPONSE: - domain36.ee + domain39.ee - sh4498443879 - sh4355215380 + FIXED:REGISTRANT3507395337 + FIXED:SH9812701792 + FIXED:SH5796684791 - ns1.domain36.ee + ns1.domain39.ee 192.168.1.1 1080:0:0:0:8:800:200C:417A - ns2.domain36.ee + ns2.domain39.ee 192.168.1.1 1080:0:0:0:8:800:200C:417A @@ -8380,19 +10275,18 @@ RESPONSE: registrar1 - 2015-04-02 09:30:51 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:51 UTC + 2015-05-27 10:43:43 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:43 UTC - 4b37e8ab04620cef28710d125652e91e + fc42e6becbedb165889c19f43a2540ab + + ccReg-5604815953 + - - ABC-12345 - ccReg-3772303930 - ``` @@ -8412,7 +10306,7 @@ REQUEST: - ABC-12345 + ``` @@ -8429,11 +10323,10 @@ RESPONSE: test.ee + + ccReg-5161660847 + - - ABC-12345 - ccReg-6273798373 - ``` @@ -8447,13 +10340,13 @@ REQUEST: - domain37.ee + domain40.ee 2fooBAR - ABC-12345 + ``` @@ -8469,39 +10362,39 @@ RESPONSE: - domain37.ee + domain40.ee - sh9104935681 - sh8882670882 + FIXED:REGISTRANT0887546238 + FIXED:SH8726482994 + FIXED:SH5179344293 - ns.dickensbeahan111.ee + ns.renner120.ee 192.168.1.1 - ns.hahn112.ee + ns.stiedemann121.ee 192.168.1.1 - ns.price113.ee + ns.walkermitchell122.ee 192.168.1.1 registrar1 - 2015-04-02 09:30:51 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:51 UTC + 2015-05-27 10:43:44 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:44 UTC - 6f92a3b0961e0b502da8b2ba0069f119 + 07b874494197f5d551179bde6c743dc1 + + ccReg-3483125791 + - - ABC-12345 - ccReg-1189117340 - ``` @@ -8545,10 +10438,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-5222570408 - + + ABC-12345 + ccReg-0433009755 + ``` @@ -8561,13 +10454,13 @@ REQUEST: - domain38.ee + domain41.ee 2fooBAR - ABC-12345 + ``` @@ -8581,11 +10474,10 @@ RESPONSE: Authorization error + + ccReg-9728706466 + - - ABC-12345 - ccReg-3637769101 - ``` @@ -8627,10 +10519,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-8212846190 - + + ABC-12345 + ccReg-3974422485 + ``` @@ -8675,10 +10567,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-9203907921 - + + ABC-12345 + ccReg-4142452023 + ``` @@ -8691,10 +10583,10 @@ REQUEST: - domain39.ee + domain42.ee - ABC-12345 + ``` @@ -8710,36 +10602,36 @@ RESPONSE: - domain39.ee + domain42.ee - sh9393185485 - sh9937875586 + FIXED:REGISTRANT3430252540 + FIXED:SH3885267898 + FIXED:SH8898454097 - ns.kerlukeschuster117.ee + ns.bauch126.ee 192.168.1.1 - ns.ferrywhite118.ee + ns.millerhudson127.ee 192.168.1.1 - ns.adams119.ee + ns.jakubowskimacgyver128.ee 192.168.1.1 registrar1 - 2015-04-02 09:30:52 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:52 UTC + 2015-05-27 10:43:44 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:44 UTC + + ccReg-3186032703 + - - ABC-12345 - ccReg-0274089113 - ``` @@ -8781,10 +10673,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-9142721117 - + + ABC-12345 + ccReg-7433830827 + ``` @@ -8829,10 +10721,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-2646431282 - + + ABC-12345 + ccReg-6666385262 + ``` @@ -8845,13 +10737,13 @@ REQUEST: - domain40.ee + domain43.ee - 82d3c691b479d51300fbc8247864015d + caeb09c88ac3065e75384525e444b28d - ABC-12345 + ``` @@ -8867,39 +10759,39 @@ RESPONSE: - domain40.ee + domain43.ee - sh8178403887 - sh9058803888 + FIXED:REGISTRANT1287087941 + FIXED:SH25240842100 + FIXED:SH4103432799 - ns.lang120.ee + ns.murphysawayn129.ee 192.168.1.1 - ns.krajcik121.ee + ns.parkerbailey130.ee 192.168.1.1 - ns.pfannerstill122.ee + ns.pagac131.ee 192.168.1.1 registrar1 - 2015-04-02 09:30:52 UTC - 2016-04-02 00:00:00 UTC - 2015-04-02 09:30:52 UTC + 2015-05-27 10:43:44 UTC + 2016-05-27 00:00:00 UTC + 2015-05-27 10:43:44 UTC - 82d3c691b479d51300fbc8247864015d + caeb09c88ac3065e75384525e444b28d + + ccReg-0149171551 + - - ABC-12345 - ccReg-1822021145 - ``` @@ -8941,10 +10833,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6032311880 - + + ABC-12345 + ccReg-1852061545 + ``` @@ -8959,7 +10851,7 @@ REQUEST: - domain41.ee + domain44.ee @@ -8978,14 +10870,14 @@ RESPONSE: - - Command completed successfully + + Command completed successfully; action pending + + ABC-12345 + ccReg-2271849131 + - - ABC-12345 - ccReg-0253339129 - ``` @@ -8999,7 +10891,7 @@ REQUEST: - domain42.ee + domain45.ee @@ -9021,11 +10913,51 @@ RESPONSE: Domain status prohibits operation + + ABC-12345 + ccReg-9476531499 + + + +``` + +### EPP Domain with valid domain does not delete domain with pending delete + +REQUEST: + +```xml + + + + + + domain46.ee + + + + + JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Object status prohibits operation + + + ABC-12345 + ccReg-0939566483 + - - ABC-12345 - ccReg-9280243175 - ``` @@ -9056,11 +10988,11 @@ RESPONSE: Required parameter missing: extension > extdata > legalDocument [legal_document] + + ABC-12345 + ccReg-9335855114 + - - ABC-12345 - ccReg-5632446934 - ``` @@ -9098,10 +11030,10 @@ RESPONSE: - - ABC-12345 - ccReg-8120420843 - + + ABC-12345 + ccReg-4928370789 + ``` @@ -9114,7 +11046,7 @@ REQUEST: - domain43.ee + domain47.ee ABC-12345 @@ -9134,15 +11066,15 @@ RESPONSE: - domain43.ee + domain47.ee in use - - ABC-12345 - ccReg-5402119196 - + + ABC-12345 + ccReg-3952532476 + ``` @@ -9189,10 +11121,10 @@ RESPONSE: - - ABC-12345 - ccReg-2847422830 - + + ABC-12345 + ccReg-9733374439 + ``` @@ -9236,10 +11168,10 @@ RESPONSE: - - ABC-12345 - ccReg-2990576653 - + + ABC-12345 + ccReg-8694188647 + ``` @@ -9284,10 +11216,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-3536780546 - + + ABC-12345 + ccReg-5192810508 + ``` @@ -9301,7 +11233,7 @@ REQUEST: - domain44.ee + domain48.ee 256 3 @@ -9309,13 +11241,13 @@ REQUEST: cmlraXN0aGViZXN0 - ec4585b042057eed9d3ce096f64c2b96 + d3e3d1fe3ece74a0927320fb3bb567de P1M13D - 1427967053 + 1432723426 ``` @@ -9326,14 +11258,17 @@ RESPONSE: - - Command completed successfully + + Unimplemented object service + + domain48.ee + + + 1432723426 + ccReg-7694214472 + - - 1427967053 - ccReg-5382286699 - ``` @@ -9346,20 +11281,20 @@ REQUEST: - domain44.ee + domain48.ee 3 8 cmlraXN0aGViZXN0 - ec4585b042057eed9d3ce096f64c2b96 + d3e3d1fe3ece74a0927320fb3bb567de Invalid Expiry - 1427967053 + 1432723426 ``` @@ -9379,11 +11314,11 @@ RESPONSE: Invalid Expiry + + 1432723426 + ccReg-0640451513 + - - 1427967053 - ccReg-1200401461 - ``` @@ -9396,7 +11331,7 @@ REQUEST: - domain44.ee + domain48.ee 256 3 @@ -9404,13 +11339,13 @@ REQUEST: cmlraXN0aGViZXN0 - ec4585b042057eed9d3ce096f64c2b96 + d3e3d1fe3ece74a0927320fb3bb567de Invalid Expiry - 1427967053 + 1432723426 ``` @@ -9427,11 +11362,11 @@ RESPONSE: Invalid Expiry + + 1432723426 + ccReg-7577070399 + - - 1427967053 - ccReg-7444929407 - ``` @@ -9444,7 +11379,7 @@ REQUEST: - domain44.ee + domain48.ee 256 3 @@ -9452,13 +11387,13 @@ REQUEST: cmlraXN0aGViZXN0 - ec4585b042057eed9d3ce096f64c2b96 + d3e3d1fe3ece74a0927320fb3bb567de Invalid Absolute - 1427967053 + 1432723426 ``` @@ -9475,11 +11410,11 @@ RESPONSE: Invalid Absolute + + 1432723426 + ccReg-0078778441 + - - 1427967053 - ccReg-3602131394 - ``` @@ -9492,7 +11427,7 @@ REQUEST: - domain44.ee + domain48.ee 256 3 @@ -9500,14 +11435,14 @@ REQUEST: cmlraXN0aGViZXN0 - ec4585b042057eed9d3ce096f64c2b96 + d3e3d1fe3ece74a0927320fb3bb567de P1D 2014-12-23 - 1427967053 + 1432723426 ``` @@ -9521,11 +11456,11 @@ RESPONSE: Exactly one parameter required: keyrelay > expiry > relative OR keyrelay > expiry > absolute + + 1432723426 + ccReg-9000657815 + - - 1427967053 - ccReg-1904450442 - ``` @@ -9538,7 +11473,7 @@ REQUEST: - domain44.ee + domain48.ee 256 3 @@ -9546,7 +11481,7 @@ REQUEST: cmlraXN0aGViZXN0 - ec4585b042057eed9d3ce096f64c2b96 + d3e3d1fe3ece74a0927320fb3bb567de P1D @@ -9555,7 +11490,7 @@ REQUEST: JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - 1427967053 + 1432723426 ``` @@ -9566,14 +11501,17 @@ RESPONSE: - - Command completed successfully + + Unimplemented object service + + domain48.ee + + + 1432723426 + ccReg-5852406493 + - - 1427967053 - ccReg-4736415479 - ``` @@ -9586,7 +11524,7 @@ REQUEST: - domain44.ee + domain48.ee 256 3 @@ -9594,7 +11532,7 @@ REQUEST: cmlraXN0aGViZXN0 - ec4585b042057eed9d3ce096f64c2b96 + d3e3d1fe3ece74a0927320fb3bb567de P1D @@ -9603,7 +11541,7 @@ REQUEST: JVBERi0xLjQKJcOkw7zDtsOfCjIgMCBvYmoKPDwvTGVuZ3RoIDMgMCBSL0Zp== - 1427967054 + 1432723426 ``` @@ -9617,11 +11555,11 @@ RESPONSE: Attribute is invalid: type + + 1432723426 + ccReg-5724944407 + - - 1427967054 - ccReg-3574524353 - ``` @@ -9663,10 +11601,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-1815017065 - + + ABC-12345 + ccReg-9186607336 + ``` @@ -9680,7 +11618,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -9694,10 +11632,10 @@ RESPONSE: Command completed successfully; no messages - - 1427967054 - ccReg-1728191385 - + + 1432723427 + ccReg-4362839400 + ``` @@ -9742,10 +11680,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6295264865 - + + ABC-12345 + ccReg-0618571136 + ``` @@ -9757,7 +11695,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -9771,10 +11709,10 @@ RESPONSE: Command completed successfully; no messages - - 1427967054 - ccReg-4959006260 - + + 1432723427 + ccReg-9229141591 + ``` @@ -9817,10 +11755,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-7806182071 - + + ABC-12345 + ccReg-7150833559 + ``` @@ -9832,7 +11770,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -9847,13 +11785,13 @@ RESPONSE: Command completed successfully; ack to dequeue - 2015-04-02 09:30:54 UTC + 2015-05-27 10:43:47 UTC Balance low. - - 1427967054 - ccReg-1065036331 - + + 1432723427 + ccReg-6409633797 + ``` @@ -9896,10 +11834,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-4737308347 - + + ABC-12345 + ccReg-1091372734 + ``` @@ -9911,7 +11849,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -9928,11 +11866,11 @@ RESPONSE: 1 + + 1432723427 + ccReg-4266035206 + - - 1427967054 - ccReg-5155427619 - ``` @@ -9974,10 +11912,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-6756422935 - + + ABC-12345 + ccReg-5253306865 + ``` @@ -9989,7 +11927,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10004,10 +11942,10 @@ RESPONSE: Command completed successfully - - 1427967054 - ccReg-7615901694 - + + 1432723427 + ccReg-5030345374 + ``` @@ -10019,7 +11957,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10036,11 +11974,11 @@ RESPONSE: 1 + + 1432723427 + ccReg-3853180260 + - - 1427967054 - ccReg-0875606068 - ``` @@ -10053,7 +11991,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10067,11 +12005,11 @@ RESPONSE: Attribute is invalid: op + + 1432723427 + ccReg-4855688629 + - - 1427967054 - ccReg-7102855017 - ``` @@ -10084,7 +12022,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10099,13 +12037,13 @@ RESPONSE: Command completed successfully; ack to dequeue - 2015-04-02 09:30:54 UTC + 2015-05-27 10:43:47 UTC Smth else. - - 1427967054 - ccReg-2968797976 - + + 1432723427 + ccReg-8604749468 + ``` @@ -10117,7 +12055,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10132,10 +12070,10 @@ RESPONSE: Command completed successfully - - 1427967054 - ccReg-8087270127 - + + 1432723427 + ccReg-9137309782 + ``` @@ -10147,7 +12085,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10162,13 +12100,13 @@ RESPONSE: Command completed successfully; ack to dequeue - 2015-04-02 09:30:54 UTC + 2015-05-27 10:43:47 UTC Something. - - 1427967054 - ccReg-4746360314 - + + 1432723427 + ccReg-9591605036 + ``` @@ -10180,7 +12118,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10195,10 +12133,10 @@ RESPONSE: Command completed successfully - - 1427967054 - ccReg-2705511628 - + + 1432723427 + ccReg-3197560707 + ``` @@ -10210,7 +12148,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10225,13 +12163,13 @@ RESPONSE: Command completed successfully; ack to dequeue - 2015-04-02 09:30:54 UTC + 2015-05-27 10:43:47 UTC Balance low. - - 1427967054 - ccReg-3482010110 - + + 1432723427 + ccReg-9671477441 + ``` @@ -10243,7 +12181,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10258,10 +12196,10 @@ RESPONSE: Command completed successfully - - 1427967054 - ccReg-1008015830 - + + 1432723427 + ccReg-9804202574 + ``` @@ -10273,7 +12211,7 @@ REQUEST: - 1427967054 + 1432723427 ``` @@ -10287,10 +12225,10 @@ RESPONSE: Command completed successfully; no messages - - 1427967054 - ccReg-1326047312 - + + 1432723427 + ccReg-8729751147 + ``` @@ -10304,7 +12242,7 @@ RESPONSE: EPP server (EIS) - 2015-04-02T09:30:55Z + 2015-05-27T10:43:48Z 1.0 en @@ -10378,11 +12316,11 @@ RESPONSE: Authentication error; server closing connection + + ABC-12345 + ccReg-7587508443 + - - ABC-12345 - ccReg-7067103299 - ``` @@ -10426,11 +12364,11 @@ RESPONSE: Authentication error; server closing connection + + ABC-12345 + ccReg-7134407379 + - - ABC-12345 - ccReg-9646591596 - ``` @@ -10459,11 +12397,58 @@ RESPONSE: You need to login first. + + ABC-12345 + ccReg-5606311571 + + + +``` + +### EPP Session when connected should not have clTRID in response if client does not send it + +REQUEST: + +```xml + + + + + wrong-user + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + + + +``` + +RESPONSE: + +```xml + + + + + Authentication error; server closing connection + + + ccReg-3376507236 + - - ABC-12345 - ccReg-5691369575 - ``` @@ -10507,10 +12492,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-4033240040 - + + ABC-12345 + ccReg-1053185597 + ``` @@ -10555,10 +12540,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-9199828071 - + + ABC-12345 + ccReg-9585410433 + ``` @@ -10601,11 +12586,11 @@ RESPONSE: Already logged in. Use <logout> first. + + ABC-12345 + ccReg-0652880827 + - - ABC-12345 - ccReg-7373047914 - ``` @@ -10649,10 +12634,10 @@ RESPONSE: Command completed successfully - - ABC-12345 - ccReg-7594007931 - + + ABC-12345 + ccReg-4357103420 + ``` @@ -10678,11 +12663,109 @@ RESPONSE: Command completed successfully; ending session + + ABC-12345 + ccReg-2409810658 + + + +``` + +### EPP Session when connected with valid user changes password and logs in + +REQUEST: + +```xml + + + + + gitlab + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + abcdefg + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Command completed successfully + + + ABC-12345 + ccReg-7664508234 + + + +``` + +### EPP Session when connected with valid user fails if new password is not valid + +REQUEST: + +```xml + + + + + gitlab + ghyt9e4fu + + 1.0 + en + + + urn:ietf:params:xml:ns:domain-1.0 + urn:ietf:params:xml:ns:contact-1.0 + urn:ietf:params:xml:ns:host-1.0 + urn:ietf:params:xml:ns:keyrelay-1.0 + + urn:ietf:params:xml:ns:secDNS-1.1 + urn:ee:eis:xml:epp:eis-1.0 + + + + + ABC-12345 + + +``` + +RESPONSE: + +```xml + + + + + Password is missing [password] + + + ABC-12345 + ccReg-8555388764 + - - ABC-12345 - ccReg-0995963655 - ``` diff --git a/doc/schemas/contact-1.0.xsd b/doc/schemas/contact-1.0.xsd new file mode 100644 index 000000000..dc2b366e6 --- /dev/null +++ b/doc/schemas/contact-1.0.xsd @@ -0,0 +1,408 @@ + + + + + + + + + + + Extensible Provisioning Protocol v1.0 + contact provisioning schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/schemas/domain-1.0.xsd b/doc/schemas/domain-1.0.xsd new file mode 100644 index 000000000..9ce83db8d --- /dev/null +++ b/doc/schemas/domain-1.0.xsd @@ -0,0 +1,451 @@ + + + + + + + + + + + + + + Extensible Provisioning Protocol v1.0 + domain provisioning schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/schemas/eis-1.0.xsd b/doc/schemas/eis-1.0.xsd new file mode 100644 index 000000000..390c45579 --- /dev/null +++ b/doc/schemas/eis-1.0.xsd @@ -0,0 +1,74 @@ + + + + + + EIS Extensible Provisioning Protocol v1.0 + extension schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/schemas/epp-1.0.xsd b/doc/schemas/epp-1.0.xsd new file mode 100644 index 000000000..1efc25947 --- /dev/null +++ b/doc/schemas/epp-1.0.xsd @@ -0,0 +1,443 @@ + + + + + + + + + + Extensible Provisioning Protocol v1.0 schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/schemas/eppcom-1.0.xsd b/doc/schemas/eppcom-1.0.xsd new file mode 100644 index 000000000..3d1c44e44 --- /dev/null +++ b/doc/schemas/eppcom-1.0.xsd @@ -0,0 +1,104 @@ + + + + + + + Extensible Provisioning Protocol v1.0 + shared structures schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/schemas/host-1.0.xsd b/doc/schemas/host-1.0.xsd new file mode 100644 index 000000000..47015ec83 --- /dev/null +++ b/doc/schemas/host-1.0.xsd @@ -0,0 +1,244 @@ + + + + + + + + + + + Extensible Provisioning Protocol v1.0 + host provisioning schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/schemas/secDNS-1.1.xsd b/doc/schemas/secDNS-1.1.xsd new file mode 100644 index 000000000..e9fe3f65a --- /dev/null +++ b/doc/schemas/secDNS-1.1.xsd @@ -0,0 +1,130 @@ + + + + + + Extensible Provisioning Protocol v1.0 + domain name extension schema + for provisioning DNS security (DNSSEC) extensions. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/iptable.rb b/lib/iptable.rb new file mode 100644 index 000000000..c41bc37f4 --- /dev/null +++ b/lib/iptable.rb @@ -0,0 +1,17 @@ +module Iptable + def counter_update(registrar_code, ip) + counter_proc = "/proc/net/xt_recent/#{registrar_code}" + + begin + File.open(counter_proc, 'a') do |f| + f.puts "+#{ip}" + end + rescue Errno::ENOENT => e + logger.error "IPTABLES COUNTER UPDATE: cannot open #{counter_proc}: #{e}" + rescue Errno::EACCES => e + logger.error "IPTABLES COUNTER UPDATE: no permission #{counter_proc}: #{e}" + rescue IOError => e + logger.error "IPTABLES COUNTER UPDATE: cannot write #{ip} to #{counter_proc}: #{e}" + end + end +end diff --git a/public/assets/admin-manifest-6e6fcf039a6b92e085d41d339fec5884.js b/public/assets/admin-manifest-6e6fcf039a6b92e085d41d339fec5884.js new file mode 100644 index 000000000..a4eadcf6d --- /dev/null +++ b/public/assets/admin-manifest-6e6fcf039a6b92e085d41d339fec5884.js @@ -0,0 +1,10 @@ +!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){function n(t){var e=t.length,n=re.type(t);return"function"===n||re.isWindow(t)?!1:1===t.nodeType&&e?!0:"array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t}function i(t,e,n){if(re.isFunction(e))return re.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return re.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(he.test(e))return re.filter(e,t,n);e=re.filter(e,t)}return re.grep(t,function(t){return re.inArray(t,e)>=0!==n})}function r(t,e){do t=t[e];while(t&&1!==t.nodeType);return t}function o(t){var e=we[t]={};return re.each(t.match(be)||[],function(t,n){e[n]=!0}),e}function a(){fe.addEventListener?(fe.removeEventListener("DOMContentLoaded",s,!1),t.removeEventListener("load",s,!1)):(fe.detachEvent("onreadystatechange",s),t.detachEvent("onload",s))}function s(){(fe.addEventListener||"load"===event.type||"complete"===fe.readyState)&&(a(),re.ready())}function l(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(De,"-$1").toLowerCase();if(n=t.getAttribute(i),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:_e.test(n)?re.parseJSON(n):n}catch(r){}re.data(t,e,n)}else n=void 0}return n}function u(t){var e;for(e in t)if(("data"!==e||!re.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function c(t,e,n,i){if(re.acceptData(t)){var r,o,a=re.expando,s=t.nodeType,l=s?re.cache:t,u=s?t[a]:t[a]&&a;if(u&&l[u]&&(i||l[u].data)||void 0!==n||"string"!=typeof e)return u||(u=s?t[a]=V.pop()||re.guid++:a),l[u]||(l[u]=s?{}:{toJSON:re.noop}),("object"==typeof e||"function"==typeof e)&&(i?l[u]=re.extend(l[u],e):l[u].data=re.extend(l[u].data,e)),o=l[u],i||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[re.camelCase(e)]=n),"string"==typeof e?(r=o[e],null==r&&(r=o[re.camelCase(e)])):r=o,r}}function d(t,e,n){if(re.acceptData(t)){var i,r,o=t.nodeType,a=o?re.cache:t,s=o?t[re.expando]:re.expando;if(a[s]){if(e&&(i=n?a[s]:a[s].data)){re.isArray(e)?e=e.concat(re.map(e,re.camelCase)):e in i?e=[e]:(e=re.camelCase(e),e=e in i?[e]:e.split(" ")),r=e.length;for(;r--;)delete i[e[r]];if(n?!u(i):!re.isEmptyObject(i))return}(n||(delete a[s].data,u(a[s])))&&(o?re.cleanData([t],!0):ne.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function h(){return!0}function p(){return!1}function f(){try{return fe.activeElement}catch(t){}}function g(t){var e=Le.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}function m(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!==Ce?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==Ce?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||re.nodeName(i,e)?o.push(i):re.merge(o,m(i,e));return void 0===e||e&&re.nodeName(t,e)?re.merge([t],o):o}function v(t){Ee.test(t.type)&&(t.defaultChecked=t.checked)}function y(t,e){return re.nodeName(t,"table")&&re.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function b(t){return t.type=(null!==re.find.attr(t,"type"))+"/"+t.type,t}function w(t){var e=Ye.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function x(t,e){for(var n,i=0;null!=(n=t[i]);i++)re._data(n,"globalEval",!e||re._data(e[i],"globalEval"))}function k(t,e){if(1===e.nodeType&&re.hasData(t)){var n,i,r,o=re._data(t),a=re._data(e,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(i=0,r=s[n].length;r>i;i++)re.event.add(e,n,s[n][i])}a.data&&(a.data=re.extend({},a.data))}}function C(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!ne.noCloneEvent&&e[re.expando]){r=re._data(e);for(i in r.events)re.removeEvent(e,i,r.handle);e.removeAttribute(re.expando)}"script"===n&&e.text!==t.text?(b(e).text=t.text,w(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),ne.html5Clone&&t.innerHTML&&!re.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&Ee.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}function _(e,n){var i,r=re(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(r[0]))?i.display:re.css(r[0],"display");return r.detach(),o}function D(t){var e=fe,n=Je[t];return n||(n=_(t,e),"none"!==n&&n||(Ge=(Ge||re("