From owner-soc-status@freebsd.org Mon Jul 6 14:38:28 2020 Return-Path: Delivered-To: soc-status@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 02E8036936C for ; Mon, 6 Jul 2020 14:38:28 +0000 (UTC) (envelope-from ritikagupta1998@gmail.com) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0p8f6k2wz47hp; Mon, 6 Jul 2020 14:38:26 +0000 (UTC) (envelope-from ritikagupta1998@gmail.com) Received: by mail-qt1-f176.google.com with SMTP id w27so6049688qtb.7; Mon, 06 Jul 2020 07:38:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=VaFQEDzazwIErP3KhTIZBr/cLqAMigiaFbKDjvUvhGY=; b=jDmOTiHpoMbn5uQ8bO/Sq2TVNUh916jLUA6wV5ji0KH3uVSnE6XM41euvpTIUuJchK dcrCXBfVQBvzDEx346EmM94Qgfi4ZYKRgIXtZ+qxogDnru2SnGyMUuYlNaGhEoL1nqmb O1DAifzL5r750/wKgcDcSitrNKSXO+BFWg43AUObGwF5NMbKx/yPRcLUJvSpY4zzHIxD HthyorGJIHeOkIdEl4lKDS5WXNr/NaoCjiuYv3bemYtIiTHQIuATwDniAIb4hofqGNUo TAqVIW50D+6/eKrG0qWeOPC3TK4w35JcUZIJ+Mx+GsQh5oy397FQNd0swMY9lmqLCLVi aqnw== X-Gm-Message-State: AOAM533n2mAf6ce20I5dX/aWEOmCMsvZDDQBCe05vVAnFnZftnsQU/lf /RbChrtFv9recWUTxjTLjirYXpNBVU4= X-Google-Smtp-Source: ABdhPJwi8RxKi0EwwspeBho+KmiygXEGwsGIBEiEs51gNq5rGLZ0CWnqxG1lORt66y111zRm84siOQ== X-Received: by 2002:ac8:1b8b:: with SMTP id z11mr37419482qtj.6.1594046305647; Mon, 06 Jul 2020 07:38:25 -0700 (PDT) Received: from mail-yb1-f180.google.com (mail-yb1-f180.google.com. [209.85.219.180]) by smtp.gmail.com with ESMTPSA id g17sm13857502qto.73.2020.07.06.07.38.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Jul 2020 07:38:25 -0700 (PDT) Received: by mail-yb1-f180.google.com with SMTP id p204so15263789ybc.11; Mon, 06 Jul 2020 07:38:25 -0700 (PDT) X-Received: by 2002:a25:808a:: with SMTP id n10mr63786666ybk.434.1594046304801; Mon, 06 Jul 2020 07:38:24 -0700 (PDT) MIME-Version: 1.0 From: Ritika Gupta Date: Mon, 6 Jul 2020 20:08:11 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [ GSoC ' 20 progress] Kernel Dump Regression Testing To: soc-status@freebsd.org X-Rspamd-Queue-Id: 4B0p8f6k2wz47hp X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ritikagupta1998@gmail.com designates 209.85.160.176 as permitted sender) smtp.mailfrom=ritikagupta1998@gmail.com X-Spamd-Result: default: False [-2.16 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-0.91)[-0.905]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-0.95)[-0.949]; NEURAL_HAM_SHORT(-0.30)[-0.302]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.176:from]; FORGED_SENDER(0.30)[ritika.gupta@freebsd.org,ritikagupta1998@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.160.176:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RCVD_TLS_ALL(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ritika.gupta@freebsd.org,ritikagupta1998@gmail.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.33 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, 06 Jul 2020 14:38:28 -0000 Hi everyone, *Project Description-* *https://wiki.freebsd.org/SummerOfCode2020Projects/KernelDumpRegressionTesting * I made the following progress in the past weeks: 1. Tried implementing the script with pytest to improve the current testing mechanism 2. Explored unittest and nose libraries in Python I am currently stuck with implementing my current script using pytest and unittest in the TAP format for getting results of different test cases in a simplified format. I would really appreciate if you can provide some feedback. Thanks and Regards, Ritika Gupta From owner-soc-status@freebsd.org Thu Jul 9 19:34:15 2020 Return-Path: Delivered-To: soc-status@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 40FEB3541B4 for ; Thu, 9 Jul 2020 19:34:15 +0000 (UTC) (envelope-from ankur.kothiwal99@gmail.com) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com [209.85.160.171]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2mZZ2kV7z4WjQ; Thu, 9 Jul 2020 19:34:14 +0000 (UTC) (envelope-from ankur.kothiwal99@gmail.com) Received: by mail-qt1-f171.google.com with SMTP id x62so2611107qtd.3; Thu, 09 Jul 2020 12:34:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=c5tO0gyUFanMZFQxc129B3TDQMzzpjv1WcqadsUZNns=; b=gR8kpc9fc8/bmk0qQlQiJIcGQU+WbmmwxP+NbsQzujBCZ1Kjxc2lefuSHEpX2l7Msz yhb8HW3Gu+LNmEjnW6wk7Tv6Kqiv1iW5a/YvEEJRcPboFwprdxZ09R/sGb24v1OUPMYd nzV1ZWyjkFvgpgpx/H18cIHs3JBnYlh1D7W8XPE9KMsWQLi1FU3bAoqxqIBBVhF1N4lA dwa1yKNwFUgtdqzIxNayAyEh2I9saZmKm+oIPnZ71KH7PJvPFjeEhkT7Lmqf6YoYWtKR u/UcfK7hsVsW8p30zgWzB+H1q2oTJIfgYLBZY/g7Rtz4DOqmXdaR2UW11zcWFUeOkpVn FHvA== X-Gm-Message-State: AOAM532vCph9U4oH7JWyLpF/2NqcW8kbhv1IRHSdlaLij7PYgZ0KQ53V UP8RRHK24UNaZW98rjwDe+kqzeUlGVQ= X-Google-Smtp-Source: ABdhPJyMP/khcNZnd1TV27V6G56fP/Kk3BVhm6Mc08UQgzpJrzx8Jc3j62+oMuFgz6MKhH+GfMu7jg== X-Received: by 2002:ac8:458b:: with SMTP id l11mr6496610qtn.111.1594323253126; Thu, 09 Jul 2020 12:34:13 -0700 (PDT) Received: from mail-qt1-f171.google.com (mail-qt1-f171.google.com. [209.85.160.171]) by smtp.gmail.com with ESMTPSA id o145sm4746841qke.2.2020.07.09.12.34.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jul 2020 12:34:12 -0700 (PDT) Received: by mail-qt1-f171.google.com with SMTP id k18so2576370qtm.10; Thu, 09 Jul 2020 12:34:12 -0700 (PDT) X-Received: by 2002:ac8:4250:: with SMTP id r16mr54202750qtm.378.1594323252380; Thu, 09 Jul 2020 12:34:12 -0700 (PDT) MIME-Version: 1.0 From: Ankur Kothiwal Date: Fri, 10 Jul 2020 01:03:41 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSoC'20 Weekly Update - Week 5] eBPF XDP Hook To: soc-status@freebsd.org, rstone@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4B2mZZ2kV7z4WjQ X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ankurkothiwal99@gmail.com designates 209.85.160.171 as permitted sender) smtp.mailfrom=ankurkothiwal99@gmail.com X-Spamd-Result: default: False [-1.65 / 15.00]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.999]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-0.96)[-0.965]; NEURAL_SPAM_SHORT(0.31)[0.310]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.171:from]; FORGED_SENDER(0.30)[ankur@freebsd.org,ankurkothiwal99@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.160.171:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[ankur@freebsd.org,ankurkothiwal99@gmail.com] X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 09 Jul 2020 19:34:15 -0000 Hi all, Project: Implement eBPF XDP for FreeBSD by extending VirtIO ethernet driver if_vtnet The goal of this project is to extend an existing FreeBSD network driver,VirtIO if_vtnet to be able to call into an eBPF program when processing a newly received packet. The driver will perform the basic actions of XDP like PASS and DROP the packet as specified by the program. The project will also implement new map type and other eBPF helper functions.The aim of this project is to add new probe sites into the kernel that will call eBPF functions. Mentor: Ryan Stone and Hiroki Sato Progress made this week: This week most of the time was spent figuring about how the XDP hook will be implemented using pfil framework and a basic design for implementation was created. Currently I am on: - XDP hook - This week's goal is to create a basic XDP hook. Project GSoC Wiki: https://wiki.freebsd.org/SummerOfCodeIdeas#eBPF_XDP_Hooks Github Repo for the code: https://github.com/rysto32/freebsd/tree/ebpf-import Github repo including the changes made so far: https://github.com/Ankurk99/freebsd/tree/ebpf-import Thank you for reading. Please feel free to share your feedback and suggestions. Thanks and Regards Ankur Kothiwal From owner-soc-status@freebsd.org Thu Jul 9 21:30:16 2020 Return-Path: Delivered-To: soc-status@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1AB8D356C47 for ; Thu, 9 Jul 2020 21:30:16 +0000 (UTC) (envelope-from shubhgupta2104@gmail.com) Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B2q8Q584pz4fRP for ; Thu, 9 Jul 2020 21:30:14 +0000 (UTC) (envelope-from shubhgupta2104@gmail.com) Received: by mail-oi1-f172.google.com with SMTP id r8so3089936oij.5 for ; Thu, 09 Jul 2020 14:30:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=X0wYdhszP1D23y/2il5AgaPZ2a1fh7AEXqf5sgl54Jw=; b=bVkzjKMZActSAfejlUD447CxuRt8AZ1Y/kfRoamjcQEDIh/ATnBM3pLe5cs3mjhPBz jf1b/UQz85eDGuUArsUdju7gS8bqADvXOX1Ej9sNBIitFZ0eXYiR7ERwYVMzOeCa1SOg ZqcN9wqpmli6lCvhFrewdaLqFS9TYUt097CTjzgxEEdkpE9gcpStaq0jAPd1Zoy3G6NC OJSBx7OzH/wDezYR6zWcQuVk4dAoqokZ7bUwS/Vd5MWX3oieM04qyhZNqVFVC70uAJd7 7kXY+FcIN/rWxSon5/JqfIQmmlC1HpoohwAtZe9mhCRge7tfe7qU94tMHtLz/zxJwhKi gjew== X-Gm-Message-State: AOAM531kd7M0lGGomnK4e6q8AEmDwFF3OtB9g3xo0ISbQ5AoI03PU8sG y1SVbCmt6Jfst8Lv0q5PWyW5xSieToA= X-Google-Smtp-Source: ABdhPJwsSIvMnpO+XBJvgTySR0xDlR23WLAEO9rwHvAnF9kc6wX36t2g0p75xZhVS1b/hK35KFLuOQ== X-Received: by 2002:aca:bcd6:: with SMTP id m205mr1827659oif.149.1594330213374; Thu, 09 Jul 2020 14:30:13 -0700 (PDT) Received: from mail-ot1-f54.google.com (mail-ot1-f54.google.com. [209.85.210.54]) by smtp.gmail.com with ESMTPSA id l68sm722253oig.51.2020.07.09.14.30.12 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 09 Jul 2020 14:30:13 -0700 (PDT) Received: by mail-ot1-f54.google.com with SMTP id 5so2718238oty.11 for ; Thu, 09 Jul 2020 14:30:12 -0700 (PDT) X-Received: by 2002:a9d:554d:: with SMTP id h13mr52237361oti.329.1594330212530; Thu, 09 Jul 2020 14:30:12 -0700 (PDT) MIME-Version: 1.0 From: Shubh Gupta Date: Fri, 10 Jul 2020 03:00:01 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [ GSoC ' 20 weekly update ] Capsicumization of the base system To: soc-status@freebsd.org X-Rspamd-Queue-Id: 4B2q8Q584pz4fRP X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shubhgupta2104@gmail.com designates 209.85.167.172 as permitted sender) smtp.mailfrom=shubhgupta2104@gmail.com X-Spamd-Result: default: False [-0.98 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.88)[-0.876]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[freebsd.org]; NEURAL_SPAM_SHORT(0.75)[0.747]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.172:from]; NEURAL_HAM_MEDIUM(-0.85)[-0.851]; FORGED_SENDER(0.30)[shubh@freebsd.org,shubhgupta2104@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.167.172:from]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_NEQ_ENVFROM(0.00)[shubh@freebsd.org,shubhgupta2104@gmail.com]; TO_DOM_EQ_FROM_DOM(0.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 09 Jul 2020 21:30:16 -0000 Hello everyone, This project aims at capsicumizing some of the base system applications. In the past week, I made the following progress: * Fixed warnings for traceroute6 and created a diff(link below) * Created a diff(link below) for capsicumizing traceroute6 * Ensured that the sandboxing code doesn't create any extra warnings and can be committed over the code for removing warnings. What I am working on now: * Capsicumizing fsck_ffs Differentials created * Traceroute6 warnings: https://reviews.freebsd.org/D25603 * Capsicumize traceroute6: https://reviews.freebsd.org/D25604 Project description: https://wiki.freebsd.org/SummerOfCode2020Projects/CapsicumizationOfTheBaseSystem The project source can be found at: https://github.com/ShubhGupta2125/freebsd/ Regards Shubh Gupta From owner-soc-status@freebsd.org Fri Jul 10 04:37:31 2020 Return-Path: Delivered-To: soc-status@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E662835E799 for ; Fri, 10 Jul 2020 04:37:31 +0000 (UTC) (envelope-from shivankgarg98@gmail.com) Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4B30dQ5Z2Dz44q0 for ; Fri, 10 Jul 2020 04:37:30 +0000 (UTC) (envelope-from shivankgarg98@gmail.com) Received: by mail-ed1-x52d.google.com with SMTP id dg28so3572693edb.3 for ; Thu, 09 Jul 2020 21:37:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=4nKCn8/GaJKdHlHmaNfMZDyMLCXxcRYY5pBHdNTLC9o=; b=BZWDcrX0tHJHNSRqBjTyt8yQ/IP25J8dnePjpdckYudHEJp7RCRmdtgYpewKNHbAWl DK135eq+wYUm/IKUnkcddIwdKm+ZzH4RpqIiLx6bwehr4TSBSbBE6PsgjjZAvvaFmJA5 34VnfAkCpVPCS/2ZCB1ZGte3NlSQUeOM99o6swhrPN9eX0YzRv/Jmukeaf7mnFKLCOha KKIWpZ2jHsxDJMJI1GvKya02q9nZ8zPeojy0AQmYkNHKLFsQdN92mvj2hw1cWrSUq/6v UgVRHiT1gFuuDpFKpa9NInJ9Wb17Ihdpl9A4WLQiEcYu2X7C6ZalzUhiBQKsqhw3Lw5Y scLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=4nKCn8/GaJKdHlHmaNfMZDyMLCXxcRYY5pBHdNTLC9o=; b=MJDyxL1WHwZ2PF+NaiwgNXisI5ViYLzynXmCIpZK9rAE4M7kLpuIBkUy8yTheP4sv0 rJ6pSjR0sZdxw0E38ze+fK3dxWDeDv8yC4et/mU4VZR+Kra99jTTlOU3GcBQ9b0hkSXp fYgrPpnP1l5y75ZdGjlwwTihoGb8Rnnrhi7huwZjUWwwJGKcOs0gXj9su/HFQZD1pIZu WmBsDfTIGtA3w9Hn/4h7WmhY402lwDJwYd2T5YDiTmvgFuk1ShX6yN9rF3PvUUwOIycM xwjezlz1p/9kCwCYrgtRdsbPlCojPyb6zxHbIqrEHXMa1kXU8B0Lb3mh1qF99eCBZist IXzQ== X-Gm-Message-State: AOAM5322VG6nQSuRmOtiRHRWEHjvM9ieBPbTIB1EUE8Fqn4WMQaqpKVm a9q868UPKmcAP3KLkHobUfRAkuvYibBiWBUkB5WR2GBhMNk= X-Google-Smtp-Source: ABdhPJwCb+fit7ZKbbTlPFZ9GiwP5ICZxPwfHHUcKTzkE0nEKpLHw4mxW4Ql+MmXNeJ5Cb+5iwyVXatXsWcTcbgSFp8= X-Received: by 2002:aa7:d50d:: with SMTP id y13mr75208966edq.230.1594355848665; Thu, 09 Jul 2020 21:37:28 -0700 (PDT) MIME-Version: 1.0 From: Shivank Garg Date: Fri, 10 Jul 2020 10:07:12 +0530 Message-ID: Subject: [GSoC'20 Weekly Update] Adding audit(4) support to NFS To: soc-status@freebsd.org X-Rspamd-Queue-Id: 4B30dQ5Z2Dz44q0 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=BZWDcrX0; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of shivankgarg98@gmail.com designates 2a00:1450:4864:20::52d as permitted sender) smtp.mailfrom=shivankgarg98@gmail.com X-Spamd-Result: default: False [-3.33 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.981]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.03)[-1.034]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52d:from]; NEURAL_HAM_SHORT(-0.31)[-0.313]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.33 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: Fri, 10 Jul 2020 04:37:32 -0000 Hi, This project aims to add audit(4) support to NFS, which will allow auditd(8) to just run on the NFS server and audit all activities within the NFS network. Audit works mostly on the syscall level and NFS is implemented within the kernel, which means the NFS RPCs don't generate any audit records on the server. Note that audit(4) can still be used on the NFS network but auditd(8) must run on every NFS client. This week I made the following progress: * add VNODE and UPATH tokens to NFSv3 RPCs and debugged issues related to it. * Read libnfs code and APIs for writing tests * Experimented with libnfs-raw APIs. Currently, I'm: * Writing tests with libnfs-raw APIs and Kyua-ATF. Please, do Check this project on Github: https://github.com/shivankgarg98/freebsd/tree/user/shivank/nfs_audit Project wiki: https://wiki.freebsd.org/SummerOfCode2020Projects/AddAuditSupportToNFS Please feel free to share your ideas and feedback on this project. Best Regards, Shivank Garg