You are not logged in.

#1 2008-10-18 19:14:55

Kruppe
Member
Registered: 2008-09-28
Posts: 30

bitlbee localhost connection established then immediately lost

Hi im trying to get bitlbee working with irssi or weechat,
in irssi i get the following message when connecting to localhost (/connect 127.0.0.1)

15:10 -!- Irssi: Looking up 127.0.0.1
15:10 -!- Irssi: Connecting to 127.0.0.1 [127.0.0.1] port 6667
15:10 -!- Irssi: Connection to 127.0.0.1 established
15:10 -!- Irssi: Connection lost to 127.0.0.1

here are the configs for bitlbee:

/etc/xinetd.d/bitlbee

service bitlbee
{
        type = UNLISTED
        socket_type = stream
        protocol = tcp
        wait = no
        user = bitlbee
        group = bitlbee
        server = /usr/sbin/bitlbee
        port = 6667
        disable = no
}

/etc/hosts.allow

#
# /etc/hosts.allow
#

# End of file
bitlbee: 127.0.0.1

My irssi configurations are the default. Anyone know either whats wrong or how to diagnose the problem?

Offline

#2 2008-10-18 19:37:39

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: bitlbee localhost connection established then immediately lost

I don't remember this from the top of my head. but doesn't bitlbee log somewhere? can you start it with verbose output? can you redirect it's stdout and stderr to files? check your syslog?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#3 2008-10-18 19:55:03

Kruppe
Member
Registered: 2008-09-28
Posts: 30

Re: bitlbee localhost connection established then immediately lost

Heres some syslog messages:

Oct 18 15:41:32 jcp-laptop xinetd[6788]: libwrap refused connection to bitlbee (libwrap=bitlbee) from 127.0.0.1
Oct 18 15:44:38 jcp-laptop xinetd[6994]: libwrap refused connection to bitlbee (libwrap=bitlbee) from 127.0.0.1
Oct 18 15:46:10 jcp-laptop xinetd[7099]: libwrap refused connection to bitlbee (libwrap=bitlbee) from 127.0.0.1

So why is that happening O_O?

Offline

#4 2008-10-18 20:06:52

Kruppe
Member
Registered: 2008-09-28
Posts: 30

Re: bitlbee localhost connection established then immediately lost

Actually, I bet this has to do with my hosts.deny file:

#
# /etc/hosts.deny
#

ALL: ALL: DENY

# End of file

How should i change this to allow bitlbee for 127.0.0.1?

Offline

#5 2008-10-18 20:08:50

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: bitlbee localhost connection established then immediately lost

I'm not sure.. google is your friend.  Btw why do you run this with xinetd?  Why not run it on itself?


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#6 2008-10-18 20:09:44

Kruppe
Member
Registered: 2008-09-28
Posts: 30

Re: bitlbee localhost connection established then immediately lost

Supposedly its safer hmm, dunno really its what has been recommended by the wiki and in several other places.

Offline

#7 2008-10-18 20:21:29

Kruppe
Member
Registered: 2008-09-28
Posts: 30

Re: bitlbee localhost connection established then immediately lost

Adding:

/etc/hosts.allow

ALL: 127.0.0.1

Worked, not really less secure this way, it still denies all remote logins.

Offline

Board footer

Powered by FluxBB