Commit graph

56 commits

Author SHA1 Message Date
Kshitij Gupta
bdc2677f7b 2013-08-31 04:13:05 +05:30
Kshitij Gupta
c7a74802ab Tests for minitools aa-disable, aa-audit, aa-complain, aa-enforce added and some minor bugs fixed. Ran all existing test suites on python2 and python3 and tweaked a few things 2013-08-31 04:08:26 +05:30
Kshitij Gupta
27efe62a92 Fixes from review 52-53, merging cleanprof into apparmor/tools.py corrected enforce() and complain() to create/remove symlinks to force-complain/disable subdirs. Wrote some tests for globbing methods, segregated glob-path and glob-path-with-extension into methods in aa.py 2013-08-30 03:54:31 +05:30
Kshitij Gupta
781ff9c3d9 aa-cleanprof tool 2013-08-26 00:41:15 +05:30
Kshitij Gupta
41b9aa112d Merged aa-audit, aa-autodep, aa-complain, aa-disable, aa-enforce to share the common code into a tools.py module. Added -r/--remove feature to aa-complain, aa-enforce, aa-audit and -r/--revert feature to aa-disable. Some other fixes from review 48..51 2013-08-26 00:23:59 +05:30
Kshitij Gupta
5490dddbda First set of tools in their alpha release, logprof and genprof are pre-bleeding edge so dont hurt yourself or worse your distro. 2013-08-21 11:26:09 +05:30
Kshitij Gupta
1fb521418d Semmingly working writer from old profile 2013-08-19 12:37:47 +05:30
Kshitij Gupta
ed28caeba6 first partially working iteration of new profile writer from old profile 2013-08-18 14:13:46 +05:30
Kshitij Gupta
457604014f working commit prior to writer code alterations 2013-08-17 12:34:42 +05:30
Kshitij Gupta
6ce67f3cbe debugging level 0 fix 2013-08-13 00:48:37 +05:30
Kshitij Gupta
2a1e419bf8 some fixes from review 41..45 and fixes for python3 compatibility 2013-08-13 00:43:20 +05:30
Kshitij Gupta
396b504b5f minor fix 2013-08-11 23:22:08 +05:30
Kshitij Gupta
f12667c011 Working tool (seemingly to me), except the writing profile order needs to be fixed 2013-08-11 23:16:35 +05:30
Kshitij Gupta
5886faf63b Working tool (seemingly to me), except the writing profile order needs to be fixed 2013-08-11 23:16:05 +05:30
Kshitij Gupta
4f4a8f6163 backup commit for modes 2013-08-11 18:30:01 +05:30
Kshitij Gupta
05e695c7d3 A commit before changing modes style 2013-08-11 15:22:07 +05:30
Kshitij Gupta
3212422921 fixes from rev 32..39 and fixed(?) flags=(..)thing 2013-08-10 12:46:22 +05:30
Kshitij Gupta
eacdddaf12 working logger 2013-08-10 01:17:00 +05:30
Kshitij Gupta
a9c594d5bc fixed test encoded data for log entries 2013-08-09 16:49:01 +05:30
Kshitij Gupta
2d9f37be87 fixed debugglogger 2013-08-09 11:04:32 +05:30
Kshitij Gupta
da49e6a3ee fixed allow 2013-08-08 21:40:56 +05:30
Kshitij Gupta
d48c88428e certain fixes 2013-08-07 14:43:17 +05:30
Kshitij Gupta
bb4c83d404 Some code for logprof 2013-08-06 01:53:28 +05:30
Kshitij Gupta
68afe0f0e9 Added some tests for common module and fixed a few minor bugs in regex parser 2013-08-05 18:55:34 +05:30
Kshitij Gupta
e78dd6e9bc updated regex parser 2013-08-01 21:57:27 +05:30
Kshitij Gupta
8f378e3ce2 Intermediate codebase update and the test cases are still broken 2013-07-31 19:56:33 +05:30
Kshitij Gupta
928e4503c6 Intermediate: codebase update with broken tests 2013-07-30 20:13:08 +05:30
Kshitij Gupta
1af5f1f03f python regex fix 2013-07-28 08:29:59 +05:30
Kshitij Gupta
375fc3b5bb edits from review 26,27 and codebase update 2013-07-28 08:23:46 +05:30
Kshitij Gupta
bcceaa9c28 minor fix to regex from rev 26 2013-07-27 15:32:12 +05:30
Kshitij Gupta
5abbc86d37 Revision 24 edits and code update 2013-07-27 15:28:12 +05:30
Kshitij Gupta
60def06040 Code-base update 2013-07-24 22:12:34 +05:30
Kshitij Gupta
d97f0c6b7d Code-base update 2013-07-23 04:35:51 +05:30
Kshitij Gupta
e727c62e76 Fixes from review 19-22 and updated codebase 2013-07-20 04:19:07 +05:30
Kshitij Gupta
211b404195 Fixed configparser and added unit test for the same tried on python2 and python3 2013-07-19 00:44:55 +05:30
Kshitij Gupta
af034537fc A new version of the variable loader for severity 2013-07-18 19:17:43 +05:30
Kshitij Gupta
da9cd60ec4 2013-07-18 05:29:54 +05:30
Kshitij Gupta
f5b43cc7b4 2013-07-18 03:21:44 +05:30
Kshitij Gupta
f4b89ce45b ugly solution to py2 configparser by stripping 2 spaces off everyline into a tempfile 2013-07-18 03:11:05 +05:30
Kshitij Gupta
a33c95f8b1 Some fixes from review16 and updated codebase 2013-07-17 20:38:13 +05:30
Kshitij Gupta
ccee5cd5e0 Codebase update 2 2013-07-09 03:46:26 +05:30
Kshitij Gupta
58f48db381 updated codebase 2013-07-06 18:57:06 +05:30
Kshitij Gupta
48fdbda9cd some minor bugs fixed after package name change 2013-07-04 05:04:04 +05:30
Kshitij Gupta
b3767766ef Python2 compatible code except for configparser, code from week2 2013-07-04 04:12:04 +05:30
Kshitij Gupta
e4ad1bde21 tested and completed config.py ans severity.py with the exception of source hooks in severity 2013-06-25 04:46:59 +05:30
Kshitij Gupta
1c10749be2 added variable handling also added a loader for all paths 2013-06-23 05:04:22 +05:30
Kshitij Gupta
c70af14af3 modified severity and testing modules 2013-06-21 20:08:32 +05:30
Kshitij Gupta
9692fbfd89 completed severity module, pending its module testing 2013-06-21 01:35:26 +05:30
Kshitij Gupta
47679582aa minor typo 2013-06-18 03:55:09 +05:30
Kshitij Gupta
758d1c6e7d added severity.py with tested convert_regex and the old and new config 2013-06-18 03:49:05 +05:30