Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsmconv #9

Open
wants to merge 219 commits into
base: master
Choose a base branch
from
Open

bsmconv #9

wants to merge 219 commits into from

Commits on Jun 23, 2016

  1. Initial commit.

    - Implement the reallocation of the buffer within which I will store an
    unparsed event.
    - Add some notes on how I am going to parse a Linux Audit event.
    0mp committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    e34d263 View commit details
    Browse the repository at this point in the history
  2. Add Makefile.

    0mp committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    b5cc74c View commit details
    Browse the repository at this point in the history
  3. Add a simple test script.

    0mp committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    70f9d68 View commit details
    Browse the repository at this point in the history
  4. Add .gitignore.

    0mp committed Jun 23, 2016
    Configuration menu
    Copy the full SHA
    811868c View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2016

  1. Fix tests.

    0mp committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    18ec943 View commit details
    Browse the repository at this point in the history
  2. Add records detection.

    I can now extract seperate records from the input stream.
    0mp committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    0315ba3 View commit details
    Browse the repository at this point in the history
  3. Refactor the code.

    0mp committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    ad6dccb View commit details
    Browse the repository at this point in the history
  4. Remove an _ from a variable name.

    0mp committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    ed3fc69 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #8 from 0mp/bsmconv-refactor

    Refactor bsmconv.c
    0mp authored Jun 24, 2016
    Configuration menu
    Copy the full SHA
    d6d5e7a View commit details
    Browse the repository at this point in the history
  6. Update tests.

    0mp committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    2519c65 View commit details
    Browse the repository at this point in the history
  7. Prepare to introduce sbuf(9).

    0mp committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    9ebe626 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8f97767 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    eafe62b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c99d145 View commit details
    Browse the repository at this point in the history
  11. ANSIfy the code.

    0mp committed Jun 24, 2016
    Configuration menu
    Copy the full SHA
    b867a86 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2016

  1. Fix some issues with sbuf.

    Some records are still missing from the eventbuf.
    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    5a7426e View commit details
    Browse the repository at this point in the history
  2. Fix a minor style issue.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    e435018 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce8f1d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bbf30c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8046f1b View commit details
    Browse the repository at this point in the history
  6. Change ++i to i++.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    c5db626 View commit details
    Browse the repository at this point in the history
  7. Improve defines.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    49d5c90 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #10 from 0mp/refactor

    Refactor
    0mp authored Jun 25, 2016
    Configuration menu
    Copy the full SHA
    ae6db7e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7201580 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b05edf2 View commit details
    Browse the repository at this point in the history
  11. Add a pragma to pjdlog.h to ignore not-so-ANSI variadic macros.

    Otherwise, `clang -ansi -Werror -Wall ...` refuses to complie
    due to `-Wvariadic-macros`.
    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    0157567 View commit details
    Browse the repository at this point in the history
  12. Merge pull request #11 from 0mp/compile-pjdlog

    Compile pjdlog
    0mp authored Jun 25, 2016
    Configuration menu
    Copy the full SHA
    b39f36e View commit details
    Browse the repository at this point in the history
  13. Move makefiles to /usr.bin/bsmconv.

    - Remove old Makefile.
    - Remove old scripts.
    - Remove pragma from pjdlog.h.
    - Remove README.
    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    4429571 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #12 from 0mp/makefile-to-usrbin

    Move makefiles to /usr.bin/bsmconv.
    0mp authored Jun 25, 2016
    Configuration menu
    Copy the full SHA
    fe54da8 View commit details
    Browse the repository at this point in the history
  15. Remove -l library from Makefile.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    22e1067 View commit details
    Browse the repository at this point in the history
  16. Use pjdlog and update runtest.sh.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    e468070 View commit details
    Browse the repository at this point in the history
  17. Merge pull request #13 from 0mp/pjdlogging

    pjdlogging
    0mp authored Jun 25, 2016
    Configuration menu
    Copy the full SHA
    446b58f View commit details
    Browse the repository at this point in the history
  18. Shorten code lines.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    ad432ca View commit details
    Browse the repository at this point in the history
  19. Improve log messages.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    bbd86d2 View commit details
    Browse the repository at this point in the history
  20. Fix minor issues and improve tests.

    Time to reimplement records and events using TAILQ.
    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    fe017ae View commit details
    Browse the repository at this point in the history
  21. Remove assert.h from bsmconv.c.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    f7d9a04 View commit details
    Browse the repository at this point in the history
  22. Update and rename test script.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    a0aa5dd View commit details
    Browse the repository at this point in the history
  23. Add a successfully initialized TAILQ.

    More queues soon.
    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    084db43 View commit details
    Browse the repository at this point in the history
  24. Rename the fu script.

    0mp committed Jun 25, 2016
    Configuration menu
    Copy the full SHA
    87a11fd View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    e49904d View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2016

  1. Configuration menu
    Copy the full SHA
    4f6d2e5 View commit details
    Browse the repository at this point in the history
  2. Parse timestamp and id. Clean up before parsing fields.

    Some tests are still failling.
    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    e755a63 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    43552c6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    99f2128 View commit details
    Browse the repository at this point in the history
  5. Parse record fields. (In progress.)

    - Perform s/pjdlog_notice/pjdlog_debug/g.
    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    dbb8617 View commit details
    Browse the repository at this point in the history
  6. Fix pjdlog_debug usage.

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    1ad6236 View commit details
    Browse the repository at this point in the history
  7. Remove commas from tests. Add a negative comma test.

    There should be no commas between records' fields for the time being.
    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    d1fb920 View commit details
    Browse the repository at this point in the history
  8. Improve debug logging. It is possible to control debug level now.

    As you normally run `fu t` to run tests you can now run
    `fu tv -vvv` to run tests with the debug level of 3.
    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    e2cef7f View commit details
    Browse the repository at this point in the history
  9. Fix fu, the test script.

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    649faef View commit details
    Browse the repository at this point in the history
  10. Remove unnecessary defines.

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    4a4f57d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    f3907e1 View commit details
    Browse the repository at this point in the history
  12. Fix fu, the testing script.

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    c0d27c2 View commit details
    Browse the repository at this point in the history
  13. Fix the sumsecs equation.

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    1fe70ea View commit details
    Browse the repository at this point in the history
  14. Update and add some tests.

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    f54a1b8 View commit details
    Browse the repository at this point in the history
  15. Solve #21 (the issue with errno != 0).

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    11a2b1c View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    4780ad6 View commit details
    Browse the repository at this point in the history
  17. Update tests.

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    190709e View commit details
    Browse the repository at this point in the history
  18. Update tests.

    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    4294bb6 View commit details
    Browse the repository at this point in the history
  19. Parse fields of a record.

    I've added a lot of minor changes apart from that.
    0mp committed Jun 26, 2016
    Configuration menu
    Copy the full SHA
    f6bb9e1 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    695151e View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2016

  1. Change mallocs to callocs.

    - Incorporate the PJDLOG_VERIFY function.
    - Review the correctness of the usage of the PJDLOG_ASSERT function.
      Since asserts can be turned off so use PJDLOG_VERIFY instead of
      PJDLOG_ASSERT if you call any significant functions within the macro.
    0mp committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    f618eae View commit details
    Browse the repository at this point in the history
  2. Use PJDLOG_VERIFY instead of PJDLOG_ASSERT.

    Previously, I checked (bytesread != 1) using an assert which might
    result in an uncaught read(2) error.
    0mp committed Jun 27, 2016
    Configuration menu
    Copy the full SHA
    1430733 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2016

  1. Fix minor issues.

    0mp committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    1db5797 View commit details
    Browse the repository at this point in the history
  2. Update string_to_unit32().

    Also:
    - Change some debug messages.
    - Reenable the negative test set.
    0mp committed Jun 28, 2016
    Configuration menu
    Copy the full SHA
    1e41ef4 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #16 from 0mp/tailq

    <strike>TAILQ kicks in.</strike>
    The idea for the implementation has changed.
    0mp authored Jun 28, 2016
    Configuration menu
    Copy the full SHA
    cd77f82 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2016

  1. Beta parser (#25)

    * Implement a beta version of parsing.
    
    - You can print parsed Linux Audit logs.
    - There might be some bugs.
    - The code needs to be refactored.
    0mp authored Jun 29, 2016
    Configuration menu
    Copy the full SHA
    e07ae4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f445dd View commit details
    Browse the repository at this point in the history
  3. Parse record's type, id and nsecs.

    - I've got to implement the parsing of the record's fields.
    0mp committed Jun 29, 2016
    Configuration menu
    Copy the full SHA
    d6a1ea7 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2016

  1. Configuration menu
    Copy the full SHA
    82697e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b513687 View commit details
    Browse the repository at this point in the history
  3. Use nvlists to manage fields.

    - The program compiles and passes the tests.
    - Refactoring is badly needed.
    0mp committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    4d394e3 View commit details
    Browse the repository at this point in the history
  4. Update tests.

    0mp committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    bccaba1 View commit details
    Browse the repository at this point in the history
  5. Rewrite linau_event.

    - Use nvlists.
    - Standardize the interface.
    0mp committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    b88d739 View commit details
    Browse the repository at this point in the history
  6. Rewrite bsmconv.c.

    0mp committed Jun 30, 2016
    Configuration menu
    Copy the full SHA
    59c3e32 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    4846a62 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    39f9c7d View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2016

  1. Improve the linau_field interface.

    Specifically:
    - Fix typedefs.
    - Remove some copy-paste code.
    0mp committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    9cdfe89 View commit details
    Browse the repository at this point in the history
  2. Clean up and fix bugs.

    There is a bug in the 452 line of the linau_record when the
    linau_record_generate_key tries to get a key.
    0mp committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    4613021 View commit details
    Browse the repository at this point in the history
  3. Fix a bug in linau_record_generate.

    I am about to change the way the key is generated. At the moment the key
    is a timestamp contactenated with an id. This is a bad key obviously.
    0mp committed Jul 1, 2016
    Configuration menu
    Copy the full SHA
    3a77ddd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d63a26d View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2016

  1. Improve the key generation.

    The key of a record is its type.
    0mp committed Jul 2, 2016
    Configuration menu
    Copy the full SHA
    d8d8277 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2016

  1. Pass tests.

    Mainly:
    - Update tests.
    - Improve interfaces.
    - Add more abstract functions to linau_impl.*.
    0mp committed Jul 3, 2016
    Configuration menu
    Copy the full SHA
    dbf0c29 View commit details
    Browse the repository at this point in the history
  2. Implement the event printing.

    Generally, the parsing works. There are still some minor issues.
    0mp committed Jul 3, 2016
    Configuration menu
    Copy the full SHA
    30290b3 View commit details
    Browse the repository at this point in the history
  3. Implement parser beta version.

    Now its time to implement the comma parsing.
    
    Add README with some basic information about the testing script.
    
    Add a test based on read logs.
    
    Fix some minor bugs.
    0mp committed Jul 3, 2016
    Configuration menu
    Copy the full SHA
    4cb5043 View commit details
    Browse the repository at this point in the history
  4. Add comma support. Update tests.

    0mp committed Jul 3, 2016
    Configuration menu
    Copy the full SHA
    d368953 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    30df4fb View commit details
    Browse the repository at this point in the history
  6. Minor clean-ups.

    0mp committed Jul 3, 2016
    Configuration menu
    Copy the full SHA
    6fcdf84 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #26 from 0mp/library-interface

    Library interface
    0mp authored Jul 3, 2016
    Configuration menu
    Copy the full SHA
    80653a7 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2016

  1. Refactor library (#32)

    0mp authored Jul 5, 2016
    Configuration menu
    Copy the full SHA
    db92470 View commit details
    Browse the repository at this point in the history
  2. Improve formatting.

    0mp committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    cac73f2 View commit details
    Browse the repository at this point in the history
  3. Apply some style(9).

    0mp committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    107bd17 View commit details
    Browse the repository at this point in the history
  4. Clean up.

    0mp committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    adda611 View commit details
    Browse the repository at this point in the history
  5. Begin to implement linau_event to token conversion.

    - Update Makefile.
    - Create some basic data structures.
    - Add an outline of the linau_event_to_tokenlist function.
    0mp committed Jul 5, 2016
    Configuration menu
    Copy the full SHA
    1dc2b5d View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2016

  1. Add a not working version of conversion.

    There are still some bugs and the programs doesn't print bytes which
    would be understandable to praudit.
    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    dccb0ce View commit details
    Browse the repository at this point in the history
  2. Make a basic conversion work.

    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    e5544fb View commit details
    Browse the repository at this point in the history
  3. Remove get_size functions.

    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    7ff4135 View commit details
    Browse the repository at this point in the history
  4. Clean up.

    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    39ccbcb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9679dbb View commit details
    Browse the repository at this point in the history
  6. Expand the libbsm interface.

    I need a function like au_close_buffer which takes a timeval structure
    and creates header tokens with the time value I provide instead of
    using the system time.
    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    9618a81 View commit details
    Browse the repository at this point in the history
  7. Minor cleanups.

    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    dbadd6a View commit details
    Browse the repository at this point in the history
  8. Comment out au_close_buffer_tm.

    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    8a8a55e View commit details
    Browse the repository at this point in the history
  9. Fix get_timeval.

    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    844d7ce View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    32637bf View commit details
    Browse the repository at this point in the history
  11. Add LA types defines.

    I've got to change them.
    0mp committed Jul 6, 2016
    Configuration menu
    Copy the full SHA
    d3b0e9c View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2016

  1. Configuration menu
    Copy the full SHA
    ab7ba57 View commit details
    Browse the repository at this point in the history
  2. Prepare conversion functions.

    - Move defintions to another file.
    - Create a function where conversion takes place.
    - Delete old functions from linau_record.c.
    0mp committed Jul 7, 2016
    Configuration menu
    Copy the full SHA
    4b274a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9c7aeb7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4fcf6ef View commit details
    Browse the repository at this point in the history
  5. Update tests. Remove newlines from parsed records.

    Additionally, move unhandled tests to .test/.
    0mp committed Jul 7, 2016
    Configuration menu
    Copy the full SHA
    631784d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c4e6149 View commit details
    Browse the repository at this point in the history
  7. Add a simple question.

    0mp committed Jul 7, 2016
    Configuration menu
    Copy the full SHA
    dd185fa View commit details
    Browse the repository at this point in the history
  8. Update Makefile.

    0mp committed Jul 7, 2016
    Configuration menu
    Copy the full SHA
    088927f View commit details
    Browse the repository at this point in the history
  9. Modify libbsm/bsm_audit.c and fix bsmconv.c.

    Now it is possible to give a custom date to the header token.
    0mp committed Jul 7, 2016
    Configuration menu
    Copy the full SHA
    e58ce26 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5a0dafb View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    0f5203f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ab93b15 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2016

  1. Merge pull request #37 from 0mp/la2bsmmap

    Linux Audit to BSM mapping
    0mp authored Jul 8, 2016
    Configuration menu
    Copy the full SHA
    1a9031f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #35 from 0mp/expand-libbsm-interace

    Expand the libbsm interface.
    0mp authored Jul 8, 2016
    Configuration menu
    Copy the full SHA
    3382986 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #33 from 0mp/linux-conversion

    Linux Audit to BSM conversion (work in progress).
    0mp authored Jul 8, 2016
    Configuration menu
    Copy the full SHA
    ce963f3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    092b8cb View commit details
    Browse the repository at this point in the history
  5. Define fields.

    0mp committed Jul 8, 2016
    Configuration menu
    Copy the full SHA
    0e9c3f4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    48f908d View commit details
    Browse the repository at this point in the history
  7. Update the macro.

    0mp committed Jul 8, 2016
    Configuration menu
    Copy the full SHA
    5e6d08e View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2016

  1. Configuration menu
    Copy the full SHA
    80f09db View commit details
    Browse the repository at this point in the history
  2. Add a wrapper on pjdlog.h.

    0mp committed Jul 10, 2016
    Configuration menu
    Copy the full SHA
    5453f8f View commit details
    Browse the repository at this point in the history
  3. Reorganise the code.

    Additionally, I implemented a function which checks if a record has
    desired fields.
    0mp committed Jul 10, 2016
    Configuration menu
    Copy the full SHA
    405a7b7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cdde4d8 View commit details
    Browse the repository at this point in the history
  5. Add a macro to manage token creation.

    Additionally:
    - Remove mpjdlog. (The problem was with the loglevel changing when you
      called a function inside a function.)
    - Add some functions related to conversion.
    - The program fails an assertion now. I'll fix it tomorrow.
    0mp committed Jul 10, 2016
    Configuration menu
    Copy the full SHA
    ca4ef00 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2016

  1. Configuration menu
    Copy the full SHA
    859820f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    816cd8f View commit details
    Browse the repository at this point in the history
  3. Implement CONVERT_RECORD_TO_AU.

    0mp committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    057a437 View commit details
    Browse the repository at this point in the history
  4. Improve the file structure.

    0mp committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    0a98d75 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #41 from 0mp/la2bsmmap2

    LA to BSM mapping
    0mp authored Jul 11, 2016
    Configuration menu
    Copy the full SHA
    0ca5643 View commit details
    Browse the repository at this point in the history
  6. Add structs.

    0mp committed Jul 11, 2016
    Configuration menu
    Copy the full SHA
    3c9a834 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2016

  1. Improve the linau_impl interface.

    0mp committed Jul 12, 2016
    Configuration menu
    Copy the full SHA
    76b19bc View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cc3d3b5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e2f3f64 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2016

  1. Configuration menu
    Copy the full SHA
    5f84400 View commit details
    Browse the repository at this point in the history
  2. Work in progress.

    0mp committed Jul 13, 2016
    Configuration menu
    Copy the full SHA
    04e38fe View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2016

  1. Prepare the code for review.

    0mp committed Jul 15, 2016
    Configuration menu
    Copy the full SHA
    7180aee View commit details
    Browse the repository at this point in the history
  2. Merge pull request #43 from 0mp/improve-linau-conv-api

    Improve the Linux Audit to BSM conversion API/framework
    0mp authored Jul 15, 2016
    Configuration menu
    Copy the full SHA
    e136658 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2016

  1. Configuration menu
    Copy the full SHA
    229d161 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2016

  1. Configuration menu
    Copy the full SHA
    160a0e0 View commit details
    Browse the repository at this point in the history
  2. Add a CRED_REFR conversion.

    0mp committed Jul 19, 2016
    Configuration menu
    Copy the full SHA
    825d959 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96f3b28 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    993ed96 View commit details
    Browse the repository at this point in the history
  5. Add support for CRED_DISP.

    0mp committed Jul 19, 2016
    Configuration menu
    Copy the full SHA
    f21d336 View commit details
    Browse the repository at this point in the history
  6. Change move functions to set functions.

    Solves #42.
    0mp committed Jul 19, 2016
    Configuration menu
    Copy the full SHA
    cd497bb View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2016

  1. Fix compliation problems.

    0mp committed Jul 20, 2016
    Configuration menu
    Copy the full SHA
    4660efb View commit details
    Browse the repository at this point in the history
  2. Add a macro, fix a bug.

    - Fix a bug in functions generating text tokens.
    - Add defines to make defining linau_conv_tokens easier.
    0mp committed Jul 20, 2016
    Configuration menu
    Copy the full SHA
    35daedd View commit details
    Browse the repository at this point in the history
  3. Update documentation.

    0mp committed Jul 20, 2016
    Configuration menu
    Copy the full SHA
    3c8f5c3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f45379 View commit details
    Browse the repository at this point in the history
  5. Update test log files.

    0mp committed Jul 20, 2016
    Configuration menu
    Copy the full SHA
    01855db View commit details
    Browse the repository at this point in the history

Commits on Jul 21, 2016

  1. Update fu.

    * Migrate to YAML from JSON.
    0mp committed Jul 21, 2016
    Configuration menu
    Copy the full SHA
    45df36d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b325e52 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f73f261 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    93af1f0 View commit details
    Browse the repository at this point in the history
  5. Update fu. Improve ./fu t.

    0mp committed Jul 21, 2016
    Configuration menu
    Copy the full SHA
    bd5cac7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    11c2ddb View commit details
    Browse the repository at this point in the history
  7. Refactor.

    0mp committed Jul 21, 2016
    Configuration menu
    Copy the full SHA
    b49695e View commit details
    Browse the repository at this point in the history
  8. Add the USER_AUTH test.

    0mp committed Jul 21, 2016
    Configuration menu
    Copy the full SHA
    cbc9fbb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    dbbc2d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2016

  1. Add a TODO file.

    0mp committed Jul 22, 2016
    Configuration menu
    Copy the full SHA
    c97424c View commit details
    Browse the repository at this point in the history
  2. Update docs.

    0mp committed Jul 22, 2016
    Configuration menu
    Copy the full SHA
    88964c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    115f489 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2016

  1. Configuration menu
    Copy the full SHA
    8b686f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    318c264 View commit details
    Browse the repository at this point in the history
  3. Improve line breaks (style).

    0mp committed Jul 26, 2016
    Configuration menu
    Copy the full SHA
    de4f7bb View commit details
    Browse the repository at this point in the history
  4. Perform s/aurecordd/aurd/g.

    0mp committed Jul 26, 2016
    Configuration menu
    Copy the full SHA
    71e845b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    05b7544 View commit details
    Browse the repository at this point in the history
  6. Update docs.

    0mp committed Jul 26, 2016
    Configuration menu
    Copy the full SHA
    b6f1c6e View commit details
    Browse the repository at this point in the history
  7. Add some tests for edge cases.

    0mp committed Jul 26, 2016
    Configuration menu
    Copy the full SHA
    043ddb5 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d0f99f5 View commit details
    Browse the repository at this point in the history
  9. Refactor linau_conv.c.

    * Rename process_an_id_field to process_id_field.
    
     The further adjustments have to wait until a major adjustments of
     the static functions' names.
    
    * Improve the name of the linau_conv_write_text_from_field function.
    0mp committed Jul 26, 2016
    Configuration menu
    Copy the full SHA
    e5e74a0 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2016

  1. Update fu.

    * Add the help message.
    * Refactor the code a little bit.
    * Make the progress bar shirnk if you run fu tsv.
    * Add colors.
    * Extend fu with the ability to generate test cases.
    0mp committed Jul 28, 2016
    Configuration menu
    Copy the full SHA
    19d15b5 View commit details
    Browse the repository at this point in the history
  2. Add support for every record type in the log files so far.

    Additionally:
    - Update docs.
    - Add a todo.
    - Add an additional test for USER_AUTH.
    0mp committed Jul 28, 2016
    Configuration menu
    Copy the full SHA
    4e58944 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2016

  1. Configuration menu
    Copy the full SHA
    a9c55ab View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2016

  1. Add a STYLE file.

    0mp committed Aug 1, 2016
    Configuration menu
    Copy the full SHA
    83af40e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1515d6c View commit details
    Browse the repository at this point in the history
  3. Improve conversion and style.

    Now the the fileds are printed in the desired manner.  Lctokens can only
    write desired tokens - they do not care about invalid fields.  It means
    that lctokens are not in charge of writing invalid and unprocessed
    tokens to the audit record descriptor.
    0mp committed Aug 1, 2016
    Configuration menu
    Copy the full SHA
    f1c0eb2 View commit details
    Browse the repository at this point in the history
  4. Update README.md.

    0mp committed Aug 1, 2016
    Configuration menu
    Copy the full SHA
    ccbf3e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2016

  1. Configuration menu
    Copy the full SHA
    e62bc68 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2016

  1. Improve fu (generating fields).

    0mp committed Aug 3, 2016
    Configuration menu
    Copy the full SHA
    a1a4ead View commit details
    Browse the repository at this point in the history
  2. Support CWD records.

    0mp committed Aug 3, 2016
    Configuration menu
    Copy the full SHA
    1584b14 View commit details
    Browse the repository at this point in the history
  3. Update STYLE.

    0mp committed Aug 3, 2016
    Configuration menu
    Copy the full SHA
    cde17f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    44a737c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    abd20c1 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2016

  1. Update style guide.

    0mp committed Aug 4, 2016
    Configuration menu
    Copy the full SHA
    c2ab5a0 View commit details
    Browse the repository at this point in the history
  2. Add some todos.

    0mp committed Aug 4, 2016
    Configuration menu
    Copy the full SHA
    78a2222 View commit details
    Browse the repository at this point in the history
  3. Improve text formatting in fu.

    0mp committed Aug 4, 2016
    Configuration menu
    Copy the full SHA
    3ba3802 View commit details
    Browse the repository at this point in the history
  4. Update TODO.

    0mp committed Aug 4, 2016
    Configuration menu
    Copy the full SHA
    0d9fdb0 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2016

  1. Add tests.

    0mp committed Aug 8, 2016
    Configuration menu
    Copy the full SHA
    77742d2 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2016

  1. Add a FreeBSD TODO.

    0mp committed Aug 11, 2016
    Configuration menu
    Copy the full SHA
    d6dada5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a67d1d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2016

  1. Extend the linau_conv_field interface.

    Now there is a union inside the linau_conv_field structure.  It could
    be a lcf_validate function like before or a lcf_match function which
    returns an nvlist of matching fields.  The point is that it allows us to
    detect and handle regex fields.
    
    A regex field is a field the name of which is not predefined as it is
    defined with a regex. A regex field is not "a0" while a regex field is
    "a4" for example.
    0mp committed Aug 12, 2016
    Configuration menu
    Copy the full SHA
    21d10f9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e77a1ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bf1e74f View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2016

  1. Configuration menu
    Copy the full SHA
    fdaba71 View commit details
    Browse the repository at this point in the history
  2. Replace string_to_uint32() with an abstraction.

    string_to_uint32 wasn't a good function to use on different systems.
    I introduced a new function instead.
    0mp committed Aug 13, 2016
    Configuration menu
    Copy the full SHA
    7b1207a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ac0d8f4 View commit details
    Browse the repository at this point in the history
  4. Update the TODO file.

    0mp committed Aug 13, 2016
    Configuration menu
    Copy the full SHA
    775d3d6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b153c9c View commit details
    Browse the repository at this point in the history
  6. Fix the issue with a fields.

    I misunderstood the fact that a0, a1, a2 and a3 are SYSCALL only fields
    while a5[2]-like fields are for EXECVE.
    0mp committed Aug 13, 2016
    Configuration menu
    Copy the full SHA
    e044c76 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2016

  1. Improve style.

    0mp committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    c5b192e View commit details
    Browse the repository at this point in the history
  2. Update TODO.

    0mp committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    37a25ef View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    301c116 View commit details
    Browse the repository at this point in the history
  4. Add the exit token to SYSCALL.

    0mp committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    a5c3025 View commit details
    Browse the repository at this point in the history
  5. Improve conversion, comment on event indentifiers.

     - Add a few tokens to some types.
     - Comment on the indentifiers issue (the
       au_event_type_from_linux_event unimplemented function in
       linux_event.c.
    0mp committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    e18edcd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    564a10c View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bc9d167 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dc2911c View commit details
    Browse the repository at this point in the history
  9. Remove an unused function.

    0mp committed Aug 15, 2016
    Configuration menu
    Copy the full SHA
    9452e3c View commit details
    Browse the repository at this point in the history
  10. Merge pull request #45 from 0mp/improve-conversion

    Improve conversion
    0mp authored Aug 15, 2016
    Configuration menu
    Copy the full SHA
    81eaf17 View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2016

  1. Add a style todo.

    0mp committed Aug 21, 2016
    Configuration menu
    Copy the full SHA
    d94c3a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2016

  1. Update the todo list.

    0mp committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    c784358 View commit details
    Browse the repository at this point in the history
  2. Improve style.

    0mp committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    39a7fc2 View commit details
    Browse the repository at this point in the history
  3. Remove old docs.

    0mp committed Aug 22, 2016
    Configuration menu
    Copy the full SHA
    73345f6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bc4d2bf View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2017

  1. Update STYLE.

    0mp committed Feb 23, 2017
    Configuration menu
    Copy the full SHA
    5cc8edf View commit details
    Browse the repository at this point in the history