Commit Graph
457 Commits
Author SHA1 Message Date
Andreas Steffen f361a85ebb added ITA Echo PA-TNC Subtype and ITA Echo Attribute type 2013-03-11 09:30:20 +01:00
Andreas Steffen a498c7a9c3 moved ar_id from imv_agent to imv_state 2013-03-11 08:54:02 +01:00
Andreas Steffen 1a9dee5d22 instead of cloning use extract_buf() method 2013-03-04 23:21:21 +01:00
Andreas Steffen c88104aa25 make TNC Access Requestor ID available to IMVs 2013-03-03 17:18:09 +01:00
Andreas Steffen eeb69761ae third parameter was not copied 2013-03-02 22:03:07 +01:00
Tobias Brunner 11adf114c1 Fixed Doxygen comments after scanning complete src directory 2013-03-02 18:31:53 +01:00
Andreas Steffen 371b752f00 treat IF-M and IF-TNCCS remediation instructions/parameters in an equal way 2013-02-19 20:00:57 +01:00
Andreas Steffen 2c1219c217 removed superfluous debug output 2013-02-15 15:19:16 +01:00
Martin Willi d20a2cc5f3 Add IF-M message subtype getter to IMC/IMV messages 2013-02-14 17:18:24 +01:00
Martin Willi bbe9261bbf Use a generic constructor to create PA-TNC error attributes 2013-02-14 17:18:00 +01:00
Andreas Steffen bd1ee5bdc4 make AR identities available to IMVs via IF-IMV 1.4 draft 2013-02-11 15:30:44 +01:00
Tobias Brunner 98063d8187 Don't use a time_t variable with fscanf when parsing uptime
Because "%u" is used as format string in the fscanf call that parses the
uptime and because the length of time_t varies on different platforms
and architectures the value was not written properly if time_t was longer
than an unsigned int and depending on how the target variable was aligned
on the stack.  Since there is no conversion specifier to properly parse a
time_t value we use the appropriate integer type instead.
2013-02-08 11:33:13 +01:00
Andreas Steffen ba62be506a improved control when an attribute request is sent 2013-02-03 20:48:05 +01:00
Andreas Steffen 818fe7c024 send an error attribute if vendor ID or type of received attribute is reserved 2013-02-03 18:52:03 +01:00
Tobias Brunner 677812dc66 Cast first argument for %.*s to int 2013-01-24 23:35:42 +01:00
Tobias Brunner 39896d92ed Try to determine OS type if name and version are configured 2013-01-24 19:13:41 +01:00
Tobias Brunner 24cdf5340e Add missing va_end() call 2013-01-24 19:13:41 +01:00
Martin Willi 8d631ebabd Encode IETF Numeric Version Service Pack Version with two byte words 2013-01-22 14:45:56 +01:00
Andreas Steffen 1c65b6c305 make pacman.sh run under cron 2012-12-26 09:28:17 +01:00
Andreas Steffen 6be6a52405 deleted newly constructed attributes in send_assessment 2012-12-24 12:06:12 +01:00
Andreas Steffen 965fce31c3 newer releases of dpkg-query does not have PackageSpec 2012-12-09 13:55:22 +01:00
Andreas Steffen 4037bb5288 ignore ports of the 127.0.1.1 internal system address 2012-12-09 13:26:34 +01:00
Martin Willi 7e45257f7d Reuse generic constructor in IMV/IMC message 2012-11-30 15:49:12 +01:00
Martin Willi a6722e5653 Add getters for the raw encoding in IMV/IMC messages 2012-11-30 15:49:07 +01:00
Martin Willi 2a433075e2 Clean up whitespaces in IMC/IMV messages 2012-11-30 15:49:03 +01:00
Martin Willi fdce28c49c Don't remove IETF standard errors while parsing IMC/IMV messages 2012-11-30 15:48:55 +01:00
Martin Willi 18bb1a1540 Remove unused get_vendor_id() method in IETF error IF-M attributes 2012-11-30 15:48:44 +01:00
Martin Willi 55b323c224 Check os_version when reading release file, os_name is not set for Debian 2012-11-30 15:48:39 +01:00
Andreas Steffen 2b61f7baa3 store detected improper OS settings in database 2012-11-30 00:12:48 +01:00
Andreas Steffen 7b6cc33eb2 store collected device information in database 2012-11-28 10:51:11 +01:00
Andreas Steffen ac6dd7d404 store unique device_id in database 2012-11-27 23:48:40 +01:00
Ewa Steffen 710d89f07d completed Polish language version 2012-11-23 21:45:04 +01:00
Andreas Steffen 2810d934e5 cosmetics 2012-11-23 18:31:44 +01:00
Andreas Steffen 9cbdfdb988 implemented output of item lists in remediation instructions 2012-11-23 18:30:00 +01:00
Andreas Steffen ee6aeca892 refactored reason string and remediation instructions framework 2012-11-23 12:30:33 +01:00
Andreas Steffen bf1cecdb6b strndup() requires string.h header file 2012-11-18 19:41:03 +01:00
Andreas Steffen c1c98f5f4a generate reason strings and remediation instructions for improper OS settings 2012-11-18 11:44:03 +01:00
Andreas Steffen 3294cbd61e fixed a memory leak in pacman 2012-11-17 08:16:53 +01:00
Andreas Steffen aa3061d432 removed unused variable 2012-11-17 08:16:23 +01:00
Andreas Steffen bacffb890e discovered the use of strndup() 2012-11-15 11:48:57 +01:00
Andreas Steffen a95959cce6 implemented blacklisting of software packages 2012-11-14 11:38:45 +01:00
Andreas Steffen f94d32dba9 fixed remediation instructions output 2012-11-13 07:15:46 +01:00
Andreas Steffen e6a2de344d fixed memory leak 2012-11-12 13:08:58 +01:00
Andreas Steffen a40372d82d fixed typo in strcpy() function call 2012-11-12 12:31:26 +01:00
Andreas Steffen e6b117491f implemented reason string and remediation instructions for OS IMV 2012-11-12 10:45:38 +01:00
Andreas Steffen 742722e2f5 updated strongswan.conf man page 2012-11-12 10:45:38 +01:00
Andreas Steffen 3de9a31a49 centralized processing of assessment information 2012-11-12 10:45:38 +01:00
Andreas Steffen af83700f88 implemented get_remediation_instructions() 2012-11-10 23:47:06 +01:00
Andreas Steffen b217e16f7e removed debug output 2012-11-10 21:37:33 +01:00
Andreas Steffen db15c6dac1 implement a preferred language enumerator 2012-11-10 21:35:46 +01:00