Re: jails, ipfilter & stunnel

From: Uwe Doering (gemini_at_geminix.org)
Date: 07/13/03

  • Next message: V. Jones: "Re: jails, ipfilter & stunnel"
    Date: Sun, 13 Jul 2003 08:56:16 +0200
    To: "V. Jones" <vjones62@earthlink.net>
    
    

    V. Jones wrote:
    > I'm setting up a server where I plan to use Jails to improve security
    > I also have installed and am configuring ipfilter. Here are my
    > questions:
    >
    > Because I'm using Jails, I will have to have multiple ip aliases on the
    > network interface. I will use ipfilter to specify what can go to each
    > of the addresses. (e.g., allow only incoming to port 80 on the jail
    > running apache).

    You don't have to have multiple IP aliases for multiple jails. Or at
    least there is no technical necessity for this (in FreeBSD 4.x, that is,
    don't kown about 5.x). If it's just about running server processes in
    their own jail (no port number conflicts) you can have all jails on the
    same IP address and do the IP filtering (if necessary at all in this
    scenario) based on port numbers.

    > Another jailed server will run mail services (pop, smtp, imap). If
    > I want to allow users to use web based email(over ssl of course), the
    > web server will have to communicate with the mail server. Is there
    > a chance of "information leakage" in this type of setup?

    Only the information you transmit will leak. That is, you define the
    information interchange between the jails, so pondering over the
    consequences is on your plate, too. Just assume that each jail has been
    broken into by an intruder with evil intentions and ask yourself what
    damage he can do with the data he can gather from the other jails.
    Paranoia in action, as it were. ;-)

    > Finally, I'd like to use SSL to offer secure web connections & secure email
    > without having to buy two certificates. Am I getting too cute if I accept
    > ssl connections on one ip address and use stunnel to route them to the
    > appropriate jailed server?

    In case of all jails on one IP address this problem goes away, too. You
    could define a generic domain name for the SSL stuff, for instance
    'secure.domain.tld', get a certificate for that and use it for web as
    well as email and other purposes.

        Uwe

    -- 
    Uwe Doering         |  EscapeBox - Managed On-Demand UNIX Servers
    gemini@geminix.org  |  http://www.escapebox.net
    _______________________________________________
    freebsd-security@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-security
    To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org"
    

  • Next message: V. Jones: "Re: jails, ipfilter & stunnel"

    Relevant Pages

    • Re: No libc shared lib number bump ?
      ... versioned symbol libraries with the same version number since ... When things like large Xorg or GNOME or KDE changes hit the Ports ... I have 11 of my 12 jails on ... IMAP server, one as a nntp server, one as a samba server, ...). ...
      (freebsd-current)
    • jails, ipfilter & stunnel
      ... I also have installed and am configuring ipfilter. ... Because I'm using Jails, I will have to have multiple ip aliases on the ... Another jailed server will run mail services. ... I'd like to use SSL to offer secure web connections & secure email ...
      (FreeBSD-Security)
    • Re: UFS Crash and directories now missing
      ... the one with the jails mounted but every jail ... so I'm guessing it's a logical error in the directory structure or ... Right before the server crashed I noticed MySQL at 100% o several CPUs ...
      (freebsd-questions)
    • Re: 6.8 became very slow
      ... It was running twe driver with RAID 5. ... just copied jails from the prev installation. ... the kernel must be for something else, ... It is a web hosting server ...
      (freebsd-questions)
    • 8.1 broken inter-jail IP communication
      ... The Jails are running a mail server and ldap server, respectively and each has it's own IP ... I was able to ping the mail IP address from the host server and the incomplete entry ...
      (freebsd-questions)