blib/lib/Net/Inet.pm

filter: Statementstmt 32.5% 105 / 323 Branchbran 10.5% 23 / 218 Conditioncond 3.5% 5 / 141 MC/DCmcdc 2.3% 2 / 86 Subroutinesub 50.0% 16 / 32 Podpod 83.3% 10 / 12 totaltotal 19.8% 161 / 812 CC 159 SCAR 68.0
CC
159
Cov
20%
_setport
2550.0
_sethost
1122.0
init
156.7
CRAP 895.9
↑ Summary blib/lib/Net/TCP/Server.pm »
1 # Copyright 1995,2002 Spider Boardman.
2 # All rights reserved.
3 #
4 # Automatic licensing for this software is available. This software
5 # can be copied and used under the terms of the GNU Public License,
6 # version 1 or (at your option) any later version, or under the
7 # terms of the Artistic license. Both of these can be found with
8 # the Perl distribution, which this software is intended to augment.
9 #
10 # THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
11 # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
12 # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13  
14 # rcsid: "@(#) $Id: Inet.dat,v 1.26 2002/03/30 10:10:39 spider Exp $"
15  
16 package Net::Inet;
17 1 ▶use 5.004_04; # new minimum Perl version for this package
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 # use Carp;
21 0 ▶sub croak { require Carp; goto &Carp::croak; }
Subroutine croak: not called CC=1 SCAR=6.9
Pod undocumented
22 0 ▶sub carp { require Carp; goto &Carp::carp; }
Subroutine carp: not called CC=1 SCAR=6.9
Pod undocumented
23 1 ▶use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $AUTOLOAD);
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25  
26 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
27 1 $VERSION = '1.0';
28 1 eval "sub Version () { __PACKAGE__ . ' v$VERSION' }";
29 }
30  
31 1 ▶use AutoLoader;
Subroutine BEGIN: called CC=1 SCAR=0.0
32 #use Exporter ();
33 1 ▶use Net::Gen 1.0 qw(:ALL);
Subroutine BEGIN: called CC=1 SCAR=0.0
34 1 ▶use Socket qw(/^inet_/);
Subroutine BEGIN: called CC=1 SCAR=0.0
35  
36 1 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
37 1 @ISA = 'Net::Gen';
38  
39 # Items to export into callers namespace by default
40 # (move infrequently used names to @EXPORT_OK below)
41 1 @EXPORT = qw(
42 INADDR_ALLHOSTS_GROUP
43 INADDR_ALLRTRS_GROUP
44 INADDR_ANY
45 INADDR_BROADCAST
46 INADDR_LOOPBACK
47 INADDR_MAX_LOCAL_GROUP
48 INADDR_NONE
49 INADDR_UNSPEC_GROUP
50 IPPORT_RESERVED
51 IPPORT_USERRESERVED
52 IPPORT_DYNAMIC
53 IPPROTO_EGP
54 IPPROTO_EON
55 IPPROTO_GGP
56 IPPROTO_HELLO
57 IPPROTO_ICMP
58 IPPROTO_IDP
59 IPPROTO_IGMP
60 IPPROTO_IP
61 IPPROTO_IPIP
62 IPPROTO_MAX
63 IPPROTO_PUP
64 IPPROTO_RAW
65 IPPROTO_RSVP
66 IPPROTO_TCP
67 IPPROTO_TP
68 IPPROTO_UDP
69 htonl
70 htons
71 inet_addr
72 inet_aton
73 inet_ntoa
74 ntohl
75 ntohs
76 );
77  
78 # Other items we are prepared to export if requested
79 1 @EXPORT_OK = qw(
80 DEFTTL
81 ICMP_ADVLENMIN
82 ICMP_ECHO
83 ICMP_ECHOREPLY
84 ICMP_INFOTYPE
85 ICMP_IREQ
86 ICMP_IREQREPLY
87 ICMP_MASKLEN
88 ICMP_MASKREPLY
89 ICMP_MASKREQ
90 ICMP_MAXTYPE
91 ICMP_MINLEN
92 ICMP_PARAMPROB
93 ICMP_REDIRECT
94 ICMP_REDIRECT_HOST
95 ICMP_REDIRECT_NET
96 ICMP_REDIRECT_TOSHOST
97 ICMP_REDIRECT_TOSNET
98 ICMP_SOURCEQUENCH
99 ICMP_TIMXCEED
100 ICMP_TIMXCEED_INTRANS
101 ICMP_TIMXCEED_REASS
102 ICMP_TSLEN
103 ICMP_TSTAMP
104 ICMP_TSTAMPREPLY
105 ICMP_UNREACH
106 ICMP_UNREACH_HOST
107 ICMP_UNREACH_NEEDFRAG
108 ICMP_UNREACH_NET
109 ICMP_UNREACH_PORT
110 ICMP_UNREACH_PROTOCOL
111 ICMP_UNREACH_SRCFAIL
112 IN_BADCLASS
113 IN_CLASSA
114 IN_CLASSA_HOST
115 IN_CLASSA_MAX
116 IN_CLASSA_NET
117 IN_CLASSA_NSHIFT
118 IN_CLASSA_SUBHOST
119 IN_CLASSA_SUBNET
120 IN_CLASSA_SUBNSHIFT
121 IN_CLASSB
122 IN_CLASSB_HOST
123 IN_CLASSB_MAX
124 IN_CLASSB_NET
125 IN_CLASSB_NSHIFT
126 IN_CLASSB_SUBHOST
127 IN_CLASSB_SUBNET
128 IN_CLASSB_SUBNSHIFT
129 IN_CLASSC
130 IN_CLASSC_HOST
131 IN_CLASSC_MAX
132 IN_CLASSC_NET
133 IN_CLASSC_NSHIFT
134 IN_CLASSD
135 IN_CLASSD_HOST
136 IN_CLASSD_NET
137 IN_CLASSD_NSHIFT
138 IN_EXPERIMENTAL
139 IN_LOOPBACKNET
140 IN_MULTICAST
141 IPFRAGTTL
142 IPOPT_CIPSO
143 IPOPT_CLASS
144 IPOPT_CONTROL
145 IPOPT_COPIED
146 IPOPT_DEBMEAS
147 IPOPT_EOL
148 IPOPT_LSRR
149 IPOPT_MINOFF
150 IPOPT_NOP
151 IPOPT_NUMBER
152 IPOPT_OFFSET
153 IPOPT_OLEN
154 IPOPT_OPTVAL
155 IPOPT_RESERVED1
156 IPOPT_RESERVED2
157 IPOPT_RIPSO_AUX
158 IPOPT_RR
159 IPOPT_SATID
160 IPOPT_SECURITY
161 IPOPT_SECUR_CONFID
162 IPOPT_SECUR_EFTO
163 IPOPT_SECUR_MMMM
164 IPOPT_SECUR_RESTR
165 IPOPT_SECUR_SECRET
166 IPOPT_SECUR_TOPSECRET
167 IPOPT_SECUR_UNCLASS
168 IPOPT_SSRR
169 IPOPT_TS
170 IPOPT_TS_PRESPEC
171 IPOPT_TS_TSANDADDR
172 IPOPT_TS_TSONLY
173 IPPORT_TIMESERVER
174 IPTOS_LOWDELAY
175 IPTOS_PREC_CRITIC_ECP
176 IPTOS_PREC_FLASH
177 IPTOS_PREC_FLASHOVERRIDE
178 IPTOS_PREC_IMMEDIATE
179 IPTOS_PREC_INTERNETCONTROL
180 IPTOS_PREC_NETCONTROL
181 IPTOS_PREC_PRIORITY
182 IPTOS_PREC_ROUTINE
183 IPTOS_RELIABILITY
184 IPTOS_THROUGHPUT
185 IPTTLDEC
186 IPVERSION
187 IP_ADD_MEMBERSHIP
188 IP_DEFAULT_MULTICAST_LOOP
189 IP_DEFAULT_MULTICAST_TTL
190 IP_DF
191 IP_DROP_MEMBERSHIP
192 IP_HDRINCL
193 IP_MAXPACKET
194 IP_MAX_MEMBERSHIPS
195 IP_MF
196 IP_MSS
197 IP_MULTICAST_IF
198 IP_MULTICAST_LOOP
199 IP_MULTICAST_TTL
200 IP_OPTIONS
201 IP_RECVDSTADDR
202 IP_RECVOPTS
203 IP_RECVRETOPTS
204 IP_RETOPTS
205 IP_TOS
206 IP_TTL
207 MAXTTL
208 MAX_IPOPTLEN
209 MINTTL
210 SUBNETSHIFT
211 pack_sockaddr_in
212 unpack_sockaddr_in
213 );
214  
215 1 %EXPORT_TAGS = (
216 sockopts => [qw(IP_HDRINCL IP_RECVDSTADDR IP_RECVOPTS
217 IP_RECVRETOPTS IP_TOS IP_TTL IP_ADD_MEMBERSHIP
218 IP_DROP_MEMBERSHIP IP_MULTICAST_IF
219 IP_MULTICAST_LOOP IP_MULTICAST_TTL
220 IP_OPTIONS IP_RETOPTS)],
221 routines => [qw(pack_sockaddr_in unpack_sockaddr_in
222 inet_ntoa inet_aton inet_addr
223 htonl ntohl htons ntohs
224 ICMP_INFOTYPE IN_BADCLASS
225 IN_EXPERIMENTAL IN_MULTICAST
226 IPOPT_CLASS IPOPT_COPIED IPOPT_NUMBER)],
227 icmpvalues => [qw(ICMP_ADVLENMIN ICMP_ECHO ICMP_ECHOREPLY
228 ICMP_IREQ ICMP_IREQREPLY ICMP_MASKLEN
229 ICMP_MASKREPLY ICMP_MASKREQ ICMP_MAXTYPE
230 ICMP_MINLEN ICMP_PARAMPROB ICMP_REDIRECT
231 ICMP_REDIRECT_HOST ICMP_REDIRECT_NET
232 ICMP_REDIRECT_TOSHOST ICMP_REDIRECT_TOSNET
233 ICMP_SOURCEQUENCH ICMP_TIMXCEED
234 ICMP_TIMXCEED_INTRANS ICMP_TIMXCEED_REASS
235 ICMP_TSLEN ICMP_TSTAMP ICMP_TSTAMPREPLY
236 ICMP_UNREACH ICMP_UNREACH_HOST
237 ICMP_UNREACH_NEEDFRAG ICMP_UNREACH_NET
238 ICMP_UNREACH_PORT ICMP_UNREACH_PROTOCOL
239 ICMP_UNREACH_SRCFAIL)],
240 ipoptions => [qw(IPOPT_CIPSO IPOPT_CONTROL IPOPT_DEBMEAS
241 IPOPT_EOL IPOPT_LSRR IPOPT_MINOFF IPOPT_NOP
242 IPOPT_OFFSET IPOPT_OLEN IPOPT_OPTVAL
243 IPOPT_RESERVED1 IPOPT_RESERVED2
244 IPOPT_RIPSO_AUX IPOPT_RR IPOPT_SATID
245 IPOPT_SECURITY IPOPT_SECUR_CONFID
246 IPOPT_SECUR_EFTO IPOPT_SECUR_MMMM
247 IPOPT_SECUR_RESTR IPOPT_SECUR_SECRET
248 IPOPT_SECUR_TOPSECRET IPOPT_SECUR_UNCLASS
249 IPOPT_SSRR
250 IPOPT_TS IPOPT_TS_PRESPEC
251 IPOPT_TS_TSANDADDR IPOPT_TS_TSONLY
252 MAX_IPOPTLEN)],
253 iptosvalues => [qw(IPTOS_LOWDELAY IPTOS_PREC_CRITIC_ECP
254 IPTOS_PREC_FLASH IPTOS_PREC_FLASHOVERRIDE
255 IPTOS_PREC_IMMEDIATE IPTOS_PREC_INTERNETCONTROL
256 IPTOS_PREC_NETCONTROL IPTOS_PREC_PRIORITY
257 IPTOS_PREC_ROUTINE IPTOS_RELIABILITY
258 IPTOS_THROUGHPUT)],
259 protocolvalues => [qw(DEFTTL
260 INADDR_ALLHOSTS_GROUP INADDR_ALLRTRS_GROUP
261 INADDR_ANY INADDR_BROADCAST INADDR_LOOPBACK
262 INADDR_MAX_LOCAL_GROUP INADDR_NONE
263 INADDR_UNSPEC_GROUP
264 IN_LOOPBACKNET
265 IPPORT_RESERVED IPPORT_USERRESERVED
266 IPPORT_DYNAMIC
267 IPPROTO_EGP IPPROTO_EON IPPROTO_GGP
268 IPPROTO_HELLO IPPROTO_ICMP IPPROTO_IDP
269 IPPROTO_IGMP IPPROTO_IP IPPROTO_IPIP
270 IPPROTO_MAX IPPROTO_PUP IPPROTO_RAW
271 IPPROTO_RSVP IPPROTO_TCP IPPROTO_TP
272 IPPROTO_UDP
273 IPFRAGTTL
274 IPTTLDEC IPVERSION
275 IP_DF IP_MAXPACKET IP_MF IP_MSS
276 MAXTTL MAX_IPOPTLEN MINTTL)],
277 ipmulticast => [qw(IP_ADD_MEMBERSHIP IP_DEFAULT_MULTICAST_LOOP
278 IP_DEFAULT_MULTICAST_TTL IP_DROP_MEMBERSHIP
279 IP_MAX_MEMBERSHIPS IP_MULTICAST_IF
280 IP_MULTICAST_LOOP IP_MULTICAST_TTL)],
281 deprecated => [qw(IN_CLASSA_HOST IN_CLASSA_MAX IN_CLASSA_NET
282 IN_CLASSA_NSHIFT IN_CLASSA_SUBHOST
283 IN_CLASSA_SUBNET IN_CLASSA_SUBNSHIFT
284 IN_CLASSB_HOST IN_CLASSB_MAX IN_CLASSB_NET
285 IN_CLASSB_NSHIFT IN_CLASSB_SUBHOST
286 IN_CLASSB_SUBNET IN_CLASSB_SUBNSHIFT
287 IN_CLASSC_HOST IN_CLASSC_MAX IN_CLASSC_NET
288 IN_CLASSC_NSHIFT
289 IN_CLASSD_HOST IN_CLASSD_NET IN_CLASSD_NSHIFT
290 IN_CLASSA IN_CLASSB IN_CLASSC IN_CLASSD
291 IPPORT_TIMESERVER
292 SUBNETSHIFT)],
293 ALL => [@EXPORT, @EXPORT_OK],
294 );
295  
296 }
297  
298 # sub AUTOLOAD inherited from Net::Gen
299  
300 # inherited autoload for 'regular' subroutines is being removed in
301 # 5.003_96, so cheat a little.
302  
303 sub AUTOLOAD
304 0 ▶{
Subroutine AUTOLOAD: not called CC=1 SCAR=6.9
305 0 $Net::Gen::AUTOLOAD = $AUTOLOAD;
306 0 goto &Net::Gen::AUTOLOAD;
307 }
308  
309 # Preloaded methods go here. Autoload methods go after __END__, and are
310 # processed by the autosplit program.
311  
312 1 my %sockopts;
313  
314 1 %sockopts = (
315 # socket options from the list above
316 # simple booleans first
317  
318 'IP_HDRINCL' => ['I'],
319 'IP_RECVDSTADDR' => ['I'],
320 'IP_RECVOPTS' => ['I'],
321 'IP_RECVRETOPTS' => ['I'],
322  
323 # simple integer options
324  
325 'IP_TOS' => ['I'],
326 'IP_TTL' => ['I'],
327  
328 # structured options
329  
330 'IP_ADD_MEMBERSHIP'=> ['a4a4'], # ip_mreq
331 'IP_DROP_MEMBERSHIP'=> ['a4a4'], # ip_mreq
332 'IP_MULTICAST_IF' => ['a4'], # inet_addr
333 'IP_MULTICAST_LOOP'=> ['C'], # u_char
334 'IP_MULTICAST_TTL' => ['C'], # u_char
335 'IP_OPTIONS' => ['a4C40'], # ip_options
336 'IP_RETOPTS' => ['a4C40'], # ip_options
337  
338 # out of known IP options
339 );
340  
341 1 __PACKAGE__->initsockopts( IPPROTO_IP(), \%sockopts );
342  
343 #& htonl($number||@numbers) : $number || @numbers
344 sub htonl
345 0 ▶{
Subroutine htonl: not called CC=4 SCAR=30.0
Pod documented
346 0 ▶ return unless defined wantarray;
Branch: 1 branch
BranchTrueFalseTotal
unless defined wantarray 0 0 0
347 0 ▶ carp "Wrong number of arguments ($#_) to " . __PACKAGE__ . "::htonl, called"
Branch: 1 branch
BranchTrueFalseTotal
if @_ != 1 and not wantarray 0 0 0
Condition0%0/3
@_ != 1 and not wantarray
!ll&&!rl&&r
000
MC/DC0%0/2
@_ != 1 and not wantarray
@_ != 1 not wantarray
Truth table0%0/3
A and not(B)
A= @_ != 1B= not wantarray
ABresult
0X0
100
111
348 if @_ != 1 and !wantarray;
349 0 unpack('N*', pack('L*', @_));
350 }
351  
352 #& htons($number||@numbers) : $number || @numbers
353 sub htons
354 0 ▶{
Subroutine htons: not called CC=4 SCAR=30.0
Pod documented
355 0 ▶ return unless defined wantarray;
Branch: 1 branch
BranchTrueFalseTotal
unless defined wantarray 0 0 0
356 0 ▶ carp "Wrong number of arguments ($#_) to " . __PACKAGE__ . "::htons, called"
Branch: 1 branch
BranchTrueFalseTotal
if @_ != 1 and not wantarray 0 0 0
Condition0%0/3
@_ != 1 and not wantarray
!ll&&!rl&&r
000
MC/DC0%0/2
@_ != 1 and not wantarray
@_ != 1 not wantarray
Truth table0%0/3
A and not(B)
A= @_ != 1B= not wantarray
ABresult
0X0
100
111
357 if @_ != 1 and !wantarray;
358 0 unpack('n*', pack('S*', @_));
359 }
360  
361 #& ntohl($number||@numbers) : $number || @numbers
362 sub ntohl
363 0 ▶{
Subroutine ntohl: not called CC=4 SCAR=30.0
Pod documented
364 0 ▶ return unless defined wantarray;
Branch: 1 branch
BranchTrueFalseTotal
unless defined wantarray 0 0 0
365 0 ▶ carp "Wrong number of arguments ($#_) to " . __PACKAGE__ . "::ntohl, called"
Branch: 1 branch
BranchTrueFalseTotal
if @_ != 1 and not wantarray 0 0 0
Condition0%0/3
@_ != 1 and not wantarray
!ll&&!rl&&r
000
MC/DC0%0/2
@_ != 1 and not wantarray
@_ != 1 not wantarray
Truth table0%0/3
A and not(B)
A= @_ != 1B= not wantarray
ABresult
0X0
100
111
366 if @_ != 1 and !wantarray;
367 0 unpack('L*', pack('N*', @_));
368 }
369  
370 #& ntohs($number||@numbers) : $number || @numbers
371 sub ntohs
372 0 ▶{
Subroutine ntohs: not called CC=4 SCAR=30.0
Pod documented
373 0 ▶ return unless defined wantarray;
Branch: 1 branch
BranchTrueFalseTotal
unless defined wantarray 0 0 0
374 0 ▶ carp "Wrong number of arguments ($#_) to " . __PACKAGE__ . "::ntohs, called"
Branch: 1 branch
BranchTrueFalseTotal
if @_ != 1 and not wantarray 0 0 0
Condition0%0/3
@_ != 1 and not wantarray
!ll&&!rl&&r
000
MC/DC0%0/2
@_ != 1 and not wantarray
@_ != 1 not wantarray
Truth table0%0/3
A and not(B)
A= @_ != 1B= not wantarray
ABresult
0X0
100
111
375 if @_ != 1 and !wantarray;
376 0 unpack('S*', pack('n*', @_));
377 }
378  
379 # removed inet_ntoa that was here -- the one in Socket is (now) good enough
380  
381 #& pack_sockaddr_in([$family,] $port, $in_addr) : $packed_addr
382 sub pack_sockaddr_in ($$;$)
383 0 ▶{
Subroutine pack_sockaddr_in: not called CC=2 SCAR=17.9
Pod documented
384 0 ▶ unshift(@_,AF_INET) if @_ == 2;
Branch: 1 branch
BranchTrueFalseTotal
if @_ == 2 0 0 0
385 0 _pack_sockaddr_in($_[0], $_[1], $_[2]);
386 }
387  
388 # sub unpack_sockaddr_in is in XS code
389  
390  
391 # Get the prototypes right for the autoloaded values, to avoid confusing
392 # the caller's code with changes in prototypes.
393  
394 # sub inet_aton in Socket.xs
395  
396 sub inet_addr; # (helps with -w)
397 1 *inet_addr = \&inet_aton; # same code for old interface
398  
399  
400 1 my $debug = 0;
401  
402 #& _debug($this, [$newval]) : oldval
403 sub _debug
404 19 ▶{
Subroutine _debug: called CC=3 SCAR=11.0
405 1 ▶ use attrs qw(locked);
Subroutine BEGIN: called CC=1 SCAR=0.0
406 19 my ($this,$newval) = @_;
407 19 ▶ return $this->debug($newval) if ref $this;
Branch: 1 branch
BranchTrueFalseTotal
if ref $this 14 5 19
408 5 my $prev = $debug;
409 5 ▶ $debug = 0+$newval if defined $newval;
Branch: 1 branch
BranchTrueFalseTotal
if defined $newval 0 5 5
410 5 $prev;
411 }
412  
413 1 my %keyhandlers;
414 1 my @hostkeys = qw(thishost desthost);
415 1 @keyhandlers{@hostkeys} = (\&_sethost) x @hostkeys;
416 1 my @portkeys = qw(thisservice thisport destservice destport);
417 1 @keyhandlers{@portkeys} = (\&_setport) x @portkeys;
418 1 my @protokeys = qw(IPproto proto);
419 1 @keyhandlers{@protokeys} = (\&_setproto) x @protokeys;
420 # Don't include "handled" keys in this list, since that's redundant.
421 1 my @Keys = qw(lclhost lcladdr lclservice lclport
422 remhost remaddr remservice remport);
423  
424 # leave these to be init'ed on the first new() call
425 1 my (%Keys,%Sopts);
426  
427 #& new($class, [\%params]) : {$obj | undef}
428 sub new
429 1 ▶{
Subroutine new: called CC=12 SCAR=31.6
Pod documented
430 1 my $whoami = $_[0]->_trace(\@_,1);
431 1 my($class,@Args,$self) = @_;
432 1 $self = $class->SUPER::new(@Args);
433 1 ▶ $class = ref $class if ref $class;
Branch: 1 branch
BranchTrueFalseTotal
if ref $class 0 1 1
434 1 ▶ $class->_trace(\@_,2,", self" .
Branch: 1 branch
BranchTrueFalseTotal
defined $self ? : 1 0 1
435 (defined $self ? "=$self" : " undefined") .
436 " after sub-new");
437 1 ▶ if ($self) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self) { } 1 0 1
438 1 ▶ CORE::dump if $debug > 1 and
Branch: 1 branch
BranchTrueFalseTotal
if $debug > 1 and ref $self ne $class || !("$self" =~ /HASH/) 0 1 1
Condition16%1/6
$debug > 1 and ref $self ne $class || !("$self" =~ /HASH/)
!ll&&!rl&&r
100
ref $self ne $class or not "$self" =~ /HASH/
l!l&&r!l&&!r
000
MC/DC0%0/3
$debug > 1 and ref $self ne $class || !("$self" =~ /HASH/)
$debug > 1 ref $self ne $class not "$self" =~ /HASH/
Truth table25%1/4
A and B or not(C)
A= $debug > 1B= ref $self ne $classC= not "$self" =~ /HASH/
ABCresult
0XX0
1000
11X1
1011
439 ref $self ne $class || "$self" !~ /HASH/;
440 # init object debug level
441 1 $self->setparams({'debug'=>$debug},-1);
442 1 ▶ if (%Keys) {
Branch: 1 branch
BranchTrueFalseTotal
if (%Keys) { } 0 1 1
443 0 $ {*$self}{Keys} = { %Keys } ;
444 }
445 else {
446 # register our keys and their handlers
447 1 $self->register_param_keys(\@Keys);
448 1 $self->register_param_handlers(\%keyhandlers);
449 1 %Keys = %{ $ {*$self}{Keys} } ;
450 }
451 1 ▶ if (%Sopts) {
Branch: 1 branch
BranchTrueFalseTotal
if (%Sopts) { } 0 1 1
452 0 $ {*$self}{Sockopts} = { %Sopts } ;
453 }
454 else {
455 # register our socket options
456 1 $self->register_options('IPPROTO_IP', IPPROTO_IP(), \%sockopts);
457 1 %Sopts = %{ $ {*$self}{Sockopts} } ;
458 }
459 # set our expected parameters
460 1 $self->setparams({PF => PF_INET, AF => AF_INET},-1);
461 1 ▶ if ($class eq __PACKAGE__) {
Branch: 1 branch
BranchTrueFalseTotal
if ($class eq __PACKAGE__) 0 1 1
462 0 ▶ unless ($self->init(@Args)) {
Branch: 1 branch
BranchTrueFalseTotal
unless ($self->init(@Args)) 0 0 0
463 0 local $!; # protect returned errno value
464 0 undef $self; # against close problems inside perl
465 0 undef $self; # another statement needed for sequencing
466 }
467 }
468 1 ▶ if ($self) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self) { } 1 0 1
469 1 $self->_trace(0,1," returning self=$self");
470 }
471 else {
472 0 $class->_trace(0,1," returning self=(undef)");
473 }
474 }
475 else {
476 0 $class->_trace(0,1," returning self=(undef)");
477 }
478 1 $self;
479 }
480  
481 #& _hostport($self, {'this'|'dest'}, [\]@list) : boolean
482 sub _hostport
483 0 ▶{
Subroutine _hostport: not called CC=12 SCAR=50.5
484 0 my($self,$which,@args,$aref) = @_;
485 0 $aref = \@args; # assume in-line list unless proved otherwise
486 0 ▶ $aref = $args[0] if @args == 1 && ref $args[0] && ref $args[0] eq 'ARRAY';
Branch: 1 branch
BranchTrueFalseTotal
if @args == 1 and ref $args[0] and ref $args[0] eq "ARRAY" 0 0 0
Condition0%0/6
@args == 1 and ref $args[0] and ref $args[0] eq "ARRAY"
!ll&&!rl&&r
000
@args == 1 and ref $args[0]
!ll&&!rl&&r
000
MC/DC0%0/3
@args == 1 and ref $args[0] and ref $args[0] eq "ARRAY"
@args == 1 ref $args[0] ref $args[0] eq "ARRAY"
Truth table0%0/4
A and B and C
A= @args == 1B= ref $args[0]C= ref $args[0] eq "ARRAY"
ABCresult
0XX0
10X0
1100
1111
487 0 ▶ return undef if $which ne 'dest' and $which ne 'this';
Branch: 1 branch
BranchTrueFalseTotal
if $which ne "dest" and $which ne "this" 0 0 0
Condition0%0/3
$which ne "dest" and $which ne "this"
!ll&&!rl&&r
000
MC/DC0%0/2
$which ne "dest" and $which ne "this"
$which ne "dest" $which ne "this"
Truth table0%0/3
A and B
A= $which ne "dest"B= $which ne "this"
ABresult
0X0
100
111
488 0 ▶ if (@$aref) { # assume this is ('desthost','destport')
Branch: 1 branch
BranchTrueFalseTotal
if (@$aref) { } 0 0 0
489 0 my %p; # where we'll build the params list
490 0 ▶ if (@$aref == 3 and ref($$aref[2]) and ref($$aref[2]) eq 'HASH') {
Branch: 1 branch
BranchTrueFalseTotal
if (@$aref == 3 and ref $aref->[2] and ref $aref->[2] eq 'HASH') { } 0 0 0
Condition0%0/6
@$aref == 3 and ref $aref->[2] and ref $aref->[2] eq "HASH"
!ll&&!rl&&r
000
@$aref == 3 and ref $aref->[2]
!ll&&!rl&&r
000
MC/DC0%0/3
@$aref == 3 and ref $aref->[2] and ref $aref->[2] eq "HASH"
@$aref == 3 ref $aref->[2] ref $aref->[2] eq "HASH"
Truth table0%0/4
A and B and C
A= @$aref == 3B= ref $aref->[2]C= ref $aref->[2] eq "HASH"
ABCresult
0XX0
10X0
1100
1111
491 0 %p = %{$$aref[2]};
492 }
493 else {
494 0 %p = splice(@$aref,2); # assume valid params after
495 }
496 0 ▶ $p{"${which}host"} = $$aref[0] if defined $$aref[0];
Branch: 1 branch
BranchTrueFalseTotal
if defined $aref->[0] 0 0 0
497 0 ▶ $p{"${which}port"} = $$aref[1] if defined $$aref[1];
Branch: 1 branch
BranchTrueFalseTotal
if defined $aref->[1] 0 0 0
498 0 $self->setparams(\%p);
499 }
500 else {
501 0 1; # succeed vacuously if no work
502 }
503 }
504  
505 #& init($self, [\%params || @speclist]) : {$self | undef}
506 sub init
507 1 ▶{
Subroutine init: called CC=15 SCAR=50.5
Pod documented
508 1 ▶ use attrs qw(locked);
Subroutine BEGIN: called CC=1 SCAR=0.0
509 1 $_[0]->_trace(\@_,2);
510 1 my($self,@args) = @_;
511 1 ▶ return $self unless $self = $self->SUPER::init(@args);
Branch: 1 branch
BranchTrueFalseTotal
unless $self = $self->SUPER::init(@args) 1 0 1
512 0 ▶ if (@args > 1 || @args == 1 && (!ref $args[0] || ref $args[0] ne 'HASH')) {
Branch: 1 branch
BranchTrueFalseTotal
if (@args > 1 or @args == 1 and !ref($args[0]) || ref $args[0] ne "HASH") 0 0 0
Condition0%0/9
@args > 1 or @args == 1 and !ref($args[0]) || ref $args[0] ne "HASH"
l!l&&r!l&&!r
000
@args == 1 and !ref($args[0]) || ref $args[0] ne "HASH"
!ll&&!rl&&r
000
not ref $args[0] or ref $args[0] ne "HASH"
l!l&&r!l&&!r
000
MC/DC0%0/4
@args > 1 or @args == 1 and !ref($args[0]) || ref $args[0] ne "HASH"
@args > 1 @args == 1 not ref $args[0] ref $args[0] ne "HASH"
Truth table0%0/5
A or B and not(C) or D
A= @args > 1B= @args == 1C= not ref $args[0]D= ref $args[0] ne "HASH"
ABCDresult
1XXX1
011X1
01011
00XX0
01000
513 0 ▶ return undef unless $self->_hostport('dest',@args);
Branch: 1 branch
BranchTrueFalseTotal
unless $self->_hostport("dest", @args) 0 0 0
514 }
515 # my @r; # dummy array needed in 5.000
516 # if ((@r=$self->getparams([qw(type proto)],1)) == 4) { # have type and proto
517 0 ▶ if ($self->getparams([qw(type proto)],1) == 4) { # have type and proto
Branch: 1 branch
BranchTrueFalseTotal
if ($self->getparams(["type", "proto"], 1) == 4) 0 0 0
518 0 ▶ unless ($self->open) { # create the socket
Branch: 1 branch
BranchTrueFalseTotal
unless ($self->open) 0 0 0
519 0 return undef; # and refuse to make less object than requested
520 }
521 }
522 0 ▶ if ($self->getparam('srcaddrlist')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->getparam("srcaddrlist")) 0 0 0
523 # have enough object already to attempt the binding
524 0 ▶ return undef unless $self->bind; # make no less object than requested
Branch: 1 branch
BranchTrueFalseTotal
unless $self->bind 0 0 0
525 }
526 0 ▶ if ($self->getparam('dstaddrlist')) {
Branch: 1 branch
BranchTrueFalseTotal
if ($self->getparam("dstaddrlist")) 0 0 0
527 # have enough object already to attempt the connection
528 0 ▶ return undef unless $self->connect or
Branch: 1 branch
BranchTrueFalseTotal
unless $self->connect or $self->isconnecting and not $self->blocking 0 0 0
Condition0%0/6
$self->connect or $self->isconnecting and not $self->blocking
l!l&&r!l&&!r
000
$self->isconnecting and not $self->blocking
!ll&&!rl&&r
000
MC/DC0%0/3
$self->connect or $self->isconnecting and not $self->blocking
$self->connect $self->isconnecting not $self->blocking
Truth table0%0/4
A or B and not(C)
A= $self->connectB= $self->isconnectingC= not $self->blocking
ABCresult
1XX1
0111
00X0
0100
529 $self->isconnecting and !$self->blocking;
530 # make no less object than requested
531 }
532 # I think this is all we need here ?
533 0 $self;
534 }
535  
536 #& connect($self, [\]@([host],[port])) : boolean
537 sub connect
538 0 ▶{
Subroutine connect: not called CC=3 SCAR=18.7
Pod documented
539 1 ▶ use attrs qw(locked method);
Subroutine BEGIN: called CC=1 SCAR=0.0
540 0 my($self,@args) = @_;
541 0 ▶ return undef if @args and not $self->_hostport('dest',@args);
Branch: 1 branch
BranchTrueFalseTotal
if @args and not $self->_hostport("dest", @args) 0 0 0
Condition0%0/3
@args and not $self->_hostport("dest", @args)
!ll&&!rl&&r
000
MC/DC0%0/2
@args and not $self->_hostport("dest", @args)
@args not $self->_hostport("dest", @args)
Truth table0%0/3
A and not(B)
A= @argsB= not $self->_hostport("dest", @args)
ABresult
0X0
100
111
542 0 $self->SUPER::connect;
543 }
544  
545 #& _sethost($self,$key,$newval) : {'' | "carp string"}
546 sub _sethost
547 0 ▶{
Subroutine _sethost: not called CC=33 SCAR=70.2
548 0 my($self,$key,$newval) = @_;
549 return "Invalid args to " . __PACKAGE__ . "::_sethost(@_), called"
550 0 ▶ if @_ != 3 or ref($ {*$self}{Keys}{$key}) ne 'CODE';
Branch: 1 branch
BranchTrueFalseTotal
if @_ != 3 or ref do { *$self }->{"Keys"}{$key} ne "CODE" 0 0 0
Condition0%0/3
@_ != 3 or ref do { *$self }->{"Keys"}{$key} ne "CODE"
l!l&&r!l&&!r
000
MC/DC0%0/2
@_ != 3 or ref do { *$self }->{"Keys"}{$key} ne "CODE"
@_ != 3 ref do { *$self }->{"Keys"}{$key} ne "CODE"
Truth table0%0/3
A or B
A= @_ != 3B= ref do { *$self }->{"Keys"}{$key} ne "CODE"
ABresult
1X1
011
000
551 # check for call from delparams
552 0 ▶ if (!defined $newval) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $newval) 0 0 0
553 0 my @delkeys;
554 0 ▶ if ($key eq 'thishost') {
Branch: 2 branches
BranchTrueFalseTotal
if ($key eq 'thishost') { } 0 0 0
elsif ($key eq 'desthost') { } 0 0 0
555 0 @delkeys =
556 qw(srcaddrlist srcaddr lclhost lcladdr lclport lclservice);
557 }
558 elsif ($key eq 'desthost') {
559 0 @delkeys =
560 qw(dstaddrlist dstaddr remhost remaddr remport remservice);
561 }
562 0 ▶ splice(@delkeys, 1) if @delkeys and $self->isconnected;
Branch: 1 branch
BranchTrueFalseTotal
if @delkeys and $self->isconnected 0 0 0
Condition0%0/3
@delkeys and $self->isconnected
!ll&&!rl&&r
000
MC/DC0%0/2
@delkeys and $self->isconnected
@delkeys $self->isconnected
Truth table0%0/3
A and B
A= @delkeysB= $self->isconnected
ABresult
0X0
100
111
563 0 ▶ $self->delparams(\@delkeys) if @delkeys;
Branch: 1 branch
BranchTrueFalseTotal
if @delkeys 0 0 0
564 0 return ''; # ok to delete
565 }
566  
567 # here we're really trying to set some kind of address (we think)
568 0 my ($pkey,$port);
569 0 ($pkey = $key) =~ s/host$/port/;
570 0 my (@addrs,$addr,$cport);
571 0 ▶ ($newval,$cport) = ($1,$2) if
Branch: 1 branch
BranchTrueFalseTotal
if $newval =~ /^(.+):([-\w]+(?:\(\d+\))?)$/ 0 0 0
572 $newval =~ m/^(.+):([-\w]+(?:\(\d+\))?)$/;
573 0 ▶ if ($newval =~ m/^(\[?)([a-fx.\d]+)(\]?)$/si) {
Branch: 1 branch
BranchTrueFalseTotal
if ($newval =~ /^(\[?)([a-fx.\d]+)(\]?)$/is) 0 0 0
574 0 ▶ return "Invalid address literal $newval found"
Branch: 1 branch
BranchTrueFalseTotal
if length $1 != length $3 0 0 0
575 if length($1) != length($3);
576 0 $addr = inet_aton($2);
577 }
578 0 ▶ if (defined $addr and substr($newval, 0, 1) eq '[') {
Branch: 1 branch
BranchTrueFalseTotal
if (defined $addr and substr($newval, 0, 1) eq '[') { } 0 0 0
Condition0%0/3
defined $addr and substr($newval, 0, 1) eq "["
!ll&&!rl&&r
000
MC/DC0%0/2
defined $addr and substr($newval, 0, 1) eq "["
defined $addr substr($newval, 0, 1) eq "["
Truth table0%0/3
A and B
A= defined $addrB= substr($newval, 0, 1) eq "["
ABresult
0X0
100
111
579 0 push(@addrs,$addr);
580 0 $addr = '[' . inet_ntoa($addr) . ']';
581 }
582 else {
583 0 my(@hinfo,$hname);
584 0 $hname = $newval;
585 0 ▶ do {
Branch: 1 branch
BranchTrueFalseTotal
not @hinfo and $hname =~ s/\.$// and do { do { @hinfo = gethostbyname $hname } } 0 0 0
Condition0%0/3
not @hinfo and $hname =~ s/\.$//
!ll&&!rl&&r
000
MC/DC0%0/2
not @hinfo and $hname =~ s/\.$//
not @hinfo $hname =~ s/\.$//
Truth table0%0/3
not(A) and B
A= not @hinfoB= $hname =~ s/\.$//
ABresult
0X0
100
111
586 0 @hinfo = gethostbyname($hname);
587 } while (!@hinfo && $hname =~ s/\.$//);
588 0 ▶ if (!@hinfo and defined $addr) {
Branch: 1 branch
BranchTrueFalseTotal
if (not @hinfo and defined $addr) { } 0 0 0
Condition0%0/3
not @hinfo and defined $addr
!ll&&!rl&&r
000
MC/DC0%0/2
not @hinfo and defined $addr
not @hinfo defined $addr
Truth table0%0/3
not(A) and B
A= not @hinfoB= defined $addr
ABresult
0X0
100
111
589 0 push(@addrs, $addr);
590 0 $addr = inet_ntoa($addr);
591 }
592 else {
593 0 ▶ return "Host $newval not found ($?)," unless @hinfo > 4;
Branch: 1 branch
BranchTrueFalseTotal
unless @hinfo > 4 0 0 0
594 0 ▶ return "Host $newval has strange address family ($hinfo[2]),"
Branch: 1 branch
BranchTrueFalseTotal
if $self->getparam("AF", 2, 1) != $hinfo[2] 0 0 0
595 if $self->getparam('AF',AF_INET,1) != $hinfo[2];
596 0 @addrs = splice(@hinfo,4);
597 0 $addr = $hinfo[0]; # save canonical name for real setup
598 # just in case this is /etc/hosts or old sunos, try harder
599 0 ▶ if ($addr !~ /.\../ and $hinfo[1]) {
Branch: 1 branch
BranchTrueFalseTotal
if (not $addr =~ /.\../ and $hinfo[1]) 0 0 0
Condition0%0/3
not $addr =~ /.\../ and $hinfo[1]
!ll&&!rl&&r
000
MC/DC0%0/2
not $addr =~ /.\../ and $hinfo[1]
not $addr =~ /.\../ $hinfo[1]
Truth table0%0/3
not(A) and B
A= not $addr =~ /.\../B= $hinfo[1]
ABresult
0X0
100
111
600 0 for $hname (split(' ',$hinfo[1])) {
601 0 ▶ if ($hname =~ /.\../) {
Branch: 1 branch
BranchTrueFalseTotal
if ($hname =~ /.\../) 0 0 0
602 0 $addr = $hname;
603 0 last;
604 }
605 }
606 }
607 }
608 }
609 # valid so far, get out if can't form addresses yet
610 0 $port = $ {*$self}{Parms}{$pkey};
611 0 ▶ return '' unless
Branch: 1 branch
BranchTrueFalseTotal
unless defined $cport or defined $port or $pkey eq "thisport" 0 0 0
Condition0%0/6
defined $cport or defined $port or $pkey eq "thisport"
l!l&&r!l&&!r
000
defined $cport or defined $port
l!l&&r!l&&!r
000
MC/DC0%0/3
defined $cport or defined $port or $pkey eq "thisport"
defined $cport defined $port $pkey eq "thisport"
Truth table0%0/4
A or B or C
A= defined $cportB= defined $portC= $pkey eq "thisport"
ABCresult
1XX1
01X1
0011
0000
612 defined $cport or
613 defined $port or
614 $pkey eq 'thisport'; # allow for 'bind'
615 0 ▶ if (defined $cport) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined $cport) 0 0 0
616 0 ▶ return $newval if $newval = &_setport($self,$pkey,$cport);
Branch: 1 branch
BranchTrueFalseTotal
if $newval = &_setport($self, $pkey, $cport) 0 0 0
617 0 $port = $cport;
618 }
619 0 ▶ $port = 0 unless defined $port;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $port 0 0 0
620 0 my $af = $self->getparam('AF',AF_INET,1);
621 0 for (@addrs) {
622 0 $_ = pack_sockaddr_in($af, $port+0, $_);
623 }
624 0 ▶ $pkey = (($key eq 'desthost') ? 'dstaddrlist' : 'srcaddrlist');
Branch: 1 branch
BranchTrueFalseTotal
$key eq 'desthost' ? : 0 0 0
625 0 $self->setparams({$pkey => [@addrs]});
626 # finally, we have validation
627 0 $_[2] = $addr; # update the canonical representation to store
628 print STDERR " - " . __PACKAGE__ . "::_sethost $self $key ",
629 $self->format_addr($addr,1),"\n"
630 0 ▶ if $ {*$self}{Parms}{'debug'};
Branch: 1 branch
BranchTrueFalseTotal
if do { *$self }->{"Parms"}{"debug"} 0 0 0
631 0 ''; # return nullstring for goodness
632 }
633  
634 # These port assignments were generated from IANA's list of assigned ports
635 # as of 1997/05/17.
636  
637 1 my %udp_ports;
638  
639 1 my $udp_ports = "tcpmux 1
640 rje 5
641 echo 7
642 discard 9
643 null 9
644 sink 9
645 systat 11
646 daytime 13
647 netstat 15
648 qotd 17
649 quote 17
650 msp 18
651 chargen 19
652 source 19
653 ttytst 19
654 ftp-data 20
655 ftp 21
656 ssh 22
657 telnet 23
658 mail 25
659 smtp 25
660 nsw-fe 27
661 msg-icp 29
662 msg-auth 31
663 dsp 33
664 time 37
665 rap 38
666 rlp 39
667 graphics 41
668 name 42
669 nameserver 42
670 nicname 43
671 whois 43
672 mpm-flags 44
673 mpm 45
674 mpm-snd 46
675 ni-ftp 47
676 auditd 48
677 tacacs 49
678 re-mail-ck 50
679 la-maint 51
680 xns-time 52
681 dns 53
682 domain 53
683 xns-ch 54
684 isi-gl 55
685 xns-auth 56
686 xns-mail 58
687 ni-mail 61
688 acas 62
689 whois++ 63
690 covia 64
691 tacacs-ds 65
692 sql*net 66
693 bootp 67
694 bootps 67
695 bootpc 68
696 tftp 69
697 gopher 70
698 netrjs-1 71
699 netrjs-2 72
700 netrjs-3 73
701 netrjs-4 74
702 deos 76
703 vettcp 78
704 finger 79
705 http 80
706 www 80
707 www-http 80
708 hosts2-ns 81
709 xfer 82
710 ctf 84
711 mfcobol 86
712 kerberos 88
713 su-mit-tg 89
714 dnsix 90
715 mit-dov 91
716 npp 92
717 dcp 93
718 objcall 94
719 supdup 95
720 dixie 96
721 swift-rvf 97
722 tacnews 98
723 metagram 99
724 hostname 101
725 hostnames 101
726 iso-tsap 102
727 gppitnp 103
728 acr-nema 104
729 csnet-ns 105
730 3com-tsmux 106
731 rtelnet 107
732 snagas 108
733 pop2 109
734 pop3 110
735 sunrpc 111
736 mcidas 112
737 auth 113
738 ident 113
739 audionews 114
740 sftp 115
741 ansanotify 116
742 uucp-path 117
743 sqlserv 118
744 nntp 119
745 untp 119
746 cfdptkt 120
747 erpc 121
748 smakynet 122
749 ntp 123
750 ansatrader 124
751 locus-map 125
752 unitary 126
753 locus-con 127
754 gss-xlicen 128
755 pwdgen 129
756 cisco-fna 130
757 cisco-tna 131
758 cisco-sys 132
759 statsrv 133
760 ingres-net 134
761 epmap 135
762 profile 136
763 netbios-ns 137
764 netbios-dgm 138
765 netbios-ssn 139
766 emfis-data 140
767 emfis-cntl 141
768 bl-idm 142
769 imap 143
770 news 144
771 uaac 145
772 iso-tp0 146
773 iso-ip 147
774 jargon 148
775 aed-512 149
776 sql-net 150
777 hems 151
778 bftp 152
779 sgmp 153
780 netsc-prod 154
781 netsc-dev 155
782 sqlsrv 156
783 knet-cmp 157
784 pcmail-srv 158
785 nss-routing 159
786 sgmp-traps 160
787 snmp 161
788 snmp-trap 162
789 snmptrap 162
790 cmip-man 163
791 smip-agent 164
792 xns-courier 165
793 s-net 166
794 namp 167
795 snmp-rt 167
796 rsvd 168
797 send 169
798 print-srv 170
799 multiplex 171
800 cl/1 172
801 xyplex-mux 173
802 mailq 174
803 vmnet 175
804 genrad-mux 176
805 xdmcp 177
806 nextstep 178
807 bgp 179
808 ris 180
809 unify 181
810 audit 182
811 ocbinder 183
812 ocserver 184
813 remote-kis 185
814 kis 186
815 aci 187
816 mumps 188
817 qft 189
818 cacp 190
819 gacp 190
820 prospero 191
821 osu-nms 192
822 srmp 193
823 irc 194
824 dn6-nlm-aud 195
825 dn6-smm-red 196
826 dlsold 197
827 dls-mon 198
828 smux 199
829 src 200
830 at-rtmp 201
831 at-nbp 202
832 at-3 203
833 at-echo 204
834 at-5 205
835 at-zis 206
836 at-7 207
837 at-8 208
838 qmtp 209
839 z39.50 210
840 914c/g 211
841 anet 212
842 ipx 213
843 vmpwscs 214
844 softpc 215
845 cailic 216
846 dbase 217
847 mpp 218
848 uarps 219
849 imap3 220
850 fln-spx 221
851 rsh-spx 222
852 cdc 223
853 direct 242
854 sur-meas 243
855 dayna 244
856 link 245
857 dsp3270 246
858 ibm-rap 256
859 set 257
860 yak-chat 258
861 esro-gen 259
862 openport 260
863 nsiiops 261
864 arcisdms 262
865 hdap 263
866 http-mgmt 280
867 personal-link 281
868 cableport-ax 282
869 entrusttime 309
870 pdap 344
871 pawserv 345
872 zserv 346
873 fatserv 347
874 csi-sgwp 348
875 matip-type-a 350
876 matip-type-b 351
877 dtag-ste-sb 352
878 clearcase 371
879 ulistproc 372
880 legent-1 373
881 legent-2 374
882 hassle 375
883 nip 376
884 tnetos 377
885 dsetos 378
886 is99c 379
887 is99s 380
888 hp-collector 381
889 hp-managed-node 382
890 hp-alarm-mgr 383
891 arns 384
892 ibm-app 385
893 asa 386
894 aurp 387
895 unidata-ldm 388
896 ldap 389
897 uis 390
898 synotics-relay 391
899 synotics-broker 392
900 dis 393
901 embl-ndt 394
902 netcp 395
903 netware-ip 396
904 mptn 397
905 kryptolan 398
906 iso-tsap-c2 399
907 work-sol 400
908 ups 401
909 genie 402
910 decap 403
911 nced 404
912 ncld 405
913 imsp 406
914 timbuktu 407
915 prm-sm 408
916 prm-nm 409
917 decladebug 410
918 rmt 411
919 synoptics-trap 412
920 smsp 413
921 infoseek 414
922 bnet 415
923 silverplatter 416
924 onmux 417
925 hyper-g 418
926 ariel1 419
927 smpte 420
928 ariel2 421
929 ariel3 422
930 opc-job-start 423
931 opc-job-track 424
932 icad-el 425
933 smartsdp 426
934 svrloc 427
935 ocs_cmu 428
936 ocs_amu 429
937 utmpsd 430
938 utmpcd 431
939 iasd 432
940 nnsp 433
941 mobileip-agent 434
942 mobilip-mn 435
943 dna-cml 436
944 comscm 437
945 dsfgw 438
946 dasp 439
947 sgcp 440
948 decvms-sysmgt 441
949 cvc_hostd 442
950 https 443
951 shttp 443
952 snpp 444
953 microsoft-ds 445
954 ddm-rdb 446
955 ddm-dfm 447
956 ddm-byte 448
957 as-servermap 449
958 tserver 450
959 sfs-smp-net 451
960 sfs-config 452
961 creativeserver 453
962 contentserver 454
963 creativepartnr 455
964 macon-udp 456
965 scohelp 457
966 appleqtc 458
967 ampr-rcmd 459
968 skronk 460
969 datarampsrv 461
970 datasurfsrv 461
971 datarampsrvsec 462
972 datasurfsrvsec 462
973 alpes 463
974 kpasswd 464
975 smtps 465
976 ssmtp 465
977 digital-vrc 466
978 mylex-mapd 467
979 photuris 468
980 rcp 469
981 scx-proxy 470
982 mondex 471
983 ljk-login 472
984 hybrid-pop 473
985 tn-tl-w2 474
986 tn-tl-fd1 476
987 ss7ns 477
988 spsc 478
989 iafserver 479
990 iafdbase 480
991 ph 481
992 bgs-nsi 482
993 ulpnet 483
994 integra-sme 484
995 powerburst 485
996 avian 486
997 saft 487
998 gss-http 488
999 nest-protocol 489
1000 micom-pfs 490
1001 go-login 491
1002 ticf-1 492
1003 ticf-2 493
1004 pov-ray 494
1005 intecourier 495
1006 pim-rp-disc 496
1007 dantz 497
1008 siam 498
1009 iso-ill 499
1010 isakmp 500
1011 stmf 501
1012 asa-appl-proto 502
1013 intrinsa 503
1014 citadel 504
1015 mailbox-lm 505
1016 ohimsrv 506
1017 crs 507
1018 xvttp 508
1019 snare 509
1020 fcp 510
1021 firstclass 510
1022 mynet 511
1023 mynet-as 511
1024 biff 512
1025 comsat 512
1026 rwho 513
1027 who 513
1028 whod 513
1029 syslog 514
1030 printer 515
1031 spooler 515
1032 videotex 516
1033 otalk 517
1034 talk 517
1035 ntalk 518
1036 unixtime 519
1037 utime 519
1038 route 520
1039 routed 520
1040 router 520
1041 ripng 521
1042 ulp 522
1043 ncp 524
1044 timed 525
1045 timeserver 525
1046 newdate 526
1047 tempo 526
1048 stx 527
1049 custix 528
1050 courier 530
1051 rpc 530
1052 chat 531
1053 conference 531
1054 netnews 532
1055 readnews 532
1056 netwall 533
1057 mm-admin 534
1058 iiop 535
1059 opalis-rdv 536
1060 netmsp 537
1061 gdomap 538
1062 apertus-ldp 539
1063 uucp 540
1064 uucpd 540
1065 uucp-rlogin 541
1066 commerce 542
1067 klogin 543
1068 krcmd 544
1069 kshell 544
1070 appleqtcsrvr 545
1071 dhcpv6-client 546
1072 dhcpv6-server 547
1073 afpovertcp 548
1074 idfp 549
1075 new-rwho 550
1076 new-who 550
1077 cybercash 551
1078 deviceshare 552
1079 pirp 553
1080 rtsp 554
1081 dsf 555
1082 brfs 556
1083 remotefs 556
1084 rfs 556
1085 rfs_server 556
1086 openvms-sysipc 557
1087 sdnskmp 558
1088 teedtap 559
1089 rmonitor 560
1090 rmonitord 560
1091 monitor 561
1092 chcmd 562
1093 chshell 562
1094 nntps 563
1095 snntp 563
1096 9pfs 564
1097 whoami 565
1098 streettalk 566
1099 banyan-rpc 567
1100 ms-shuttle 568
1101 ms-rome 569
1102 demon 570
1103 meter_demon 570
1104 meterd 570
1105 meter 571
1106 udemon 571
1107 sonar 572
1108 banyan-vip 573
1109 ftp-agent 574
1110 vemmi 575
1111 ipcd 576
1112 vnas 577
1113 ipdd 578
1114 decbsrv 579
1115 sntp-heartbeat 580
1116 bdp 581
1117 scc-security 582
1118 philips-vc 583
1119 keyserver 584
1120 imap4-ssl 585
1121 password-chg 586
1122 submission 587
1123 ipcserver 600
1124 urm 606
1125 nqs 607
1126 sift-uft 608
1127 npmp-trap 609
1128 npmp-local 610
1129 npmp-gui 611
1130 hmmp-ind 612
1131 hmmp-op 613
1132 sshell 614
1133 sslshell 614
1134 sco-inetmgr 615
1135 sco-sysmgr 616
1136 sco-dtmgr 617
1137 dei-icda 618
1138 digital-evm 619
1139 sco-websrvrmgr 620
1140 escp-ip 621
1141 servstat 633
1142 ginad 634
1143 rlzdbase 635
1144 ldaps 636
1145 sldap 636
1146 lanserver 637
1147 doom 666
1148 mdqs 666
1149 disclose 667
1150 mecomm 668
1151 meregister 669
1152 vacdsm-sws 670
1153 vacdsm-app 671
1154 vpps-qua 672
1155 cimplex 673
1156 acap 674
1157 elcsd 704
1158 errlog 704
1159 agentx 705
1160 entrust-kmsh 709
1161 entrust-ash 710
1162 netviewdm1 729
1163 netviewdm2 730
1164 netviewdm3 731
1165 netgw 741
1166 netrcs 742
1167 flexlm 744
1168 fujitsu-dev 747
1169 ris-cm 748
1170 kerberos-adm 749
1171 kerberos-iv 750
1172 loadav 750
1173 pump 751
1174 qrh 752
1175 rrh 753
1176 tell 754
1177 nlogin 758
1178 con 759
1179 ns 760
1180 rxe 761
1181 quotad 762
1182 cycleserv 763
1183 omserv 764
1184 webster 765
1185 phone 767
1186 phonebook 767
1187 vid 769
1188 cadlock 770
1189 rtip 771
1190 cycleserv2 772
1191 notify 773
1192 acmaint_dbd 774
1193 acmaint_transd 775
1194 wpages 776
1195 wpgs 780
1196 concert 786
1197 mdbs_daemon 800
1198 device 801
1199 iclcnet-locate 886
1200 iclcnet_svinfo 887
1201 accessbuilder 888
1202 ftps-data 989
1203 ftps 990
1204 nas 991
1205 stelnet 992
1206 telnets 992
1207 imap4s 993
1208 imaps 993
1209 simap4 993
1210 ircs 994
1211 sirc 994
1212 pop3s 995
1213 spop3 995
1214 vsinet 996
1215 maitrd 997
1216 puparp 998
1217 applix 999
1218 puprouter 999
1219 ock 1000
1220 blackjack 1025
1221 iad1 1030
1222 iad2 1031
1223 iad3 1032
1224 neod1 1047
1225 neod2 1048
1226 nim 1058
1227 nimreg 1059
1228 instl_boots 1067
1229 instl_bootc 1068
1230 socks 1080
1231 ansoft-lm-1 1083
1232 ansoft-lm-2 1084
1233 nfsd-keepalive 1110
1234 lmsocialserver 1111
1235 murray 1123
1236 nfa 1155
1237 mc-client 1180
1238 lupa 1212
1239 nerv 1222
1240 hermes 1248
1241 bmc-patroldb 1313
1242 pdps 1314
1243 vpjp 1345
1244 alta-ana-lm 1346
1245 bbn-mmc 1347
1246 bbn-mmx 1348
1247 sbook 1349
1248 editbench 1350
1249 equationbuilder 1351
1250 lotusnote 1352
1251 relief 1353
1252 rightbrain 1354
1253 edge 1355
1254 intuitive 1355
1255 intuitive-edge 1355
1256 cuillamartin 1356
1257 pegboard 1357
1258 connlcli 1358
1259 ftsrv 1359
1260 mimer 1360
1261 linx 1361
1262 timeflies 1362
1263 ndm-requester 1363
1264 ndm-server 1364
1265 adapt-sna 1365
1266 netware-csp 1366
1267 dcs 1367
1268 screencast 1368
1269 gv-us 1369
1270 us-gv 1370
1271 fc-cli 1371
1272 fc-ser 1372
1273 chromagrafx 1373
1274 molly 1374
1275 bytex 1375
1276 ibm-pps 1376
1277 cichlid 1377
1278 elan 1378
1279 dbreporter 1379
1280 telesis-licman 1380
1281 apple-licman 1381
1282 gwha 1383
1283 os-licman 1384
1284 atex_elmd 1385
1285 checksum 1386
1286 cadsi-lm 1387
1287 objective-dbc 1388
1288 iclpv-dm 1389
1289 iclpv-sc 1390
1290 iclpv-sas 1391
1291 iclpv-pm 1392
1292 iclpv-nls 1393
1293 iclpv-nlc 1394
1294 iclpv-wsm 1395
1295 dvl-activemail 1396
1296 audio-activmail 1397
1297 video-activmail 1398
1298 cadkey-licman 1399
1299 cadkey-tablet 1400
1300 usim 1400
1301 goldleaf-licman 1401
1302 prm-sm-np 1402
1303 prm-nm-np 1403
1304 igi-lm 1404
1305 ibm-res 1405
1306 netlabs-lm 1406
1307 dbsa-lm 1407
1308 sophia-lm 1408
1309 here-lm 1409
1310 hiq 1410
1311 af 1411
1312 innosys 1412
1313 innosys-acl 1413
1314 ibm-mqseries 1414
1315 dbstar 1415
1316 novell-lu6.2 1416
1317 timbuktu-srv2 1418
1318 timbuktu-srv3 1419
1319 timbuktu-srv4 1420
1320 gandalf-lm 1421
1321 autodesk-lm 1422
1322 essbase 1423
1323 hybrid 1424
1324 zion-lm 1425
1325 sais 1426
1326 mloadd 1427
1327 informatik-lm 1428
1328 nms 1429
1329 tpdu 1430
1330 rgtp 1431
1331 blueberry-lm 1432
1332 ms-sql-s 1433
1333 ms-sql-m 1434
1334 ibm-cics 1435
1335 saism 1436
1336 tabula 1437
1337 eicon-server 1438
1338 eicon-x25 1439
1339 eicon-slp 1440
1340 cadis-1 1441
1341 cadis-2 1442
1342 ies-lm 1443
1343 marcam-lm 1444
1344 proxima-lm 1445
1345 ora-lm 1446
1346 apri-lm 1447
1347 oc-lm 1448
1348 peport 1449
1349 dwf 1450
1350 infoman 1451
1351 gtegsc-lm 1452
1352 genie-lm 1453
1353 esl-lm 1455
1354 dca 1456
1355 valisys-lm 1457
1356 nrcabq-lm 1458
1357 proshare1 1459
1358 proshare2 1460
1359 ibm_wrless_lan 1461
1360 world-lm 1462
1361 nucleus 1463
1362 msl_lmd 1464
1363 pipes 1465
1364 oceansoft-lm 1466
1365 aal-lm 1469
1366 uaiact 1470
1367 csdmbase 1471
1368 csdm 1472
1369 openmath 1473
1370 telefinder 1474
1371 taligent-lm 1475
1372 clvm-cfg 1476
1373 ms-sna-server 1477
1374 ms-sna-base 1478
1375 dberegister 1479
1376 pacerforum 1480
1377 airs 1481
1378 miteksys-lm 1482
1379 afs 1483
1380 confluent 1484
1381 lansource 1485
1382 nms_topo_serv 1486
1383 localinfosrvr 1487
1384 docstor 1488
1385 dmdocbroker 1489
1386 insitu-conf 1490
1387 anynetgateway 1491
1388 stone-design-1 1492
1389 netmap_lm 1493
1390 ica 1494
1391 cvc 1495
1392 liberty-lm 1496
1393 rfx-lm 1497
1394 watcom-sql 1498
1395 fhc 1499
1396 vlsi-lm 1500
1397 saiscm 1501
1398 shivadiscovery 1502
1399 databeam 1503
1400 imtc-mcs 1503
1401 evb-elm 1504
1402 funkproxy 1505
1403 utcd 1506
1404 symplex 1507
1405 diagmond 1508
1406 robcad-lm 1509
1407 mvx-lm 1510
1408 3l-l1 1511
1409 wins 1512
1410 fujitsu-dtc 1513
1411 fujitsu-dtcns 1514
1412 ifor-protocol 1515
1413 vpad 1516
1414 vpac 1517
1415 vpvd 1518
1416 vpvc 1519
1417 atm-zip-office 1520
1418 ncube-lm 1521
1419 cichild-lm 1523
1420 ingreslock 1524
1421 orasrv 1525
1422 prospero-np 1525
1423 pdap-np 1526
1424 tlisrv 1527
1425 mciautoreg 1528
1426 coauthor 1529
1427 rap-service 1530
1428 rap-listen 1531
1429 miroconnect 1532
1430 virtual-places 1533
1431 micromuse-lm 1534
1432 ampr-info 1535
1433 ampr-inter 1536
1434 sdsc-lm 1537
1435 3ds-lm 1538
1436 intellistor-lm 1539
1437 rds 1540
1438 rds2 1541
1439 gridgen-elmd 1542
1440 simba-cs 1543
1441 aspeclmd 1544
1442 vistium-share 1545
1443 abbaccuray 1546
1444 laplink 1547
1445 axon-lm 1548
1446 shivasound 1549
1447 3m-image-lm 1550
1448 hecmtl-db 1551
1449 pciarray 1552
1450 sna-cs 1553
1451 caci-lm 1554
1452 livelan 1555
1453 ashwin 1556
1454 arbortext-lm 1557
1455 xingmpeg 1558
1456 web2host 1559
1457 asci-val 1560
1458 facilityview 1561
1459 pconnectmgr 1562
1460 cadabra-lm 1563
1461 pay-per-view 1564
1462 windd 1565
1463 winddlb 1565
1464 corelvideo 1566
1465 jlicelmd 1567
1466 tsspmap 1568
1467 ets 1569
1468 orbixd 1570
1469 rdb-dbs-disp 1571
1470 chip-lm 1572
1471 itscomm-ns 1573
1472 mvel-lm 1574
1473 oraclenames 1575
1474 moldflow-lm 1576
1475 hypercube-lm 1577
1476 jacobus-lm 1578
1477 tn-tl-r2 1580
1478 vmf-msg-port 1581
1479 msims 1582
1480 simbaexpress 1583
1481 tn-tl-fd2 1584
1482 intv 1585
1483 ibm-abtact 1586
1484 pra_elmd 1587
1485 triquest-lm 1588
1486 vqp 1589
1487 gemini-lm 1590
1488 ncpm-pm 1591
1489 commonspace 1592
1490 mainsoft-lm 1593
1491 sixtrak 1594
1492 radio 1595
1493 radio-bc 1596
1494 orbplus-iiop 1597
1495 picknfs 1598
1496 simbaservices 1599
1497 issd 1600
1498 aas 1601
1499 dec-inspect 1602
1500 picodbc 1603
1501 icabrowser 1604
1502 slp 1605
1503 slm-api 1606
1504 stt 1607
1505 smart-lm 1608
1506 isysg-lm 1609
1507 taurus-wh 1610
1508 ill 1611
1509 netbill-trans 1612
1510 netbill-keyrep 1613
1511 netbill-cred 1614
1512 netbill-auth 1615
1513 netbill-prod 1616
1514 nimrod-agent 1617
1515 skytelnet 1618
1516 xs-openstorage 1619
1517 faxportwinport 1620
1518 softdataphone 1621
1519 ontime 1622
1520 jaleosnd 1623
1521 udp-sr-port 1624
1522 svs-omagent 1625
1523 cncp 1636
1524 cnap 1637
1525 cnip 1638
1526 cert-initiator 1639
1527 cert-responder 1640
1528 invision 1641
1529 isis-am 1642
1530 isis-ambc 1643
1531 datametrics 1645
1532 sa-msg-port 1646
1533 rsap 1647
1534 concurrent-lm 1648
1535 inspect 1649
1536 nkd 1650
1537 shiva_confsrvr 1651
1538 xnmp 1652
1539 alphatech-lm 1653
1540 stargatealerts 1654
1541 dec-mbadmin 1655
1542 dec-mbadmin-h 1656
1543 fujitsu-mmpdc 1657
1544 sixnetudr 1658
1545 sg-lm 1659
1546 skip-mc-gikreq 1660
1547 netview-aix-1 1661
1548 netview-aix-2 1662
1549 netview-aix-3 1663
1550 netview-aix-4 1664
1551 netview-aix-5 1665
1552 netview-aix-6 1666
1553 netview-aix-7 1667
1554 netview-aix-8 1668
1555 netview-aix-9 1669
1556 netview-aix-10 1670
1557 netview-aix-11 1671
1558 netview-aix-12 1672
1559 proshare-mc-1 1673
1560 proshare-mc-2 1674
1561 pdp 1675
1562 netcomm2 1676
1563 groupwise 1677
1564 prolink 1678
1565 darcorp-lm 1679
1566 microcom-sbp 1680
1567 sd-elmd 1681
1568 lanyon-lantern 1682
1569 ncpm-hip 1683
1570 snaresecure 1684
1571 n2nremote 1685
1572 cvmon 1686
1573 nsjtp-ctrl 1687
1574 nsjtp-data 1688
1575 firefox 1689
1576 ng-umds 1690
1577 empire-empuma 1691
1578 sstsys-lm 1692
1579 rrirtr 1693
1580 rrimwm 1694
1581 rrilwm 1695
1582 rrifmm 1696
1583 rrisat 1697
1584 rsvp-encap-1 1698
1585 rsvp-encap-2 1699
1586 mps-raft 1700
1587 l2f 1701
1588 deskshare 1702
1589 hb-engine 1703
1590 bcs-broker 1704
1591 slingshot 1705
1592 jetform 1706
1593 vdmplay 1707
1594 gat-lmd 1708
1595 centra 1709
1596 impera 1710
1597 pptconference 1711
1598 registrar 1712
1599 conferencetalk 1713
1600 sesi-lm 1714
1601 houdini-lm 1715
1602 xmsg 1716
1603 fj-hdnet 1717
1604 h323gatedisc 1718
1605 h323gatestat 1719
1606 h323hostcall 1720
1607 caicci 1721
1608 hks-lm 1722
1609 pptp 1723
1610 csbphonemaster 1724
1611 iden-ralp 1725
1612 winddx 1727
1613 telindus 1728
1614 citynl 1729
1615 roketz 1730
1616 msiccp 1731
1617 proxim 1732
1618 sipat 1733
1619 cambertx-lm 1734
1620 privatechat 1735
1621 street-stream 1736
1622 ultimad 1737
1623 gamegen1 1738
1624 webaccess 1739
1625 encore 1740
1626 cisco-net-mgmt 1741
1627 3com-nsd 1742
1628 cinegrfx-lm 1743
1629 ncpm-ft 1744
1630 remote-winsock 1745
1631 ftrapid-1 1746
1632 ftrapid-2 1747
1633 oracle-em1 1748
1634 aspen-services 1749
1635 sslp 1750
1636 swiftnet 1751
1637 lofr-lm 1752
1638 translogic-lm 1753
1639 oracle-em2 1754
1640 ms-streaming 1755
1641 capfast-lmd 1756
1642 cnhrp 1757
1643 tftp-mcast 1758
1644 spss-lm 1759
1645 www-ldap-gw 1760
1646 cft-0 1761
1647 cft-1 1762
1648 cft-2 1763
1649 cft-3 1764
1650 cft-4 1765
1651 cft-5 1766
1652 cft-6 1767
1653 cft-7 1768
1654 bmc-net-adm 1769
1655 bmc-net-svc 1770
1656 vaultbase 1771
1657 essweb-gw 1772
1658 kmscontrol 1773
1659 global-dtserv 1774
1660 femis 1776
1661 powerguardian 1777
1662 prodigy-internet 1778
1663 pharmasoft 1779
1664 dpkeyserv 1780
1665 answersoft-lm 1781
1666 hp-hcip 1782
1667 fjris 1783
1668 finle-lm 1784
1669 windlm 1785
1670 funk-logger 1786
1671 funk-license 1787
1672 psmond 1788
1673 hello 1789
1674 nmsp 1790
1675 ea1 1791
1676 ibm-dt-2 1792
1677 rsc-robot 1793
1678 cera-bcm 1794
1679 dpi-proxy 1795
1680 vocaltec-admin 1796
1681 uma 1797
1682 etp 1798
1683 netrisk 1799
1684 ansys-lm 1800
1685 msmq 1801
1686 concomp1 1802
1687 hp-hcip-gwy 1803
1688 enl 1804
1689 enl-name 1805
1690 musiconline 1806
1691 fhsp 1807
1692 oracle-vp2 1808
1693 oracle-vp1 1809
1694 jerand-lm 1810
1695 scientia-sdb 1811
1696 radius 1812
1697 radius-acct 1813
1698 tdp-suite 1814
1699 mmpft 1815
1700 etftp 1818
1701 plato-lm 1819
1702 mcagent 1820
1703 donnyworld 1821
1704 es-elmd 1822
1705 unisys-lm 1823
1706 metrics-pas 1824
1707 fjicl-tep-a 1901
1708 fjicl-tep-b 1902
1709 linkname 1903
1710 fjicl-tep-c 1904
1711 sugp 1905
1712 tpmd 1906
1713 tportmapperreq 1906
1714 intrastar 1907
1715 dawn 1908
1716 global-wlink 1909
1717 armadp 1913
1718 elm-momentum 1914
1719 facelink 1915
1720 persoft 1916
1721 noagent 1917
1722 can-nds 1918
1723 can-dch 1919
1724 can-ferret 1920
1725 close-combat 1944
1726 dialogic-elmd 1945
1727 tekpls 1946
1728 eye2eye 1948
1729 ismaeasdaqlive 1949
1730 ismaeasdaqtest 1950
1731 bcs-lmserver 1951
1732 dlsrap 1973
1733 foliocorp 1985
1734 licensedaemon 1986
1735 tr-rsrb-p1 1987
1736 tr-rsrb-p2 1988
1737 mshnet 1989
1738 tr-rsrb-p3 1989
1739 stun-p1 1990
1740 stun-p2 1991
1741 ipsendmsg 1992
1742 stun-p3 1992
1743 snmp-tcp-port 1993
1744 stun-port 1994
1745 perf-port 1995
1746 tr-rsrb-port 1996
1747 gdp-port 1997
1748 x25-svc-port 1998
1749 tcp-id-port 1999
1750 callbook 2000
1751 curry 2001
1752 wizard 2001
1753 globe 2002
1754 emce 2004
1755 oracle 2005
1756 raid 2006
1757 raid-cc 2006
1758 raid-am 2007
1759 terminaldb 2008
1760 whosockami 2009
1761 pipe_server 2010
1762 servserv 2011
1763 raid-ac 2012
1764 raid-cd 2013
1765 raid-sf 2014
1766 raid-cs 2015
1767 bootserver 2016
1768 bootclient 2017
1769 rellpack 2018
1770 about 2019
1771 xinupageserver 2020
1772 xinuexpansion1 2021
1773 xinuexpansion2 2022
1774 xinuexpansion3 2023
1775 xinuexpansion4 2024
1776 xribs 2025
1777 scrabble 2026
1778 shadowserver 2027
1779 submitserver 2028
1780 device2 2030
1781 blackboard 2032
1782 glogger 2033
1783 scoremgr 2034
1784 imsldoc 2035
1785 objectmanager 2038
1786 lam 2040
1787 interbase 2041
1788 isis 2042
1789 isis-bcast 2043
1790 rimsl 2044
1791 cdfunc 2045
1792 sdfunc 2046
1793 dls 2047
1794 dls-monitor 2048
1795 nfs 2049
1796 shilp 2049
1797 dlsrpn 2065
1798 dlswpn 2067
1799 zephyr-srv 2102
1800 zephyr-clt 2103
1801 zephyr-hm 2104
1802 minipay 2105
1803 mc-gt-srv 2180
1804 ats 2201
1805 imtc-map 2202
1806 kali 2213
1807 unreg-ab1 2221
1808 unreg-ab2 2222
1809 inreg-ab3 2223
1810 ivs-video 2232
1811 infocrypt 2233
1812 directplay 2234
1813 sercomm-wlink 2235
1814 nani 2236
1815 optech-port1-lm 2237
1816 aviva-sna 2238
1817 imagequery 2239
1818 ivsd 2241
1819 xmquery 2279
1820 lnvpoller 2280
1821 lnvconsole 2281
1822 lnvalarm 2282
1823 lnvstatus 2283
1824 lnvmaps 2284
1825 lnvmailmon 2285
1826 nas-metering 2286
1827 dna 2287
1828 netml 2288
1829 pehelp 2307
1830 sdhelp 2308
1831 cvspserver 2401
1832 rtsserv 2500
1833 rtsclient 2501
1834 netrek 2592
1835 tqdata 2700
1836 www-dev 2784
1837 aic-np 2785
1838 aic-oncrpc 2786
1839 piccolo 2787
1840 fryeserv 2788
1841 media-agent 2789
1842 mao 2908
1843 funk-dialout 2909
1844 tdaccess 2910
1845 blockade 2911
1846 epicon 2912
1847 hbci 3000
1848 redwood-broker 3001
1849 exlm-agent 3002
1850 ping-pong 3010
1851 trusted-web 3011
1852 hlserver 3047
1853 pctrader 3048
1854 nsws 3049
1855 vmodem 3141
1856 rdc-wh-eos 3142
1857 seaview 3143
1858 tarantella 3144
1859 csi-lfap 3145
1860 mc-brk-srv 3180
1861 ccmail 3264
1862 altav-tunnel 3265
1863 ns-cfg-server 3266
1864 ibm-dial-out 3267
1865 msft-gc 3268
1866 msft-gc-ssl 3269
1867 verismart 3270
1868 csoft-prev 3271
1869 user-manager 3272
1870 sxmp 3273
1871 ordinox-server 3274
1872 samd 3275
1873 maxim-asics 3276
1874 dec-notes 3333
1875 bmap 3421
1876 prsvp 3455
1877 vat 3456
1878 vat-control 3457
1879 d3winosfi 3458
1880 integral 3459
1881 udt_os 3900
1882 mapper-nodemgr 3984
1883 mapper-mapethd 3985
1884 mapper-ws_ethd 3986
1885 terabase 4000
1886 netcheque 4008
1887 chimera-hwm 4009
1888 samsung-unidex 4010
1889 altserviceboot 4011
1890 pda-gate 4012
1891 acl-manager 4013
1892 nuts_dem 4132
1893 nuts_bootp 4133
1894 nifty-hmi 4134
1895 oirtgsvc 4141
1896 oidocsvc 4142
1897 oidsr 4143
1898 rwhois 4321
1899 unicall 4343
1900 vinainstall 4344
1901 krb524 4444
1902 nv-video 4444
1903 upnotifyp 4445
1904 n1-fwp 4446
1905 n1-rmgmt 4447
1906 asc-slmd 4448
1907 arcryptoip 4449
1908 camp 4450
1909 ctisystemmsg 4451
1910 ctiprogramload 4452
1911 nssalertmgr 4453
1912 nssagentmgr 4454
1913 sae-urn 4500
1914 urn-x-cdchoice 4501
1915 rfa 4672
1916 commplex-main 5000
1917 commplex-link 5001
1918 rfe 5002
1919 claris-fmpro 5003
1920 avt-profile-1 5004
1921 avt-profile-2 5005
1922 telelpathstart 5010
1923 telelpathattack 5011
1924 zenginkyo-1 5020
1925 zenginkyo-2 5021
1926 mmcc 5050
1927 rmonitor_secure 5145
1928 atmp 5150
1929 aol 5190
1930 aol-1 5191
1931 aol-2 5192
1932 aol-3 5193
1933 padl2sim 5236
1934 hacl-hb 5300
1935 hacl-gs 5301
1936 hacl-cfg 5302
1937 hacl-probe 5303
1938 hacl-local 5304
1939 hacl-test 5305
1940 sun-mc-grp 5306
1941 sco-aip 5307
1942 cfengine 5308
1943 jprinter 5309
1944 outlaws 5310
1945 tmlogin 5311
1946 excerpt 5400
1947 excerpts 5401
1948 mftp 5402
1949 hpoms-ci-lstn 5403
1950 hpoms-dps-lstn 5404
1951 netsupport 5405
1952 systemics-sox 5406
1953 foresyte-clear 5407
1954 foresyte-sec 5408
1955 salient-dtasrv 5409
1956 salient-usrmgr 5410
1957 actnet 5411
1958 continuus 5412
1959 wwiotalk 5413
1960 statusd 5414
1961 ns-server 5415
1962 sns-gateway 5416
1963 sns-agent 5417
1964 mcntp 5418
1965 dj-ice 5419
1966 cylink-c 5420
1967 personal-agent 5555
1968 esmmanager 5600
1969 esmagent 5601
1970 a1-msc 5602
1971 a1-bs 5603
1972 a3-sdunode 5604
1973 a4-sdunode 5605
1974 pcanywheredata 5631
1975 pcanywherestat 5632
1976 rrac 5678
1977 dccm 5679
1978 proshareaudio 5713
1979 prosharevideo 5714
1980 prosharedata 5715
1981 prosharerequest 5716
1982 prosharenotify 5717
1983 openmail 5729
1984 fcopy-server 5745
1985 openmailg 5755
1986 x500ms 5757
1987 openmailns 5766
1988 s-openmail 5767
1989 x11 6000
1990 softcm 6110
1991 spc 6111
1992 dtspcd 6112
1993 backup-express 6123
1994 meta-corp 6141
1995 aspentec-lm 6142
1996 watershed-lm 6143
1997 statsci1-lm 6144
1998 statsci2-lm 6145
1999 lonewolf-lm 6146
2000 montage-lm 6147
2001 tal-pod 6149
2002 crip 6253
2003 clariion-evr01 6389
2004 lvision-lm 6471
2005 xdsxdm 6558
2006 vocaltec-gold 6670
2007 vision_server 6672
2008 vision_elmd 6673
2009 ambit-lm 6831
2010 acmsoda 6969
2011 afs3-fileserver 7000
2012 afs3-callback 7001
2013 afs3-prserver 7002
2014 afs3-vlserver 7003
2015 afs3-kaserver 7004
2016 afs3-volser 7005
2017 afs3-errors 7006
2018 afs3-bos 7007
2019 afs3-update 7008
2020 afs3-rmtsys 7009
2021 ups-onlinet 7010
2022 lazy-ptop 7099
2023 font-service 7100
2024 fodms 7200
2025 dlip 7201
2026 winqedit 7395
2027 pmdmgr 7426
2028 oveadmgr 7427
2029 ovladmgr 7428
2030 opi-sock 7429
2031 xmpv7 7430
2032 pmd 7431
2033 telops-lmd 7491
2034 pafec-lm 7511
2035 cbt 7777
2036 accu-lmgr 7781
2037 quest-vista 7980
2038 irdmi2 7999
2039 irdmi 8000
2040 pro-ed 8032
2041 npmp 8450
2042 ddi-udp-1 8888
2043 ddi-udp-2 8889
2044 ddi-udp-3 8890
2045 ddi-udp-4 8891
2046 ddi-udp-5 8892
2047 ddi-udp-6 8893
2048 ddi-udp-7 8894
2049 cslistener 9000
2050 man 9535
2051 sd 9876
2052 distinct32 9998
2053 distinct 9999
2054 ndmp 10000
2055 tsaf 12753
2056 dsmcc-config 13818
2057 dsmcc-session 13819
2058 dsmcc-passthru 13820
2059 dsmcc-download 13821
2060 dsmcc-ccp 13822
2061 isode-dua 17007
2062 biimenu 18000
2063 webphone 21845
2064 netspeak-is 21846
2065 netspeak-cs 21847
2066 netspeak-acd 21848
2067 netspeak-cps 21849
2068 wnn6 22273
2069 vocaltec-phone 22555
2070 aws-brf 22800
2071 brf-gw 22951
2072 icl-twobase1 25000
2073 icl-twobase2 25001
2074 icl-twobase3 25002
2075 icl-twobase4 25003
2076 icl-twobase5 25004
2077 icl-twobase6 25005
2078 icl-twobase7 25006
2079 icl-twobase8 25007
2080 icl-twobase9 25008
2081 icl-twobase10 25009
2082 vocaltec-hos 25793
2083 wnn6-ds 26208
2084 dbbrowse 47557
2085 alc 47806
2086 ap 47806
2087 bacnet 47808
2088 ";
2089  
2090 1 my %tcp_ports;
2091  
2092 1 my $tcp_ports = "tcpmux 1
2093 rje 5
2094 echo 7
2095 discard 9
2096 null 9
2097 sink 9
2098 systat 11
2099 daytime 13
2100 netstat 15
2101 qotd 17
2102 quote 17
2103 msp 18
2104 chargen 19
2105 source 19
2106 ttytst 19
2107 ftp-data 20
2108 ftp 21
2109 ssh 22
2110 telnet 23
2111 mail 25
2112 smtp 25
2113 nsw-fe 27
2114 msg-icp 29
2115 msg-auth 31
2116 dsp 33
2117 time 37
2118 rap 38
2119 rlp 39
2120 graphics 41
2121 name 42
2122 nameserver 42
2123 nicname 43
2124 whois 43
2125 mpm-flags 44
2126 mpm 45
2127 mpm-snd 46
2128 ni-ftp 47
2129 auditd 48
2130 tacacs 49
2131 re-mail-ck 50
2132 la-maint 51
2133 xns-time 52
2134 dns 53
2135 domain 53
2136 xns-ch 54
2137 isi-gl 55
2138 xns-auth 56
2139 xns-mail 58
2140 ni-mail 61
2141 acas 62
2142 whois++ 63
2143 covia 64
2144 tacacs-ds 65
2145 sql*net 66
2146 bootp 67
2147 bootps 67
2148 bootpc 68
2149 tftp 69
2150 gopher 70
2151 netrjs-1 71
2152 netrjs-2 72
2153 netrjs-3 73
2154 netrjs-4 74
2155 deos 76
2156 vettcp 78
2157 finger 79
2158 http 80
2159 www 80
2160 www-http 80
2161 hosts2-ns 81
2162 xfer 82
2163 ctf 84
2164 mfcobol 86
2165 kerberos 88
2166 su-mit-tg 89
2167 dnsix 90
2168 mit-dov 91
2169 npp 92
2170 dcp 93
2171 objcall 94
2172 supdup 95
2173 dixie 96
2174 swift-rvf 97
2175 tacnews 98
2176 metagram 99
2177 newacct 100
2178 hostname 101
2179 hostnames 101
2180 iso-tsap 102
2181 gppitnp 103
2182 acr-nema 104
2183 csnet-ns 105
2184 cso 105
2185 3com-tsmux 106
2186 rtelnet 107
2187 snagas 108
2188 pop2 109
2189 pop3 110
2190 sunrpc 111
2191 mcidas 112
2192 auth 113
2193 ident 113
2194 audionews 114
2195 sftp 115
2196 ansanotify 116
2197 uucp-path 117
2198 sqlserv 118
2199 nntp 119
2200 cfdptkt 120
2201 erpc 121
2202 smakynet 122
2203 ntp 123
2204 ansatrader 124
2205 locus-map 125
2206 unitary 126
2207 locus-con 127
2208 gss-xlicen 128
2209 pwdgen 129
2210 cisco-fna 130
2211 cisco-tna 131
2212 cisco-sys 132
2213 statsrv 133
2214 ingres-net 134
2215 epmap 135
2216 profile 136
2217 netbios-ns 137
2218 netbios-dgm 138
2219 netbios-ssn 139
2220 emfis-data 140
2221 emfis-cntl 141
2222 bl-idm 142
2223 imap 143
2224 news 144
2225 uaac 145
2226 iso-tp0 146
2227 iso-ip 147
2228 jargon 148
2229 aed-512 149
2230 sql-net 150
2231 hems 151
2232 bftp 152
2233 sgmp 153
2234 netsc-prod 154
2235 netsc-dev 155
2236 sqlsrv 156
2237 knet-cmp 157
2238 pcmail-srv 158
2239 nss-routing 159
2240 sgmp-traps 160
2241 snmp 161
2242 snmptrap 162
2243 cmip-man 163
2244 cmip-agent 164
2245 xns-courier 165
2246 s-net 166
2247 namp 167
2248 rsvd 168
2249 send 169
2250 print-srv 170
2251 multiplex 171
2252 cl/1 172
2253 xyplex-mux 173
2254 mailq 174
2255 vmnet 175
2256 genrad-mux 176
2257 xdmcp 177
2258 nextstep 178
2259 bgp 179
2260 ris 180
2261 unify 181
2262 audit 182
2263 ocbinder 183
2264 ocserver 184
2265 remote-kis 185
2266 kis 186
2267 aci 187
2268 mumps 188
2269 qft 189
2270 gacp 190
2271 prospero 191
2272 osu-nms 192
2273 srmp 193
2274 irc 194
2275 dn6-nlm-aud 195
2276 dn6-smm-red 196
2277 dlsold 197
2278 dls-mon 198
2279 smux 199
2280 src 200
2281 at-rtmp 201
2282 at-nbp 202
2283 at-3 203
2284 at-echo 204
2285 at-5 205
2286 at-zis 206
2287 at-7 207
2288 at-8 208
2289 qmtp 209
2290 z39.50 210
2291 914c/g 211
2292 anet 212
2293 ipx 213
2294 vmpwscs 214
2295 softpc 215
2296 cailic 216
2297 dbase 217
2298 mpp 218
2299 uarps 219
2300 imap3 220
2301 fln-spx 221
2302 rsh-spx 222
2303 cdc 223
2304 direct 242
2305 sur-meas 243
2306 dayna 244
2307 link 245
2308 dsp3270 246
2309 ibm-rap 256
2310 set 257
2311 yak-chat 258
2312 esro-gen 259
2313 openport 260
2314 nsiiops 261
2315 arcisdms 262
2316 hdap 263
2317 http-mgmt 280
2318 personal-link 281
2319 cableport-ax 282
2320 entrusttime 309
2321 pdap 344
2322 pawserv 345
2323 zserv 346
2324 fatserv 347
2325 csi-sgwp 348
2326 matip-type-a 350
2327 matip-type-b 351
2328 dtag-ste-sb 352
2329 clearcase 371
2330 ulistproc 372
2331 legent-1 373
2332 legent-2 374
2333 hassle 375
2334 nip 376
2335 tnetos 377
2336 dsetos 378
2337 is99c 379
2338 is99s 380
2339 hp-collector 381
2340 hp-managed-node 382
2341 hp-alarm-mgr 383
2342 arns 384
2343 ibm-app 385
2344 asa 386
2345 aurp 387
2346 unidata-ldm 388
2347 ldap 389
2348 uis 390
2349 synotics-relay 391
2350 synotics-broker 392
2351 dis 393
2352 embl-ndt 394
2353 netcp 395
2354 netware-ip 396
2355 mptn 397
2356 kryptolan 398
2357 iso-tsap-c2 399
2358 work-sol 400
2359 ups 401
2360 genie 402
2361 decap 403
2362 nced 404
2363 ncld 405
2364 imsp 406
2365 timbuktu 407
2366 prm-sm 408
2367 prm-nm 409
2368 decladebug 410
2369 rmt 411
2370 synoptics-trap 412
2371 smsp 413
2372 infoseek 414
2373 bnet 415
2374 silverplatter 416
2375 onmux 417
2376 hyper-g 418
2377 ariel1 419
2378 smpte 420
2379 ariel2 421
2380 ariel3 422
2381 opc-job-start 423
2382 opc-job-track 424
2383 icad-el 425
2384 smartsdp 426
2385 svrloc 427
2386 ocs_cmu 428
2387 ocs_amu 429
2388 utmpsd 430
2389 utmpcd 431
2390 iasd 432
2391 nnsp 433
2392 mobileip-agent 434
2393 mobilip-mn 435
2394 dna-cml 436
2395 comscm 437
2396 dsfgw 438
2397 dasp 439
2398 sgcp 440
2399 decvms-sysmgt 441
2400 cvc_hostd 442
2401 https 443
2402 shttp 443
2403 snpp 444
2404 microsoft-ds 445
2405 ddm-rdb 446
2406 ddm-dfm 447
2407 ddm-rfm 447
2408 ddm-byte 448
2409 as-servermap 449
2410 tserver 450
2411 sfs-smp-net 451
2412 sfs-config 452
2413 creativeserver 453
2414 contentserver 454
2415 creativepartnr 455
2416 macon-tcp 456
2417 scohelp 457
2418 appleqtc 458
2419 ampr-rcmd 459
2420 skronk 460
2421 datarampsrv 461
2422 datasurfsrv 461
2423 datarampsrvsec 462
2424 datasurfsrvsec 462
2425 alpes 463
2426 kpasswd 464
2427 smtps 465
2428 ssmtp 465
2429 digital-vrc 466
2430 mylex-mapd 467
2431 photuris 468
2432 rcp 469
2433 scx-proxy 470
2434 mondex 471
2435 ljk-login 472
2436 hybrid-pop 473
2437 tn-tl-w1 474
2438 tcpnethaspsrv 475
2439 tn-tl-fd1 476
2440 ss7ns 477
2441 spsc 478
2442 iafserver 479
2443 iafdbase 480
2444 ph 481
2445 bgs-nsi 482
2446 ulpnet 483
2447 integra-sme 484
2448 powerburst 485
2449 avian 486
2450 saft 487
2451 gss-http 488
2452 nest-protocol 489
2453 micom-pfs 490
2454 go-login 491
2455 ticf-1 492
2456 ticf-2 493
2457 pov-ray 494
2458 intecourier 495
2459 pim-rp-disc 496
2460 dantz 497
2461 siam 498
2462 iso-ill 499
2463 isakmp 500
2464 stmf 501
2465 asa-appl-proto 502
2466 intrinsa 503
2467 citadel 504
2468 mailbox-lm 505
2469 ohimsrv 506
2470 crs 507
2471 xvttp 508
2472 snare 509
2473 fcp 510
2474 firstclass 510
2475 mynet 511
2476 mynet-as 511
2477 exec 512
2478 login 513
2479 cmd 514
2480 rcmd 514
2481 shell 514
2482 printer 515
2483 spooler 515
2484 videotex 516
2485 otalk 517
2486 talk 517
2487 ntalk 518
2488 unixtime 519
2489 utime 519
2490 efs 520
2491 ripng 521
2492 ulp 522
2493 ibm-db2 523
2494 ncp 524
2495 timed 525
2496 timeserver 525
2497 newdate 526
2498 tempo 526
2499 stx 527
2500 custix 528
2501 irc-serv 529
2502 courier 530
2503 rpc 530
2504 chat 531
2505 conference 531
2506 netnews 532
2507 readnews 532
2508 netwall 533
2509 mm-admin 534
2510 iiop 535
2511 opalis-rdv 536
2512 netmsp 537
2513 gdomap 538
2514 apertus-ldp 539
2515 uucp 540
2516 uucpd 540
2517 uucp-rlogin 541
2518 commerce 542
2519 klogin 543
2520 krcmd 544
2521 kshell 544
2522 appleqtcsrvr 545
2523 dhcpv6-client 546
2524 dhcpv6-server 547
2525 afpovertcp 548
2526 idfp 549
2527 new-rwho 550
2528 new-who 550
2529 cybercash 551
2530 deviceshare 552
2531 pirp 553
2532 rtsp 554
2533 dsf 555
2534 brfs 556
2535 remotefs 556
2536 rfs 556
2537 rfs_server 556
2538 openvms-sysipc 557
2539 sdnskmp 558
2540 teedtap 559
2541 rmonitor 560
2542 rmonitord 560
2543 monitor 561
2544 chcmd 562
2545 chshell 562
2546 nntps 563
2547 snntp 563
2548 9pfs 564
2549 whoami 565
2550 streettalk 566
2551 banyan-rpc 567
2552 ms-shuttle 568
2553 ms-rome 569
2554 demon 570
2555 meterd 570
2556 meter 571
2557 udemon 571
2558 sonar 572
2559 banyan-vip 573
2560 ftp-agent 574
2561 vemmi 575
2562 ipcd 576
2563 vnas 577
2564 ipdd 578
2565 decbsrv 579
2566 sntp-heartbeat 580
2567 bdp 581
2568 scc-security 582
2569 philips-vc 583
2570 keyserver 584
2571 imap4-ssl 585
2572 password-chg 586
2573 submission 587
2574 ipcserver 600
2575 urm 606
2576 nqs 607
2577 sift-uft 608
2578 npmp-trap 609
2579 npmp-local 610
2580 npmp-gui 611
2581 hmmp-ind 612
2582 hmmp-op 613
2583 sshell 614
2584 sslshell 614
2585 sco-inetmgr 615
2586 sco-sysmgr 616
2587 sco-dtmgr 617
2588 dei-icda 618
2589 digital-evm 619
2590 sco-websrvrmgr 620
2591 escp 621
2592 escp-ip 621
2593 servstat 633
2594 ginad 634
2595 rlzdbase 635
2596 ldaps 636
2597 sldap 636
2598 lanserver 637
2599 doom 666
2600 mdqs 666
2601 disclose 667
2602 mecomm 668
2603 meregister 669
2604 vacdsm-sws 670
2605 vacdsm-app 671
2606 vpps-qua 672
2607 cimplex 673
2608 acap 674
2609 elcsd 704
2610 errlog 704
2611 agentx 705
2612 entrust-kmsh 709
2613 entrust-ash 710
2614 netviewdm1 729
2615 netviewdm2 730
2616 netviewdm3 731
2617 netgw 741
2618 netrcs 742
2619 flexlm 744
2620 fujitsu-dev 747
2621 ris-cm 748
2622 kerberos-adm 749
2623 rfile 750
2624 pump 751
2625 qrh 752
2626 rrh 753
2627 tell 754
2628 nlogin 758
2629 con 759
2630 ns 760
2631 rxe 761
2632 quotad 762
2633 cycleserv 763
2634 omserv 764
2635 webster 765
2636 phone 767
2637 phonebook 767
2638 vid 769
2639 cadlock 770
2640 rtip 771
2641 cycleserv2 772
2642 submit 773
2643 rpasswd 774
2644 entomb 775
2645 wpages 776
2646 wpgs 780
2647 concert 786
2648 mdbs_daemon 800
2649 device 801
2650 iclcnet-locate 886
2651 iclcnet_svinfo 887
2652 accessbuilder 888
2653 xact-backup 911
2654 ftps-data 989
2655 ftps 990
2656 nas 991
2657 telnets 992
2658 imaps 993
2659 ircs 994
2660 pop3s 995
2661 spop3 995
2662 vsinet 996
2663 maitrd 997
2664 busboy 998
2665 garcon 999
2666 puprouter 999
2667 ock 1000
2668 blackjack 1025
2669 iad1 1030
2670 iad2 1031
2671 iad3 1032
2672 neod1 1047
2673 neod2 1048
2674 nim 1058
2675 nimreg 1059
2676 instl_boots 1067
2677 instl_bootc 1068
2678 socks 1080
2679 ansoft-lm-1 1083
2680 ansoft-lm-2 1084
2681 nfsd-status 1110
2682 lmsocialserver 1111
2683 murray 1123
2684 nfa 1155
2685 mc-client 1180
2686 lupa 1212
2687 nerv 1222
2688 hermes 1248
2689 bmc_patroldb 1313
2690 pdps 1314
2691 vpjp 1345
2692 alta-ana-lm 1346
2693 bbn-mmc 1347
2694 bbn-mmx 1348
2695 sbook 1349
2696 editbench 1350
2697 equationbuilder 1351
2698 lotusnote 1352
2699 relief 1353
2700 rightbrain 1354
2701 edge 1355
2702 intuitive 1355
2703 intuitive-edge 1355
2704 cuillamartin 1356
2705 pegboard 1357
2706 connlcli 1358
2707 ftsrv 1359
2708 mimer 1360
2709 linx 1361
2710 timeflies 1362
2711 ndm-requester 1363
2712 ndm-server 1364
2713 adapt-sna 1365
2714 netware-csp 1366
2715 dcs 1367
2716 screencast 1368
2717 gv-us 1369
2718 us-gv 1370
2719 fc-cli 1371
2720 fc-ser 1372
2721 chromagrafx 1373
2722 molly 1374
2723 bytex 1375
2724 ibm-pps 1376
2725 cichlid 1377
2726 elan 1378
2727 dbreporter 1379
2728 telesis-licman 1380
2729 apple-licman 1381
2730 gwha 1383
2731 os-licman 1384
2732 atex_elmd 1385
2733 checksum 1386
2734 cadsi-lm 1387
2735 objective-dbc 1388
2736 iclpv-dm 1389
2737 iclpv-sc 1390
2738 iclpv-sas 1391
2739 iclpv-pm 1392
2740 iclpv-nls 1393
2741 iclpv-nlc 1394
2742 iclpv-wsm 1395
2743 dvl-activemail 1396
2744 audio-activmail 1397
2745 video-activmail 1398
2746 cadkey-licman 1399
2747 cadkey-tablet 1400
2748 goldleaf-licman 1401
2749 prm-sm-np 1402
2750 prm-nm-np 1403
2751 igi-lm 1404
2752 ibm-res 1405
2753 netlabs-lm 1406
2754 dbsa-lm 1407
2755 sophia-lm 1408
2756 here-lm 1409
2757 hiq 1410
2758 af 1411
2759 innosys 1412
2760 innosys-acl 1413
2761 ibm-mqseries 1414
2762 dbstar 1415
2763 novell-lu6.2 1416
2764 timbuktu-srv1 1417
2765 timbuktu-srv2 1418
2766 timbuktu-srv3 1419
2767 timbuktu-srv4 1420
2768 gandalf-lm 1421
2769 autodesk-lm 1422
2770 essbase 1423
2771 hybrid 1424
2772 zion-lm 1425
2773 sais 1426
2774 mloadd 1427
2775 informatik-lm 1428
2776 nms 1429
2777 tpdu 1430
2778 rgtp 1431
2779 blueberry-lm 1432
2780 ms-sql-s 1433
2781 ms-sql-m 1434
2782 ibm-cics 1435
2783 saism 1436
2784 tabula 1437
2785 eicon-server 1438
2786 eicon-x25 1439
2787 eicon-slp 1440
2788 cadis-1 1441
2789 cadis-2 1442
2790 ies-lm 1443
2791 marcam-lm 1444
2792 proxima-lm 1445
2793 ora-lm 1446
2794 apri-lm 1447
2795 oc-lm 1448
2796 peport 1449
2797 dwf 1450
2798 infoman 1451
2799 gtegsc-lm 1452
2800 genie-lm 1453
2801 interhdl_elmd 1454
2802 esl-lm 1455
2803 dca 1456
2804 valisys-lm 1457
2805 nrcabq-lm 1458
2806 proshare1 1459
2807 proshare2 1460
2808 ibm_wrless_lan 1461
2809 world-lm 1462
2810 nucleus 1463
2811 msl_lmd 1464
2812 pipes 1465
2813 oceansoft-lm 1466
2814 aal-lm 1469
2815 uaiact 1470
2816 csdmbase 1471
2817 csdm 1472
2818 openmath 1473
2819 telefinder 1474
2820 taligent-lm 1475
2821 clvm-cfg 1476
2822 ms-sna-server 1477
2823 ms-sna-base 1478
2824 dberegister 1479
2825 pacerforum 1480
2826 airs 1481
2827 miteksys-lm 1482
2828 afs 1483
2829 confluent 1484
2830 lansource 1485
2831 nms_topo_serv 1486
2832 localinfosrvr 1487
2833 docstor 1488
2834 dmdocbroker 1489
2835 insitu-conf 1490
2836 anynetgateway 1491
2837 stone-design-1 1492
2838 netmap_lm 1493
2839 ica 1494
2840 cvc 1495
2841 liberty-lm 1496
2842 rfx-lm 1497
2843 watcom-sql 1498
2844 fhc 1499
2845 vlsi-lm 1500
2846 saiscm 1501
2847 shiva 1502
2848 shivadiscovery 1502
2849 databeam 1503
2850 imtc-mcs 1503
2851 evb-elm 1504
2852 funkproxy 1505
2853 utcd 1506
2854 symplex 1507
2855 diagmond 1508
2856 robcad-lm 1509
2857 mvx-lm 1510
2858 3l-l1 1511
2859 wins 1512
2860 fujitsu-dtc 1513
2861 fujitsu-dtcns 1514
2862 ifor-protocol 1515
2863 vpad 1516
2864 vpac 1517
2865 vpvd 1518
2866 vpvc 1519
2867 atm-zip-office 1520
2868 ncube-lm 1521
2869 cichild 1523
2870 cichild-lm 1523
2871 ingres 1524
2872 ingreslock 1524
2873 orasrv 1525
2874 prospero-np 1525
2875 pdap-np 1526
2876 tlisrv 1527
2877 mciautoreg 1528
2878 coauthor 1529
2879 rap-service 1530
2880 rap-listen 1531
2881 miroconnect 1532
2882 virtual-places 1533
2883 micromuse-lm 1534
2884 ampr-info 1535
2885 ampr-inter 1536
2886 sdsc-lm 1537
2887 3ds-lm 1538
2888 intellistor-lm 1539
2889 rds 1540
2890 rds2 1541
2891 gridgen-elmd 1542
2892 simba-cs 1543
2893 aspeclmd 1544
2894 vistium-share 1545
2895 abbaccuray 1546
2896 laplink 1547
2897 axon-lm 1548
2898 shivahose 1549
2899 3m-image-lm 1550
2900 hecmtl-db 1551
2901 pciarray 1552
2902 sna-cs 1553
2903 caci-lm 1554
2904 livelan 1555
2905 ashwin 1556
2906 arbortext-lm 1557
2907 xingmpeg 1558
2908 web2host 1559
2909 asci-val 1560
2910 facilityview 1561
2911 pconnectmgr 1562
2912 cadabra-lm 1563
2913 pay-per-view 1564
2914 windd 1565
2915 winddlb 1565
2916 corelvideo 1566
2917 jlicelmd 1567
2918 tsspmap 1568
2919 ets 1569
2920 orbixd 1570
2921 rdb-dbs-disp 1571
2922 chip-lm 1572
2923 itscomm-ns 1573
2924 mvel-lm 1574
2925 oraclenames 1575
2926 moldflow-lm 1576
2927 hypercube-lm 1577
2928 jacobus-lm 1578
2929 ioc-sea-lm 1579
2930 tn-tl-r1 1580
2931 vmf-msg-port 1581
2932 msims 1582
2933 simbaexpress 1583
2934 tn-tl-fd2 1584
2935 intv 1585
2936 ibm-abtact 1586
2937 pra_elmd 1587
2938 triquest-lm 1588
2939 vqp 1589
2940 gemini-lm 1590
2941 ncpm-pm 1591
2942 commonspace 1592
2943 mainsoft-lm 1593
2944 sixtrak 1594
2945 radio 1595
2946 radio-sm 1596
2947 orbplus-iiop 1597
2948 picknfs 1598
2949 simbaservices 1599
2950 issd 1600
2951 aas 1601
2952 dec-inspect 1602
2953 pickodbc 1603
2954 picodbc 1603
2955 icabrowser 1604
2956 slp 1605
2957 slm-api 1606
2958 stt 1607
2959 smart-lm 1608
2960 isysg-lm 1609
2961 taurus-wh 1610
2962 ill 1611
2963 netbill-trans 1612
2964 netbill-keyrep 1613
2965 netbill-cred 1614
2966 netbill-auth 1615
2967 netbill-prod 1616
2968 nimrod-agent 1617
2969 skytelnet 1618
2970 xs-openstorage 1619
2971 faxportwinport 1620
2972 softdataphone 1621
2973 ontime 1622
2974 jaleosnd 1623
2975 udp-sr-port 1624
2976 svs-omagent 1625
2977 cncp 1636
2978 cnap 1637
2979 cnip 1638
2980 cert-initiator 1639
2981 cert-responder 1640
2982 invision 1641
2983 isis-am 1642
2984 isis-ambc 1643
2985 saiseh 1644
2986 datametrics 1645
2987 sa-msg-port 1646
2988 rsap 1647
2989 concurrent-lm 1648
2990 inspect 1649
2991 nkd 1650
2992 shiva_confsrvr 1651
2993 xnmp 1652
2994 alphatech-lm 1653
2995 stargatealerts 1654
2996 dec-mbadmin 1655
2997 dec-mbadmin-h 1656
2998 fujitsu-mmpdc 1657
2999 sixnetudr 1658
3000 sg-lm 1659
3001 skip-mc-gikreq 1660
3002 netview-aix-1 1661
3003 netview-aix-2 1662
3004 netview-aix-3 1663
3005 netview-aix-4 1664
3006 netview-aix-5 1665
3007 netview-aix-6 1666
3008 netview-aix-7 1667
3009 netview-aix-8 1668
3010 netview-aix-9 1669
3011 netview-aix-10 1670
3012 netview-aix-11 1671
3013 netview-aix-12 1672
3014 proshare-mc-1 1673
3015 proshare-mc-2 1674
3016 pdp 1675
3017 netcomm1 1676
3018 groupwise 1677
3019 prolink 1678
3020 darcorp-lm 1679
3021 microcom-sbp 1680
3022 sd-elmd 1681
3023 lanyon-lantern 1682
3024 ncpm-hip 1683
3025 snaresecure 1684
3026 n2nremote 1685
3027 cvmon 1686
3028 nsjtp-ctrl 1687
3029 nsjtp-data 1688
3030 firefox 1689
3031 ng-umds 1690
3032 empire-empuma 1691
3033 sstsys-lm 1692
3034 rrirtr 1693
3035 rrimwm 1694
3036 rrilwm 1695
3037 rrifmm 1696
3038 rrisat 1697
3039 rsvp-encap-1 1698
3040 rsvp-encapsulation-1 1698
3041 rsvp-encap-2 1699
3042 rsvp-encapsulation-2 1699
3043 mps-raft 1700
3044 l2f 1701
3045 deskshare 1702
3046 hb-engine 1703
3047 bcs-broker 1704
3048 slingshot 1705
3049 jetform 1706
3050 vdmplay 1707
3051 gat-lmd 1708
3052 centra 1709
3053 impera 1710
3054 pptconference 1711
3055 registrar 1712
3056 conferencetalk 1713
3057 sesi-lm 1714
3058 houdini-lm 1715
3059 xmsg 1716
3060 fj-hdnet 1717
3061 h323gatedisc 1718
3062 h323gatestat 1719
3063 h323hostcall 1720
3064 caicci 1721
3065 hks-lm 1722
3066 pptp 1723
3067 csbphonemaster 1724
3068 iden-ralp 1725
3069 iberiagames 1726
3070 winddx 1727
3071 telindus 1728
3072 citynl 1729
3073 roketz 1730
3074 msiccp 1731
3075 proxim 1732
3076 sipat 1733
3077 cambertx-lm 1734
3078 privatechat 1735
3079 street-stream 1736
3080 ultimad 1737
3081 gamegen1 1738
3082 webaccess 1739
3083 encore 1740
3084 cisco-net-mgmt 1741
3085 3com-nsd 1742
3086 cinegrfx-lm 1743
3087 ncpm-ft 1744
3088 remote-winsock 1745
3089 ftrapid-1 1746
3090 ftrapid-2 1747
3091 oracle-em1 1748
3092 aspen-services 1749
3093 sslp 1750
3094 swiftnet 1751
3095 lofr-lm 1752
3096 translogic-lm 1753
3097 oracle-em2 1754
3098 ms-streaming 1755
3099 capfast-lmd 1756
3100 cnhrp 1757
3101 tftp-mcast 1758
3102 spss-lm 1759
3103 www-ldap-gw 1760
3104 cft-0 1761
3105 cft-1 1762
3106 cft-2 1763
3107 cft-3 1764
3108 cft-4 1765
3109 cft-5 1766
3110 cft-6 1767
3111 cft-7 1768
3112 bmc-net-adm 1769
3113 bmc-net-svc 1770
3114 vaultbase 1771
3115 essweb-gw 1772
3116 kmscontrol 1773
3117 global-dtserv 1774
3118 femis 1776
3119 powerguardian 1777
3120 prodigy-internet 1778
3121 pharmasoft 1779
3122 dpkeyserv 1780
3123 answersoft-lm 1781
3124 hp-hcip 1782
3125 fjris 1783
3126 finle-lm 1784
3127 windlm 1785
3128 funk-logger 1786
3129 funk-license 1787
3130 psmond 1788
3131 hello 1789
3132 nmsp 1790
3133 ea1 1791
3134 ibm-dt-2 1792
3135 rsc-robot 1793
3136 cera-bcm 1794
3137 dpi-proxy 1795
3138 vocaltec-admin 1796
3139 uma 1797
3140 etp 1798
3141 netrisk 1799
3142 ansys-lm 1800
3143 msmq 1801
3144 concomp1 1802
3145 hp-hcip-gwy 1803
3146 enl 1804
3147 enl-name 1805
3148 musiconline 1806
3149 fhsp 1807
3150 oracle-vp2 1808
3151 oracle-vp1 1809
3152 jerand-lm 1810
3153 scientia-sdb 1811
3154 radius 1812
3155 radius-acct 1813
3156 tdp-suite 1814
3157 mmpft 1815
3158 etftp 1818
3159 plato-lm 1819
3160 mcagent 1820
3161 donnyworld 1821
3162 es-elmd 1822
3163 unisys-lm 1823
3164 metrics-pas 1824
3165 fjicl-tep-a 1901
3166 fjicl-tep-b 1902
3167 linkname 1903
3168 fjicl-tep-c 1904
3169 sugp 1905
3170 tpmd 1906
3171 tportmapperreq 1906
3172 intrastar 1907
3173 dawn 1908
3174 global-wlink 1909
3175 mtp 1911
3176 armadp 1913
3177 elm-momentum 1914
3178 facelink 1915
3179 persoft 1916
3180 noagent 1917
3181 can-nds 1918
3182 can-dch 1919
3183 can-ferret 1920
3184 close-combat 1944
3185 dialogic-elmd 1945
3186 tekpls 1946
3187 eye2eye 1948
3188 ismaeasdaqlive 1949
3189 ismaeasdaqtest 1950
3190 bcs-lmserver 1951
3191 dlsrap 1973
3192 foliocorp 1985
3193 licensedaemon 1986
3194 tr-rsrb-p1 1987
3195 tr-rsrb-p2 1988
3196 mshnet 1989
3197 tr-rsrb-p3 1989
3198 stun-p1 1990
3199 stun-p2 1991
3200 ipsendmsg 1992
3201 stun-p3 1992
3202 snmp-tcp-port 1993
3203 stun-port 1994
3204 perf-port 1995
3205 tr-rsrb-port 1996
3206 gdp-port 1997
3207 x25-svc-port 1998
3208 tcp-id-port 1999
3209 callbook 2000
3210 dc 2001
3211 globe 2002
3212 mailbox 2004
3213 berknet 2005
3214 invokator 2006
3215 dectalk 2007
3216 conf 2008
3217 search 2010
3218 raid-cc 2011
3219 ttyinfo 2012
3220 raid-am 2013
3221 troff 2014
3222 cypress 2015
3223 bootserver 2016
3224 cypress-stat 2017
3225 terminaldb 2018
3226 whosockami 2019
3227 xinupageserver 2020
3228 servexec 2021
3229 down 2022
3230 xinuexpansion3 2023
3231 xinuexpansion4 2024
3232 ellpack 2025
3233 scrabble 2026
3234 shadowserver 2027
3235 submitserver 2028
3236 device2 2030
3237 blackboard 2032
3238 glogger 2033
3239 scoremgr 2034
3240 imsldoc 2035
3241 objectmanager 2038
3242 lam 2040
3243 interbase 2041
3244 isis 2042
3245 isis-bcast 2043
3246 rimsl 2044
3247 cdfunc 2045
3248 sdfunc 2046
3249 dls 2047
3250 dls-monitor 2048
3251 nfs 2049
3252 shilp 2049
3253 dlsrpn 2065
3254 dlswpn 2067
3255 zephyr-srv 2102
3256 zephyr-clt 2103
3257 zephyr-hm 2104
3258 minipay 2105
3259 mc-gt-srv 2180
3260 ats 2201
3261 imtc-map 2202
3262 kali 2213
3263 unreg-ab1 2221
3264 unreg-ab2 2222
3265 inreg-ab3 2223
3266 ivs-video 2232
3267 infocrypt 2233
3268 directplay 2234
3269 sercomm-wlink 2235
3270 nani 2236
3271 optech-port1-lm 2237
3272 aviva-sna 2238
3273 imagequery 2239
3274 ivsd 2241
3275 xmquery 2279
3276 lnvpoller 2280
3277 lnvconsole 2281
3278 lnvalarm 2282
3279 lnvstatus 2283
3280 lnvmaps 2284
3281 lnvmailmon 2285
3282 nas-metering 2286
3283 dna 2287
3284 netml 2288
3285 pehelp 2307
3286 sdhelp 2308
3287 cvspserver 2401
3288 rtsserv 2500
3289 rtsclient 2501
3290 hp-3000-telnet 2564
3291 netrek 2592
3292 tqdata 2700
3293 www-dev 2784
3294 aic-np 2785
3295 aic-oncrpc 2786
3296 piccolo 2787
3297 fryeserv 2788
3298 media-agent 2789
3299 mao 2908
3300 funk-dialout 2909
3301 tdaccess 2910
3302 blockade 2911
3303 epicon 2912
3304 hbci 3000
3305 redwood-broker 3001
3306 exlm-agent 3002
3307 gw 3010
3308 trusted-web 3011
3309 hlserver 3047
3310 pctrader 3048
3311 nsws 3049
3312 vmodem 3141
3313 rdc-wh-eos 3142
3314 seaview 3143
3315 tarantella 3144
3316 csi-lfap 3145
3317 mc-brk-srv 3180
3318 ccmail 3264
3319 altav-tunnel 3265
3320 ns-cfg-server 3266
3321 ibm-dial-out 3267
3322 msft-gc 3268
3323 msft-gc-ssl 3269
3324 verismart 3270
3325 csoft-prev 3271
3326 user-manager 3272
3327 sxmp 3273
3328 ordinox-server 3274
3329 samd 3275
3330 maxim-asics 3276
3331 dec-notes 3333
3332 bmap 3421
3333 mira 3454
3334 prsvp 3455
3335 vat 3456
3336 vat-control 3457
3337 d3winosfi 3458
3338 integral 3459
3339 mapper-nodemgr 3984
3340 mapper-mapethd 3985
3341 mapper-ws_ethd 3986
3342 terabase 4000
3343 netcheque 4008
3344 chimera-hwm 4009
3345 samsung-unidex 4010
3346 altserviceboot 4011
3347 pda-gate 4012
3348 acl-manager 4013
3349 nuts_dem 4132
3350 nuts_bootp 4133
3351 nifty-hmi 4134
3352 oirtgsvc 4141
3353 oidocsvc 4142
3354 oidsr 4143
3355 rwhois 4321
3356 unicall 4343
3357 vinainstall 4344
3358 krb524 4444
3359 nv-video 4444
3360 upnotifyp 4445
3361 n1-fwp 4446
3362 n1-rmgmt 4447
3363 asc-slmd 4448
3364 arcryptoip 4449
3365 camp 4450
3366 ctisystemmsg 4451
3367 ctiprogramload 4452
3368 nssalertmgr 4453
3369 nssagentmgr 4454
3370 sae-urn 4500
3371 urn-x-cdchoice 4501
3372 hylafax 4559
3373 rfa 4672
3374 commplex-main 5000
3375 commplex-link 5001
3376 rfe 5002
3377 claris-fmpro 5003
3378 avt-profile-1 5004
3379 avt-profile-2 5005
3380 telelpathstart 5010
3381 telepathstart 5010
3382 telelpathattack 5011
3383 telepathattack 5011
3384 zenginkyo-1 5020
3385 zenginkyo-2 5021
3386 mmcc 5050
3387 rmonitor_secure 5145
3388 atmp 5150
3389 america-online 5190
3390 aol 5190
3391 americaonline1 5191
3392 aol-1 5191
3393 americaonline2 5192
3394 aol-2 5192
3395 americaonline3 5193
3396 aol-3 5193
3397 padl2sim 5236
3398 hacl-hb 5300
3399 hacl-gs 5301
3400 hacl-cfg 5302
3401 hacl-probe 5303
3402 hacl-local 5304
3403 hacl-test 5305
3404 sun-mc-grp 5306
3405 sco-aip 5307
3406 cfengine 5308
3407 jprinter 5309
3408 outlaws 5310
3409 tmlogin 5311
3410 excerpt 5400
3411 excerpts 5401
3412 mftp 5402
3413 hpoms-ci-lstn 5403
3414 hpoms-dps-lstn 5404
3415 netsupport 5405
3416 systemics-sox 5406
3417 foresyte-clear 5407
3418 foresyte-sec 5408
3419 salient-dtasrv 5409
3420 salient-usrmgr 5410
3421 actnet 5411
3422 continuus 5412
3423 wwiotalk 5413
3424 statusd 5414
3425 ns-server 5415
3426 sns-gateway 5416
3427 sns-agent 5417
3428 mcntp 5418
3429 dj-ice 5419
3430 cylink-c 5420
3431 personal-agent 5555
3432 esmmanager 5600
3433 esmagent 5601
3434 a1-msc 5602
3435 a1-bs 5603
3436 a3-sdunode 5604
3437 a4-sdunode 5605
3438 pcanywheredata 5631
3439 pcanywherestat 5632
3440 rrac 5678
3441 dccm 5679
3442 proshareaudio 5713
3443 prosharevideo 5714
3444 prosharedata 5715
3445 prosharerequest 5716
3446 prosharenotify 5717
3447 openmail 5729
3448 fcopy-server 5745
3449 openmailg 5755
3450 x500ms 5757
3451 openmailns 5766
3452 s-openmail 5767
3453 x11 6000
3454 softcm 6110
3455 spc 6111
3456 dtspcd 6112
3457 backup-express 6123
3458 meta-corp 6141
3459 aspentec-lm 6142
3460 watershed-lm 6143
3461 statsci1-lm 6144
3462 statsci2-lm 6145
3463 lonewolf-lm 6146
3464 montage-lm 6147
3465 tal-pod 6149
3466 crip 6253
3467 clariion-evr01 6389
3468 skip-cert-recv 6455
3469 skip-cert-send 6456
3470 lvision-lm 6471
3471 xdsxdm 6558
3472 vocaltec-gold 6670
3473 vision_server 6672
3474 vision_elmd 6673
3475 ambit-lm 6831
3476 acmsoda 6969
3477 afs3-fileserver 7000
3478 afs3-callback 7001
3479 afs3-prserver 7002
3480 afs3-vlserver 7003
3481 afs3-kaserver 7004
3482 afs3-volser 7005
3483 afs3-errors 7006
3484 afs3-bos 7007
3485 afs3-update 7008
3486 afs3-rmtsys 7009
3487 ups-onlinet 7010
3488 lazy-ptop 7099
3489 font-service 7100
3490 virprot-lm 7121
3491 clutild 7174
3492 fodms 7200
3493 dlip 7201
3494 winqedit 7395
3495 pmdmgr 7426
3496 oveadmgr 7427
3497 ovladmgr 7428
3498 opi-sock 7429
3499 xmpv7 7430
3500 pmd 7431
3501 telops-lmd 7491
3502 pafec-lm 7511
3503 cbt 7777
3504 accu-lmgr 7781
3505 quest-vista 7980
3506 irdmi2 7999
3507 irdmi 8000
3508 pro-ed 8032
3509 npmp 8450
3510 ddi-tcp-1 8888
3511 ddi-tcp-2 8889
3512 ddi-tcp-3 8890
3513 ddi-tcp-4 8891
3514 ddi-tcp-5 8892
3515 ddi-tcp-6 8893
3516 ddi-tcp-7 8894
3517 cslistener 9000
3518 man 9535
3519 sd 9876
3520 distinct32 9998
3521 distinct 9999
3522 ndmp 10000
3523 tsaf 12753
3524 dsmcc-config 13818
3525 dsmcc-session 13819
3526 dsmcc-passthru 13820
3527 dsmcc-download 13821
3528 dsmcc-ccp 13822
3529 isode-dua 17007
3530 biimenu 18000
3531 webphone 21845
3532 netspeak-is 21846
3533 netspeak-cs 21847
3534 netspeak-acd 21848
3535 netspeak-cps 21849
3536 wnn6 22273
3537 vocaltec-wconf 22555
3538 aws-brf 22800
3539 brf-gw 22951
3540 icl-twobase1 25000
3541 icl-twobase2 25001
3542 icl-twobase3 25002
3543 icl-twobase4 25003
3544 icl-twobase5 25004
3545 icl-twobase6 25005
3546 icl-twobase7 25006
3547 icl-twobase8 25007
3548 icl-twobase9 25008
3549 icl-twobase10 25009
3550 vocaltec-hos 25793
3551 quake 26000
3552 wnn6-ds 26208
3553 dbbrowse 47557
3554 alc 47806
3555 ap 47806
3556 bacnet 47808
3557 ";
3558  
3559 #& _ianaport($servname,\%ports,\$ports) : {$portnum | undef}
3560 sub _ianaport ($\%\$)
3561 0 ▶{
Subroutine _ianaport: not called CC=2 SCAR=17.9
3562 0 my ($svc,$defports,$rstr) = @_;
3563 0 ▶ unless (%$defports) {
Branch: 1 branch
BranchTrueFalseTotal
unless (%$defports) 0 0 0
3564 0 %$defports = split(' ', $$rstr);
3565 # now have to force a real free() and not just SvPOK_off()
3566 0 $$rstr = $defports; # convert SVt_PV to SVt_RV to free the string
3567 0 undef $$rstr;
3568 }
3569 0 $defports->{$svc};
3570 }
3571  
3572 #& _setport($self,$key,$newval) : {'' | "carp string"}
3573 sub _setport
3574 0 ▶{
Subroutine _setport: not called CC=50 SCAR=78.4
3575 0 my($self,$key,$newval) = @_;
3576 return "Invalid arguments to " . __PACKAGE__ . "::_setport(@_), called"
3577 0 ▶ if @_ != 3 || !exists($ {*$self}{Keys}{$key});
Branch: 1 branch
BranchTrueFalseTotal
if @_ != 3 or not exists do { *$self }->{"Keys"}{$key} 0 0 0
Condition0%0/3
@_ != 3 or not exists do { *$self }->{"Keys"}{$key}
l!l&&r!l&&!r
000
MC/DC0%0/2
@_ != 3 or not exists do { *$self }->{"Keys"}{$key}
@_ != 3 not exists do { *$self }->{"Keys"}{$key}
Truth table0%0/3
A or not(B)
A= @_ != 3B= not exists do { *$self }->{"Keys"}{$key}
ABresult
1X1
011
000
3578 0 my $whoami = $self->_trace(\@_,1);
3579 0 my($skey,$hkey,$pkey,$svc,$port,$proto,$type,$host,$reval);
3580 0 my($pname,$defport,@serv);
3581 0 ($skey = $key) =~ s/port$/service/; # a key known to be for a service
3582 0 ($pkey = $key) =~ s/service$/port/; # and one for the port
3583 0 ($hkey = $pkey) =~ s/port$/host/; # another for calling _sethost
3584 0 ▶ if (!defined $newval) { # deleting a service or port
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $newval) 0 0 0
3585 0 delete $ {*$self}{Parms}{$skey};
3586 0 ▶ delete $ {*$self}{Parms}{$pkey} unless $self->isconnected;
Branch: 1 branch
BranchTrueFalseTotal
unless $self->isconnected 0 0 0
3587 0 my @delkeys;
3588 0 ▶ if ($pkey eq 'thisport') {
Branch: 2 branches
BranchTrueFalseTotal
if ($pkey eq 'thisport') { } 0 0 0
elsif ($pkey eq 'destport') { } 0 0 0
3589 0 @delkeys = qw(srcaddrlist srcaddr);
3590 }
3591 elsif ($pkey eq 'destport') {
3592 0 @delkeys = qw(dstaddrlist dstaddr);
3593 }
3594 0 ▶ pop(@delkeys) if @delkeys and $self->isconnected;
Branch: 1 branch
BranchTrueFalseTotal
if @delkeys and $self->isconnected 0 0 0
Condition0%0/3
@delkeys and $self->isconnected
!ll&&!rl&&r
000
MC/DC0%0/2
@delkeys and $self->isconnected
@delkeys $self->isconnected
Truth table0%0/3
A and B
A= @delkeysB= $self->isconnected
ABresult
0X0
100
111
3595 0 ▶ $self->delparams(\@delkeys) if @delkeys;
Branch: 1 branch
BranchTrueFalseTotal
if @delkeys 0 0 0
3596 0 return ''; # ok to delete
3597 }
3598 # here, we're trying to set a port or service
3599 0 $pname = $self->getparam('IPproto');
3600 0 $proto = $self->getparam('proto'); # try to find our protocol
3601 0 ▶ if (!defined($pname) && !$proto
Branch: 1 branch
BranchTrueFalseTotal
if (not defined $pname || $proto and defined($type = $self->getparam("type"))) 0 0 0
Condition0%0/6
not defined $pname || $proto and defined($type = $self->getparam("type"))
!ll&&!rl&&r
000
defined $pname || $proto
l!l&&r!l&&!r
000
MC/DC0%0/3
not defined $pname || $proto and defined($type = $self->getparam("type"))
defined $pname $proto defined($type = $self->getparam("type"))
Truth table0%0/4
not(A || B) and C
A= defined $pnameB= $protoC= defined($type = $self->getparam("type"))
ABCresult
1XX0
01X0
0000
0011
3602 && defined($type = $self->getparam('type'))) {
3603 # try to infer protocol from SO_TYPE
3604 0 ▶ if ($type == SOCK_STREAM) {
Branch: 2 branches
BranchTrueFalseTotal
if ($type == 1) { } 0 0 0
elsif ($type == 2) { } 0 0 0
3605 0 $proto = IPPROTO_TCP();
3606 }
3607 elsif ($type == SOCK_DGRAM) {
3608 0 $proto = IPPROTO_UDP();
3609 }
3610 }
3611 0 ▶ if (defined $proto and not defined $pname) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined $proto and not defined $pname) 0 0 0
Condition0%0/3
defined $proto and not defined $pname
!ll&&!rl&&r
000
MC/DC0%0/2
defined $proto and not defined $pname
defined $proto not defined $pname
Truth table0%0/3
A and not(B)
A= defined $protoB= not defined $pname
ABresult
0X0
100
111
3612 0 $pname = getprotobynumber($proto);
3613 0 ▶ unless (defined $pname) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $pname) 0 0 0
3614 0 ▶ if ($proto == IPPROTO_UDP()) {
Branch: 3 branches
BranchTrueFalseTotal
if ($proto == 17) { } 0 0 0
elsif ($proto == 6) { } 0 0 0
elsif ($proto == 1) { } 0 0 0
3615 0 $pname = 'udp';
3616 }
3617 elsif ($proto == IPPROTO_TCP()) {
3618 0 $pname = 'tcp';
3619 }
3620 elsif ($proto == IPPROTO_ICMP()) {
3621 0 $pname = 'icmp';
3622 }
3623 }
3624 }
3625  
3626 0 $reval = $newval; # make resetting $_[2] simple
3627 0 $svc = $ {*$self}{Parms}{$skey}; # preserve earlier values
3628 0 $port = $ {*$self}{Parms}{$pkey};
3629 0 ▶ $port = undef if
Branch: 1 branch
BranchTrueFalseTotal
if defined $port and $port =~ /\D/ 0 0 0
Condition0%0/3
defined $port and $port =~ /\D/
!ll&&!rl&&r
000
MC/DC0%0/2
defined $port and $port =~ /\D/
defined $port $port =~ /\D/
Truth table0%0/3
A and B
A= defined $portB= $port =~ /\D/
ABresult
0X0
100
111
3630 defined($port) and $port =~ /\D/; # but stored ports must be numeric
3631 0 ▶ ($newval,$defport) = ($1,$2+0)
Branch: 1 branch
BranchTrueFalseTotal
if $newval =~ /^(.+)\((\d+)\)$/ 0 0 0
3632 if $newval =~ /^(.+)\((\d+)\)$/;
3633 0 ▶ if ($skey eq $key || $newval =~ /\D/) { # trying to set a service
Branch: 1 branch
BranchTrueFalseTotal
if ($skey eq $key or $newval =~ /\D/) 0 0 0
Condition0%0/3
$skey eq $key or $newval =~ /\D/
l!l&&r!l&&!r
000
MC/DC0%0/2
$skey eq $key or $newval =~ /\D/
$skey eq $key $newval =~ /\D/
Truth table0%0/3
A or B
A= $skey eq $keyB= $newval =~ /\D/
ABresult
1X1
011
000
3634 0 @serv = getservbyname($newval,$pname); # try to find the port info
3635 }
3636 0 ▶ if ($newval !~ /\D/ && !@serv) { # setting a port number (even if service)
Branch: 1 branch
BranchTrueFalseTotal
unless ($newval =~ /\D/ or @serv) 0 0 0
Condition0%0/3
$newval =~ /\D/ or @serv
l!l&&r!l&&!r
000
MC/DC0%0/2
$newval =~ /\D/ or @serv
$newval =~ /\D/ @serv
Truth table0%0/3
A or B
A= $newval =~ /\D/B= @serv
ABresult
1X1
011
000
3637 0 $port = $newval+0; # just in case no servent is found
3638 0 ▶ @serv = getservbyport(htons($port),$pname) if $pname;
Branch: 1 branch
BranchTrueFalseTotal
if $pname 0 0 0
3639 }
3640 0 ▶ if (@serv) { # if we resolved name/number input
Branch: 4 branches
BranchTrueFalseTotal
if (@serv) { } 0 0 0
elsif (not $defport and $newval =~ /\D/) { } 0 0 0
elsif ($defport and $newval) { } 0 0 0
elsif ($key eq $skey or $newval =~ /\D/) { } 0 0 0
3641 0 $svc = $serv[0]; # save the canonical service name (and number?)
3642 0 ▶ $port = 0+$serv[2] unless $key eq $pkey and $newval !~ /\D/;
Branch: 1 branch
BranchTrueFalseTotal
unless $key eq $pkey and not $newval =~ /\D/ 0 0 0
Condition0%0/3
$key eq $pkey and not $newval =~ /\D/
!ll&&!rl&&r
000
MC/DC0%0/2
$key eq $pkey and not $newval =~ /\D/
$key eq $pkey not $newval =~ /\D/
Truth table0%0/3
A and not(B)
A= $key eq $pkeyB= not $newval =~ /\D/
ABresult
0X0
100
111
3643 }
3644 ▶ elsif (!$defport && $newval =~ /\D/) { # unknown service
Condition0%0/3
not $defport and $newval =~ /\D/
!ll&&!rl&&r
000
MC/DC0%0/2
not $defport and $newval =~ /\D/
not $defport $newval =~ /\D/
Truth table0%0/3
not(A) and B
A= not $defportB= $newval =~ /\D/
ABresult
0X0
100
111
3645 0 ▶ if ($pname eq 'udp') {
Branch: 2 branches
BranchTrueFalseTotal
if ($pname eq 'udp') { } 0 0 0
elsif ($pname eq 'tcp') { } 0 0 0
3646 0 $defport = _ianaport("\L$newval",%udp_ports,$udp_ports);
3647 }
3648 elsif ($pname eq 'tcp') {
3649 0 $defport = _ianaport("\L$newval",%tcp_ports,$tcp_ports);
3650 }
3651 0 ▶ return "Unknown service $newval, found" unless $defport;
Branch: 1 branch
BranchTrueFalseTotal
unless $defport 0 0 0
3652 0 $port = $defport+0;
3653 0 $svc = $newval;
3654 }
3655 ▶ elsif ($defport && $newval) {
Condition0%0/3
$defport and $newval
!ll&&!rl&&r
000
MC/DC0%0/2
$defport and $newval
$defport $newval
Truth table0%0/3
A and B
A= $defportB= $newval
ABresult
0X0
100
111
3656 0 $svc = $newval;
3657 0 $port = $defport;
3658 }
3659 ▶ elsif ($key eq $skey or $newval =~ /\D/) { # setting unknown service
Condition0%0/3
$key eq $skey or $newval =~ /\D/
l!l&&r!l&&!r
000
MC/DC0%0/2
$key eq $skey or $newval =~ /\D/
$key eq $skey $newval =~ /\D/
Truth table0%0/3
A or B
A= $key eq $skeyB= $newval =~ /\D/
ABresult
1X1
011
000
3660 0 return "Unknown service $newval, found";
3661 }
3662 0 ▶ $reval = (($key eq $skey) ? $svc : $port); # in case we get that far
Branch: 1 branch
BranchTrueFalseTotal
$key eq $skey ? : 0 0 0
3663 0 ▶ $ {*$self}{Parms}{$skey} = $svc if $svc; # in case no port change
Branch: 1 branch
BranchTrueFalseTotal
if $svc 0 0 0
3664 0 $_[2] = $reval;
3665 0 ▶ print STDERR " - " . __PACKAGE__ . "::_setport $self $skey $svc\n" if
Branch: 1 branch
BranchTrueFalseTotal
if $svc and $self->debug 0 0 0
Condition0%0/3
$svc and $self->debug
!ll&&!rl&&r
000
MC/DC0%0/2
$svc and $self->debug
$svc $self->debug
Truth table0%0/3
A and B
A= $svcB= $self->debug
ABresult
0X0
100
111
3666 $svc and $self->debug;
3667 0 ▶ print STDERR " - " . __PACKAGE__ . "::_setport $self $pkey $port\n" if
Branch: 1 branch
BranchTrueFalseTotal
if defined $port and $self->debug 0 0 0
Condition0%0/3
defined $port and $self->debug
!ll&&!rl&&r
000
MC/DC0%0/2
defined $port and $self->debug
defined $port $self->debug
Truth table0%0/3
A and B
A= defined $portB= $self->debug
ABresult
0X0
100
111
3668 defined $port and $self->debug;
3669 # Have to keep going here for implicit bind() from init().
3670 # return '' if defined($ {*$self}{Parms}{$pkey}) and
3671 # $ {*$self}{Parms}{$pkey} == $port; # not an update if same number
3672 0 $ {*$self}{Parms}{$pkey} = $port; # in case was service key
3673 # check for whether we can ask _sethost to set {dst,src}addrlist now
3674 return '' unless
3675 0 ▶ defined($host = $ {*$self}{Parms}{$hkey}) or $hkey eq 'thishost';
Branch: 1 branch
BranchTrueFalseTotal
unless defined($host = do { *$self }->{"Parms"}{$hkey}) or $hkey eq "thishost" 0 0 0
Condition0%0/3
defined($host = do { *$self }->{"Parms"}{$hkey}) or $hkey eq "thishost"
l!l&&r!l&&!r
000
MC/DC0%0/2
defined($host = do { *$self }->{"Parms"}{$hkey}) or $hkey eq "thishost"
defined($host = do { *$self }->{"Parms"}{$hkey}) $hkey eq "thishost"
Truth table0%0/3
A or B
A= defined($host = do { *$self }->{"Parms"}{$hkey})B= $hkey eq "thishost"
ABresult
1X1
011
000
3676 0 ▶ $host = '0' if !defined $host; # 'thishost' value was null
Branch: 1 branch
BranchTrueFalseTotal
unless defined $host 0 0 0
3677 0 $self->setparams({$hkey => $host},0,1); # try it
3678 0 ''; # return goodness from here
3679 }
3680  
3681 #& _setproto($this, $key, $newval) : {'' | "carp string"}
3682 sub _setproto
3683 4 ▶{
Subroutine _setproto: called CC=13 SCAR=30.3
3684 4 my($self,$key,$newval) = @_;
3685 4 ▶ if (!defined $newval) { # delparams call?
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $newval) 0 4 4
3686 # make both go away at once
3687 0 delete @{ $ {*$self}{Parms} }{'IPproto','proto'};
3688 0 return '';
3689 }
3690 4 my($pname,$proto);
3691 4 ▶ if ($key ne 'proto' or $newval =~ /\D/) { # have to try for name->number
Branch: 1 branch
BranchTrueFalseTotal
if ($key ne "proto" or $newval =~ /\D/) 2 2 4
Condition66%2/3
$key ne "proto" or $newval =~ /\D/
l!l&&r!l&&!r
202
MC/DC50%1/2
$key ne "proto" or $newval =~ /\D/
$key ne "proto" $newval =~ /\D/
Truth table66%2/3
A or B
A= $key ne "proto"B= $newval =~ /\D/
ABresult
1X1
011
000
3692 2 my @pval = getprotobyname($newval);
3693 2 ▶ if (@pval) {
Branch: 1 branch
BranchTrueFalseTotal
if (@pval) 0 2 2
3694 0 $pname = $pval[0];
3695 0 $proto = $pval[2];
3696 }
3697 }
3698 4 ▶ if (!defined($proto) and $newval !~ /\D/) { # numeric proto, find name
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $proto or $newval =~ /\D/) 2 2 4
Condition66%2/3
defined $proto or $newval =~ /\D/
l!l&&r!l&&!r
022
MC/DC50%1/2
defined $proto or $newval =~ /\D/
defined $proto $newval =~ /\D/
Truth table66%2/3
A or B
A= defined $protoB= $newval =~ /\D/
ABresult
1X1
011
000
3699 2 $proto = $newval+0;
3700 2 $pname = getprotobynumber($proto);
3701 }
3702 4 ▶ return "Unknown protocol ($newval), seen"
Branch: 1 branch
BranchTrueFalseTotal
unless defined $proto 2 2 4
3703 unless defined $proto;
3704 2 ▶ unless (defined $pname) {
Branch: 1 branch
BranchTrueFalseTotal
unless (defined $pname) 2 0 2
3705 2 ▶ if ($proto == IPPROTO_UDP) {
Branch: 3 branches
BranchTrueFalseTotal
if ($proto == 17) { } 2 0 2
elsif ($proto == 6) { } 0 0 0
elsif ($proto == 1) { } 0 0 0
3706 2 $pname = 'udp';
3707 }
3708 elsif ($proto == IPPROTO_TCP) {
3709 0 $pname = 'tcp';
3710 }
3711 elsif ($proto == IPPROTO_ICMP) {
3712 0 $pname = 'icmp';
3713 }
3714 }
3715 2 $ {*$self}{Parms}{IPproto} = $pname; # update our values
3716 2 $ {*$self}{Parms}{proto} = $proto;
3717 # make sure the right value gets set
3718 2 ▶ $_[2] = (($key eq 'proto') ? $proto : $pname);
Branch: 1 branch
BranchTrueFalseTotal
$key eq 'proto' ? : 2 0 2
3719 2 ''; # return goodness
3720 }
3721  
3722 #& _addrinfo($this, $sockaddr) : (name, addr, service, portnum)
3723 sub _addrinfo
3724 0 ▶{
Subroutine _addrinfo: not called CC=4 SCAR=30.0
3725 0 my($this,$sockaddr) = @_;
3726 0 my($fam,$port,$serv,$name,$addr,@hinfo);
3727 0 ($fam,$port,$addr) = unpack_sockaddr_in($sockaddr);
3728 0 @hinfo = gethostbyaddr($addr,$fam);
3729 0 $addr = inet_ntoa($addr);
3730 0 ▶ $name = (!@hinfo) ? $addr : $hinfo[0];
Branch: 1 branch
BranchTrueFalseTotal
!@hinfo ? : 0 0 0
3731 0 ▶ $serv = getservbyport(htons($port),
Condition0%0/6
getservbyport(htons($port), ref $this && $this->getparam('IPproto')) || $port
l!l&&r!l&&!r
000
ref $this && $this->getparam('IPproto')
!ll&&!rl&&r
000
MC/DC0%0/2
getservbyport(htons($port), ref $this && $this->getparam('IPproto')) || $port
getservbyport(htons($port), ref $this && $this->getparam('IPproto')) $port
MC/DC0%0/2
ref $this && $this->getparam('IPproto')
ref $this $this->getparam('IPproto')
Truth table0%0/3
A || B
A= getservbyport(htons($port), ref $this && $this->getparam('IPproto'))B= $port
ABresult
1X1
011
000
Truth table0%0/3
A && B
A= ref $thisB= $this->getparam('IPproto')
ABresult
0X0
100
111
3732 (ref $this) && $this->getparam('IPproto')) || $port;
3733 0 ($name, $addr, $serv, $port);
3734 }
3735  
3736 #& getsockinfo($this) : $remote_addr || ($local_addr, $rem_addr) | ()
3737 sub getsockinfo
3738 0 ▶{
Subroutine getsockinfo: not called CC=8 SCAR=40.0
Pod documented
3739 1 ▶ use attrs qw(locked method);
Subroutine BEGIN: called CC=1 SCAR=0.0
3740 0 my($self) = @_;
3741 0 my($rem,$lcl,$port,$serv,$name,$addr);
3742 0 ($lcl,$rem) = $self->SUPER::getsockinfo;
3743 0 ▶ if (defined $rem and length($rem)) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined $rem and length $rem) 0 0 0
Condition0%0/3
defined $rem and length $rem
!ll&&!rl&&r
000
MC/DC0%0/2
defined $rem and length $rem
defined $rem length $rem
Truth table0%0/3
A and B
A= defined $remB= length $rem
ABresult
0X0
100
111
3744 0 ($name, $addr, $serv, $port) = $self->_addrinfo($rem);
3745 0 $self->setparams({remhost => $name, remaddr => $addr,
3746 remservice => $serv, remport => $port});
3747 }
3748 0 ▶ if (defined $lcl and length($lcl)) {
Branch: 1 branch
BranchTrueFalseTotal
if (defined $lcl and length $lcl) 0 0 0
Condition0%0/3
defined $lcl and length $lcl
!ll&&!rl&&r
000
MC/DC0%0/2
defined $lcl and length $lcl
defined $lcl length $lcl
Truth table0%0/3
A and B
A= defined $lclB= length $lcl
ABresult
0X0
100
111
3749 0 ($name, $addr, $serv, $port) = $self->_addrinfo($lcl);
3750 0 $self->setparams({lclhost => $name, lcladdr => $addr,
3751 lclservice => $serv, lclport => $port});
3752 }
3753 0 ▶ wantarray ? ((defined $lcl || defined $rem) ? ($lcl,$rem) : ())
Branch: 2 branches
BranchTrueFalseTotal
wantarray ? : 0 0 0
defined $lcl || defined $rem ? : 0 0 0
Condition0%0/3
defined $lcl or defined $rem
l!l&&r!l&&!r
000
MC/DC0%0/2
defined $lcl or defined $rem
defined $lcl defined $rem
Truth table0%0/3
A or B
A= defined $lclB= defined $rem
ABresult
1X1
011
000
3754 : $rem;
3755 }
3756  
3757 #& format_addr($this, $sockaddr, [numeric_only]) : $string
3758 sub format_addr
3759 0 ▶{
Subroutine format_addr: not called CC=2 SCAR=17.9
Pod documented
3760 0 my($this,$sockaddr,$numeric) = @_;
3761 0 my($name,$addr,$serv,$port) = $this->_addrinfo($sockaddr);
3762 0 ▶ if ($numeric) {
Branch: 1 branch
BranchTrueFalseTotal
if ($numeric) { } 0 0 0
3763 0 "${addr}:${port}";
3764 }
3765 else {
3766 0 "${name}:${serv}";
3767 }
3768 }
3769  
3770  
3771 1 1;
3772  
3773 # autoloaded methods go after the END token (& pod) below
3774  
3775 __END__
↑ Summary blib/lib/Net/TCP/Server.pm »