[GnomeMeeting-list] Gm Behind firewall with GM NAT turned on registering local IP not GW IP
- From: Will Merkens <willm merkens ca>
- To: gnomemeeting-list gnome org
- Subject: [GnomeMeeting-list] Gm Behind firewall with GM NAT turned on registering local IP not GW IP
- Date: Wed, 06 Nov 2002 19:27:06 -0700
If I understand this code correclty, the GM after regstering with the
ILS should update the ip number with GW IP.
But it seems to register the local machine IP which is a 192.168.x.x
unroutable number.
/* if we registered to ILS, let's update the IP from ILS
to the gateway IP of the translation */
gchar *ip = NULL;
gchar *mail =
gconf_client_get_string (GCONF_CLIENT (client),
"/apps/gnomemeeting/personal_data/mail",
NULL);
if ((mail)&&(strcmp (mail, ""))
&&(!strcmp (ldap_server, "ils.seconix.com")))
ip = Search (ldap_server, "389", mail);
if (ip) {
PString IP = PString (ip);
PINDEX prt = IP.Find (':');
if (prt != P_MAX_INDEX)
IP = IP.Left (prt);
if (PIPSocket::Address (IP) != PIPSocket::Address ("0.0.0.0"))
gconf_client_set_string (client,
"/apps/gnomemeeting/general/public_ip", (const char *) IP, NULL); <<==
isn't this supposed to be sent?
from the GM logs
19:18:40 Started GnomeMeeting V0.95 for willm
19:18:40 Opening Video device
19:18:40 Contacting 68.145.105.101...
19:18:41 Successfully opened video device /dev/video0, channel 0
19:18:43 Successfully registered to 68.145.105.101.
from the ILS
the IP is 192.168.42.107:1720 it should be 64.145.105.101:1720
but on ils.seconix.com it registers correctly??
why?
what is different from ils.seconix.com and mine, what am I missing in my
ILS server.
if I edit the /usr/local/share/gnomemeeting/xdap xml files I can make it
work....
at least it's getting a valid IP this time not '1234567890' stuff.
--
Will Merkens
Suite 1103, 505 - 4th Ave S.W.
Calgary, AB.
Canada
Primary E-Mail: willm merkens ca
Backup E-Mail: willm wsm dhs org
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]