Re: InternalNetworks parameter in Proxy section

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

 



Isn't it too terse?

What about this variant?
---
This parameter defines "internal networks" - networks behind the proxy. If
both endpoints (calling and called) have media IP addresses, which belong to
internal networks, the proxying will be disabled. Otherwise - GnuGk decides
that call should be proxied. For proxied calls, packets to internal networks
will use the local interface as sender instead of the default IP or
ExternalIP. By default (when this parameters is absent or has empty value)
GnuGk detects internal networks automatically using IP routing table. You
should set this parameter only if you want to override the automatic
detection. Multiple internal networks are allowed.
---

Did I understand it right?

-----Original Message-----
From: Jan Willamowius [mailto:jan@xxxxxxxxxxxxxx] 
Sent: Thursday, January 28, 2010 4:50 PM
To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  InternalNetworks parameter in Proxy section

I think that whole paragraph isn't very clear. I rewrote it to:

Define the networks behind the proxy, if you want to override the automatic
detection.
Multiple internal networks are allowed.
Packets to internal networks will use the local interface as sender instead
of the default IP or ExternalIP.
For internal networks, the proxying can be disabled, even when global
proxying is activated.

Is that better ?

Regards,
Jan

Simon Horne wrote:
> 
> Denis 
> 
> You are correct. The behaviour was changed to automatically detect however
> the documentation was not updated.
> 
> [Proxy]
> ProxyAlways=1
> 
> Will force all calls to be proxied.
> 
> see
> http://www.gnugk.org/gnugk-manual-5.html#ss5.2 
> 
> Simon
> 
> -----Original Message-----
> From: Denis Kochmashev "Enforta" [mailto:d.kochmashev@xxxxxxxxxxx] 
> Sent: Thursday, 28 January 2010 5:27 PM
> To: openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
> Subject:  InternalNetworks parameter in Proxy section
> 
> Hello, Jan!
> 
> Would you kindly explain me one thing which I can't understand?
> 
> Documentation says the following:
> 
> InternalNetwork=10.0.1.0/24
> Default: N/A
> .
> If you don't specify it, all calls will be proxied.
> .
> 
> But I can see in Toolkit.cxx that this is not true. If I don't specify
> InternalNetworks detected values will be used:
> 
> void Toolkit::ProxyCriterion::LoadConfig(PConfig *config) { .
>         PStringArray networks(config->GetString(ProxySection,
> "InternalNetwork", "").Tokenise(" ,;\t", FALSE));
> 
>         // if no networks specified then use the detected values
>         NetworkModes internal_netmode;
>         internal_netmode.fromExternal = m_enable ? CallRec::Proxied :
> CallRec::SignalRouted;;
>         internal_netmode.insideNetwork = CallRec::SignalRouted;;
>         if (networks.GetSize() == 0) {
>                 m_internalnetworks =
> Toolkit::Instance()->GetInternalNetworks();
> .
> 
> So I suppose that doc doesn't correspond to real gnugk behavior and there
is
> no way to make gnugk proxy all calls just using this parameter
> (InternalNetworks). Is that true or did I miss something?
> 
> Thanks.

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

----------------------------------------------------------------------------
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the
business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
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/


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________________

Posting: mailto:Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
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/

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

  Powered by Linux