From owner-soc-status@freebsd.org Mon Jul 20 06:53:24 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 3C4FB373DFD for ; Mon, 20 Jul 2020 06:53:24 +0000 (UTC) (envelope-from denis.sale@gmail.com) Received: from mail-lj1-f176.google.com (mail-lj1-f176.google.com [209.85.208.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 4B9C9b2k1lz4Xk9 for ; Mon, 20 Jul 2020 06:53:23 +0000 (UTC) (envelope-from denis.sale@gmail.com) Received: by mail-lj1-f176.google.com with SMTP id b25so18989135ljp.6 for ; Sun, 19 Jul 2020 23:53:23 -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=+K2upV+Q9o45E6pgKDxczCONPmtaL4YSGdjD0jLYsG0=; b=ggysU5SttipHalRgHHpQDhCOo6XzFpvGAcCqzhb4H51YHQYJUMoGYGHe4wNLGKzlq1 8BEWc3xbc9rDpTrWlqkEOM+Nu535tUBlX/Zkh1F59A8BNm2/7dgYGANAuNCMIqBAOpby wg6uNOVog5Lc/tqkDqtOwuLy2VrgnbM1pjG8ism9ofev8WFTTWZUO7hTjZs+OpzqfIcS HrqBmkUXeuhDaYCgvC7XpogIHoFon+dZIWjU/T2tCrd6NIlc7ybTS4QubIK6cwrVQtAi 0QLj3jF9JOzJqQjOYBmeGon7ZUaVOu1SeaLAcEjcIkGw/82z/6qESt2FSHNUbrQtS+J4 GUZg== X-Gm-Message-State: AOAM530BU5xP8OBY8IucrTcI19AfaAzZjnQQUpsnwlYNFl4r6cAo0nT1 BYYSmwYlvxfztkrYzTYyewg7HpwtDgc= X-Google-Smtp-Source: ABdhPJy/llnj3KkCvodcTvGYDzi8E0k4whpRBJWAaff2l9Da3i4zhZbPQJZoP8WQ3bVEWjRsm6lhVg== X-Received: by 2002:a2e:9996:: with SMTP id w22mr10621454lji.446.1595228001095; Sun, 19 Jul 2020 23:53:21 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id y13sm3051917ljd.20.2020.07.19.23.53.20 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jul 2020 23:53:20 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id e4so19011912ljn.4 for ; Sun, 19 Jul 2020 23:53:20 -0700 (PDT) X-Received: by 2002:a2e:b4cd:: with SMTP id r13mr9010572ljm.249.1595228000257; Sun, 19 Jul 2020 23:53:20 -0700 (PDT) MIME-Version: 1.0 From: Denis Salopek Date: Mon, 20 Jul 2020 08:53:21 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSoC'20 Update] NetFPGA SUME reference NIC device driver To: soc-status@freebsd.org X-Rspamd-Queue-Id: 4B9C9b2k1lz4Xk9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of denissale@gmail.com designates 209.85.208.176 as permitted sender) smtp.mailfrom=denissale@gmail.com X-Spamd-Result: default: False [-1.43 / 15.00]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(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]; PREVIOUSLY_DELIVERED(0.00)[soc-status@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.59)[-0.588]; RCVD_COUNT_THREE(0.00)[4]; ARC_NA(0.00)[]; NEURAL_HAM_SHORT(-0.39)[-0.387]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.176:from]; NEURAL_HAM_MEDIUM(-0.46)[-0.456]; FORGED_SENDER(0.30)[denissal@freebsd.org,denissale@gmail.com]; DMARC_NA(0.00)[freebsd.org]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.176: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]; FROM_NEQ_ENVFROM(0.00)[denissal@freebsd.org,denissale@gmail.com]; TAGGED_FROM(0.00)[]; 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: Mon, 20 Jul 2020 06:53:24 -0000 Hi everyone! What was done: - Improved locking mechanisms for RX / TX. In RX path, we release the lock before giving the mbuf to the OS. In TX path, we dequeue the packet before acquiring the lock and sending the packet to hardware. - Removed additional mutexes for control / status register read / write in order to synchronize its locking with the rest of the code. - It is now possible to set the interfaces' MTU. The hardware does not permit frames over 1514 bytes, so it's not possible to set IFCAP_VLAN_MTU capability on the interfaces. - Added sysctl software packet counters. - Enabled padding for smaller packets. - Cleaned the code to better match the style(9) guidelines. TODO: - The detach function is not safe, this needs to be revisited (panics when unloading module if tcpdump is listening on the interface, or if we're in the middle of RX / TX path). - Benchmark the driver on FreeBSD 11.4, 12.1 and CURRENT. - Write a manual page. Project github with more details: https://github.com/denisSal/freebsd-sume Regards, Denis Salopek From owner-soc-status@freebsd.org Tue Jul 21 17:36:38 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 5E868362FA0 for ; Tue, 21 Jul 2020 17:36:38 +0000 (UTC) (envelope-from shivankgarg98@gmail.com) Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) (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 4BB5PJ667Lz40X9; Tue, 21 Jul 2020 17:36:36 +0000 (UTC) (envelope-from shivankgarg98@gmail.com) Received: by mail-ej1-f49.google.com with SMTP id f12so22424712eja.9; Tue, 21 Jul 2020 10:36:36 -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=Jyhlw7KUH89m953TkPdVv1I7hEvqE9fgbeVbjr8wJ4A=; b=APNfg0dm0ddY2F+v3YMTiSk9ueM7QGc+33pvMPjmTvEeTjAtGgPyQurXGZQhk3pJ9y HHgf1f7sWSf4zGnb7VnpL1ihKd6ydsSGvu4RYqJcpcl4D4YPn1Qcdj7uN1Y9Re9++mYr 0Bf8CDMEF1lBLGV7ZRPonoRUeFbEVeYpNiyqyaDt1I8PAwhTKQKiI18+g7a4Ycf6Mdb3 Yjv6nrF+TA0UPA+uZS4edgQyxhFQ1XZsWgwMrtJaP5Ubl2P0mW/LJN8tA211eS9cfQBd SNut/hnKrK7FqWlK+S0vv49yhTOZJYskp1DzwTFEYHdB/U+IzWqKLZAbL70wnd6MtvC6 anBQ== X-Gm-Message-State: AOAM532T9AqmOiGECYmbP/pdm3xFdoksPB7rVPLtpzWB3JB3uLeiNunY Y2jDJf6GUIb1HCpi6X3wG4a7FqBCmRI= X-Google-Smtp-Source: ABdhPJyqfOHyukiKFO0cJ4M72PvnXLKVYm/Jov7O4GHU2XkSvM7RuUWnHC7g2a/7H2I1lx77lQUKYg== X-Received: by 2002:a17:906:17c1:: with SMTP id u1mr17276358eje.536.1595352995056; Tue, 21 Jul 2020 10:36:35 -0700 (PDT) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com. [209.85.218.47]) by smtp.gmail.com with ESMTPSA id dg8sm17998254edb.56.2020.07.21.10.36.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jul 2020 10:36:34 -0700 (PDT) Received: by mail-ej1-f47.google.com with SMTP id y10so22473722eje.1; Tue, 21 Jul 2020 10:36:34 -0700 (PDT) X-Received: by 2002:a17:907:20b4:: with SMTP id pw20mr27342623ejb.225.1595352994500; Tue, 21 Jul 2020 10:36:34 -0700 (PDT) MIME-Version: 1.0 From: Shivank Garg Date: Tue, 21 Jul 2020 23:06:12 +0530 X-Gmail-Original-Message-ID: Message-ID: Subject: [GSoC'20 Weekly Update] Adding audit(4) support to NFS To: soc-status@freebsd.org Cc: Alan Somers X-Rspamd-Queue-Id: 4BB5PJ667Lz40X9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shivankgarg98@gmail.com designates 209.85.218.49 as permitted sender) smtp.mailfrom=shivankgarg98@gmail.com X-Spamd-Result: default: False [-1.54 / 15.00]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; 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.97)[-0.966]; RWL_MAILSPIKE_GOOD(0.00)[209.85.218.49:from]; NEURAL_SPAM_SHORT(0.11)[0.113]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-0.69)[-0.686]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.218.49:from]; FORGED_SENDER(0.30)[shivank@freebsd.org,shivankgarg98@gmail.com]; 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]; FROM_NEQ_ENVFROM(0.00)[shivank@freebsd.org,shivankgarg98@gmail.com]; FREEMAIL_ENVFROM(0.00)[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: Tue, 21 Jul 2020 17:36:38 -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: * This week I completed the NFSAuditTestSuite for auditing all NFSv3 RPCs. * NFSAuditTestSuite: https://github.com/shivankgarg98/NFSAuditTestSuite Currently, I'm: * improving the NFSv3 audit code in /sys for plausible bugs and making it ready for the review. 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 From owner-soc-status@freebsd.org Wed Jul 22 11:57:02 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 7637637A327 for ; Wed, 22 Jul 2020 11:57:02 +0000 (UTC) (envelope-from ritikagupta1998@gmail.com) Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (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 4BBYq14xbMz44xQ; Wed, 22 Jul 2020 11:57:01 +0000 (UTC) (envelope-from ritikagupta1998@gmail.com) Received: by mail-qt1-f177.google.com with SMTP id b25so1580052qto.2; Wed, 22 Jul 2020 04:57:01 -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=vAq1FWv8TLhBX7UGn5cE2L8Kp/Yhl+qiTf6od/RWjW4=; b=n+KFkoWuZRjhoBThVZA1sa8NAsbxYi0rUSSuS/omCTtOZwlZOD9vXx5ZD7xeFDmZ3y OVUaDi42wgJa1YRmf71eKOY+a8F3+EZojVSd+2F17VFeqkE0VBawnqPmUZTtVVirLzVa 2zEwCiw2mPQaO3iISdi9gbTAKDNPP2jc3qZ4Q8HCs2OLmytriZiJnJlvyHGtZfpkdJu4 VbXI2ewEkMDwBBRdrRrilovqX5JqzkevlAZJXHtkbeHyn91qbdHmVIy1R+tdX8hUCNH/ SE9RshQXxjT4PY3ZUxScZpzJXhN62mH9G9FdoOTeMPYW0fBdZ1LNo81UQxJWfIxjluhx CJxw== X-Gm-Message-State: AOAM531Lr8nbvnb1RSjmTpGbP2w0yziLO/JBLAoayix6Mfp9zJYkGixA 4obGuoxiWDOFmnpS9OugLvmqm2zfGww= X-Google-Smtp-Source: ABdhPJwsCn5hQTlAHDGAeQcldDKCu0f5qrrdl2qPHI5OUR6ITqbKFaPDO2K6R3SkGMHadmKPdlO1eg== X-Received: by 2002:ac8:7208:: with SMTP id a8mr35244975qtp.355.1595419020566; Wed, 22 Jul 2020 04:57:00 -0700 (PDT) Received: from mail-yb1-f181.google.com (mail-yb1-f181.google.com. [209.85.219.181]) by smtp.gmail.com with ESMTPSA id g136sm4873343qke.82.2020.07.22.04.57.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Jul 2020 04:57:00 -0700 (PDT) Received: by mail-yb1-f181.google.com with SMTP id x9so881055ybd.4; Wed, 22 Jul 2020 04:57:00 -0700 (PDT) X-Received: by 2002:a25:7:: with SMTP id 7mr49454905yba.434.1595419020138; Wed, 22 Jul 2020 04:57:00 -0700 (PDT) MIME-Version: 1.0 From: Ritika Gupta Date: Wed, 22 Jul 2020 17:26:47 +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: 4BBYq14xbMz44xQ 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.177 as permitted sender) smtp.mailfrom=ritikagupta1998@gmail.com X-Spamd-Result: default: False [-2.21 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(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]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-0.998]; RWL_MAILSPIKE_GOOD(0.00)[209.85.160.177:from]; RCVD_COUNT_THREE(0.00)[4]; NEURAL_HAM_MEDIUM(-0.88)[-0.883]; NEURAL_HAM_SHORT(-0.33)[-0.327]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.160.177:from]; FORGED_SENDER(0.30)[ritika.gupta@freebsd.org,ritikagupta1998@gmail.com]; 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]; FROM_NEQ_ENVFROM(0.00)[ritika.gupta@freebsd.org,ritikagupta1998@gmail.com]; FREEMAIL_ENVFROM(0.00)[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: Wed, 22 Jul 2020 11:57:02 -0000 Hi everyone, *Project Description-* *https://wiki.freebsd.org/SummerOfCode2020Projects/KernelDumpRegressionTesting * I made the following progress in the past weeks: 1. Completed the test - suite script with output in TAP (Test Anything Protocol) format 2. Tried testing configuration variables like different block devices and sector sizes manually. I am currently adding a few more configuration variables to it and testing my script creating the log file with all the possible combinations of test cases. Please feel free to share your ideas and feedback on this project. Thanks and Regards, Ritika Gupta