Re: [Vserver] jabber in a guest

From: Chuck <chuck_at_sbbsnet.net>
Date: Wed 18 Oct 2006 - 01:42:49 BST
Message-Id: <200610172042.50118.chuck@sbbsnet.net>

On Sunday 15 October 2006 14:23, Corey Wright wrote:

ok thanks... i did figure it out though. just a short time ago... it is
working fine.. i have s2s turned off as it is a private server.
its not loaded at all. i had to set all localhost to the primary ip address
instead of 127.0.0.2.. my true localhost doesnt work in a guest. never had
the time to research to see if it can be done yet. must be able to if you are
using it :)

> On Sat, 14 Oct 2006 23:12:02 -0400
> Chuck <chuck@sbbsnet.net> wrote:
>
> > do i need any special b or c capabilities to run jabber 2 in a guest?
>
> i'm running jabberd 1.4.3 in a guest with standard capabilities and no
> problems.
>
> i run all my transports in the same guest, all through 127.0.0.1 with no
> problems. for temporary testing purposes i have used transports in a
> different guest connecting to the jabberd, by way of network ip address (ie
> 192.168.0.1), with no problem.
>
> my jabberd is configured to accept s2s connections (ie talk.google.com) and
> that works.
>
> > i keep getting logs like this for its various elements:
> >
> > Oct 14 23:02:12 jabber jabberd/s2s[27854]: attempting connection to
> > router at 127.0.0.2, port=5347
> > Oct 14 23:02:12 jabber jabberd/s2s[27854]: [4] [router] write error:
> > Connection refused (111)
> > Oct 14 23:02:12 jabber jabberd/s2s[27854]: connection to router closed
> >
> >
> > or is it I just have to figure out configurations better? i tried the
> > same configs on the host and that ran.
>
> if something doesn't work, i would say the problem is either in your use of
> 127.0.0.2 (which is network-wise no different than 127.0.0.1, an
> internal-machine-routable-only ip address, but i still don't understand
> vserver's handling of 127.0.0.0/8 as my usage of 127.0.0.1 has always
> worked the way i needed) or your iptables configuration.
>
> > the host of course protects the guests using iptables, and the 5222 port
> > is passed but none of the other internal ones such as 5347. do i have to
> > include them too? i am trying to move it off a host into a guest. i
> > tried mapping everything to the guest primary ip as well, but that didnt
> > do anything different.
>
> have iptables log all rejections/denials and then you'll quickly learn if
> the problem is your firewall rules. i don't use iptables on my vserver
> host (probably should, but haven't been able to justify it), but if you've
> accepted 127.0.0.0/255.0.0.0, then accepting individual ports for
> jabber transports isn't necessary.
>
> > im using amd64 with the following:
> >
> > 2.6.18-vs2.0.2-gentoo-r8
> > util-vserver-0.30.211
>
> i'm also using amd64 but on ubuntu's 2.6.15 with debian testing's
> backported util-vserver 0.30.210, but i don't think any of that matters in
> this context.
>
> corey
> --
> undefined@pobox.com
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Wed Oct 18 01:44:51 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 18 Oct 2006 - 01:44:59 BST by hypermail 2.1.8