Re: [Vserver] Postgres, Vserver & Firewall

From: Baltasar Cevc <baltasar_at_cevc-topp.de>
Date: Sat 21 Oct 2006 - 13:38:05 BST
Message-Id: <9a79d29c974d1c5dc0565c01abf41be9@cevc-topp.de>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Marc,

On 20.10.2006, at 21:42, Marc Kalberer wrote:

> Hello,
> I get crazy on one prob.
> I'm migrating a "normal" server inside a vserver
> I setup a postgres(7.4) server inside a vserver so it listen to the
> vserver-ip interface (10.0.0.151)
>
> When I connect using
> psql -h(vserverip) -Ublablabla (policy password)
>
> I got a
> IN=lo OUT= MAC=00:00:00:00:00:00:00:00:00:00:00:00:08:00
> SRC=10.0.0.151 DST=10.0.0.151 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF
> PROTO=TCP SPT=5432 DPT=54937 WINDOW=32767 RES=0x00 ACK SYN URGP=0
>
> Which is pretty strange since
> - my firewall rules allow all connection from port 5432.

I'd double-check the rules. Please note that you have lo traffic with
non-lo IP addresses (as far as I can tell that's normally not the case
without vserver). As far as I know the packets would have been from and
to eth0 for example without the patched kernel. Vserver should not
change anything with Netfilter, except for the fact that you have to
set up the rules on the host and that the interface names may change.

Baltasar

((( Baltasar Cevc

) World wide web:
   * http://www.openairkino.net/ (a project for the local youth; German
only)
   * http://technik.juz-kirchheim.de/ (programming and admin projects)
   * http://baltasar.cevc-topp.de/ (private homepage)
) Phone:
   +49 176 232 20 822
)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFFOhSvp2YsmzTbIwYRAvfCAKDMo0tmm9Yed/5+Ndgnl54rl4Wq/wCgx54L
/SBCxxjBmkZVltWGVZDFXLE=
=XYZn
-----END PGP SIGNATURE-----

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Oct 21 13:39:24 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 21 Oct 2006 - 13:39:30 BST by hypermail 2.1.8