Re: [GnomeMeeting-list] Gm Behind firewall with GM NAT turned on registering local IP not GW IP



Damien Sandras wrote:

GnomeMeeting is unable to determine the IP of your router.
Netmeeting woudl also register a wrong IP.

ils.seconix.com is fixing that and fixing the IP. The FAQ tells that it
works with ils.seconix.com. With another ILS you have to manually update
the IP. The IP is not updated with another ILS:

if ((mail)&&(strcmp (mail, ""))
              &&(!strcmp (ldap_server, "ils.seconix.com")))


could not a option be put in the menus that a user can say this is the IP I want to have registered from this client

or

have the code check if the NAT option is on and if it is use that IP as there registering IP.


--
Le jeu 07/11/2002 à 03:27, Will Merkens a écrit :
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



_______________________________________________
GnomeMeeting-list mailing list
GnomeMeeting-list gnome org
http://mail.gnome.org/mailman/listinfo/gnomemeeting-list


--

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]