From owner-freebsd-questions@freebsd.org Wed Mar 8 11:02:52 2017 Return-Path: Delivered-To: freebsd-questions@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 57005D02761 for ; Wed, 8 Mar 2017 11:02:52 +0000 (UTC) (envelope-from mynidiravichandra@gmail.com) Received: from mail-it0-x236.google.com (mail-it0-x236.google.com [IPv6:2607:f8b0:4001:c0b::236]) (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 1DC7D1456 for ; Wed, 8 Mar 2017 11:02:52 +0000 (UTC) (envelope-from mynidiravichandra@gmail.com) Received: by mail-it0-x236.google.com with SMTP id h10so93491516ith.1 for ; Wed, 08 Mar 2017 03:02:52 -0800 (PST) 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=Q54GTPTy5auGvSyjLB3XZR8bap4mOYGo2OJJmiwed6E=; b=Ij023yl6/YhJncH8NnE0GJG1M6Dkwlq/YTWUxBYcGBPlyS0wJFPSja2YU/kG1jjKAG xgI0ZVdkuOcpHsIkIZDNJ5hg2NLltknpBuDoYn7GjoKBrpNEJkTxL88j9+ynW9ZRevHv 5ux4nOv+G360Y4F/yAYmUAPqzlhreUVH+sVM+x2TnlEJcThYcsbfkXU5LeBwbvTP77OI 2W9eHHpyNI94ZYYPalZEm1LUz3Teh4jsdB4maJBz8geHORuH/nREDrnTi+7bLOEu8RSP dVgQKePl/sxLPyzPZv/ItpZt9Wjkmf7IKHfiphN7cdnnIQCfBaUgp9MJSpJ+uhK83McW TgVw== 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=Q54GTPTy5auGvSyjLB3XZR8bap4mOYGo2OJJmiwed6E=; b=a1WmkmDENI9JacmHTXeCDRycvtVdxKlOBHNoNgp8E3dRU/7RUyYoM0mWzOH63sPwuq gWLKv26u542fxYRIg4uwsT/2duf5S9fiWxtK7b5Mvur8eGlJEhRiaKQIfetPPJ1/stmJ ifou8BMfeWngmI7HcFgvnoD5qCJNy/OZr8Zu+bx+5SJQaCLqXh9wnbZQWQc1oGjz5YC0 pRT+WzlKmdBteYdbte/fD/g5/gD5jhvg/bMwPNn3GMwyJ81oTZQXfbkXKfHQ8Q8FtFcZ aCknASKxoieoWggzP1OfmZ6EkvwkI3+AR3uLEskP1eByY56slKARwYVi77Ba1NlL6iTH Bfbw== X-Gm-Message-State: AMke39k/htFwwIi9W6pUYu+SZiMJU6uL+IWAsUI6mp3u+f8G6Uaj3i7891gM1Qmae+qoxVbgjyOWhfvmxpSZ9w== X-Received: by 10.36.68.18 with SMTP id o18mr5877291ita.43.1488970971332; Wed, 08 Mar 2017 03:02:51 -0800 (PST) MIME-Version: 1.0 Received: by 10.36.217.134 with HTTP; Wed, 8 Mar 2017 03:02:51 -0800 (PST) From: Ravichandra Date: Wed, 8 Mar 2017 16:32:51 +0530 Message-ID: Subject: Support of TLS processing in kernel To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 11:02:52 -0000 Hi, Recently some work is done by people at facebook about TLS processing in kernel. It is called as kernel TLS by them. A kernel patch for the same is submitted on linux kernel. I am trying to see something similar can be done for FreeBSD too. I see that stream parsing(strparsing module) support which is leveraged by this kernel TLS module is present in linux kernel and not in FreeBSD. This stream parsing module helps the kernel to custom parse the TCP data according to a application layer protocol requirement. Is there a way that helps to achieve the same in FreeBSD? Thanks Ravichandra