Re: does not work on Fedora

mdbug <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnomemeeting
Message-ID <[email protected]>

On 09/28/2014 01:21 PM, Eugen Dedu wrote:

> Could you please explain a one paragraph what does the script do?  If I
> understand correctly, you send a packet from each port used by Ekiga and
> checks if you receive an answer back, is it?

Yes, Basically port_test function/subroutine opens the source port and 
each destination port in the port_ary using in indicated protocol (udp, 
tcp) to receive the whole line for that test.

It prints FAILED or passed as each port is tested to give user feedback 
while testing. Any failed port test bumps fault count and failed ports 
go into an error array and dumped to console for user to fix.

The outside loop is using the PC's ip address on the LAN side of the 
router/modem, then uses the WAN/ISP side of router to check if router 
passes message through to PC.

Example of "3478 udp mandatory Outgoing STUN for SIP (phone calls) and 
RTP (video)." test

outside loop picks LAN ip, (192.168.1.2)
open source port 38564 using udp, open destination port 3478 using udp,
sends above message to 192.168.1.2 port 3478, then closes both ports.

If all ports pass LAN test, code picks WAN/ISP ip. (98.139.183.24) and 
runs the port test again.

Last test is to ping the register's sip._udp servers.

If Ekiga can not figure out WAN ip, user can get get them from the 
command line using
curl http://icanhazip.com/
curl http://myip.dnsomatic.com
curl http://ident.me
wget -O- http://icanhazip.com

or a browser using the url. Or ekiga.org webpage could provide the WAN 
ip in the test section. Another possibility is Ekiga could read 
http://ekiga.org/some_get_wan_ip_cgi_page_here to fetch the value 
automagically.

Ekiga could even send the users registar and the cgi could return the 
registar's sip servers to ping.  :)

You need to review the mandatory/required field to verify if I have 
identified those correctly. I did my best from ekiga.org documentation.

For range ports like 5000-5100 and 30000-30010 I just picked a few.

No idea if you want to put the "Solution" code in Ekiga or have it on 
the ekiga.org site.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.