Re: [squid-users] squid and chroot

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Wed, 19 Aug 2009 12:19:00 +0200

ons 2009-08-19 klockan 10:34 +0530 skrev Avinash Rao:
> A basic question. what is the use of installing squid in chroot,

it's a security measure just in case there is a security vulnerability
in Squid which may lead to remote execution of code. Makes life a lot
harder for those trying to exploit any such vulnerability.

Note: Squid isn't installed in a chroot, instead it's told to chroot
itself to a folder containing only the few things Squid need to access
while running. The Squid binary itself lives outside the chroot, but all
filesystem access is confined to the chroot folder and all extra
privileges is dropped down to the bare minimum.

Regards
Henrik
Received on Wed Aug 19 2009 - 10:19:05 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 19 2009 - 12:00:04 MDT