mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 00:04:37 +02:00
Changed UDP server commands to match those of the Windows agent.
This commit is contained in:
parent
3018c5d1f3
commit
15efe38de6
@ -1790,7 +1790,7 @@ sub udp_server ($$) {
|
|||||||
log_message ('udp server', 'Received signal from '.$hishost);
|
log_message ('udp server', 'Received signal from '.$hishost);
|
||||||
kill 'SIGINT' , $parent_pid;
|
kill 'SIGINT' , $parent_pid;
|
||||||
}
|
}
|
||||||
elsif ($newmsg =~ /PROCESS START (.*)/){
|
elsif ($newmsg =~ /START PROCESS (.*)/){
|
||||||
my $process_name = $1;
|
my $process_name = $1;
|
||||||
$process_name =~ s/^\s*//g;
|
$process_name =~ s/^\s*//g;
|
||||||
$process_name =~ s/\s*$//g;
|
$process_name =~ s/\s*$//g;
|
||||||
@ -1804,7 +1804,7 @@ sub udp_server ($$) {
|
|||||||
log_message ('udp server', "Attempt to start unknown process $process_name from $hishost");
|
log_message ('udp server', "Attempt to start unknown process $process_name from $hishost");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elsif ($newmsg =~ /PROCESS STOP (.*)/){
|
elsif ($newmsg =~ /STOP PROCESS (.*)/){
|
||||||
my $process_name = $1;
|
my $process_name = $1;
|
||||||
$process_name =~ s/^\s*//g;
|
$process_name =~ s/^\s*//g;
|
||||||
$process_name =~ s/\s*$//g;
|
$process_name =~ s/\s*$//g;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user