net/bitlbee weird behaviour on 4.1

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

net/bitlbee weird behaviour on 4.1

Landry Breuil-4
Hello,

I've just stumbled upon a really weird issue here (a friend of mine can
confirm, he had the same problem on 4.1 too) trying bitlbee.
Installed from packages, running with inetd.
I can connect to it, register an account, add IM accounts (tried with
ICQ/JABBER), but at the moment i 'connect it' with 'account on', it stalls,
and after ~250 sec it says "couldn't connect to host" for both protocols.

I tcpdumped/netstat'ed, and saw that to resolve the servers (login.icq.comand
jabber.freenet.de) it was trying to connect to my ISP's DNS using TCP.....
which apparently is blocked by my ISP (free.fr). Btw, no, pf isn't on the
way. Why using TCP for a simple gethostbyname() here ???

The weird thing is that 'host login.icq.com' in a shell works perfectly.

netstat : gruiik.info.9558       dns1.proxad.net.domain SYN_SENT

tcpdump : 21:20:23.025239 gruiik.info.43606 > dns2.proxad.net.domain: S
3175829751:3175829751(0) win 16384 <mss
                  1460,nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp
764372120 0> (DF)

I'm using a local named for my network, but this host doesn't use it (
resolv.conf only contains my isp's dns, given by dhclient). Is it possible
to make dhclient not overwriting the whole resolv.conf ?

I've seen that bitlbee port is heavily patched, couldn't it come from the
code ? Reading it, i didn't see anything special..and various other people
use it normally on other oses/versions of openbsd.

At the moment, i added both server ips to my /etc/hosts, but as it's really
really ugly, i'd like to find a more clever way to solve this problem.

Thanks for any hints,
Landry
Reply | Threaded
Open this post in threaded view
|

Re: net/bitlbee weird behaviour on 4.1

Landry Breuil-4
2007/5/29, Landry Breuil <[hidden email]>:

>
> Hello,
>
> I've just stumbled upon a really weird issue here (a friend of mine can
> confirm, he had the same problem on 4.1 too) trying bitlbee.
> Installed from packages, running with inetd.
> I can connect to it, register an account, add IM accounts (tried with
> ICQ/JABBER), but at the moment i 'connect it' with 'account on', it stalls,
> and after ~250 sec it says "couldn't connect to host" for both protocols.
>
> I tcpdumped/netstat'ed, and saw that to resolve the servers (login.icq.comand
> jabber.freenet.de) it was trying to connect to my ISP's DNS using TCP.....
> which apparently is blocked by my ISP ( free.fr). Btw, no, pf isn't on the
> way. Why using TCP for a simple gethostbyname() here ???
>
> The weird thing is that 'host login.icq.com' in a shell works perfectly.
>
> netstat : gruiik.info.9558       dns1.proxad.net.domain SYN_SENT
>
> tcpdump : 21:20:23.025239 gruiik.info.43606 > dns2.proxad.net.domain: S
> 3175829751:3175829751(0) win 16384 <mss
>                   1460,nop,nop,sackOK,nop,wscale 0,nop,nop,timestamp
> 764372120 0> (DF)
>
> I'm using a local named for my network, but this host doesn't use it (
> resolv.conf only contains my isp's dns, given by dhclient). Is it possible
> to make dhclient not overwriting the whole resolv.conf ?


I solved this first issue by using 'prepend domain-name-servers' in
/etc/dhclient.conf,  and now i'm having another problem.

I can talk to buddies, they can reply me, but they can't "initiate" a
connection  to me. They talk, i receive nothing. tcpdump sees nothing apart
'ping' packets in jabber protocol,  and pf is still not in the way (either
way, incoming messages should pass  in the already opened connection to the
server, no need to have a listening connection).

Really weird, and this issue is keeping me from using it on my gw. sad.

Landry