Bug 23363 - Local-ip-address setting for telepathy-idle
Summary: Local-ip-address setting for telepathy-idle
Status: RESOLVED MOVED
Alias: None
Product: Telepathy
Classification: Unclassified
Component: idle (show other bugs)
Version: unspecified
Hardware: All All
: low enhancement
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-17 03:02 UTC by Santtu Lakkala
Modified: 2019-12-03 19:24 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Simple patch that adds the functionality in question (8.34 KB, patch)
2009-08-17 03:10 UTC, Santtu Lakkala
Details | Splinter Review

Description Santtu Lakkala 2009-08-17 03:02:29 UTC
Many popular irc clients support selecting the IP onto which to bind outgoing connectiongs. This is mostly popular on servers with multiple IP addresses, and is not necessarily too useful for a desktop client. I'm, however, looking into telepathy as a base of a multi-protocol-notifier/information bot, and choosing the IP would be really beneficial.

This might serve also people who use VPN to a company internal network (although in these cases it should work automatically, but just in case).

The point is to do a bind() for the socket (with 0 port) before connect()ing.
Comment 1 Santtu Lakkala 2009-08-17 03:10:27 UTC
Created attachment 28699 [details] [review]
Simple patch that  adds the functionality in question

This is a simple patch that adds the "local-ip-address" for connections and uses it for bind()ing before connect()ing.

It uses the IdleDnsResolver already present (disabling the port != 0 sanity check) as it is no longer valid).

It isn't perfect, the local-ip-address should also enforce usage of IPv6 if applicable, but it's a start. Changing the family-selection-heuristic would make the patch conciderably more complex.
Comment 2 GitLab Migration User 2019-12-03 19:24:48 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-idle/issues/10.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.