Commit Graph

1105 Commits

Author SHA1 Message Date
mboelen 722703da31 Extended ReportDetails function 2016-04-19 09:53:30 +02:00
mboelen bebf3d0bd5 Use semicolon instead of comma 2016-04-19 07:38:24 +02:00
mboelen 5601ac9b22 Updated changelog 2016-04-15 20:07:33 +02:00
mboelen 1205511c9d Change of variables for IDS/IPS and layout changes 2016-04-15 20:07:20 +02:00
mboelen e86f0522bf [TOOL-5102] Imported Fail2ban support and minor improvements 2016-04-15 14:51:53 +02:00
mboelen 04ed554cd2 Merge branch 'master' of https://github.com/CISOfy/Lynis 2016-04-15 14:41:45 +02:00
mboelen 495b49e7a8 Quit when cronjob is used and PID file exists 2016-04-15 14:41:08 +02:00
mboelen cbfa62a904 lynis 2016-04-15 14:38:05 +02:00
Eric Light 9c2229483f Replaced call to iptables with $IPTABLESBINARY (#167)
* Replaced call to iptables with $IPTABLESBINARY

* Check for iptables before checking Fail2Ban chain
2016-04-15 14:18:11 +02:00
mboelen e86c68e3c5 Using question mark better defines the status then NA for most users 2016-04-13 21:49:43 +02:00
mboelen d4a5aba7ea [FILE-7524] Support for multiple profiles 2016-04-13 19:50:15 +02:00
mboelen 015287e963 [CRYP-7902] Added support for multiple profiles 2016-04-13 19:49:30 +02:00
mboelen f4a1ee8ac2 [NETW-3014] Test whitelisted interface in enabled profiles 2016-04-13 17:08:58 +02:00
mboelen 9a0102384f [KRNL-6000] Change test to allow parsing multiple profiles and storing more details 2016-04-13 16:13:04 +02:00
mboelen fdd20a324e Added plugindir argument of show command 2016-04-13 16:12:22 +02:00
mboelen c5de5e6a1b Added ReportDetails to store values of atomic tests 2016-04-13 16:11:46 +02:00
mboelen 9192f4bbb8 Changed sections into comment lines 2016-04-13 16:08:57 +02:00
mboelen d3f33a32cd Define default plugin directory after profiles have been parsed 2016-04-13 12:09:26 +02:00
mboelen 13f1373944 Add --plugindir as alias to --plugin-dir 2016-04-13 12:08:31 +02:00
mboelen 28bc866686 Only set new plugin directory if not set before 2016-04-13 12:07:46 +02:00
mboelen 37a2614f79 Allow plugin directory to be configured, and apply new style configuration matching 2016-04-13 11:49:11 +02:00
mboelen 991083c13f Added new function ContainsString to search for the needle in the haystack 2016-04-13 11:48:02 +02:00
mboelen 0288c6df34 Enhanced error handling during license check 2016-04-13 09:09:52 +02:00
Eric Light 3b3a852122 Added tooling tests for Fail2Ban (#162)
* Added binary for Fail2Ban

* Added test for Fail2Ban (presence and configuration)

* Added test to check for enabled Fail2Ban jails

* Added test to confirm at least one enabled jail. Fixed regex.

* Added check to confirm iptables has a fail2ban chain
2016-04-13 08:12:26 +02:00
mboelen 59bbacd59b Added more details to show command 2016-04-12 21:59:23 +02:00
mboelen 3e38d2fae5 Optimized help text on screen when running Lynis without any arguments 2016-04-12 21:59:00 +02:00
mboelen 8a35eed518 Show message on screen when data was uploaded 2016-04-12 21:58:19 +02:00
mboelen af13d322b9 Updated colors 2016-04-12 21:58:01 +02:00
mboelen c0228b8e48 Show release date 2016-04-11 07:57:29 +02:00
Kamil Boratyński 2465556567 features/testcases (#161)
* Implemented equal test case.

* Implemented not-equal test case.

* Implemented greater-than test case.

* Implemented greater-or-equal test case.

* Implemented less-than test case.

* Implemented less-or-eqal test case.

Added some improvements and unifications.

* Added more unifications.

* Added more logs.

* Unified not-equal test.
2016-04-10 16:32:21 +02:00
mboelen 066f562365 Allow parsing of multiple profiles 2016-04-07 16:25:11 +02:00
mboelen 810c37287f Support for show helper utility 2016-04-07 16:24:38 +02:00
mboelen c7c400f038 Allow multiple profiles 2016-04-07 16:24:11 +02:00
mboelen 78167f37f2 Clean up of old variables 2016-04-05 11:31:21 +02:00
mboelen 2f335eea5f Clean up of old variables 2016-04-05 11:28:11 +02:00
mboelen 03388532ec Update of timestamp 2016-04-05 10:03:24 +02:00
mboelen b954eeceec Optimized code and solve double proxy statement to upload command 2016-04-05 10:02:32 +02:00
Mincă Daniel Andrei 287a0e72a5 Replace repetitive echo commands with single printf statement
* Format includedir conditional

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>

* Clean echos from security check message

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>

* Clean echos from Beta disclaimer

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>

* Clean echos from 2 instances of Lynis conditional

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>

* Format the 'Bail out if no param' condtitional

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>

* Format the 'non-priviledged scan mode' message

Signed-off-by: Daniel Andrei Minca <mandrei17@gmail.com>
2016-04-04 13:18:35 +02:00
mboelen 95944c0035 Generic improvements for debug status, and cleaning up code 2016-04-02 18:28:53 +02:00
mboelen cab2b9071c Adding --debug to Display function 2016-04-02 18:28:02 +02:00
mboelen 40d11eb37b Added variables related to database status 2016-04-02 18:27:32 +02:00
mboelen 4e58267658 [DBS-1860] Changes to test to make it more optimized 2016-04-02 17:18:49 +02:00
mboelen 17c435801d Added return values to IsRunning function 2016-04-02 17:18:19 +02:00
Michael Boelen a991f73520 Merge pull request #154 from angoca/master
Checks if DB2 LUW is running on a server
2016-04-02 17:07:19 +02:00
Andres Gomez Casanova 1b9920fde9 Checks if DB2 LUW is running on a server
The check if performing by doing a grep on db2sysc, the DB2 instance process.
2016-04-01 17:38:20 -05:00
mboelen 1426ff16f9 Removed old Display function parameter --text 2016-03-30 14:35:16 +02:00
Michael Boelen 079efdada1 Merge pull request #138 from rhyven/patch-1
Hide fail2ban open+deleted file warning, when grsec is installed
2016-03-30 14:34:36 +02:00
Michael Boelen 420b72ae20 Merge pull request #140 from kboratynski/features/macosx_php
Added OSX default php.ini location.
2016-03-30 14:33:54 +02:00
Michael Boelen 570639599b Merge pull request #137 from technimad/technimad-patch-1-PHPiniEl6fix
Added ini dir of EL6
2016-03-30 14:33:27 +02:00
mboelen 70bb10328f Use echo when checking parameters to prevent incorrect issues with screen output 2016-03-30 14:26:01 +02:00