From owner-soc-status@FreeBSD.ORG Thu Jun 27 13:12:41 2013 Return-Path: Delivered-To: soc-status@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6B1BD3D7 for ; Thu, 27 Jun 2013 13:12:41 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 41AE3130D for ; Thu, 27 Jun 2013 13:12:40 +0000 (UTC) Received: from c120.sec.cl.cam.ac.uk (c120.sec.cl.cam.ac.uk [128.232.18.120]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id r5RDCdTP045449 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 27 Jun 2013 13:12:40 GMT (envelope-from theraven@FreeBSD.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: IDMS : Weekly status report #1 of 14 From: David Chisnall In-Reply-To: Date: Thu, 27 Jun 2013 14:12:39 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <00D9C707-D223-44D3-B57F-2FFB0CD028A6@FreeBSD.org> References: To: Ambarisha B X-Mailer: Apple Mail (2.1503) Cc: soc-status@FreeBSD.org X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.14 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, 27 Jun 2013 13:12:41 -0000 Hi Ambrarish, The fetch utility has been the case study for a lot of the = compartmentalisation work on Capsicum so far. Have you considered how = the download manager will handle exploitable bugs in, for example, the = HTTP header parsing in libfetch? I note that your plan is to use a = thread, rather than a forked process, for each request, which means that = it can not run in sandboxed mode. =20 What privilege do you imagine the daemon running with? One of the = problems with fetch currently is that it is often invoked as root when = downloading ports distfiles and so runs with ambient privilege of the = root user. David On 27 Jun 2013, at 13:55, Ambarisha B wrote: > Hi, >=20 > I'll working on Intelligent download manager service (dms) for the = ports > collection this summer. >=20 > This week I've worked on dmclient which will be a replacement to the > "fetch" program. I took the code of fetch(1) and replaced all the = calls > into libfetch with my own dm* calls which request the DM service to = fetch > the file instead of fetching the files independently. This week I'll = finish > the basic DM server and will be able to test the client against it. >=20 > My tentative schedule is on the project wiki page at : > https://wiki.freebsd.org/SummerOfCode2013/IntellegentDownloadManager >=20 > Cheers > Ambarish > _______________________________________________ > soc-status@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/soc-status > To unsubscribe, send any mail to "soc-status-unsubscribe@freebsd.org"