My GK doesn't work in proxy mode

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

 



Hello

I'm using GK in proxy mode in a NAT/Firewall Linux Box

With my current configuration I can't establish calls between the
End-Points, this is my scenario


       (Internet)
           |
           |
         [ADSL]                     - My Linux Box its doing
           |                          NAT+Firewalll and uses
    +------+-------+                  an public IP
    |              |                - My Win98 Box A uses an public IP
    |              |                - All my Windows boxes runs
[Win98/A]    [Linux/OpenGK]           Netmeeting 3.01 (4.4.3396)
                   |192.168.10.1
                   |
           +-------+------+
           |              |
       [Win98/B]      [Win98/C]
      192.168.10.5   192.168.10.80

I have trying the following:

1.Set up NetMeeting on all Windows Boxes without Gatekeeper, try to
  made calls. Of course only calls between Box B an C works perfectly

2.Set up NetMeeting on all Windows Boxes *to use Gatekeeper*: No calls
  its posible to get between boxes.

I have read the documentations, I have checked the mailling list history
files, but I can't find the solution to my problem. I think that I'm
doing something wrong...

I have tryed using the following settings on my gnugk.ini, but doesn't
solve my problem.

[RasSrv::PermanentEndpoints]
192.168.10.5=izquierda
192.168.10.80=derecha

I have realized that this entries are overwrited when Netmeeting asks
for registration to Gatekeeper.

Any help it would be very appreciated. I'm including below relevant config and log files:

TIA

- Hardy


Command line to run gnugk:

    ./gnugk -c ./gnugk.ini -o /var/log/gnugk.log -tttttt -rr


----My gnugk.ini (begin)----

[Gatekeeper::Main]
Fourtytwo=42
TimeToLive=600
NetworkInterfaces=192.168.10.0/24,200.87.XXX.YY/29
 
[RoutedMode]
GKRouted=1
H245Routed=1
CallSignalPort=1721
CallSignalHandlerNumber=2
RemoveH245AddressOnTunneling=1
DropCallsByReleaseComplete=1
SupportNATedEndpoints=1
Q931PortRange=30000-30099
H245PortRange=40000-40099
 
[RasSrv::ARQFeatures]
CallUnregisteredEndpoints=1
 
[Proxy]
Enable=1
InternalNetwork=192.168.10.0/24
ProxyForNAT=1
T120PortRange=50000-50099
RTPPortRange=50000-50099
 
[GkStatus::Auth]
rule=allow
 
[Gatekeeper::Auth]
SimplePasswordAuth=optional;RRQ;ARQ
default=allow
 
[RasSrv::PermanentEndpoints]
192.168.10.5=izquierda
192.168.10.80=derecha
 
[Password]
KeyFilled=123
CheckID=TRUE
PasswordTimeout=0
linux=uhwjyoX8dtg=
prueba=nMlyt5rUyTs=
hardy=FGICTUI8/CE=
winlab=EcpQlt6IJS/gfrgnw3wVFA==

-----------------(end)------


This is my log file relevant info

------ gnugk.log  (begin)-----

2004/03/11 19:05:09.020	1	      RasSrv.cxx(940)	GK	RRQ Received
2004/03/11 19:05:09.020	4	        gkauth.h(84)	GkAuth	default check ok
2004/03/11 19:05:09.047	2	     
RasSrv.cxx(1157)	RCF|192.168.10.5:1720|winlab:h323_ID|terminal|7591_endp;

2004/03/11 19:05:09.049	3	      RasSrv.cxx(2111)	GK	Send to
192.168.10.5:1062
registrationConfirm {
    requestSeqNum = 1
    protocolIdentifier = 0.0.8.2250.0.2
    callSignalAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          c0 a8 0a 00                                        ....
        }
        port = 1720
      }
    }
    terminalAlias = 1 entries {
      [0]=h323_ID  6 characters {
        0077 0069 006e 006c 0061 0062             winlab
      }
    }
    gatekeeperIdentifier =  10 characters {
      004f 0070 0065 006e 0048 0033 0032 0033   OpenH323
      0047 004b                                 GK
    }
    endpointIdentifier =  9 characters {
      0037 0035 0039 0031 005f 0065 006e 0064   7591_end
      0070                                      p
    }
    willRespondToIRR = FALSE
    maintainConnection = FALSE
  }
2004/03/11 19:05:09.049	5	      RasSrv.cxx(2125)	GK	Sent Successful
2004/03/11 19:05:23.413	2	      RasSrv.cxx(2171)	GK	Read from
192.168.10.80:1057
2004/03/11 19:05:23.524	3	      RasSrv.cxx(2184)	GK
registrationRequest {
    requestSeqNum = 1
    protocolIdentifier = 0.0.8.2250.0.2
    discoveryComplete = FALSE
    callSignalAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          c0 a8 0a 50                                        ...P
        }
        port = 1720
      }
    }
    rasAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          c0 a8 0a 50                                        ...P
        }
        port = 1057
      }
    }
    terminalType = {
      terminal = {
      }
      mc = FALSE
      undefinedNode = FALSE
    }
    terminalAlias = 1 entries {
      [0]=h323_ID  5 characters {
        0068 0061 0072 0064 0079                  hardy
      }
    }
    endpointVendor = {
      vendor = {
        t35CountryCode = 181
        t35Extension = 0
        manufacturerCode = 21324
      }
      productId =  23 octets {
        4d 69 63 72 6f 73 6f 66  74 ae 20 4e 65 74 4d 65   Microsoft.
NetMe
        65 74 69 6e 67 ae 00                               eting..
      }
      versionId =  4 octets {
        33 2e 30 00                                        3.0.
      }
    }
    keepAlive = FALSE
    willSupplyUUIEs = FALSE
    maintainConnection = FALSE
  }
2004/03/11 19:05:23.643	1	      RasSrv.cxx(940)	GK	RRQ Received
2004/03/11 19:05:23.817	4	        gkauth.h(84)	GkAuth	default check ok
2004/03/11 19:05:23.827	2	     
RasSrv.cxx(1157)	RCF|192.168.10.80:1720|hardy:h323_ID|terminal|7592_endp;

2004/03/11 19:05:23.828	3	      RasSrv.cxx(2111)	GK	Send to
192.168.10.80:1057
registrationConfirm {
    requestSeqNum = 1
    protocolIdentifier = 0.0.8.2250.0.2
    callSignalAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          c0 a8 0a 00                                        ....
        }
        port = 1720
      }
    }
    terminalAlias = 1 entries {
      [0]=h323_ID  5 characters {
        0068 0061 0072 0064 0079                  hardy
      }
    }
    gatekeeperIdentifier =  10 characters {
      004f 0070 0065 006e 0048 0033 0032 0033   OpenH323
      0047 004b                                 GK
    }
    endpointIdentifier =  9 characters {
      0037 0035 0039 0032 005f 0065 006e 0064   7592_end
      0070                                      p
    }
    willRespondToIRR = FALSE
    maintainConnection = FALSE
  }
2004/03/11 19:05:23.829	5	      RasSrv.cxx(2125)	GK	Sent Successful
2004/03/11 19:05:32.081	2	      RasSrv.cxx(2171)	GK	Read from
192.168.10.80:1057
2004/03/11 19:05:32.084	3	      RasSrv.cxx(2184)	GK
admissionRequest {
    requestSeqNum = 2
    callType = pointToPoint <<null>>
    endpointIdentifier =  9 characters {
      0037 0035 0039 0032 005f 0065 006e 0064   7592_end
      0070                                      p
    }
    destinationInfo = 1 entries {
      [0]=h323_ID  6 characters {
        0077 0069 006e 006c 0061 0062             winlab
      }
    }
    srcInfo = 2 entries {
      [0]=h323_ID  5 characters {
        0068 0061 0072 0064 0079                  hardy
      }
      [1]=h323_ID  5 characters {
        0068 0061 0072 0064 0079                  hardy
      }
    }
    bandWidth = 1
    callReferenceValue = 32263
    conferenceID =  16 octets {
      94 85 4c 50 60 ed da 4b  9b 6a f0 64 4e d9 32 85  
..LP`..K.j.dN.2.
    }
    activeMC = FALSE
    answerCall = FALSE
    canMapAlias = FALSE
    callIdentifier = {
      guid =  16 octets {
        01 a6 c4 d6 bd 35 30 42  97 7f 3a 24 36 d8 f7 0a  
.....50B..:$6...
      }
    }
    willSupplyUUIEs = FALSE
  }
2004/03/11 19:05:32.085	1	      RasSrv.cxx(1311)	GK	ARQ Received
2004/03/11 19:05:32.085	4	      gkauth.cxx(296)	GkAuth	default check ok
2004/03/11 19:05:32.085	4	      RasTbl.cxx(776)	Alias match for EP
192.168.10.5:1720
2004/03/11 19:05:32.086	2	      RasTbl.cxx(1446)	GK	Available Bandwidth
8720
2004/03/11 19:05:32.086	3	      RasSrv.cxx(1557)	GK	ARQ will request
bandwith of 1280
2004/03/11 19:05:32.087	2	      RasTbl.cxx(1420)	CallTable::Insert(CALL)
Call No. 1, total sessions : 1
2004/03/11 19:05:32.087	2	     
RasSrv.cxx(1668)	ACF|192.168.10.80:1720|7592_endp|32263|winlab:h323_ID|hardy:h323_ID=hardy:h323_ID|false;

2004/03/11 19:05:32.088	3	      RasSrv.cxx(2111)	GK	Send to
192.168.10.80:1057
admissionConfirm {
    requestSeqNum = 2
    bandWidth = 1280
    callModel = gatekeeperRouted <<null>>
    destCallSignalAddress = ipAddress {
      ip =  4 octets {
        c0 a8 0a 00                                        ....
      }
      port = 1720
    }
    irrFrequency = 120
    willRespondToIRR = FALSE
    uuiesRequested = {
      setup = FALSE
      callProceeding = FALSE
      connect = FALSE
      alerting = FALSE
      information = FALSE
      releaseComplete = FALSE
      facility = FALSE
      progress = FALSE
      empty = FALSE
      status = FALSE
      statusInquiry = FALSE
      setupAcknowledge = FALSE
      notify = FALSE
    }
  }
2004/03/11 19:05:32.089	5	      RasSrv.cxx(2125)	GK	Sent Successful
2004/03/11 19:05:32.319	2	      RasSrv.cxx(2171)	GK	Read from
192.168.10.80:1057
2004/03/11 19:05:32.320	3	      RasSrv.cxx(2184)	GK
disengageRequest {
    requestSeqNum = 3
    endpointIdentifier =  9 characters {
      0037 0035 0039 0032 005f 0065 006e 0064   7592_end
      0070                                      p
    }
    conferenceID =  16 octets {
      94 85 4c 50 60 ed da 4b  9b 6a f0 64 4e d9 32 85  
..LP`..K.j.dN.2.
    }
    callReferenceValue = 32263
    disengageReason = normalDrop <<null>>
    callIdentifier = {
      guid =  16 octets {
        01 a6 c4 d6 bd 35 30 42  97 7f 3a 24 36 d8 f7 0a  
.....50B..:$6...
      }
    }
    answeredCall = FALSE
  }
2004/03/11 19:05:32.320	1	      RasSrv.cxx(1713)	GK	DRQ Received
2004/03/11 19:05:32.320	4	      RasSrv.cxx(1723)	GK	DRQ: closed
conference
2004/03/11 19:05:32.320	4	        gkauth.h(84)	GkAuth	default check ok
2004/03/11 19:05:32.321	6	      RasTbl.cxx(1534)	GK	Removing
callptr:01 a6 c4 d6 bd 35 30 42 97 7f 3a 24 36 d8 f7 0a...

2004/03/11 19:05:32.321	2	      RasTbl.cxx(1577)	CDR	ignore not
connected call
2004/03/11 19:05:32.321	2	     
RasSrv.cxx(1760)	DCF|192.168.10.80|7592_endp|32263|normalDrop;

2004/03/11 19:05:32.322	3	      RasSrv.cxx(2111)	GK	Send to
192.168.10.80:1057
disengageConfirm {
    requestSeqNum = 3
  }
2004/03/11 19:05:32.322	5	      RasSrv.cxx(2125)	GK	Sent Successful
2004/03/11 19:05:33.106	3	      RasTbl.cxx(1050)	Gk	Delete Call No. 1

-----------------(end)------

----------------- output of telnet to port 7000 ---------------
telnet localhost 7000
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Version:
Gatekeeper(GNU) Version(2.0.6) Ext(pthreads=1) Build(Sep 24 2003,
12:35:03) Sys(Linux i686 2.4.20-8)
Large fd_set(8192) enabled
 
GkStatus: Version(1.0) Ext()
Toolkit: Version(1.0) Ext(basic)
Startup: Thu, 11 Mar 2004 19:04:33 -0400   Running: 0 days 00:00:10
;
RCF|192.168.10.5:1720|winlab:h323_ID|terminal|7591_endp;
RCF|192.168.10.80:1720|hardy:h323_ID|terminal|7592_endp;
ACF|192.168.10.80:1720|7592_endp|32263|winlab:h323_ID|hardy:h323_ID=hardy:h323_ID|false;
DCF|192.168.10.80|7592_endp|32263|normalDrop;
UCF|192.168.10.5|7591_endp;
UCF|192.168.10.80|7592_endp;
RCF|192.168.10.5:1720|winlab:h323_ID|terminal|7593_endp;
ARJ|192.168.10.5:1720|200.87.XXX.YY:h323_ID|winlab:h323_ID=winlab:h323_ID|false|calledPartyNotRegistered;
RCF|200.87.XXX.YY:1720|hardy:h323_ID|terminal|7594_endp;
ACF|200.87.XXX.YY:1720|7594_endp|3485|winlab:h323_ID|hardy:h323_ID=hardy:h323_ID|false;
DCF|200.87.XXX.YY|7594_endp|3485|normalDrop;
UCF|200.87.XXX.YY|594_endp;
?
AllRegistrations
RCF|192.168.10.5:1720|winlab:h323_ID|terminal|7593_endp
Number of Endpoints: 1
;
q-
----------------------------(end)--------------------------



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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