| 1 | # | ||
| 2 | # $Id: Active.pm,v 008243d3e89a 2018/07/21 14:54:07 gomor $ | ||
| 3 | # | ||
| 4 | package Net::SinFP3::Mode::Active; | ||
| 5 | use strict; | ||
| 6 | use warnings; | ||
| 7 | |||
| 8 | use base qw(Net::SinFP3::Mode); | ||
| 9 | our @AS = qw( | ||
| 10 | doP1 | ||
| 11 | doP2 | ||
| 12 | doP3 | ||
| 13 | p1 | ||
| 14 | p2 | ||
| 15 | p3 | ||
| 16 | s1 | ||
| 17 | s2 | ||
| 18 | s3 | ||
| 19 | _ip | ||
| 20 | _tcp | ||
| 21 | _dump | ||
| 22 | _write | ||
| 23 | ); | ||
| 24 | __PACKAGE__->cgBuildIndices; | ||
| 25 | __PACKAGE__->cgBuildAccessorsScalar(\@AS); | ||
| 26 | |||
| 27 | use Net::SinFP3::Ext::S; | ||
| 28 | use Net::SinFP3::Ext::TCP; | ||
| 29 | use Net::SinFP3::Ext::IP::IPv4; | ||
| 30 | use Net::SinFP3::Ext::IP::IPv6; | ||
| 31 | use Net::SinFP3::Search; | ||
| 32 | |||
| 33 | use Net::Frame::Layer::TCP qw(:consts); | ||
| 34 | |||
| 35 | sub take { | ||
| 36 | return [ | ||
| 37 | 'Net::SinFP3::Next::IpPort', | ||
| 38 | 'Net::SinFP3::Next::Frame', | ||
| 39 | 'Net::SinFP3::Next::MultiFrame', | ||
| 40 | 'Net::SinFP3::Next::Active', | ||
| 41 | ]; | ||
| 42 | } | ||
| 43 | |||
| 44 | sub new { | ||
| 45 | my $self = shift->SUPER::new( | ||
| 46 | doP1 => 1, | ||
| 47 | doP2 => 1, | ||
| 48 | doP3 => 1, | ||
| 49 | @_, | ||
| 50 | ); | ||
| 51 | |||
| 52 | return $self; | ||
| 53 | } | ||
| 54 | |||
| 55 | sub init { | ||
| 56 | my $self = shift->SUPER::init(@_) or return; | ||
| 57 | |||
| 58 | my $global = $self->global; | ||
| 59 | |||
| 60 | # Initiliase PRNG (used to generate IPv4 ID and TCP SEQ/ACK/SRC port | ||
| 61 | srand(); | ||
| 62 | |||
| 63 | $global->ipv6 ? $self->_ip(Net::SinFP3::Ext::IP::IPv6->new) | ||
| 64 | : $self->_ip(Net::SinFP3::Ext::IP::IPv4->new); | ||
| 65 | |||
| 66 | $self->_tcp(Net::SinFP3::Ext::TCP->new); | ||
| 67 | $self->_ip->_tcp($self->_tcp); | ||
| 68 | |||
| 69 | $self->_ip->global($global); | ||
| 70 | $self->_tcp->global($global); | ||
| 71 | |||
| 72 | return 1; | ||
| 73 | } | ||
| 74 | |||
| 75 | sub _buildProbes { | ||
| 76 | my $self = shift; | ||
| 77 | $self->p1($self->_ip->getP1) if $self->doP1; | ||
| 78 | $self->p2($self->_ip->getP2) if $self->doP2; | ||
| 79 | $self->p3($self->_ip->getP3) if $self->doP3; | ||
| 80 | return 1; | ||
| 81 | } | ||
| 82 | |||
| 83 | sub _sendVerbose { | ||
| 84 | my $self = shift; | ||
| 85 | my ($p) = @_; | ||
| 86 | |||
| 87 | my $log = $self->global->log; | ||
| 88 | |||
| 89 | my $tcp = $self->$p->ref->{TCP}; | ||
| 90 | my $ip = exists $self->$p->ref->{IPv4} | ||
| 91 | ? $self->$p->ref->{IPv4} | ||
| 92 | : $self->$p->ref->{IPv6}; | ||
| 93 | $log->debug( | ||
| 94 | "Probe ".uc($p)." sent: [".$ip->src."]:".$tcp->src." > [". | ||
| 95 | $ip->dst."]:".$tcp->dst." size:".length($self->$p->raw) | ||
| 96 | ); | ||
| 97 | } | ||
| 98 | |||
| 99 | sub _sendProbes { | ||
| 100 | my $self = shift; | ||
| 101 | my $oWrite = $self->_write; | ||
| 102 | if ($self->p1 && ! $self->p1->reply) { | ||
| 103 | $self->p1->send($oWrite); | ||
| 104 | $self->_sendVerbose('p1'); | ||
| 105 | } | ||
| 106 | if ($self->p2 && ! $self->p2->reply) { | ||
| 107 | $self->p2->send($oWrite); | ||
| 108 | $self->_sendVerbose('p2'); | ||
| 109 | } | ||
| 110 | if ($self->p3 && ! $self->p3->reply) { | ||
| 111 | $self->p3->send($oWrite); | ||
| 112 | $self->_sendVerbose('p3'); | ||
| 113 | } | ||
| 114 | return 1; | ||
| 115 | } | ||
| 116 | |||
| 117 | sub _getVerbose { | ||
| 118 | my $self = shift; | ||
| 119 | my ($p) = @_; | ||
| 120 | |||
| 121 | my $log = $self->global->log; | ||
| 122 | |||
| 123 | my $tcp = $self->$p->reply->ref->{TCP}; | ||
| 124 | my $ip = exists $self->$p->reply->ref->{IPv4} | ||
| 125 | ? $self->$p->reply->ref->{IPv4} | ||
| 126 | : $self->$p->reply->ref->{IPv6}; | ||
| 127 | $log->debug( | ||
| 128 | "Response for ".uc($p)." received: ".$ip->src.":".$tcp->src." > ". | ||
| 129 | $ip->dst.":".$tcp->dst." size:".length($self->$p->raw) | ||
| 130 | ); | ||
| 131 | } | ||
| 132 | |||
| 133 | sub _getResponses { | ||
| 134 | my $self = shift; | ||
| 135 | |||
| 136 | my $oDump = $self->_dump; | ||
| 137 | my $log = $self->global->log; | ||
| 138 | |||
| 139 | if ($self->p1 && ! $self->p1->reply) { | ||
| 140 | my $recv = $self->p1->_recv($oDump); | ||
| 141 | if ($recv) { | ||
| 142 | $self->p1->reply($recv); | ||
| 143 | $self->_getVerbose('p1'); | ||
| 144 | } | ||
| 145 | } | ||
| 146 | if ($self->p2 && ! $self->p2->reply) { | ||
| 147 | my $recv = $self->p2->_recv($oDump); | ||
| 148 | if ($recv) { | ||
| 149 | $self->p2->reply($recv); | ||
| 150 | $self->_getVerbose('p2'); | ||
| 151 | } | ||
| 152 | } | ||
| 153 | if ($self->p3 && ! $self->p3->reply) { | ||
| 154 | my $recv = $self->p3->_recv($oDump); | ||
| 155 | if ($recv) { | ||
| 156 | $self->p3->reply($recv); | ||
| 157 | $self->_getVerbose('p3'); | ||
| 158 | } | ||
| 159 | } | ||
| 160 | return 1; | ||
| 161 | } | ||
| 162 | |||
| 163 | # With Connect input, the P2 probe is not our own, so timestamp is not | ||
| 164 | # built as we want. We rewrite it to be able to match. | ||
| 165 | sub _rewriteTcpOptions { | ||
| 166 | my $self = shift; | ||
| 167 | my ($o) = @_; | ||
| 168 | |||
| 169 | if ($o =~ m/^(.*080a)(.{8})(.{8})(.*)/) { | ||
| 170 | my $head = $1; | ||
| 171 | my $a = $2; | ||
| 172 | my $b = $3; | ||
| 173 | my $tail = $4; | ||
| 174 | #print "[*] DEBUG: toks: 1[$1] 2[$2] 3[$3] 4[$4]\n"; | ||
| 175 | # Some systems put timestamp values to 00. We keep it for | ||
| 176 | # fingerprint matching | ||
| 177 | if ($a !~ /00000000/ && $a !~ /44454144/) { | ||
| 178 | $a = "........"; | ||
| 179 | } | ||
| 180 | if ($b !~ /00000000/ && $b !~ /44454144/) { | ||
| 181 | $b = "........"; | ||
| 182 | } | ||
| 183 | $o = $head.$a.$b.$tail; | ||
| 184 | #print "[*] DEBUG: toks: 1[$head] a[$a] b[$b] 4[$tail]\n"; | ||
| 185 | #print "[*] DEBUG: rewriteTcpOptions: [$o]\n"; | ||
| 186 | } | ||
| 187 | |||
| 188 | return $o; | ||
| 189 | } | ||
| 190 | |||
| 191 | sub _getResponseSignature { | ||
| 192 | my $self = shift; | ||
| 193 | my ($p, $p2) = @_; | ||
| 194 | |||
| 195 | my $global = $self->global; | ||
| 196 | |||
| 197 | if (!$p || !$p->reply) { | ||
| 198 | return Net::SinFP3::Ext::S->new; | ||
| 199 | } | ||
| 200 | |||
| 201 | my $b = $self->_ip->_analyzeBinary($p, $p2); | ||
| 202 | my $f = $self->_tcp->_analyzeTcpFlags($p); | ||
| 203 | my $w = $self->_tcp->_analyzeTcpWindow($p); | ||
| 204 | my $o = $self->_tcp->_analyzeTcpOptions($p); | ||
| 205 | |||
| 206 | # Specific for Connect input module | ||
| 207 | if (ref($global->input) =~ /^Net::SinFP3::Input::Connect$/) { | ||
| 208 | $o->[0] = $self->_rewriteTcpOptions($o->[0]); | ||
| 209 | } | ||
| 210 | |||
| 211 | # Specific for Next next object | ||
| 212 | if (ref($global->next) =~ /^Net::SinFP3::Next::Frame$/) { | ||
| 213 | $b = 'B.....'; | ||
| 214 | } | ||
| 215 | |||
| 216 | return Net::SinFP3::Ext::S->new( | ||
| 217 | B => $b, | ||
| 218 | F => $f, | ||
| 219 | W => $w, | ||
| 220 | O => $o->[0], | ||
| 221 | M => $o->[1], | ||
| 222 | S => $o->[2], | ||
| 223 | L => $o->[3], | ||
| 224 | ); | ||
| 225 | } | ||
| 226 | |||
| 227 | sub _analyzeResponses { | ||
| 228 | my $self = shift; | ||
| 229 | |||
| 230 | $self->doP1 && $self->s1($self->_getResponseSignature($self->p1)); | ||
| 231 | $self->doP2 && $self->s2($self->_getResponseSignature($self->p2)); | ||
| 232 | $self->doP3 && $self->s3($self->_getResponseSignature($self->p3, $self->p2)); | ||
| 233 | |||
| 234 | # Some systems do not respond to P1, but do for P2 | ||
| 235 | # We write a fake P1 response to be able to match | ||
| 236 | if ($self->p2 && $self->p2->reply && $self->p1 && !$self->p1->reply) { | ||
| 237 | $self->p1->reply($self->p1->cgClone); | ||
| 238 | } | ||
| 239 | |||
| 240 | return 1; | ||
| 241 | } | ||
| 242 | |||
| 243 | sub _allResponsesReceived { | ||
| 244 | my $self = shift; | ||
| 245 | if (($self->doP1 && $self->p1->reply || !$self->doP1) | ||
| 246 | && ($self->doP2 && $self->p2->reply || !$self->doP2) | ||
| 247 | && ($self->doP3 && $self->p3->reply || !$self->doP3)) { | ||
| 248 | $self->global->log->verbose("All responses received"); | ||
| 249 | return 1; | ||
| 250 | } | ||
| 251 | return; | ||
| 252 | } | ||
| 253 | |||
| 254 | sub _getFilter { | ||
| 255 | my $self = shift; | ||
| 256 | |||
| 257 | my $global = $self->global; | ||
| 258 | my $next = $global->next; | ||
| 259 | |||
| 260 | return $global->ipv6 | ||
| 261 | ? '(ip6 and host '.$next->ip.' and host '.$global->ip6.')' | ||
| 262 | : 'host '.$next->ip.' and host '.$global->ip; | ||
| 263 | } | ||
| 264 | |||
| 265 | sub _runOnline { | ||
| 266 | my $self = shift; | ||
| 267 | |||
| 268 | my $global = $self->global; | ||
| 269 | my $log = $global->log; | ||
| 270 | my $next = $global->next; | ||
| 271 | |||
| 272 | my $oDump = $global->getDumpOnline or return; | ||
| 273 | $self->_dump($oDump); | ||
| 274 | |||
| 275 | $self->_buildProbes; | ||
| 276 | |||
| 277 | my $filter = $self->_getFilter; | ||
| 278 | $filter .= ' and tcp and port '.$next->port. | ||
| 279 | ' and ('; | ||
| 280 | my $putOr; | ||
| 281 | if ($self->p1) { | ||
| 282 | $filter .= 'port '.$self->p1->ref->{TCP}->src; | ||
| 283 | $putOr++; | ||
| 284 | } | ||
| 285 | if ($self->p2) { | ||
| 286 | $filter .= ' or ' if $putOr; | ||
| 287 | $filter .= 'port '.$self->p2->ref->{TCP}->src; | ||
| 288 | $putOr++; | ||
| 289 | } | ||
| 290 | if ($self->p3) { | ||
| 291 | $filter .= ' or ' if $putOr; | ||
| 292 | $filter .= 'port '.$self->p3->ref->{TCP}->src; | ||
| 293 | $putOr++; | ||
| 294 | } | ||
| 295 | $filter .= ')'; | ||
| 296 | |||
| 297 | $oDump->filter($filter); | ||
| 298 | $oDump->start or return; | ||
| 299 | |||
| 300 | my $oWrite = $global->getWrite( | ||
| 301 | dst => $next->ip, | ||
| 302 | ) or return; | ||
| 303 | $self->_write($oWrite); | ||
| 304 | |||
| 305 | $oWrite->open or return; | ||
| 306 | |||
| 307 | my $stop = 0; | ||
| 308 | for (1..$global->retry) { | ||
| 309 | $self->_sendProbes; | ||
| 310 | |||
| 311 | until ($oDump->timeout) { | ||
| 312 | if (my $h = $oDump->next) { | ||
| 313 | $oDump->store(Net::Frame::Simple->newFromDump($h)); | ||
| 314 | $self->_getResponses; | ||
| 315 | } | ||
| 316 | |||
| 317 | if ($self->_allResponsesReceived) { | ||
| 318 | $stop++; | ||
| 319 | last; | ||
| 320 | } | ||
| 321 | } | ||
| 322 | |||
| 323 | $oDump->timeoutReset; | ||
| 324 | last if $stop; | ||
| 325 | } | ||
| 326 | |||
| 327 | $oWrite->close; | ||
| 328 | |||
| 329 | return 1; | ||
| 330 | } | ||
| 331 | |||
| 332 | sub run { | ||
| 333 | my $self = shift->SUPER::run(@_) or return; | ||
| 334 | |||
| 335 | my $global = $self->global; | ||
| 336 | my $log = $global->log; | ||
| 337 | my $next = $global->next; | ||
| 338 | |||
| 339 | my $ref = ref($next); | ||
| 340 | if ($ref =~ /^Net::SinFP3::Next::IpPort$/) { | ||
| 341 | $self->_ip->next($next); | ||
| 342 | $self->_tcp->next($next); | ||
| 343 | $self->_runOnline; | ||
| 344 | $self->_analyzeResponses; | ||
| 345 | } | ||
| 346 | elsif ($ref =~ /^Net::SinFP3::Next::Frame$/) { | ||
| 347 | $self->_ip->next($next); | ||
| 348 | $self->_tcp->next($next); | ||
| 349 | $self->_runOfflineFrame; | ||
| 350 | $self->_analyzeResponses; | ||
| 351 | } | ||
| 352 | elsif ($ref =~ /^Net::SinFP3::Next::MultiFrame$/) { | ||
| 353 | $self->_ip->next($next); | ||
| 354 | $self->_tcp->next($next); | ||
| 355 | $self->_runOfflineMultiFrame; | ||
| 356 | $self->_analyzeResponses; | ||
| 357 | } | ||
| 358 | elsif ($ref =~ /^Net::SinFP3::Next::Active$/) { | ||
| 359 | $self->s1($next->s1); | ||
| 360 | $self->s2($next->s2); | ||
| 361 | $self->s3($next->s3); | ||
| 362 | } | ||
| 363 | else { | ||
| 364 | $log->warning("Don't know what to do with Next object: [$ref]"); | ||
| 365 | return; | ||
| 366 | } | ||
| 367 | |||
| 368 | return 1; | ||
| 369 | } | ||
| 370 | |||
| 371 | # For offline analysis only: case Next::Frame | ||
| 372 | sub _runOfflineFrame { | ||
| 373 | my $self = shift; | ||
| 374 | |||
| 375 | my $global = $self->global; | ||
| 376 | my $log = $global->log; | ||
| 377 | my $next = $global->next; | ||
| 378 | |||
| 379 | $self->p2($next->frame); | ||
| 380 | $self->p2->reply($next->frame); | ||
| 381 | |||
| 382 | return 1; | ||
| 383 | } | ||
| 384 | |||
| 385 | # For offline analysis only: case Next::MultiFrame | ||
| 386 | sub _runOfflineMultiFrame { | ||
| 387 | my $self = shift; | ||
| 388 | |||
| 389 | my $global = $self->global; | ||
| 390 | my $log = $global->log; | ||
| 391 | |||
| 392 | $self->_rebuildProbes; | ||
| 393 | if (!$self->p1 && !$self->p2 && !$self->p3) { | ||
| 394 | $log->fatal("No IP".($global->ipv6 ? 'v6' : 'v4')." SinFP probes found"); | ||
| 395 | } | ||
| 396 | } | ||
| 397 | |||
| 398 | sub _getReply { | ||
| 399 | my $self = shift; | ||
| 400 | my ($f, $ip, $tcp, $p) = @_; | ||
| 401 | |||
| 402 | if ($self->$p && !$self->$p->reply) { | ||
| 403 | my $pIp = $self->$p->ref->{IPv4} || $self->$p->ref->{IPv6}; | ||
| 404 | my $pTcp = $self->$p->ref->{TCP}; | ||
| 405 | if ($ip->src eq $pIp->dst && $tcp->src eq $pTcp->dst) { | ||
| 406 | $self->$p->reply($f); | ||
| 407 | return 1; | ||
| 408 | } | ||
| 409 | } | ||
| 410 | |||
| 411 | return; | ||
| 412 | } | ||
| 413 | |||
| 414 | sub _getReplyFixed { | ||
| 415 | my $self = shift; | ||
| 416 | my ($f, $ip, $tcp, $p) = @_; | ||
| 417 | |||
| 418 | if ($self->$p && !$self->$p->reply) { | ||
| 419 | my $pIp = $self->$p->ref->{IPv4} || $self->$p->ref->{IPv6}; | ||
| 420 | my $pTcp = $self->$p->ref->{TCP}; | ||
| 421 | # Here was the break. All frames have the same src IP address. | ||
| 422 | # So we disable to src IP comparison. | ||
| 423 | if ($ip->dst eq $pIp->dst && $tcp->src eq $pTcp->dst) { | ||
| 424 | $self->$p->reply($f); | ||
| 425 | return 1; | ||
| 426 | } | ||
| 427 | } | ||
| 428 | |||
| 429 | return; | ||
| 430 | } | ||
| 431 | |||
| 432 | sub _rebuildProbes { | ||
| 433 | my $self = shift; | ||
| 434 | |||
| 435 | my $global = $self->global; | ||
| 436 | my $log = $global->log; | ||
| 437 | my $next = $global->next; | ||
| 438 | |||
| 439 | # Lengths for IPv4 | ||
| 440 | my $p1IpLen1 = 58; | ||
| 441 | my $p1IpLen2 = 54; # For backward compat with SinFP2 | ||
| 442 | my $p2IpLen = 74; | ||
| 443 | my $p3IpLen = 54; | ||
| 444 | # Lengths for IPv6 | ||
| 445 | if ($global->ipv6) { | ||
| 446 | $p1IpLen1 = 78; | ||
| 447 | $p1IpLen2 = 74; # For backward compat with SinFP2 | ||
| 448 | $p2IpLen = 94; | ||
| 449 | $p3IpLen = 74; | ||
| 450 | } | ||
| 451 | |||
| 452 | my $myIp; | ||
| 453 | for my $f ($next->frameList) { | ||
| 454 | my $ip = $f->ref->{IPv4} || $f->ref->{IPv6}; | ||
| 455 | my $tcp = $f->ref->{TCP}; | ||
| 456 | |||
| 457 | next unless $ip && $tcp; | ||
| 458 | |||
| 459 | # The first packet in the pcap is considered to come from our IP | ||
| 460 | $myIp ||= $ip->src; | ||
| 461 | |||
| 462 | # Requests | ||
| 463 | if (!$self->p1) { | ||
| 464 | if ($ip->src eq $myIp | ||
| 465 | && (length($f->raw) == $p1IpLen1 || length($f->raw) == $p1IpLen2) | ||
| 466 | && $tcp->flags == 0x02) { | ||
| 467 | $self->p1($f); | ||
| 468 | #$log->debug("P1 found"); | ||
| 469 | next; | ||
| 470 | } | ||
| 471 | } | ||
| 472 | if (!$self->p2) { | ||
| 473 | if ($ip->src eq $myIp | ||
| 474 | && length($f->raw) == $p2IpLen && $tcp->flags == 0x02) { | ||
| 475 | $self->p2($f); | ||
| 476 | #$log->debug("P2 found"); | ||
| 477 | next; | ||
| 478 | } | ||
| 479 | } | ||
| 480 | if (!$self->p3) { | ||
| 481 | if ($ip->src eq $myIp | ||
| 482 | && length($f->raw) == $p3IpLen && $tcp->flags == 0x12) { | ||
| 483 | $self->p3($f); | ||
| 484 | #$log->debug("P3 found"); | ||
| 485 | next; | ||
| 486 | } | ||
| 487 | } | ||
| 488 | |||
| 489 | # Replies | ||
| 490 | if ($self->_getReply($f, $ip, $tcp, 'p1')) { | ||
| 491 | #$log->debug("P1r found"); | ||
| 492 | next; | ||
| 493 | } | ||
| 494 | if ($self->_getReply($f, $ip, $tcp, 'p2')) { | ||
| 495 | #$log->debug("P2r found"); | ||
| 496 | next; | ||
| 497 | } | ||
| 498 | if ($self->_getReply($f, $ip, $tcp, 'p3')) { | ||
| 499 | #$log->debug("P3r found"); | ||
| 500 | next; | ||
| 501 | } | ||
| 502 | |||
| 503 | # We have all we need, so stop | ||
| 504 | if ($self->p1 && $self->p1->reply | ||
| 505 | && $self->p2 && $self->p2->reply | ||
| 506 | && $self->p3 && $self->p3->reply) { | ||
| 507 | last; | ||
| 508 | } | ||
| 509 | } | ||
| 510 | |||
| 511 | # Some anon pcaps were broken somewhere in time. This is to handle them. | ||
| 512 | # But I should rewrite those active pcaps. | ||
| 513 | if (($self->p1 && !$self->p1->reply) | ||
| 514 | && ($self->p2 && !$self->p2->reply) | ||
| 515 | && ($self->p3 && !$self->p3->reply)) { | ||
| 516 | for my $f ($next->frameList) { | ||
| 517 | my $ip = $f->ref->{IPv4} || $f->ref->{IPv6}; | ||
| 518 | my $tcp = $f->ref->{TCP}; | ||
| 519 | |||
| 520 | next unless $ip && $tcp; | ||
| 521 | |||
| 522 | # Replies | ||
| 523 | if ($self->_getReplyFixed($f, $ip, $tcp, 'p1')) { | ||
| 524 | next; | ||
| 525 | } | ||
| 526 | if ($self->_getReplyFixed($f, $ip, $tcp, 'p2')) { | ||
| 527 | next; | ||
| 528 | } | ||
| 529 | if ($self->_getReplyFixed($f, $ip, $tcp, 'p3')) { | ||
| 530 | next; | ||
| 531 | } | ||
| 532 | |||
| 533 | # We have all we need, so stop | ||
| 534 | if ($self->p1->reply && $self->p2->reply && $self->p3->reply) { | ||
| 535 | last; | ||
| 536 | } | ||
| 537 | } | ||
| 538 | } | ||
| 539 | |||
| 540 | #$log->debug("P1: ".$self->p1->print) if $self->p1; | ||
| 541 | #$log->debug("P2: ".$self->p2->print) if $self->p2; | ||
| 542 | #$log->debug("P3: ".$self->p3->print) if $self->p3; | ||
| 543 | #$log->debug("P1r: ".$self->p1->reply->print) if $self->p1->reply; | ||
| 544 | #$log->debug("P2r: ".$self->p2->reply->print) if $self->p2->reply; | ||
| 545 | #$log->debug("P3r: ".$self->p3->reply->print) if $self->p3->reply; | ||
| 546 | |||
| 547 | return 1; | ||
| 548 | } | ||
| 549 | |||
| 550 | 1; | ||
| 551 | |||
| 552 | __END__ |