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)
    • Jails not quite stable..
      ... FreeBSD 4.8-REL to run under jails on the same servers. ... europa# kill 90423 ... server promptly went offline to never return. ...
      (freebsd-questions)
    • Hang in 5.3, related to syslog-ng
      ... One of these jails is a mail server (mail-jail), serving about 300 users, ... On the same server I installed a jail with syslog-ng. ...
      (freebsd-questions)
    • Jails config
      ... I've installed a fresh new 7.0 FreeBSD server with 2 intherface cards. ... I found that solution based on jails is suitable for my needs, ... listen on private lan - I have to use public ip to manage my www site trough ... For smtp the situation is the same - if my smtp server is ...
      (freebsd-questions)