diff --git a/pandora_agents/pc/Linux/pandora_agent.conf b/pandora_agents/pc/Linux/pandora_agent.conf index 8cb980cff1..45c7eb54bb 100644 --- a/pandora_agents/pc/Linux/pandora_agent.conf +++ b/pandora_agents/pc/Linux/pandora_agent.conf @@ -234,16 +234,6 @@ module_description Number of cron task files module_unit files module_end -# This module /var/log/syslog file, under the module name "syslog" -# And search for "ssh" string into it, sending only that information. -module_begin -module_name Syslog -module_description Search for ssh string into /var/log/syslog file -module_type log -module_regexp /var/log/syslog -module_pattern ssh -module_end - #Hardening plugin for security compliance analysis. Enable to use it. #module_begin #module_plugin /usr/share/pandora_agent/plugins/pandora_hardening -t 150 @@ -310,11 +300,15 @@ module_plugin pandora_df #module_description Postcondition test module #module_end +# This plugin runs several security checks in a Linux system + +#module_plugin pandora_security_check + # Extraction module example #module_begin -#module_name Collector -#module_description Logs extraction module +#module_name Syslog +#module_description Gets all logs from system messages #module_type log -#module_regexp /var/log/logfile.log +#module_regexp /var/log/messages #module_pattern .* #module_end \ No newline at end of file diff --git a/pandora_agents/pc/Win32/pandora_agent.conf b/pandora_agents/pc/Win32/pandora_agent.conf index 0b8aeb6e0b..f6e51eb6f7 100644 --- a/pandora_agents/pc/Win32/pandora_agent.conf +++ b/pandora_agents/pc/Win32/pandora_agent.conf @@ -354,11 +354,11 @@ module_plugin cscript.exe //B "%ProgramFiles%\Pandora_Agent\util\df.vbs" #module_description Postcondition test module #module_end -# Example of collector module +# Logs extraction #module_begin -#module_name Collector -#module_description Logs extraction module +#module_name Syslog +#module_description Gets all logs from system messages #module_type log -#module_regexp /var/log/logfile.log +#module_regexp C:\server\logs\messages #module_pattern .* #module_end \ No newline at end of file diff --git a/pandora_agents/shellscript/linux/pandora_agent.conf b/pandora_agents/shellscript/linux/pandora_agent.conf index b8f6941240..d0172175a9 100644 --- a/pandora_agents/shellscript/linux/pandora_agent.conf +++ b/pandora_agents/shellscript/linux/pandora_agent.conf @@ -163,26 +163,16 @@ module_end #module_absoluteinterval 7d #module_end -# This module parses /var/log/syslog file, under the module name "syslog" -# And search for "ssh" string into it, sending only that information. -module_begin -module_name Syslog -module_description Search for ssh string into /var/log/syslog file -module_type log -module_regexp /var/log/syslog -module_pattern ssh -module_end - # Plugin example # Plugin for inventory on the agent. # module_plugin inventory 1 cpu ram video nic hd cdrom software -# Extraction module example +# Logs extraction #module_begin -#module_name Collector -#module_description Logs extraction module +#module_name Syslog +#module_description Gets all logs from system messages #module_type log -#module_regexp /var/log/logfile.log +#module_regexp /var/log/messages #module_pattern .* #module_end \ No newline at end of file diff --git a/pandora_agents/shellscript/mac_osx/pandora_agent.conf b/pandora_agents/shellscript/mac_osx/pandora_agent.conf index 6d6c530a45..1baa97d507 100644 --- a/pandora_agents/shellscript/mac_osx/pandora_agent.conf +++ b/pandora_agents/shellscript/mac_osx/pandora_agent.conf @@ -378,26 +378,16 @@ module_end #module_absoluteinterval 7d #module_end -# This module parses /var/log/syslog file, under the module name "syslog" -# And search for "ssh" string into it, sending only that information. -module_begin -module_name Syslog -module_description Log collection modules -module_type log -module_regexp /var/log/syslog -module_pattern ssh -module_end - # Plugin example # Plugin for inventory on the agent. # module_plugin inventory 1 cpu ram video nic hd cdrom software -# Extraction module example +# Logs extraction #module_begin -#module_name Collector -#module_description Logs extraction module +#module_name Syslog +#module_description Gets all logs from system messages #module_type log -#module_regexp /var/log/logfile.log +#module_regexp /var/log/messages #module_pattern .* #module_end \ No newline at end of file diff --git a/pandora_agents/unix/DEBIAN/control b/pandora_agents/unix/DEBIAN/control index 85fd264914..c665a30841 100644 --- a/pandora_agents/unix/DEBIAN/control +++ b/pandora_agents/unix/DEBIAN/control @@ -1,5 +1,5 @@ package: pandorafms-agent-unix -Version: 7.0NG.776-240410 +Version: 7.0NG.776-240411 Architecture: all Priority: optional Section: admin diff --git a/pandora_agents/unix/DEBIAN/make_deb_package.sh b/pandora_agents/unix/DEBIAN/make_deb_package.sh index a1390d619c..a6185dcff7 100644 --- a/pandora_agents/unix/DEBIAN/make_deb_package.sh +++ b/pandora_agents/unix/DEBIAN/make_deb_package.sh @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -pandora_version="7.0NG.776-240410" +pandora_version="7.0NG.776-240411" echo "Test if you has the tools for to make the packages." whereis dpkg-deb | cut -d":" -f2 | grep dpkg-deb > /dev/null diff --git a/pandora_agents/unix/FreeBSD/pandora_agent.conf b/pandora_agents/unix/FreeBSD/pandora_agent.conf index b182045ac9..a146bb28d8 100644 --- a/pandora_agents/unix/FreeBSD/pandora_agent.conf +++ b/pandora_agents/unix/FreeBSD/pandora_agent.conf @@ -277,4 +277,10 @@ module_plugin grep_log /var/log/auth.log Syslog sshd # Log collection modules. Only for enterprise version, this will collect log files for forensic analysis. # This is for LOG monitoring, only on enterprise version -#module_plugin grep_log_module /var/log/messages Syslog \.\* +#module_begin +#module_name Syslog +#module_description Gets all logs from system messages +#module_type log +#module_regexp /var/log/messages +#module_pattern .* +#module_end diff --git a/pandora_agents/unix/Linux/pandora_agent.conf b/pandora_agents/unix/Linux/pandora_agent.conf index 20714a13b7..ca2c414d9d 100644 --- a/pandora_agents/unix/Linux/pandora_agent.conf +++ b/pandora_agents/unix/Linux/pandora_agent.conf @@ -325,12 +325,3 @@ module_end #module_plugin /usr/share/pandora_agent/plugins/pandora_hardening -t 150 #module_absoluteinterval 7d #module_end - -# Extraction module example -#module_begin -#module_name Collector -#module_description Logs extraction module -#module_type log -#module_regexp /var/log/logfile.log -#module_pattern .* -#module_end \ No newline at end of file diff --git a/pandora_agents/unix/pandora_agent b/pandora_agents/unix/pandora_agent index be678985b8..c23c763e69 100755 --- a/pandora_agents/unix/pandora_agent +++ b/pandora_agents/unix/pandora_agent @@ -1039,7 +1039,7 @@ my $Sem = undef; my $ThreadSem = undef; use constant AGENT_VERSION => '7.0NG.776'; -use constant AGENT_BUILD => '240410'; +use constant AGENT_BUILD => '240411'; # Agent log default file size maximum and instances use constant DEFAULT_MAX_LOG_SIZE => 600000; diff --git a/pandora_agents/unix/pandora_agent.redhat.spec b/pandora_agents/unix/pandora_agent.redhat.spec index 62bc889628..93548856bd 100644 --- a/pandora_agents/unix/pandora_agent.redhat.spec +++ b/pandora_agents/unix/pandora_agent.redhat.spec @@ -4,7 +4,7 @@ %global __os_install_post %{nil} %define name pandorafms_agent_linux %define version 7.0NG.776 -%define release 240410 +%define release 240411 Summary: Pandora FMS Linux agent, PERL version Name: %{name} diff --git a/pandora_agents/unix/pandora_agent.redhat_bin.el8.spec b/pandora_agents/unix/pandora_agent.redhat_bin.el8.spec index 35bb00dcd9..7a1b0525e4 100644 --- a/pandora_agents/unix/pandora_agent.redhat_bin.el8.spec +++ b/pandora_agents/unix/pandora_agent.redhat_bin.el8.spec @@ -5,7 +5,7 @@ %define name pandorafms_agent_linux_bin %define source_name pandorafms_agent_linux %define version 7.0NG.776 -%define release 240410 +%define release 240411 %define debug_package %{nil} Summary: Pandora FMS Linux agent, binary version diff --git a/pandora_agents/unix/pandora_agent.redhat_bin.el9.spec b/pandora_agents/unix/pandora_agent.redhat_bin.el9.spec index 63702a385b..b46fd8d021 100644 --- a/pandora_agents/unix/pandora_agent.redhat_bin.el9.spec +++ b/pandora_agents/unix/pandora_agent.redhat_bin.el9.spec @@ -5,7 +5,7 @@ %define name pandorafms_agent_linux_bin %define source_name pandorafms_agent_linux %define version 7.0NG.776 -%define release 240410 +%define release 240411 %define debug_package %{nil} Summary: Pandora FMS Linux agent, binary version diff --git a/pandora_agents/unix/pandora_agent.redhat_bin.spec b/pandora_agents/unix/pandora_agent.redhat_bin.spec index 027bf514f6..34dda65b65 100644 --- a/pandora_agents/unix/pandora_agent.redhat_bin.spec +++ b/pandora_agents/unix/pandora_agent.redhat_bin.spec @@ -5,7 +5,7 @@ %define name pandorafms_agent_linux_bin %define source_name pandorafms_agent_linux %define version 7.0NG.776 -%define release 240410 +%define release 240411 Summary: Pandora FMS Linux agent, binary version Name: %{name} diff --git a/pandora_agents/unix/pandora_agent.spec b/pandora_agents/unix/pandora_agent.spec index 1ea84212af..583de39dea 100644 --- a/pandora_agents/unix/pandora_agent.spec +++ b/pandora_agents/unix/pandora_agent.spec @@ -4,7 +4,7 @@ %global __os_install_post %{nil} %define name pandorafms_agent_linux %define version 7.0NG.776 -%define release 240410 +%define release 240411 Summary: Pandora FMS Linux agent, PERL version Name: %{name} diff --git a/pandora_agents/unix/pandora_agent_installer b/pandora_agents/unix/pandora_agent_installer index 9ee0aed4d7..84b44b6990 100755 --- a/pandora_agents/unix/pandora_agent_installer +++ b/pandora_agents/unix/pandora_agent_installer @@ -10,7 +10,7 @@ # ********************************************************************** PI_VERSION="7.0NG.776" -PI_BUILD="240410" +PI_BUILD="240411" OS_NAME=`uname -s` FORCE=0 diff --git a/pandora_agents/win32/bin/pandora_agent.conf b/pandora_agents/win32/bin/pandora_agent.conf index 1fc54530c5..b0faeeabbd 100644 --- a/pandora_agents/win32/bin/pandora_agent.conf +++ b/pandora_agents/win32/bin/pandora_agent.conf @@ -289,14 +289,6 @@ module_plugin "%PROGRAMFILES%\Pandora_Agent\util\autodiscover.exe" --default #module_type generic_data_string #module_end -# Get logs from Application source. Need enterprise version. -#module_begin -#module_name Eventlog_Application -#module_type log -#module_logevent -#module_source Application -#module_end - # Example: get Network information using Agent plugin #module_plugin cscript //B "%ProgramFiles%\Pandora_Agent\util\nettraffic.vbs" @@ -533,10 +525,10 @@ module_plugin "%PROGRAMFILES%\Pandora_Agent\util\autodiscover.exe" --default # Logs extraction #module_begin -#module_name X_Server_log -#module_description Logs extraction module +#module_name Syslog +#module_description Gets all logs from system messages #module_type log -#module_regexp C:\server\logs\xserver.log +#module_regexp C:\server\logs\messages #module_pattern .* #module_end diff --git a/pandora_agents/win32/installer/pandora.mpi b/pandora_agents/win32/installer/pandora.mpi index cd3d838ffd..2a92409a9d 100644 --- a/pandora_agents/win32/installer/pandora.mpi +++ b/pandora_agents/win32/installer/pandora.mpi @@ -186,7 +186,7 @@ UpgradeApplicationID {} Version -{240410} +{240411} ViewReadme {Yes} diff --git a/pandora_agents/win32/pandora.cc b/pandora_agents/win32/pandora.cc index 717d7a0f37..d9250f4d5c 100644 --- a/pandora_agents/win32/pandora.cc +++ b/pandora_agents/win32/pandora.cc @@ -30,7 +30,7 @@ using namespace Pandora; using namespace Pandora_Strutils; #define PATH_SIZE _MAX_PATH+1 -#define PANDORA_VERSION ("7.0NG.776 Build 240410") +#define PANDORA_VERSION ("7.0NG.776 Build 240411") string pandora_path; string pandora_dir; diff --git a/pandora_agents/win32/versioninfo.rc b/pandora_agents/win32/versioninfo.rc index 170e2b1bc1..ad139ecdaa 100644 --- a/pandora_agents/win32/versioninfo.rc +++ b/pandora_agents/win32/versioninfo.rc @@ -11,7 +11,7 @@ BEGIN VALUE "LegalCopyright", "Pandora FMS" VALUE "OriginalFilename", "PandoraAgent.exe" VALUE "ProductName", "Pandora FMS Windows Agent" - VALUE "ProductVersion", "(7.0NG.776(Build 240410))" + VALUE "ProductVersion", "(7.0NG.776(Build 240411))" VALUE "FileVersion", "1.0.0.0" END END diff --git a/pandora_console/DEBIAN/control b/pandora_console/DEBIAN/control index 52e9d061aa..2e55ffa032 100644 --- a/pandora_console/DEBIAN/control +++ b/pandora_console/DEBIAN/control @@ -1,5 +1,5 @@ package: pandorafms-console -Version: 7.0NG.776-240410 +Version: 7.0NG.776-240411 Architecture: all Priority: optional Section: admin diff --git a/pandora_console/DEBIAN/make_deb_package.sh b/pandora_console/DEBIAN/make_deb_package.sh index 4cac08383a..1bc7b0890d 100644 --- a/pandora_console/DEBIAN/make_deb_package.sh +++ b/pandora_console/DEBIAN/make_deb_package.sh @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -pandora_version="7.0NG.776-240410" +pandora_version="7.0NG.776-240411" package_pear=0 package_pandora=1 diff --git a/pandora_console/general/header.php b/pandora_console/general/header.php index 1596ec7d80..2d3d95a77e 100644 --- a/pandora_console/general/header.php +++ b/pandora_console/general/header.php @@ -140,7 +140,6 @@ echo sprintf('