After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 634256 - listens to wrong ip
listens to wrong ip
Status: RESOLVED NOTGNOME
Product: ekiga
Classification: Applications
Component: OPAL
3.2.x
Other Linux
: Normal major
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
Depends on:
Blocks:
 
 
Reported: 2010-11-07 23:48 UTC by David Fries
Modified: 2010-11-20 23:39 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
hack, use IP ANY for binding (1.33 KB, text/plain)
2010-11-07 23:48 UTC, David Fries
Details

Description David Fries 2010-11-07 23:48:22 UTC
Created attachment 174035 [details]
hack, use IP ANY for binding

Ekiga/opal initially listens to each individual ip:port on the system.
When a call is started it is picking the first non-localhost ip
address and binding to that one, which is a very bad guess as to which
IP the remote system is going to send RPT packets to.  This means if
the system has multiple ip addresses it either works, or all the
incoming UDP packets get rejected with an ICMP error because ekiga is
listening to a different ip and port.

Capture ekiga -d 4, and search for "Initial interface list:" for the
interface order.

Also, on startup not only does ekiga bind to each ip address it sends
out the initial subscribe SIP requests from each to the remote server.
In my case only one ip address is on the network which has a default
route, the other networks are in the 192.168.0.0 and 172.20.0.0
ranges, which is causing packets to be routed to internet with local
non-routable ip addresses.  If it isn't going to look at the routing
tables to figure out which local ip addresses can get to the route
system, it should just call connect, let the kernel assign the local
ip address, and read what that local ip address is.

Until some more sane algorithm is picked, here is a hack patch to
listen to all of them.  I'm not going to call this the right solution,
but it does let me hear the other end.
Comment 1 David Fries 2010-11-08 00:03:11 UTC
The versions in use are, Debian Ekiga 3.2.7-2, libopal 3.6.8~dfsg-2, ptlib 2.6.7-1
Comment 2 Eugen Dedu 2010-11-20 18:27:30 UTC
Thank you very much for reporting this important bug.  Please post it to opalvoip bugzilla: http://sourceforge.net/tracker/?words=tracker_browse&sort=open_date&sortdir=desc&offset=0&group_id=204472&atid=989748&assignee=&status=&category=&artgroup=&keyword=&submitter=&artifact_id= (tell them also the versions involved) and inform us here if it is fixed.

Thank you very much!
Comment 3 David Fries 2010-11-20 23:39:15 UTC
Bug posted as, OpalVOIP ID: 3113951

https://sourceforge.net/tracker/?func=detail&aid=3113951&group_id=204472&atid=989748