NAT Traversal document

View: New views
15 Messages — Rating Filter:   Alert me  

NAT Traversal document

by Simon Horne-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Guys

 

Both GnuGk and H323plus CVS now support Direct Media or H.460.18/.19/.23/.24 in both slow and fast connect.

 

These 4 standards work together to allow media to traverse NAT without requiring the media to be proxied.

This greatly increases the scalability of video conferencing systems within NAT environments with only a small proportion of media needing to be proxied.

 

I have prepared a not-so technical document which explains Direct Media and how the 4 standards interwork.

http://www.h323forum.org/specifications/

 

I have also released a new version of PacPhone v2,2 (H323plus v1.22 CVS) and a windows installer for GnuGk v2.3.1 (current CVS) and both are available from the PacPhone website (www.pacphone.com).

 

Simon

 

 


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Direct Media and H.460.18/.19/.23/.24/24a

by Earl-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Simon,

if Pacphone v2.2 and GnuGK v2.3.1 both support

either
Direct Media *or* H.460.18/.19/.23/.24    24a?
or
Direct Media *and* H.460.18/.19/.23/.24   24a?

than who / what makes the decision to use Direct Media versus H.460.xx ?
Is this automagically determined or does the writer of GnuGK.ini
determine this?


If GnuGK tells Pacphone to determine type of NAT with STUN test, how does
Pacphone do this if the "use STUN checkbox" is not checked and no server
entered ?

Are H.460.18/.19/.23/.24/24a self-compatible and interoperable such that
these
protocols can automagically decide among themselves which is the best to
use ?

Regards, Earl

Simon Horne wrote:
>
>  Guys

>  Both GnuGk and H323plus CVS now support Direct Media or
>  H.460.18/.19/.23/.24 in both slow and fast connect.
>  >
>  These 4 standards work together to allow media to traverse NAT
>  without requiring the media to be proxied.
>
>  This greatly increases the scalability of video conferencing systems
>  within NAT environments with only a small proportion of media needing
>  to be proxied.
>
>  I have prepared a not-so technical document which explains Direct
>  Media and how the 4 standards interwork.
>
>  http://www.h323forum.org/specifications/
>
>  > I have also released a new version of PacPhone v2,2 (H323plus v1.22
>  CVS) and a windows installer for GnuGk v2.3.1 (current CVS) and both
>  are available from the PacPhone website (www.pacphone.com
>  <http://www.pacphone.com/>).
>  Simon


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Simon Horne-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Just to clarify "Direct Media" IS H.460.18/.19/.23/.24.
GnuGk must be compiled with HAS_H46018 and HAS_H46023 switches.

The INI Settings to enable it are
[RoutedMode]
EnableH46018=1
EnableH46023=1
H46023STUN=stun.ekiga.net,192.168.1.10

H.460.23 sends the endpoint the address of the STUN server on registration
and endpoint will automatically test the NAT device with that STUN server.
This is automatic in the background. There is no STUN server setting in the
endpoint. If you set the STUN server in pacphone then it will automatically
disable "Direct Media" and will just use STUN for NAT Traversal. This is not
recommended and the reasons are described in the document. STUN does not
work for all NAT.

H.460.18/.19/.23/.24 works together. The overall aim is to work out a media
path that does not require the use of a media proxy (H.460.19). The
gatekeeper will formulate a media path solution in the ARQ/ACF phase and
then instruct the endpoints (in ACF and Setup) to execute that solution. Yes
it is fully automagical of you like. :)

The solution is H.323v4 compliant so you should be able to interwork with
existing H.323 devices.

Simon


-----Original Message-----
From: Earl [mailto:Large.Files@...]
Sent: Saturday, 26 September 2009 10:57 PM
To: GNU Gatekeeper Users
Subject: [Openh323gk-users] Direct Media and H.460.18/.19/.23/.24/24a

Simon,

if Pacphone v2.2 and GnuGK v2.3.1 both support

either
Direct Media *or* H.460.18/.19/.23/.24    24a?
or
Direct Media *and* H.460.18/.19/.23/.24   24a?

than who / what makes the decision to use Direct Media versus H.460.xx ?
Is this automagically determined or does the writer of GnuGK.ini
determine this?


If GnuGK tells Pacphone to determine type of NAT with STUN test, how does
Pacphone do this if the "use STUN checkbox" is not checked and no server
entered ?

Are H.460.18/.19/.23/.24/24a self-compatible and interoperable such that
these
protocols can automagically decide among themselves which is the best to
use ?

Regards, Earl

Simon Horne wrote:
>
>  Guys

>  Both GnuGk and H323plus CVS now support Direct Media or
>  H.460.18/.19/.23/.24 in both slow and fast connect.
>  >
>  These 4 standards work together to allow media to traverse NAT
>  without requiring the media to be proxied.
>
>  This greatly increases the scalability of video conferencing systems
>  within NAT environments with only a small proportion of media needing
>  to be proxied.
>
>  I have prepared a not-so technical document which explains Direct
>  Media and how the 4 standards interwork.
>
>  http://www.h323forum.org/specifications/
>
>  > I have also released a new version of PacPhone v2,2 (H323plus v1.22
>  CVS) and a windows installer for GnuGk v2.3.1 (current CVS) and both
>  are available from the PacPhone website (www.pacphone.com
>  <http://www.pacphone.com/>).
>  Simon


----------------------------------------------------------------------------
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Simon Horne-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Guys

Just a quick update.

There was a small bug in H.460.19 in GnuGk when starting calling Fast
Connect and then switching back to slow connect which resulted in the video
not showing. This has now been fixed in the CVS.

Also to get H.460.23/.24 to work correctly you will need to specify a STUN
server on each network segment ie H46023STUN=stun.ekiga.net,192.168.1.10
This would be the setting with a gatekeeper with 2 network cards one on the
internet and one on the internal 192.168.1.x network.

This means that if a client registers from the internet they are instructed
to test their NAT with the public STUN server. If they register from a
subNAT then they are instructed to test with the internal STUN server. You
can download a STUN server from http://sourceforge.net/projects/stun/ and
you will need to have 2 network cards with consecutive IP and you can run
the stun server on the same box as GnuGK as long as you specify
Home=xxx.xxx.xxx.xxx in the INI so that GnuGk will only listen and use one
of the network cards.

Simon

-----Original Message-----
From: Simon Horne [mailto:s.horne@...]
Sent: Sunday, 27 September 2009 1:31 AM
To: 'GNU Gatekeeper Users'
Subject: Re: [Openh323gk-users] Direct Media and H.460.18/.19/.23/.24/24a


Just to clarify "Direct Media" IS H.460.18/.19/.23/.24.
GnuGk must be compiled with HAS_H46018 and HAS_H46023 switches.

The INI Settings to enable it are
[RoutedMode]
EnableH46018=1
EnableH46023=1
H46023STUN=stun.ekiga.net,192.168.1.10

H.460.23 sends the endpoint the address of the STUN server on registration
and endpoint will automatically test the NAT device with that STUN server.
This is automatic in the background. There is no STUN server setting in the
endpoint. If you set the STUN server in pacphone then it will automatically
disable "Direct Media" and will just use STUN for NAT Traversal. This is not
recommended and the reasons are described in the document. STUN does not
work for all NAT.

H.460.18/.19/.23/.24 works together. The overall aim is to work out a media
path that does not require the use of a media proxy (H.460.19). The
gatekeeper will formulate a media path solution in the ARQ/ACF phase and
then instruct the endpoints (in ACF and Setup) to execute that solution. Yes
it is fully automagical of you like. :)

The solution is H.323v4 compliant so you should be able to interwork with
existing H.323 devices.

Simon


-----Original Message-----
From: Earl [mailto:Large.Files@...]
Sent: Saturday, 26 September 2009 10:57 PM
To: GNU Gatekeeper Users
Subject: [Openh323gk-users] Direct Media and H.460.18/.19/.23/.24/24a

Simon,

if Pacphone v2.2 and GnuGK v2.3.1 both support

either
Direct Media *or* H.460.18/.19/.23/.24    24a?
or
Direct Media *and* H.460.18/.19/.23/.24   24a?

than who / what makes the decision to use Direct Media versus H.460.xx ?
Is this automagically determined or does the writer of GnuGK.ini
determine this?


If GnuGK tells Pacphone to determine type of NAT with STUN test, how does
Pacphone do this if the "use STUN checkbox" is not checked and no server
entered ?

Are H.460.18/.19/.23/.24/24a self-compatible and interoperable such that
these
protocols can automagically decide among themselves which is the best to
use ?

Regards, Earl

Simon Horne wrote:
>
>  Guys

>  Both GnuGk and H323plus CVS now support Direct Media or
>  H.460.18/.19/.23/.24 in both slow and fast connect.
>  >
>  These 4 standards work together to allow media to traverse NAT
>  without requiring the media to be proxied.
>
>  This greatly increases the scalability of video conferencing systems
>  within NAT environments with only a small proportion of media needing
>  to be proxied.
>
>  I have prepared a not-so technical document which explains Direct
>  Media and how the 4 standards interwork.
>
>  http://www.h323forum.org/specifications/
>
>  > I have also released a new version of PacPhone v2,2 (H323plus v1.22
>  CVS) and a windows installer for GnuGk v2.3.1 (current CVS) and both
>  are available from the PacPhone website (www.pacphone.com
>  <http://www.pacphone.com/>).
>  Simon


----------------------------------------------------------------------------
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


----------------------------------------------------------------------------
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Earl-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Simon,

ekiga.net does not have a STUN server, but only a redirect to
stun01.sipphone.com

so it is best to use stun01.sipphone.com as STUN server

ping stun.ekiga.net
Pinging stun01.sipphone.com [69.0.208.27] with 32 bytes of data:
Reply from 69.0.208.27: bytes=32 time=231ms TTL=43

Regards, Earl

Simon Horne wrote:

> Guys
>
> Just a quick update.
>
> There was a small bug in H.460.19 in GnuGk when starting calling Fast
> Connect and then switching back to slow connect which resulted in the video
> not showing. This has now been fixed in the CVS.
>
> Also to get H.460.23/.24 to work correctly you will need to specify a STUN
> server on each network segment ie H46023STUN=stun.ekiga.net,192.168.1.10
> This would be the setting with a gatekeeper with 2 network cards one on the
> internet and one on the internal 192.168.1.x network.
>
> This means that if a client registers from the internet they are instructed
> to test their NAT with the public STUN server. If they register from a
> subNAT then they are instructed to test with the internal STUN server. You
> can download a STUN server from http://sourceforge.net/projects/stun/ and
> you will need to have 2 network cards with consecutive IP and you can run
> the stun server on the same box as GnuGK as long as you specify
> Home=xxx.xxx.xxx.xxx in the INI so that GnuGk will only listen and use one
> of the network cards.
>
> Simon

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Simon Horne-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Earl

It does not matter which public STUN server to use. stun.ekiga.net should
still work even if it's redirected.

There is a list of public stun servers here
http://www.voip-info.org/wiki/view/STUN

Simon

-----Original Message-----
From: Earl [mailto:Large.Files@...]
Sent: Monday, 28 September 2009 7:10 PM
To: GNU Gatekeeper Users
Subject: Re: [Openh323gk-users] Direct Media and H.460.18/.19/.23/.24/24a

Simon,

ekiga.net does not have a STUN server, but only a redirect to
stun01.sipphone.com

so it is best to use stun01.sipphone.com as STUN server

ping stun.ekiga.net
Pinging stun01.sipphone.com [69.0.208.27] with 32 bytes of data:
Reply from 69.0.208.27: bytes=32 time=231ms TTL=43

Regards, Earl

Simon Horne wrote:
> Guys
>
> Just a quick update.
>
> There was a small bug in H.460.19 in GnuGk when starting calling Fast
> Connect and then switching back to slow connect which resulted in the
video
> not showing. This has now been fixed in the CVS.
>
> Also to get H.460.23/.24 to work correctly you will need to specify a STUN
> server on each network segment ie H46023STUN=stun.ekiga.net,192.168.1.10
> This would be the setting with a gatekeeper with 2 network cards one on
the
> internet and one on the internal 192.168.1.x network.
>
> This means that if a client registers from the internet they are
instructed
> to test their NAT with the public STUN server. If they register from a
> subNAT then they are instructed to test with the internal STUN server. You
> can download a STUN server from http://sourceforge.net/projects/stun/ and
> you will need to have 2 network cards with consecutive IP and you can run
> the stun server on the same box as GnuGK as long as you specify
> Home=xxx.xxx.xxx.xxx in the INI so that GnuGk will only listen and use one
> of the network cards.
>
> Simon

----------------------------------------------------------------------------
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Earl-17 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Simon,

which STUN server is not so important as having to use a STUN
server on each network segment if h460.23/24/24a is to work
correctly.  Thank you for explaining this.

I still am not sure how to enable h460.18/19/23/24/24a when
compiling GnuGK from CVS; whether a flag for .18 also
enables .19/.23/.24/.24a ?

Earl

Simon Horne wrote:

>  Earl
>
>  It does not matter which public STUN server to use. stun.ekiga.net
>  should still work even if it's redirected.
>
>  There is a list of public stun servers here
>  http://www.voip-info.org/wiki/view/STUN
>
>  Simon
>
>  -----Original Message----- From: Earl [mailto:Large.Files@...]
>  Sent: Monday, 28 September 2009 7:10 PM To: GNU Gatekeeper Users
>  Subject: Re: [Openh323gk-users] Direct Media and
>  H.460.18/.19/.23/.24/24a
>
>  Simon,
>
>  ekiga.net does not have a STUN server, but only a redirect to
>  stun01.sipphone.com
>
>  so it is best to use stun01.sipphone.com as STUN server
>
>  ping stun.ekiga.net
Pinging stun01.sipphone.com [69.0.208.27] with 32
>  bytes of data:
Reply from 69.0.208.27: bytes=32 time=231ms TTL=43

>
>  Regards, Earl
>
>  Simon Horne wrote:
> > Guys
> >
> > Just a quick update.
> >
> > There was a small bug in H.460.19 in GnuGk when starting calling
> > Fast Connect and then switching back to slow connect which resulted
> >  in the
>  video
> > not showing. This has now been fixed in the CVS.
> >
> > Also to get H.460.23/.24 to work correctly you will need to specify
> >  a STUN server on each network segment ie
> > H46023STUN=stun.ekiga.net,192.168.1.10 This would be the setting
> > with a gatekeeper with 2 network cards one on
>  the
> > internet and one on the internal 192.168.1.x network.
> >
> > This means that if a client registers from the internet they are
>  instructed
> > to test their NAT with the public STUN server. If they register
> > from a subNAT then they are instructed to test with the internal
> > STUN server. You can download a STUN server from
> > http://sourceforge.net/projects/stun/ and you will need to have 2
> > network cards with consecutive IP and you can run the stun server
> > on the same box as GnuGK as long as you specify
> > Home=xxx.xxx.xxx.xxx in the INI so that GnuGk will only listen and
> > use one of the network cards.
> >
> > Simon



------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Simon Horne-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There are 2 flags, One for H.460.18/.19 and one for H.460.23/.24 but you
only need to set -enable-h46018 as the H.460.23/.24 is enabled by default.

Simon

-----Original Message-----
From: Earl [mailto:Large.Files@...]
Sent: Monday, 28 September 2009 9:12 PM
To: GNU Gatekeeper Users
Subject: Re: [Openh323gk-users] Direct Media and H.460.18/.19/.23/.24/24a

Simon,

which STUN server is not so important as having to use a STUN
server on each network segment if h460.23/24/24a is to work
correctly.  Thank you for explaining this.

I still am not sure how to enable h460.18/19/23/24/24a when
compiling GnuGK from CVS; whether a flag for .18 also
enables .19/.23/.24/.24a ?

Earl

Simon Horne wrote:

>  Earl
>
>  It does not matter which public STUN server to use. stun.ekiga.net
>  should still work even if it's redirected.
>
>  There is a list of public stun servers here
>  http://www.voip-info.org/wiki/view/STUN
>
>  Simon
>
>  -----Original Message----- From: Earl [mailto:Large.Files@...]
>  Sent: Monday, 28 September 2009 7:10 PM To: GNU Gatekeeper Users
>  Subject: Re: [Openh323gk-users] Direct Media and
>  H.460.18/.19/.23/.24/24a
>
>  Simon,
>
>  ekiga.net does not have a STUN server, but only a redirect to
>  stun01.sipphone.com
>
>  so it is best to use stun01.sipphone.com as STUN server
>
>  ping stun.ekiga.net
Pinging stun01.sipphone.com [69.0.208.27] with 32
>  bytes of data:
Reply from 69.0.208.27: bytes=32 time=231ms TTL=43

>
>  Regards, Earl
>
>  Simon Horne wrote:
> > Guys
> >
> > Just a quick update.
> >
> > There was a small bug in H.460.19 in GnuGk when starting calling
> > Fast Connect and then switching back to slow connect which resulted
> >  in the
>  video
> > not showing. This has now been fixed in the CVS.
> >
> > Also to get H.460.23/.24 to work correctly you will need to specify
> >  a STUN server on each network segment ie
> > H46023STUN=stun.ekiga.net,192.168.1.10 This would be the setting
> > with a gatekeeper with 2 network cards one on
>  the
> > internet and one on the internal 192.168.1.x network.
> >
> > This means that if a client registers from the internet they are
>  instructed
> > to test their NAT with the public STUN server. If they register
> > from a subNAT then they are instructed to test with the internal
> > STUN server. You can download a STUN server from
> > http://sourceforge.net/projects/stun/ and you will need to have 2
> > network cards with consecutive IP and you can run the stun server
> > on the same box as GnuGK as long as you specify
> > Home=xxx.xxx.xxx.xxx in the INI so that GnuGk will only listen and
> > use one of the network cards.
> >
> > Simon



----------------------------------------------------------------------------
--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Marcus Frenkel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Sep 28, 2009 at 9:25 AM, Simon Horne <s.horne@...> wrote:
> This means that if a client registers from the internet they are instructed
> to test their NAT with the public STUN server. If they register from a
> subNAT then they are instructed to test with the internal STUN server. You
> can download a STUN server from http://sourceforge.net/projects/stun/ and
> you will need to have 2 network cards with consecutive IP and you can run
> the stun server on the same box as GnuGK as long as you specify
> Home=xxx.xxx.xxx.xxx in the INI so that GnuGk will only listen and use one
> of the network cards.

Sorry to bring this up again, just a silly question to double check.
Do we need to have two network cards if we want to run STUN server on
the same machine with GnuGK? I only want to use GnuGK as a public GK,
no internal network to serve.

Thanks in advance,
Marcus

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Simon Horne-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Marcus

Yes you need 2 network cards if you run a stun server on the same machine as
GnuGK. If the gatekeeper is on the internet then you can use an existing
public STUN server and do not need to install one.

Simon

-----Original Message-----
From: Marcus Frenkel [mailto:marcus.frenkel@...]
Sent: Monday, 19 October 2009 6:49 AM
To: GNU Gatekeeper Users
Subject: Re: [Openh323gk-users] Direct Media and H.460.18/.19/.23/.24/24a

On Mon, Sep 28, 2009 at 9:25 AM, Simon Horne <s.horne@...> wrote:
> This means that if a client registers from the internet they are
instructed
> to test their NAT with the public STUN server. If they register from a
> subNAT then they are instructed to test with the internal STUN server. You
> can download a STUN server from http://sourceforge.net/projects/stun/ and
> you will need to have 2 network cards with consecutive IP and you can run
> the stun server on the same box as GnuGK as long as you specify
> Home=xxx.xxx.xxx.xxx in the INI so that GnuGk will only listen and use one
> of the network cards.

Sorry to bring this up again, just a silly question to double check.
Do we need to have two network cards if we want to run STUN server on
the same machine with GnuGK? I only want to use GnuGK as a public GK,
no internal network to serve.

Thanks in advance,
Marcus

----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Esa Nyrhinen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Is it strictly necessary to have two physical NICs for a STUN server?
Can't you simply do it by creating an alias interface for the physical
NIC's interface and then assigning a different public ip for it?

Esa

Simon Horne kirjoitti:

> Marcus
>
> Yes you need 2 network cards if you run a stun server on the same machine as
> GnuGK. If the gatekeeper is on the internet then you can use an existing
> public STUN server and do not need to install one.
>
> Simon
>
> -----Original Message-----
> From: Marcus Frenkel [mailto:marcus.frenkel@...]
> Sent: Monday, 19 October 2009 6:49 AM
> To: GNU Gatekeeper Users
> Subject: Re: [Openh323gk-users] Direct Media and H.460.18/.19/.23/.24/24a
>
> On Mon, Sep 28, 2009 at 9:25 AM, Simon Horne <s.horne@...> wrote:
>> This means that if a client registers from the internet they are
> instructed
>> to test their NAT with the public STUN server. If they register from a
>> subNAT then they are instructed to test with the internal STUN server. You
>> can download a STUN server from http://sourceforge.net/projects/stun/ and
>> you will need to have 2 network cards with consecutive IP and you can run
>> the stun server on the same box as GnuGK as long as you specify
>> Home=xxx.xxx.xxx.xxx in the INI so that GnuGk will only listen and use one
>> of the network cards.
>
> Sorry to bring this up again, just a silly question to double check.
> Do we need to have two network cards if we want to run STUN server on
> the same machine with GnuGK? I only want to use GnuGK as a public GK,
> no internal network to serve.
>
> Thanks in advance,
> Marcus
>
> ----------------------------------------------------------------------------
> --
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________________
>
> Posting: mailto:Openh323gk-users@...
> Archive:
> http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
> Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________________
>
> Posting: mailto:Openh323gk-users@...
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
> Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/
>


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Simon Horne-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Esa

Yes that is correct. As long as there is 2. STUN just needs to have 2
different addresses to detect how the EP NAT behaves.
Remember for GnuGK should only bind to one so use the HOME setting to
instruct it to only listen on one on the addresses.

Simon

-----Original Message-----
From: Esa Nyrhinen [mailto:esa.nyrhinen@...]
Sent: Monday, 19 October 2009 6:32 PM
To: GNU Gatekeeper Users
Subject: Re: [Openh323gk-users] Direct Media and H.460.18/.19/.23/.24/24a

Hi,

Is it strictly necessary to have two physical NICs for a STUN server?
Can't you simply do it by creating an alias interface for the physical NIC's
interface and then assigning a different public ip for it?

Esa

Simon Horne kirjoitti:

> Marcus
>
> Yes you need 2 network cards if you run a stun server on the same
> machine as GnuGK. If the gatekeeper is on the internet then you can
> use an existing public STUN server and do not need to install one.
>
> Simon
>
> -----Original Message-----
> From: Marcus Frenkel [mailto:marcus.frenkel@...]
> Sent: Monday, 19 October 2009 6:49 AM
> To: GNU Gatekeeper Users
> Subject: Re: [Openh323gk-users] Direct Media and
> H.460.18/.19/.23/.24/24a
>
> On Mon, Sep 28, 2009 at 9:25 AM, Simon Horne <s.horne@...>
wrote:

>> This means that if a client registers from the internet they are
> instructed
>> to test their NAT with the public STUN server. If they register from
>> a subNAT then they are instructed to test with the internal STUN
>> server. You can download a STUN server from
>> http://sourceforge.net/projects/stun/ and you will need to have 2
>> network cards with consecutive IP and you can run the stun server on
>> the same box as GnuGK as long as you specify Home=xxx.xxx.xxx.xxx in
>> the INI so that GnuGk will only listen and use one of the network cards.
>
> Sorry to bring this up again, just a silly question to double check.
> Do we need to have two network cards if we want to run STUN server on
> the same machine with GnuGK? I only want to use GnuGK as a public GK,
> no internal network to serve.
>
> Thanks in advance,
> Marcus
>
> ----------------------------------------------------------------------
> ------
> --
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart
> your developing skills, take BlackBerry mobile applications to market
> and stay ahead of the curve. Join us from November 9 - 12, 2009. Register
now!

> http://p.sf.net/sfu/devconference
> _______________________________________________________
>
> Posting: mailto:Openh323gk-users@...
> Archive:
> http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-use
> rs
> Unsubscribe:
> http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/
>
>
> ----------------------------------------------------------------------
> -------- Come build with us! The BlackBerry(R) Developer Conference in
> SF, CA is the only developer event you need to attend this year.
> Jumpstart your developing skills, take BlackBerry mobile applications
> to market and stay ahead of the curve. Join us from November 9 - 12,
> 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________________
>
> Posting: mailto:Openh323gk-users@...
> Archive:
> http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-use
> rs
> Unsubscribe:
> http://lists.sourceforge.net/lists/listinfo/openh323gk-users
> Homepage: http://www.gnugk.org/
>


----------------------------------------------------------------------------
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the
only developer event you need to attend this year. Jumpstart your developing
skills, take BlackBerry mobile applications to market and stay ahead of the
curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media and H.460.18/.19/.23/.24/24a

by Marcus Frenkel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 19, 2009 at 8:38 AM, Simon Horne <s.horne@...> wrote:
> Yes you need 2 network cards if you run a stun server on the same machine as
> GnuGK. If the gatekeeper is on the internet then you can use an existing
> public STUN server and do not need to install one.

In order to take more control over the uptime of the STUN servers, can
we just place a number of public STUN servers in the variable:
H46023STUN=stun.site1.net,stun.site2.net,stun.site3.net,stun.site4.net,stun.site5.net
I assume that h323plus based endpoint, like the simpleh323 one, will
receive the full list and will try another STUN server if previous one
fails to connect.

BTW: Just a thought that it would be great if GnuGK integrates STUN
server in itself, using the open source STUN server code.

Marcus

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: [h323plus] Direct Media andH.460.18/.19/.23/.24/24a

by Simon Horne-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Marcus

The STUN entries in the gatekeeper INI can be multiple entries such as
H46023STUN=stun.site1.net,stun.site2.net,stun.site3.net

However at the moment GnuGk will only assign one per network segment so if
you have 2 networks connected to the gatekeeper then it will assign one
(auto-detect) for each network (and ignore the rest). Now the H.460.23
standard only allows the transmission of one address for STUN (ok shoot me!
:)). That does not mean that the gatekeeper can select from a list (not
implemented) or send a DNS SRV address (_stun._udp) to furnish the endpoint
with a range of STUN servers to test with (not implemented in h323plus).
Both can be implemented. I will certainly do the later in h323plus. There is
no reason the gatekeeper can't do a database dip or load balance when
assigning STUN server or some other mechanism.

Whether a STUN server in integrated into GnuGk is a decision for Jan.

Simon



-----Original Message-----
From: h323plus-bounces@...
[mailto:h323plus-bounces@...] On Behalf Of Marcus Frenkel
Sent: Wednesday, 21 October 2009 6:16 AM
To: GNU Gatekeeper Users
Cc: h323plus@...
Subject: Re: [h323plus] [Openh323gk-users] Direct Media
andH.460.18/.19/.23/.24/24a

On Mon, Oct 19, 2009 at 8:38 AM, Simon Horne <s.horne@...> wrote:
> Yes you need 2 network cards if you run a stun server on the same
> machine as GnuGK. If the gatekeeper is on the internet then you can
> use an existing public STUN server and do not need to install one.

In order to take more control over the uptime of the STUN servers, can we
just place a number of public STUN servers in the variable:
H46023STUN=stun.site1.net,stun.site2.net,stun.site3.net,stun.site4.net,stun.
site5.net
I assume that h323plus based endpoint, like the simpleh323 one, will receive
the full list and will try another STUN server if previous one fails to
connect.

BTW: Just a thought that it would be great if GnuGK integrates STUN server
in itself, using the open source STUN server code.

Marcus


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/

Re: Direct Media andH.460.18/.19/.23/.24/24a

by Willamowius :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If there is no substantial advantage to have it integrated into GnuGk, I
would prefer to keep them separate applications.

Regards,
Jan

Simon Horne wrote:
> Whether a STUN server in integrated into GnuGk is a decision for Jan.

Marcus Frenkel wrote:
> BTW: Just a thought that it would be great if GnuGK integrates STUN
> server in itself, using the open source STUN server code.

--
Jan Willamowius, jan@..., http://www.gnugk.org/

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________________

Posting: mailto:Openh323gk-users@...
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/