From owner-freebsd-hackers@freebsd.org Fri Oct 2 05:25:40 2015 Return-Path: Delivered-To: freebsd-hackers@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 6DF5AA0D17D; Fri, 2 Oct 2015 05:25:40 +0000 (UTC) (envelope-from vrock28@gmail.com) Received: from mail-ob0-x231.google.com (mail-ob0-x231.google.com [IPv6:2607:f8b0:4003:c01::231]) (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 35A421F2F; Fri, 2 Oct 2015 05:25:40 +0000 (UTC) (envelope-from vrock28@gmail.com) Received: by obbzf10 with SMTP id zf10so74746747obb.2; Thu, 01 Oct 2015 22:25:39 -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 :cc:content-type; bh=ESU6yZo/+5zPif7aSHY8ap5OqtYcaDUVgtBBFeTKk7A=; b=NUAJOgH4SbOTEDPQtjEkIyH/hQj/HK+eNwpLQG/VnCFbM3K4oeD9Dl7ISk7nNkhZFZ 13cPpvDdbTpbKoghV/nGVxim+EWgcA4GGfvhMYigYRG+sbN3VsS+24Zkg/vnuq56YhFl oO3m6+5KA1KtpzYVXDjbTwVJSQ/Qj1FkxaW4Lwm5z7LmEgd9uripBSIOl6ad8plJydom YqvXJy+TfryjbSQZvawKm4Svn8SZ0iD3BCnIf0TIzPpS9MRWjF1lAuaMWjMhnXnB87o4 9G2FG7seJIhVYYXu+QpXvLlW/PWJJLv8+4w/Nxb6qlFtvWDYFqMMaUq/aR1+GskLdWaO ifyg== MIME-Version: 1.0 X-Received: by 10.60.79.193 with SMTP id l1mr8079509oex.60.1443763539546; Thu, 01 Oct 2015 22:25:39 -0700 (PDT) Received: by 10.202.197.147 with HTTP; Thu, 1 Oct 2015 22:25:39 -0700 (PDT) Received: by 10.202.197.147 with HTTP; Thu, 1 Oct 2015 22:25:39 -0700 (PDT) In-Reply-To: <560E06FA.3020702@freebsd.org> References: <560E06FA.3020702@freebsd.org> Date: Fri, 2 Oct 2015 10:55:39 +0530 Message-ID: Subject: Re: LibCURL in Kernel From: Rakshith Venkatesh To: Julian Elischer Cc: freebsd-fs@freebsd.org, freebsd-hackers@freebsd.org X-Mailman-Approved-At: Fri, 02 Oct 2015 11:25:49 +0000 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 05:25:40 -0000 I am actually not looking for full curl functionality. My aim is to back up data from native file system to a s3 backend from kernel. I have a very thin userspace where its not straight forward to deploy apps.I saw libs3 and most of the already existing utilities use libcurl library to send Http requests. On 02-Oct-2015 9:54 am, "Julian Elischer" wrote: > On 10/2/15 12:29 AM, Rakshith Venkatesh wrote: > >> Hi, >> >> I wanted to know if there is any library which does the job of libCURL in >> FreeBSD kernel. I know libCURL is a user-space library but was looking for >> something similar in kernel. Porting is one option but i think it surely >> will not be a straight forward thing. >> >> Any leads on the above query would be great! >> > > there was work to write an http daemon using netgraph.. > I know that's the opposite side of the same transfer but it does poitn to > how it could be done. > All the hooks are in place to allow one to write a netgraph node that can > attach to netgraph socket nodes. > what you would do with the data when you get it is a different thing.. > > tell us a bit more about your requirements. > > >> >> Thanks, >> >> Rakshith >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org >> " >> >> >