From owner-soc-status@freebsd.org Thu Sep 7 00:26:53 2017 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 26A50E1F86C for ; Thu, 7 Sep 2017 00:26:53 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from forward104o.mail.yandex.net (forward104o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::607]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Yandex CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9EC1E6B3C0 for ; Thu, 7 Sep 2017 00:26:52 +0000 (UTC) (envelope-from paggas1@yandex.com) Received: from mxback8g.mail.yandex.net (mxback8g.mail.yandex.net [IPv6:2a02:6b8:0:1472:2741:0:8b7:169]) by forward104o.mail.yandex.net (Yandex) with ESMTP id 40B222C86237 for ; Thu, 7 Sep 2017 03:26:49 +0300 (MSK) Received: from smtp3o.mail.yandex.net (smtp3o.mail.yandex.net [2a02:6b8:0:1a2d::27]) by mxback8g.mail.yandex.net (nwsmtp/Yandex) with ESMTP id mU5CTtl6QG-QnZ4oCGC; Thu, 07 Sep 2017 03:26:49 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1504744009; bh=ZCbnx8q2PoA7OLJXMpl5fAOYuKZf2ywDolz/utfQru0=; h=To:From:Subject:Message-ID:Date; b=SXlEsr2uDUsAWVaMt5lScNj2N+QE6QCeU/Qrt4n01mEh7CSgfTFboINJcVlc/2AdZ KzB+7Vlzl4sr5h2acfws3Hdby6KNorG3VwkkjTqjsJu2an46aQWoJq2a0RhIgriK/5 EKiMfPzLqR/UWykIwDO+7sDqjaIlce5Y+7soxNpM= Received: by smtp3o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id r4OmJN8hyh-QmDG91Qe; Thu, 07 Sep 2017 03:26:48 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1504744008; bh=ZCbnx8q2PoA7OLJXMpl5fAOYuKZf2ywDolz/utfQru0=; h=To:From:Subject:Message-ID:Date; b=Yr3+5ZsxRYmC+SrDMkEN0qOqf4LXIS74pEOOvkDXFnyGHjrKGaJyiaLuV7nxLrdNe YUiIq9tThhrdtAkDOkUZV8ErK/yRBj39FGl3ELuwo2OmXoNwsjGqgwsnAlhArug753 daQrMD7Kk3IfkhOsPT8RSSt9+IOMqqibm+C7V0LE= Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.com To: soc-status@freebsd.org From: Panagiotes Mousikides Subject: GSoC status: PF testing, weeks 8-14 Message-ID: <39f22794-934d-02e0-8a77-f8d459bc8567@yandex.com> Date: Thu, 7 Sep 2017 00:26:47 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 MIME-Version: 1.0 Content-Language: en-US Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.23 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, 07 Sep 2017 00:26:53 -0000 Hello everybody! Communication has not been so good for July and August, but here is what has happened since the last update on 2017-07-09. The pfctl tests have now been committed to FreeBSD and are part of the FreeBSD test suite. If you ever install from source and run the tests, our tests will now be part of that! A lot of work has also been put into the kernel pf tests. The approach chosen was to spin up virtual machines and run the tests there. For those of you that read the last status update, the approach followed was no. 2, using tap(4). The tests create a disk image and install a complete FreeBSD instance on it. The image is then cloned for each test for the number of virtual machines needed, with custom configuration for networking as needed. A test script is run that runs various commands on the virtual machines, according to the needs of the test. An important tool used for the tests is scapy, which exists as a binary package in FreeBSD. This tool, written in Python, is perfectly suited for generating and analyzing network traffic, and has been invaluable in implementing these tests. Have a look at our previous status updates at the soc-status@freebsd.org mailing list, as well as our FreeBSD Wiki page at https://wiki.freebsd.org/SummerOfCode2017/PfTesting, with links to the GitHub repository as well as the review patches. Best regards, Panagiotes