Net-EPP-Server
view release on metacpan or search on metacpan
lib/Net/EPP/Server.pm view on Meta::CPAN
package Net::EPP::Server;
# ABSTRACT: A simple EPP server implementation.
use Carp;
use Crypt::OpenSSL::Random;
use Cwd qw(abs_path);
use DateTime;
use Digest::SHA qw(sha512_hex);
use File::Path qw(make_path);
use File::Spec;
use File::Slurp qw(write_file);
use IO::Socket::SSL;
use List::Util qw(any none);
use Mozilla::CA;
use Net::EPP 0.27;
use Net::EPP::Frame;
use Net::EPP::Protocol;
use Net::EPP::ResponseCodes;
use No::Worries::DN qw(dn_parse);
use Socket;
use Socket6;
use Sys::Hostname;
use Time::HiRes qw(ualarm);
use XML::LibXML;
use base qw(Net::Server::PreFork);
use bytes;
use utf8;
use open qw(:encoding(utf8));
use feature qw(say state);
use vars qw($VERSION %MESSAGES $HELLO);
use strict;
use warnings;
our $VERSION = '0.10';
our %MESSAGES = (
1000 => 'Command completed successfully.',
1001 => 'Command completed successfully; action pending.',
1300 => 'Command completed successfully; no messages.',
1301 => 'Command completed successfully; ack to dequeue.',
1500 => 'Command completed successfully; ending session.',
2000 => 'Unknown command.',
2001 => 'Command syntax error.',
2002 => 'Command use error.',
2003 => 'Required parameter missing.',
2004 => 'Parameter value range error.',
2005 => 'Parameter value syntax error.',
2100 => 'Unimplemented protocol version.',
2101 => 'Unimplemented command.',
2102 => 'Unimplemented option.',
2103 => 'Unimplemented extension.',
2104 => 'Billing failure.',
2105 => 'Object is not eligible for renewal.',
2106 => 'Object is not eligible for transfer.',
2200 => 'Authentication error.',
2201 => 'Authorization error.',
2202 => 'Invalid authorization information.',
2300 => 'Object pending transfer.',
2301 => 'Object not pending transfer.',
2302 => 'Object exists.',
2303 => 'Object does not exist.',
2304 => 'Object status prohibits operation.',
2305 => 'Object association prohibits operation.',
2306 => 'Parameter value policy error.',
2307 => 'Unimplemented object service.',
2308 => 'Data management policy violation.',
2400 => 'Command failed.',
2500 => 'Command failed; server closing connection.',
2501 => 'Authentication error; server closing connection.',
2502 => 'Session limit exceeded; server closing connection.',
);
( run in 0.648 second using v1.01-cache-2.11-cpan-39bf76dae61 )