Re: Capsicum project: Ideas needed

2011-09-08 Thread Stanislav Sedov
On Fri, 8 Jul 2011 15:09:52 +0400 "Ilya Bakulin" mentioned: > [CCing Ben, Robert and Jonathan as it's very important for me to receive > their feedback about my thoughts] > > Let me focus on those application ideas that you've mentioned. All the > following are my thoughts and this may be incorr

Re: Capsicum project: Ideas needed

2011-08-10 Thread Robert Watson
On Thu, 4 Aug 2011, Lars Engels wrote: I just stumbled upon this rather outdated thread... On Fri, 8 Jul 2011 15:09:52 +0400, Ilya Bakulin wrote: [...] wget curl links/lynx This is Ports software, we may try to modify it and even send patches to upstream, or maintain our local patches. I wan

Re: Capsicum project: Ideas needed

2011-08-04 Thread Lars Engels
I just stumbled upon this rather outdated thread... On Fri, 8 Jul 2011 15:09:52 +0400, Ilya Bakulin wrote: [...] wget curl links/lynx This is Ports software, we may try to modify it and even send patches to upstream, or maintain our local patches. I wanted to focus on base system components du

Re: Capsicum project: Ideas needed

2011-07-11 Thread Doug Barton
On 07/11/2011 05:08, Ilya Bakulin wrote: > chroot constraints only filesystem namespace, but doesn't prevent process > from sending/receiving data via network, ... which is kind of important for DNS software. :) > or from accessing other global > namespaces such as PID namespace, SHM namespace, a

Re: Capsicum project: Ideas needed

2011-07-11 Thread Ilya Bakulin
chroot constraints only filesystem namespace, but doesn't prevent process from sending/receiving data via network, or from accessing other global namespaces such as PID namespace, SHM namespace, and from executing any system calls. In contract to chroot, Capsicum framework significantly increases a

Re: Capsicum project: Ideas needed

2011-07-09 Thread Doug Barton
On 07/09/2011 07:54, Gabor Kovesdan wrote: > Anyway, consider sendmail and BIND. I think these are important enough > to get some more protection. What additional protection could capsicum offer beyond chroot'ing? (That's not a snark, I don't quite understand all the moving parts here.) Doug --

Re: Capsicum project: Ideas needed

2011-07-09 Thread Gleb Kurtsou
On (09/07/2011 15:54), Gabor Kovesdan wrote: > Em 08-07-2011 13:23, Ivan Voras escreveu: > > On 08/07/2011 05:42, Ilya Bakulin wrote: > >> Hi hackers, > >> As a part of ongoing effort to enhance usage of Capsicum in FreeBSD base > >> system, I want to ask you, which applications in the base system

Re: Capsicum project: Ideas needed

2011-07-09 Thread Gabor Kovesdan
Em 08-07-2011 13:23, Ivan Voras escreveu: On 08/07/2011 05:42, Ilya Bakulin wrote: Hi hackers, As a part of ongoing effort to enhance usage of Capsicum in FreeBSD base system, I want to ask you, which applications in the base system should receive sandboxing support. How about a small descript

Re: Capsicum project: Ideas needed

2011-07-08 Thread Robert N. M. Watson
On 8 Jul 2011, at 19:08, Brian Reichert wrote: > On Fri, Jul 08, 2011 at 07:42:12AM +0400, Ilya Bakulin wrote: >> The question is: which applications should also be processed? I think >> that the most wanted candidates are SUID programs and/or popular network >> daemons. > > I propose 'man'; sne

Re: Capsicum project: Ideas needed

2011-07-08 Thread Brian Reichert
On Fri, Jul 08, 2011 at 07:42:12AM +0400, Ilya Bakulin wrote: > The question is: which applications should also be processed? I think > that the most wanted candidates are SUID programs and/or popular network > daemons. I propose 'man'; sneaky stuff can happen there Dunno if that meshes with

Re: Capsicum project: Ideas needed

2011-07-08 Thread Pedro F. Giffuni
FWIW; I would think ftpd, which may require an update too, would be a classical candidate. Perhaps also telnetd. I recall sendmail calls bin/sh for some things and there is an option for a restricted shell (rsh), so supporting a shell would help sendmail too. And then some stuff like ipfw is nev

Re: Capsicum project: Ideas needed

2011-07-08 Thread Pieter de Boer
On 07/08/2011 05:42 AM, Ilya Bakulin wrote: > The question is: which applications should also be processed? I think > that the most wanted candidates are SUID programs and/or popular network > daemons. > But looking at gzip example I also think about text-processing tools in > general. I think tcpd

Re: Capsicum project: Ideas needed

2011-07-08 Thread Jonathan Anderson
On 8 July 2011 12:09, Ilya Bakulin wrote: > modification of inetd itself is NOT sufficient and > ineffective, capability support implies modifying code of daemons Speaking as someone who isn't terribly familiar with inetd: One could imagine inetd (or an inetd-like service) accepting connections,

Re: Capsicum project: Ideas needed

2011-07-08 Thread Ivan Voras
On 08/07/2011 05:42, Ilya Bakulin wrote: Hi hackers, As a part of ongoing effort to enhance usage of Capsicum in FreeBSD base system, I want to ask you, which applications in the base system should receive sandboxing support. How about a small description what sandboxing can bring to applicatio

Re: Capsicum project: Ideas needed

2011-07-08 Thread Robert N. M. Watson
On 8 Jul 2011, at 05:02, Matt Olander wrote: > What about inetd? Is that possible or does each service it support > need sandboxing, too? How about sendmail and bind? I'm less concerned about the core connection juggling content of inetd than the external services it launches -- however, inetd

Re: Capsicum project: Ideas needed

2011-07-08 Thread Ilya Bakulin
[CCing Ben, Robert and Jonathan as it's very important for me to receive their feedback about my thoughts] Let me focus on those application ideas that you've mentioned. All the following are my thoughts and this may be incorrect, in this case please correct me. > -any server software Yes, server

Re: Capsicum project: Ideas needed

2011-07-07 Thread Matt
On 07/07/11 20:42, Ilya Bakulin wrote: Hi hackers, As a part of ongoing effort to enhance usage of Capsicum in FreeBSD base system, I want to ask you, which applications in the base system should receive sandboxing support. So far, the following applications were sandboxed during initial Capsicum

Re: Capsicum project: Ideas needed

2011-07-07 Thread Matt Olander
On Thu, Jul 7, 2011 at 8:42 PM, Ilya Bakulin wrote: > Hi hackers, > As a part of ongoing effort to enhance usage of Capsicum in FreeBSD base > system, I want to ask you, which applications in the base system should > receive sandboxing support. > So far, the following applications were sandboxed d

Capsicum project: Ideas needed

2011-07-07 Thread Ilya Bakulin
Hi hackers, As a part of ongoing effort to enhance usage of Capsicum in FreeBSD base system, I want to ask you, which applications in the base system should receive sandboxing support. So far, the following applications were sandboxed during initial Capsicum research project: sshd: critical system