From owner-soc-status@freebsd.org Sun May 29 20:33: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 EABD5B54633 for ; Sun, 29 May 2016 20:33:32 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: from mail-lf0-x22a.google.com (mail-lf0-x22a.google.com [IPv6:2a00:1450:4010:c07::22a]) (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 7EAB11FE1 for ; Sun, 29 May 2016 20:33:29 +0000 (UTC) (envelope-from starak.adam@gmail.com) Received: by mail-lf0-x22a.google.com with SMTP id s64so40952696lfe.0 for ; Sun, 29 May 2016 13:33:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=Aa/BsY0UqAXMcdpdytepp2F+RxMQZYlHxDjNRUi1fYg=; b=xpp3SkYJqh99AZ8zVagGG/c/mttH+ksMP3nznhlYz3/iyo+l7CUHLIs3PCNOnmRIED aFdF7Z1QonQsWE7i+SubE8PnVfi7/dNK9H3KBEYNmb4CVu5vWEOOKqRMepANJRZh6Vc2 uC0WEI9zlCWWMxtKoGUuBcCid964hUb9gZsmj2/JGTlxRjKIny2e/+N+LfiNm6GHy0UQ NipsYaIcUsIzx2ReVAMapNHGwKPg76pZWg2KcIUmSbOkwNI0yqes0ObISwCayro+TTjf Ts4rTk6SAW5fbC4JS6lfXOqIAhjp3VkTI0EdGioaXxbqo/eKnIltJv/ySWF6HjVXvGfT rZUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=Aa/BsY0UqAXMcdpdytepp2F+RxMQZYlHxDjNRUi1fYg=; b=RidJZqgQ1a/EVnuUjlFjsfCERm0NpLBQ0sU71blsi6sbPW+esbFvPClys8O70x5S+y GrCs41OG/JJp4nb0ZHoS8rIF9ZthFluAcUWmk1Beabf5IXe6j2uJIX1eP19ynNqO3xOR 0fEFEkoXEfn8+koU5FEm/vVuxSm+MEBP/0XTI6clWs78z8d/MDUiFcIzlZR8aJsElWFs Cf9r46mnMTSAd7cVbNRyNPsIJFrxtrPWhIzYcuhCiqJ+fy5oHX5I3jdZewv/ZwSpfoDq l9LUn9bPAwckHvFijmOMcGIpljAZz3/0NpdF1WJUzH/mvSbLrR2B8kaL5t9PVQvrpVKV J0tg== X-Gm-Message-State: ALyK8tIkhgmgSp4X9Wp6RQPmMEnEtBIpk75RYPnXMUIyzwk3Ergb6DuM/UeMAwkIOqzxfGOxWBGnQudFDOXxtg== MIME-Version: 1.0 X-Received: by 10.46.9.129 with SMTP id 123mr4667734ljj.1.1464554007058; Sun, 29 May 2016 13:33:27 -0700 (PDT) Received: by 10.25.20.92 with HTTP; Sun, 29 May 2016 13:33:27 -0700 (PDT) Date: Sun, 29 May 2016 22:33:27 +0200 Message-ID: Subject: GSOC 1 week From: Adam Starak To: soc-status@FreeBSD.org Content-Type: text/plain; charset=UTF-8 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: Sun, 29 May 2016 20:33:33 -0000 Hi! The first week of GSOC has just finished for me. I created FreeBSD wiki page and started implementing my first milestone which is cnv api (cookie nvlist)! I'm looking forward to finish my first milestone next week! Best Regards, Adam From owner-soc-status@freebsd.org Mon May 30 08:22:16 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 1BB17B4EEB1 for ; Mon, 30 May 2016 08:22:16 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (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 D92491E1C for ; Mon, 30 May 2016 08:22:15 +0000 (UTC) (envelope-from v.maffione@gmail.com) Received: by mail-oi0-x22a.google.com with SMTP id j1so259200741oih.3 for ; Mon, 30 May 2016 01:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to; bh=wfxecPDjpoh+wOryDA8RGY1WrWrBahoArwG1IBfJw2s=; b=GzmuypOkgox0zp2KSEMi9MQENjQf456vpUKZyDN3H/LerpExi1x6EbF2weM8FvLyiB VbKBg3526fgq42+1q//JDcx/nqrudLIE+n5Ede8QWertwccWbHNqQQDWg+Z4QXp8b+gi SCWFFIqYMvvjbql/F8xGZ0906d7M4sRxGtm2sWgEwwMoJvQ1HvWLd4t3v6a1se3bDcfI x+8A8suOXm/fbDnFAgdzzqbOChnJR91MDsxwYle+QQn2fSvbOJcRmnPUhOa4ItXN2j3z qCpWneyPrGHdRzNxh65juJrZUO+I5QI/4vZXv8wu+dJ7GplCZ7pWD7qcPrrAjCYjzzsv 4h2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to; bh=wfxecPDjpoh+wOryDA8RGY1WrWrBahoArwG1IBfJw2s=; b=JLt+1FkLcSh44oMI/EIp55t0W6VetfmgF9IgUaCXbyGg0k30jRctukGVi7Y9Kw2fi1 4BxE2f1T+HQFwxg57kIdXRpXurhYU+pQ85Bu6HOYcw1AjG/yavLudl2Vc84fMXKHe9lh PQ1/7inRc2NF9WjWs00OpeMQ07vCPAJHu92CRTSau4wluu+qf80LJOTE5WFM1sjXTOOE riswa7PM611+1SJV+op0q4AYjRO6jOoNiKmH72TZy+HMKmLafrQwRUSH+3GK0QY5L0/2 y/bm56SAHh0wr39Q4+zJtBwGgO/xF24qvhZGUpISHO4ez+WXu668d0TV2yded8nU7bkd x50g== X-Gm-Message-State: ALyK8tKTOfr31JzVqS0YZ5bkyFfS37PbA9nBYrEUq17Cg7hG607EEJ1Mjns9vlwMUanXG1dUTKIoIo5hgckceA== MIME-Version: 1.0 X-Received: by 10.202.232.194 with SMTP id f185mr17630857oih.168.1464596535226; Mon, 30 May 2016 01:22:15 -0700 (PDT) Received: by 10.157.29.105 with HTTP; Mon, 30 May 2016 01:22:15 -0700 (PDT) Date: Mon, 30 May 2016 10:22:15 +0200 Message-ID: Subject: High-performance TCP/IP networking for bhyve VMs using netmap passthrough From: Vincenzo Maffione To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 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, 30 May 2016 08:22:16 -0000 Hello Project summary ================= ptnet is a new multi-queue paravirtualized device that builds on ptnetmap to allow VMs to exchange TCP traffic at 20 Gbps, while still offering the same ptnetmap performance (10-100 Mpps) to native netmap applications. The purpose of this SOC project is to write a ptnet driver for FreeBSD and a corresponding device model for the bhyve hypervisor. Status update for week 1 =================== I've studied the structure of a freebsd PCI NIC driver and implemented the basic device methods for ptnet (device probe attach, detach), including device capabilities discovery, ethernet interface initialization and MSI-X interrupt service routine setup. Links: Project wiki page: https://wiki.freebsd.org/SummerOfCode2016/PtnetDriverAndDeviceModel Code: https://svnweb.freebsd.org/socsvn/soc2016/vincenzo/head/sys/dev/netmap/if_ptnet.c?view=markup Best Regards, Vincenzo Maffione From owner-soc-status@freebsd.org Mon May 30 08:40:17 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 D9DB2B5329A for ; Mon, 30 May 2016 08:40:17 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 8209414C0 for ; Mon, 30 May 2016 08:40:17 +0000 (UTC) (envelope-from y.iozzelli@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id z87so62286666wmh.0 for ; Mon, 30 May 2016 01:40:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=rGXCaDslSYtOCUH3Ioq1mmGwd7TzOaafsBtQEN0SWDo=; b=t8I5JdYaPjBdCIZxNTYSTRt2e1P29qL9LZX+g0cwbZC7HUgYTLaZ8U/bXrv6Vhbnlb HSqvIYzikbs9tD0pckqaQ/CZsaXs/IUJgQOdhLFl68feEAQvczKAZ22rs940RvH1U/io 9SPIYn+Ho+FtcLY7MQEpAIn7stkOAvmz1CzMeCKvFTnkjF4sabvjbC0kNSyL4M2q2HUB t8qE55D/jiDp/TWDLdZZjne1j+x4Pd19J+os/9u2RY9skbMrO3lv+Ornt6AhFVxvT3zQ DlTgjRhxGtw+9AinQeWEOTS/YZs+r9XhLf+j8RECxA1AAHCVP/NCumicDZsIYfugQ0Cm C0Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=rGXCaDslSYtOCUH3Ioq1mmGwd7TzOaafsBtQEN0SWDo=; b=lXffw/sQFajVZzbdKEvJJL3aadNg+4Qpyp0CfkMDbTgFjkIfADuRMGu6q3uyn3o75u 1OvLDRx/2iS0fwry26LBxzM5sf02zJNfZVhhetLc3wRp/OOwXGssp0y1/L4D77wj6zE7 9c8VuvzoFLTiBpoUM5ka6qnePu0R7pDazvs8dQYQjEpByPMmGqD1y28Z3b9wQCltU51c 3eFsIqv+ce2D1AdT6n9YK2X19JnEWCrZ94dv9JjC3BctpQz/5J4PEGtIgysaUyj+5tZ4 Mh65hzmfR8rjrjnCO1rBffmaMfz1p0PzvQDFQI1u2zS7S/g+Vuh0NlOSBl5MUOhX8ovs AvSw== X-Gm-Message-State: ALyK8tK2fsdB4XHIjzIZA/KnHXfxqTzatw4Kn3NSFkrQm3py/h+a/jc3uqZs5aR5nWl0HrzQWqDM0JGoJLp6+Q== MIME-Version: 1.0 X-Received: by 10.28.20.139 with SMTP id 133mr737828wmu.19.1464597615773; Mon, 30 May 2016 01:40:15 -0700 (PDT) Received: by 10.28.17.15 with HTTP; Mon, 30 May 2016 01:40:15 -0700 (PDT) In-Reply-To: References: Date: Mon, 30 May 2016 10:40:15 +0200 Message-ID: Subject: Fwd: High Performance P4 Software Switch - Week 1 From: Yuri Iozzelli To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 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, 30 May 2016 08:40:17 -0000 Hi Project summary ======================== In this project I would like to implement a modified version of the reference p4 (http://p4.org) switch on FreeBSD, which uses netmap for faster packet I/O: the goal would be reaching the 1 Mpps order-of-magnitude speed (current reference implementation is limited to 150 Kpps for a simple l2 switch with 2 hosts). Week 1 ============================================================== All the dependencies are available on FreeBSD, but the software does not compile due to the lack of support for non-POD thread_local variables in clang (only on freeBSD, in linux it works). Relevant bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192320#c2 I looked at glibc implementation (explained here: https://sourceware.org/glibc/wiki/Destructor%20support%20for%20thread_local%20variables), and decided that for my case I don't need to implement support for dynamic libraries unloading, but just make sure that destructors are called at thread exit. The code now compiles, but it crashes at runtime. I am not sure it is because of my implementation of this function, because when the crash occurs no thread has exited yet. I also fixed a bug in the original code (pull request: https://github.com/p4lang/behavioral-model/pull/133). Links: Wiki page: https://wiki.freebsd.org/SummerOfCode2016/HighPerformanceP4SoftwareSwitch#preview Code (gsoc-* brances): https://github.com/zarghul/behavioral-model Regards, Yuri Iozzelli From owner-soc-status@freebsd.org Mon May 30 12:36:18 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 DA4A7B517A3 for ; Mon, 30 May 2016 12:36:18 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lf0-x234.google.com (mail-lf0-x234.google.com [IPv6:2a00:1450:4010:c07::234]) (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 4E15B115B; Mon, 30 May 2016 12:36:18 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lf0-x234.google.com with SMTP id w16so59569170lfd.2; Mon, 30 May 2016 05:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:date:message-id:cc:to:mime-version; bh=R0UkCcvKPMXOnGnNo6fiEYe8xf4JZvH7GmdMjo49lK4=; b=Enblj0ve79beMzIyWtet8q22DluJkDpfAWR4RzgJF6RVS7jIqH6lklFvgIeCZengzp 15feXnr+SlEGr506+p7FPXtaJUFIc8YC8kc0yKsq3iAvBxQ2uSthl6xNPlxIIzU9lHK8 q/Gu5sqajGbIejx7KnL+2K442aojHEKUoT3+KXAOXa75mJvT6GeZe/7ASnxcnGf3xNAd NVIUvrok3jzCqW0HE9K6yywwn0neEWSdKuZPZwS6bDZje05JgO4Qdu4wWltJma6MeRF2 /53aRjbvTg0L+sG955dUPY5FswaH5ioD37g1bNO3MmYUPifYDZPygAOe/KpHduJ0Vs89 lhBQ== 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=R0UkCcvKPMXOnGnNo6fiEYe8xf4JZvH7GmdMjo49lK4=; b=EQz6CdHjgmQTGBrIRaW2gPVlOAYVsVoH527diavPZXiX5aeyOIyQ28Jns7Z4ST8H4a OqMuFYgsxk4x24WnYQLnid099acimRIJq+kd/TOPM7rFV8wDy8yNB8cuOpH/EW79RPJD 3/SKJIQ4/GaAAiN2w30H00SasEZdIAYEy9uX9RSxlDtCnVo9DWZSiVVWEmkSwpHdoFET KvLWO3MEeZiYJgg15SCFxGqglZA8aZnVf9FWI+usCLOfjD/5b+6ETmsbpANU+uCWVVkW W8314IeIaOpQpAYGuOphfS6iVTvpFqOq6RBDLAnnv1ANrNURyk95XQqHYKXaB/nC/RDl YZ/w== X-Gm-Message-State: ALyK8tJglA5aElIl5sg3oZ5dWM6WwwfIr4WNd4nwkwOCbjOYnOwf1Tofg7c5l9f/dUlmyQ== X-Received: by 10.46.0.221 with SMTP id e90mr5309249lji.54.1464611775994; Mon, 30 May 2016 05:36:15 -0700 (PDT) Received: from maka.lan ([77.79.224.226]) by smtp.gmail.com with ESMTPSA id z132sm4855890lff.46.2016.05.30.05.36.14 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2016 05:36:15 -0700 (PDT) From: Mateusz Piotrowski Subject: Week 1 / Non-BSM to BSM Conversion Tools Date: Mon, 30 May 2016 14:36:14 +0200 Message-Id: <5EC2C7AB-6823-45D9-9BF7-FF53884DE78E@gmail.com> Cc: Konrad Witaszczyk 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, 30 May 2016 12:36:18 -0000 Hello, During the first week of GSoC I=E2=80=99ve managed to set up FreeBSD and = Debian in VirtualBox. Both of these guest virtual machines are = generating audit logs which I analyse to learn the structure of the = audit logs formats. I started to map the fields of the Linux Audit = format to the BSM format. Wiki: = https://wiki.freebsd.org/SummerOfCode2016/NonBSMtoBSMConversionTools = Repository: https://github.com/0mp/gsoc16 = . (The repository hasn=E2=80=99t got any = code in it at the moment; rather a bunch of useful links which helped me = to proceed with my project.) I=E2=80=99ve also created a a little notebook where I keep all my little = hacks to get FreeBSD to work: = https://github.com/0mp/n0tes/blob/master/freebsd.md = I hope I=E2=80=99ll be able to produce more value this week as I=E2=80=99v= e got less intense assignments to hand in for the time being. =09 Cheers! Mateusz Piotrowski PS If you know how to create audit logs for only one specific file on = FreeBSD than please drop me a line! I=E2=80=99ve already asked this = question on serverfault = (http://serverfault.com/questions/778510/how-to-record-audit-logs-for-only= -one-specified-file-in-freebsd = ) and I=E2=80=99m about to send an email = to the trustedbsd-discuss@freebsd.org = mailing list.=09= From owner-soc-status@freebsd.org Mon May 30 13:32:53 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 2C5D0B5386C for ; Mon, 30 May 2016 13:32:53 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) (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 B587D1119 for ; Mon, 30 May 2016 13:32:52 +0000 (UTC) (envelope-from mpp302@gmail.com) Received: by mail-lb0-f181.google.com with SMTP id mp7so6589214lbb.2 for ; Mon, 30 May 2016 06:32:52 -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:message-id:date:to:mime-version; bh=OTGUJ1tjPfsV3gYbTgsDPGsq0ZnanRT/hTKHUx3wEx4=; b=l/VTUr37uBFCKvfR6owuNWMhcs5pC0I++VOiCT7o2059VzztjqMCY51zzPdH91z5FC bESXWafCMDN8dQ7VvV0pc+HAhMApWA5+kf4ETweaH2S4GfbJb9cw+re+SXcTUDY5UzF0 gIivDUq7X7/ALoGHJ3yV0lXJGnPJXHTi8HXaG8fcSO+AOKdLDNP6Tgo/XSYv11YmKPIC CLzdmqVZ981X6Z4xmNLyzRe34v+OjBk9yVheVODhKMCxjjyPYolYA6YrcY6ZgqK95+Yj eWPH1N/2u98m5K6e2qUOUDkLDmyZH60viAaEIRUCuk1qXxlBs7jhKODeg9giMr6HzljR e3/A== X-Gm-Message-State: ALyK8tLGG1ND3E7gmgVuxiHkYkbjv+dx/ry+i555BDWRGB37vT78EUfhSItUd6SnvDyo6A== X-Received: by 10.112.72.138 with SMTP id d10mr4824447lbv.106.1464604629865; Mon, 30 May 2016 03:37:09 -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 o75sm4670727lfi.9.2016.05.30.03.37.08 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 30 May 2016 03:37:09 -0700 (PDT) From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: Week 1 / Non-BSM to BSM Conversion Tools Message-Id: Date: Mon, 30 May 2016 12:37:07 +0200 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, 30 May 2016 13:32:53 -0000 Hello, During the first week of GSoC I=E2=80=99ve managed to set up FreeBSD and = Debian in VirtualBox. Both of these guest virtual machines are = generating audit logs which I analyse to learn the structure of the = audit logs formats. I started to map the fields of the Linux Audit = format to the BSM format. Wiki: = https://wiki.freebsd.org/SummerOfCode2016/NonBSMtoBSMConversionTools = Repository: https://github.com/0mp/gsoc16 = . (The repository hasn=E2=80=99t got any = code in it at the moment; rather a bunch of useful links which helped me = to proceed with my project.) I=E2=80=99ve also created a a little notebook where I keep all my little = hacks to get FreeBSD to work: = https://github.com/0mp/n0tes/blob/master/freebsd.md = I hope I=E2=80=99ll be able to produce more value this week as I=E2=80=99v= e got less intense assignments to hand in for the time being. =09 Cheers! Mateusz Piotrowski PS If you know how to create audit logs for only one specific file on = FreeBSD than please drop me a line! I=E2=80=99ve already asked this = question on serverfault = (http://serverfault.com/questions/778510/how-to-record-audit-logs-for-only= -one-specified-file-in-freebsd = ) and I=E2=80=99m about to send an email = to the trustedbsd-discuss@freebsd.org mailing list. From owner-soc-status@freebsd.org Fri Jun 3 15:07:18 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 51AFEB692A5 for ; Fri, 3 Jun 2016 15:07:18 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 1A6601A63 for ; Fri, 3 Jun 2016 15:07:18 +0000 (UTC) (envelope-from bhimanshu1997@gmail.com) Received: by mail-oi0-x22f.google.com with SMTP id w184so130924335oiw.2 for ; Fri, 03 Jun 2016 08:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=OT0ZDNA5BfQfILjfpoz43O3w7BRw6qW0N7VFJSY5ZYU=; b=r9jt/CG+oZ2Xj97ZKH+RINV1eMwxocFQTdeej1KtThYGq9Cql/vxEde3ZnCtTT7WxP 5x3Gi+h4pY1DztTMKKXGOK0PRurVbnkXwDwAbjvOGtuY5Y8TwztGdHd4TFiJgAtRN3CL dwvMmZ2NGuQyJb+jAcuTzMSOvZJVK8Yaib67XY0RSMw6zIc1SRS0D7KmW1HihFwy4UYU euEjzDZlBzV+15RWllbR35FVr68CW8EXpjbq9LgdzO9mzj+SjHAB/CZNCFz+XGuQ4RPp WhSLFWdjfRV6JLod1Gw+UKDHve0COtGROmM/ZzQhNO+uS4FpIic2NigwtDWn26irkL6n Kfog== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OT0ZDNA5BfQfILjfpoz43O3w7BRw6qW0N7VFJSY5ZYU=; b=HOg8dfAXTRAoFOhvBbFvKQssOVpX422miHkU13qksH04LDlFfOsHu19Nouf4guUVab I/3ckkECoaRcsIn0SY3NO4y+6MzD3/381fx9MRw9CmxYfQLBErrmZwqrbwBrWzPAIw1L HryeTuVrj9XxpmGCkEhLnFpJXBUy+ve21BhToSABcctMkrh2vWBNhvtlOEPxiiG7XQIE x+KHhRVo6UxPbcx8PAsBeW+Cuw3LGrlYDljjLlhXy5rZKheDNpK2DMi/I+ZNhVxn7+1R k4mUozY1wN2svSi69TpVxfhBR+QjG0fKFMtZbIA5Dh+3qsQp+3ZNxmNcg1Y4FNUGEmPI HfEw== X-Gm-Message-State: ALyK8tIvpWBr4EESookFSR6+IsAzsBHKvw+kBhmEdF/vCiH8i6VL8TZmSU8ik9eT8BoTciCmWFkCqc+/5FqtZg== X-Received: by 10.157.6.99 with SMTP id 90mr2033339otn.143.1464966437520; Fri, 03 Jun 2016 08:07:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.77.81 with HTTP; Fri, 3 Jun 2016 08:06:38 -0700 (PDT) From: Bhimanshu Kumar Date: Fri, 3 Jun 2016 20:36:38 +0530 Message-ID: Subject: Add SCSI passthrough to CTL To: soc-status@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Fri, 03 Jun 2016 15:07:18 -0000 *Introduction : *CTL is the FreeBSD SCSI target layer. There are various SCSI commands, but it's usually used for block-level access. This projects focuses on making CTL capable of providing physical optical drive as a whole to the initiator machine Link : https://github.com/bhimanshu1997/freebsd Report: 1. added new device in CTL code 2. modified ctld(8) to identify passthrough device plan for next week 1. adding code in ctld/ctl so that it could convert the device address to actual device and pass it to CTL backend From owner-soc-status@freebsd.org Fri Jun 3 16:06:28 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 B742CB683BD for ; Fri, 3 Jun 2016 16:06:28 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from SNT004-OMC3S51.hotmail.com (snt004-omc3s51.hotmail.com [65.54.51.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82AD11083 for ; Fri, 3 Jun 2016 16:06:28 +0000 (UTC) (envelope-from surajponugoti@outlook.com) Received: from NAM02-SN1-obe.outbound.protection.outlook.com ([65.55.90.135]) by SNT004-OMC3S51.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Fri, 3 Jun 2016 09:05:21 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=1D3EquULgsJ4IbyfqYDvEivUMTKSEBlnnaHW3kcqZ30=; b=tDHNzGemUd0vK9u/vxcU/xpOgIwXn5mGSVz9eziR1AjCc2foaqTJXxBOCKrXmzb3ZZjClYTptOKmhcDDcStMiuBw6bxaU1T9ZIFuKknyrdM4N8foYDRZCUil5jxD17NpEW7bAHCsZCgau2+zwLY9jlN54+myoi4iqeZJbp6Ofwq8gGJfXxdQ3WNk2+VjG/g96BW2HQ61NY1+75e3OaJTXG+987WxIpIIhVa0T97l2x5AFFsCm6hz63VdllEgM0rj5M+pjb0cMk3B4Kg6xieAliR9bievTEwnHLm7KLVncGjc2/IPN1VSU5n1ojzEb3cuZB3mqvxzn2MER9zZW16lpg== Received: from CY1NAM02FT013.eop-nam02.prod.protection.outlook.com (10.152.74.59) by CY1NAM02HT040.eop-nam02.prod.protection.outlook.com (10.152.75.32) with Microsoft SMTP Server (TLS) id 15.1.497.8; Fri, 3 Jun 2016 16:05:20 +0000 Received: from SN1PR11MB0782.namprd11.prod.outlook.com (10.152.74.55) by CY1NAM02FT013.mail.protection.outlook.com (10.152.75.162) with Microsoft SMTP Server (TLS) id 15.1.497.8 via Frontend Transport; Fri, 3 Jun 2016 16:05:20 +0000 Received: from SN1PR11MB0782.namprd11.prod.outlook.com ([10.163.207.24]) by SN1PR11MB0782.namprd11.prod.outlook.com ([10.163.207.24]) with mapi id 15.01.0501.017; Fri, 3 Jun 2016 16:05:20 +0000 From: suraj ponugoti To: "soc-status@FreeBSD.org" Subject: Adding SCSI Passthrough to CTL Thread-Topic: Adding SCSI Passthrough to CTL Thread-Index: AQHRvav815GxMm76Q0+QqDqRN2o8xg== Date: Fri, 3 Jun 2016 16:05:20 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 25.152.74.55) smtp.mailfrom=outlook.com; FreeBSD.org; dkim=none (message not signed) header.d=none;FreeBSD.org; dmarc=fail action=none header.from=outlook.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning outlook.com discourages use of 25.152.74.55 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-tmn: [s5fFW8ce66ZUyJBu7OFbkNqyb3EcP9mT] x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:25.152.74.55; IPV:NLI; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1NAM02HT040; H:SN1PR11MB0782.namprd11.prod.outlook.com; FPR:; SPF:SoftFail; MLV:ovrnspm; MX:1; A:1; LANG:en; x-ms-office365-filtering-correlation-id: 369cf7b1-0e43-4cec-0cb3-08d38bc8dcc0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1603101137)(1601125047); SRVR:CY1NAM02HT040; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:CY1NAM02HT040; BCL:0; PCL:0; RULEID:; SRVR:CY1NAM02HT040; x-forefront-prvs: 0962D394D2 MIME-Version: 1.0 X-OriginatorOrg: outlook.com X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jun 2016 16:05:20.1571 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1NAM02HT040 X-OriginalArrivalTime: 03 Jun 2016 16:05:21.0801 (UTC) FILETIME=[BB332F90:01D1BDB1] Content-Type: text/plain; charset="iso-8859-1" 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: Fri, 03 Jun 2016 16:06:28 -0000 Hi, This project is about exporting physical SCSI devices over iSCSI through CT= L as an actual SCSI target. Wiki Page: https://wiki.freebsd.org/SurajPonugoti Git Repo: https://github.com/suraj5/freebsd weekly updates: I have understood the internal operations of CTL and CAM. I= also started working on adding new peripheral device 'passthrough'. Thanks Suraj