my$client_type="r";# incoming client MUST be sender
# parse SOAP data object
my$requested_type=$data->{'REQUESTED_TYPE'};
my$last_id=$data->{'LAST_ID'};
my$requested_type=$data->{'REQUESTED_TYPE'};
my$last_id=$data->{'LAST_ID'};
# obtain cidr based on rigth common name, service and client_type
$sth=$DBH->prepare("SELECT hostname, receive_own_events, ip_net_client FROM clients WHERE hostname IN ($alt_names) AND type = ? AND client_type = ? LIMIT 1;");
if(!defined$sth){die("Cannot prepare authorization statement in getNewEvents: $DBI::errstr\n")}