[Devel] [ openser-Bugs-1583446 ] dns srv lookup for TLS when not
compiled with TLS
SourceForge.net
noreply at sourceforge.net
Wed Nov 22 19:07:46 CET 2006
Bugs item #1583446, was opened at 2006-10-24 12:50
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1583446&group_id=139143
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: ver 1.1.x
Status: Open
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Bogdan (bogdan_iancu)
Summary: dns srv lookup for TLS when not compiled with TLS
Initial Comment:
Here's my problem; I'm setting up a connection over a
remote PSTN-GW. This GW sends me a 200 OK and expects
an ACK back.
However, when the openser.cfg reaches the loose_route
part of the config it attempts to do it's t_relay. As
part of that it takes the domain of the gw-server and
looks for srv records in DNS. All well, as it should I
guess - though I would think that SRV lookups were only
done during INVITEs.
HOWEVER! My server is a non-TLS server, and the first
srv record it tries to look for is _sips._tcp... That's
right, secure tls.
The problem is... it finds a srv record for TLS and
says WHEE forgetting that it is not configured (or even
compiled) for TLS operations! Meaning it tries to send
the ACK back to the gateway using TLS... which of
course won't work as the gateway server hasn't set up
any TLS connection with us.
So, the thing to do to fix this is obviously NOT dnsing
for _sips when TLS is not enabled. However, this
requires source modification right? There's not a
parameter or variable I can set somewhere?
----------------------------------------------------------------------
>Comment By: Bogdan (bogdan_iancu)
Date: 2006-11-22 20:07
Message:
Logged In: YES
user_id=1275325
Originator: NO
Hi there,
there is something strange in your post. Are you sure you have no TLS
support compiled? it is quite impossible for openser to perform a sips.tcp
SRV lookup without the TLS support compiled and enabled - see the resolve.c
file, line 936. looking at the code, I see no way how to happen what you
are describing.
can you provide more info? trace, debug logs, whatever else..?
regards,
bogdan
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1583446&group_id=139143
More information about the Devel
mailing list