From owner-soc-status@freebsd.org Mon Jun 27 20:42:32 2016 Return-Path: Delivered-To: soc-status@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F4CDB8530D for ; Mon, 27 Jun 2016 20:42:32 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com [209.85.215.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2230E25C4; Mon, 27 Jun 2016 20:42:31 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-f41.google.com with SMTP id l188so163226550lfe.2; Mon, 27 Jun 2016 13:42:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:date:message-id:cc:to:mime-version; bh=gSqz75E2i1/ZTI//GYZOW9XL0NGpvgc81CE13zNBfEs=; b=kMPAAm0BBkD6y+qDXLR5d3np3i1qhV/VxDWSozo8PD33gTZ1YpO7dUwEuM5gHzcsaa iAWGXSbLpqtZZDA+XJ7b5Vxv2v1DPR1PzlVHhS1YHci8C0WUTLeY6J2bqD9MWv4v7VWU +NDxeQmaTOxdJqYDhyTyEhMcAMRABksrvimBMyOxTY+DJKrKi1/px7VCU2CNX5xwB40r PWHUJrP285tvuVtNvkJAP70YO2IJMgyyzy2A0oKWNc017L5Ukg3Rosu2Nr9aLFyEvyPz b4198LiErGAulmKHzltDwhQKQ4Jfo2ZemPUFd/65wDvTXpcUoAKXedf2uueR5bDj+HoM Uf4Q== X-Gm-Message-State: ALyK8tL9m1C1dSgg2D5KLQ4JrhAbeXUW/Mst8iqxvAYVIwlJmh0qczS4RM7FCO6KXbtWWg== X-Received: by 10.25.19.211 with SMTP id 80mr851855lft.147.1467060143601; Mon, 27 Jun 2016 13:42:23 -0700 (PDT) Received: from [192.168.0.15] (87-207-152-10.dynamic.chello.pl. [87.207.152.10]) by smtp.gmail.com with ESMTPSA id e65sm3392650lji.30.2016.06.27.13.42.22 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 27 Jun 2016 13:42:22 -0700 (PDT) From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: Week 5 / Non-BSM to BSM Conversion Tools / Date: Mon, 27 Jun 2016 22:42:24 +0200 Message-Id: <5DA9F33B-A84A-4473-9488-01E276EA3387@FreeBSD.org> To: soc-status@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2016 20:42:32 -0000 Hi, This week I=E2=80=99ve finally finished my exams and had some time to = focus on my project. I=E2=80=99ve started to implement a tool / library which will parse = Linux Audit logs and convert them to a BSM log file. For the time being I do not focus on any mapping between the Linux Audit = format and the BSM format. A Linux Audit log is made of events. An event is made of records. A = record is made of a type, a timestamp, an id and some other records = fields. A BSM record (which is made of tokens) is more or less a Linux = Audit event. Most of the information stored in the Linux Audit event=E2=80= =99s records can be more or less translated to tokens in a BSM record. = At the moment I am not implement the conversion from Linux Audit records = to BSM tokens; the records are parsed and the data is stored inside the = BSM text tokens. I plan to finish this part during the following week.=20= You can check out my latest branch: [2]. My main branch is here: [1]. Cheers! -Mateusz PS https://media.giphy.com/media/wJEeKGplvQwr6/giphy.gif = [1]: https://github.com/0mp/freebsd/pull/9 = [2]: https://github.com/0mp/freebsd/pull/16 = =