Re: minimum set of ports for proxy use

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



1. RTP protocol always uses two port - one even and one odd, so the ports are always
allocated in pairs, like 5000-5001, 5002-5003.
2. Similar to 1. - proxying a signaling channel requires at least two sockets, plus two another,
if tunneling is disabled.
3. Make sure H.245 tunneling is turned on and, for NAT travesal, it often depends on who
is sending media first. A backpath for UDP packets is opened only after a NATed endpoint
sends the first UDP packet.


PS: I would not recommend using so narrow port ranges. Sockets are sometimes deleted with some
delay after a connection is closed, so you may run out of socket with full proxy utilization.


----- Original Message ----- From: "Raschel" <raschel@xxxxxx>
Sent: Friday, January 28, 2005 6:04 PM



i try at the moment to figure out what is the minimum port requiremnet for proxy use and some other stuff.


i use the 2.2.1-2 executable for linux with two network cards.

the proxy is on private ip behind a nat router and the second interface is connected to another private ip. the proxy act as a child gk with a parent gk at public IP.

now i have setup the RTP port range at the proxy section from 5000 - 5020.

the strange thing is that the proxy use for every seperate connection another 4 ports (audio + video) e.g. 5000- 5003 next 5004 - 5007 and if i place some calls at the end it use 5021 + some ports e.g. 5006-5008.

1.)
why does the gnugk use 5021 if i specify the range only from 5000 - 5020 ?

2.)
why the gnugk increment for each call the next 4 ports ?
the same i saw for Q931 port range usage.

3.)
if i place a call from outside (phone which is connected to the parent gk to phone which is at the child gk) the connection (audio + video) is established at once on both side.


but if i place a call from the phone behind the child gk to a phone which is connect outside at the parent gk, the outside phone establish the connection at once and the inside phone take up to 2-3 seconds to establish audio and video.

4.)
the child gk still crash if i have a nat router reconnection (with new public IP) if it tries to reregister with the parent gk.
the parent gk sends a RRQ reject with request for full registration and than the proxy die.


please help and give some hints

thx
TOM



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux