RE: [Openh323gk-users] GnuGk 2.0.4 released (radius problems)

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

 



	Hi,

   I have very similar results - segmentation fault on the very first radius request (trace below). My specs:

pwlib_1.4.11
openh323_1.11.7
redhat 7.3 with 2.4.18-27.7 kernel

gnugk config:

[Gatekeeper::Main]
Fourtytwo=42
Name=gk1
Home=192.168.1.254
UseBroadcastListener=0

[RoutedMode]
GKRouted=1
H245Routed=0

[GkStatus::Auth]
rule=allow

[Gatekeeper::Auth]
RadAliasAuth=required;RRQ,ARQ
default=allow

[RadAliasAuth]
Servers=192.168.3.254
LocalInterface=192.168.1.254
RadiusPortRange=10000-11000
DefaultAuthPort=1645
SharedSecret=qwe
RequestTimeout=2000
IdCacheTimeout=9000
SocketDeleteTimeout=60000
RequestRetransmissions=1
RoundRobinServers=1
AppendCiscoAttributes=1
IncludeEndpointIP=1


Radius server trace at the moment of crash: Sending Access-Reject of id 222 to 192.168.1.254:10221

gnugk -ttttt trace:

2003/06/11 14:22:34.640 2             RasSrv.cxx(2132)  GK      Read from 192.168.0.4:1719
2003/06/11 14:22:34.641 3             RasSrv.cxx(2145)  GK
registrationRequest {
    requestSeqNum = 2787
    protocolIdentifier = 0.0.8.2250.0.2
    discoveryComplete = TRUE
    callSignalAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          c0 a8 00 04                                        ....
        }
        port = 1720
      }
    }
    rasAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          c0 a8 00 04                                        ....
        }
        port = 1719
      }
    }
    terminalType = {
      vendor = {
        vendor = {
          t35CountryCode = 0
          t35Extension = 0
          manufacturerCode = 0
        }
      }
      terminal = {
      }
      mc = FALSE
      undefinedNode = FALSE
    }
    terminalAlias = 1 entries {
      [0]=dialedDigits "114"
    }
    gatekeeperIdentifier =  3 characters {
      0067 006b 0031                            gk1
    }
    endpointVendor = {
      vendor = {
        t35CountryCode = 181
        t35Extension = 0
        manufacturerCode = 18
      }
      productId =  13 octets {
        43 69 73 63 6f 20 41 54  41 20 31 38 36            Cisco ATA 186
      }
      versionId =  25 octets {
        76 3a 30 78 30 34 30 30  30 32 30 66 20 66 3a 20   v:0x0400020f f: 
        62 3a 30 32 30 39 32 37  61                        b:020927a
      }
    }
    timeToLive = 300
    keepAlive = FALSE
    willSupplyUUIEs = FALSE
    maintainConnection = FALSE
  }
2003/06/11 14:22:34.643 1             RasSrv.cxx(927)   GK      RRQ Received
2003/06/11 14:22:34.643 4             osutil.cxx(316)   PWLib   File handle high water mark set: 28 PUDPSocket
2003/06/11 14:22:34.643 5           radproto.cxx(2221)  RADIUS  Created new socket for RADIUS client: port:10221:[0,221-221]
2003/06/11 14:22:34.644 5           radproto.cxx(1858)  RADIUS  Sending PDU to RADIUS server 192.168.3.254 (192.168.3.254:1645) from port:10221:[0,221-222], PDU: {
      code = 1 (Access-Request)
      id = 222
      length = 67 octets
      authenticator = 16 octets {
        40 75 85 6d dd f7 b4 81  2c 30 e3 68 00 1a 75 5a   @u.m....,0.h..uZ
      }
      attributes = 6 elements {
        [0]= {
          type = 1 (User-Name)
          length = 5 octets
          value = 3 octets {
            31 31 34                                           114
          }
        }
        [1]= {
          type = 2 (User-Password)
          length = 18 octets
          value = 16 octets {
            11 c2 85 84 78 f6 27 db  de 2c cd 99 40 73 16 a0   ....x.'..,..@s..
          }
        }
        [2]= {
          type = 4 (NAS-IP-Address)
          length = 6 octets
          value = 4 octets {
            c0 a8 01 fe                                        ....
          }
        }
        [3]= {
          type = 61 (NAS-Port-Type)
          length = 6 octets
          value = 4 octets {
            00 00 00 05                                        ....
          }
        }
        [4]= {
          type = 6 (Service-Type)
          length = 6 octets
          value = 4 octets {
            00 00 00 01                                        ....
          }
        }
        [5]= {
          type = 8 (Framed-IP-Address)
          length = 6 octets
          value = 4 octets {
            c0 a8 00 04                                        ....
          }
        }
      }
   }

2003/06/11 14:22:36.645 5           radproto.cxx(1870)  RADIUS  Receive response from RADIUS server failed (id:222)
Segmentation fault



-----Original Message-----
From: Faez Itrat [mailto:faez@amzt.com]
Sent: Tuesday, June 10, 2003 12:09 PM
To: openh323gk-users@lists.sourceforge.net
Subject: Re: [Openh323gk-users] GnuGk 2.0.4 released


I m running it on a linux system (Redhat 7.3, P4 2.4 GHz) whereas am using
Radiator as my Radius server on a seperate machine, following is my trace
result


2003/06/09 22:29:35.587 1             RasSrv.cxx(825)   GK      GRQ Received
2003/06/09 22:29:35.587 2             RasSrv.cxx(900)
GCF|172.16.174.254|1234:h323_ID|terminal;
2003/06/09 22:29:35.587 2             RasSrv.cxx(2074)  GK      Send
gatekeeperConfirm to 172.16.174.254:2382
2003/06/09 22:29:35.910 2             RasSrv.cxx(2132)  GK      Read from
172.16.172.9:2381
2003/06/09 22:29:35.910 2             RasSrv.cxx(2147)  GK      Received
registrationRequest
2003/06/09 22:29:35.910 1             RasSrv.cxx(927)   GK      RRQ Received
Segmentation fault


Regards,
Faez
----- Original Message -----
From: "Zygmuntowicz Michal" <m.zygmuntowicz@onet.pl>
To: <openh323gk-users@lists.sourceforge.net>
Sent: Tuesday, June 10, 2003 1:53 PM
Subject: Re: [Openh323gk-users] GnuGk 2.0.4 released


>
> ----- Original Message -----
> From: "Faez Itrat" <faez@amzt.com>
> Sent: Tuesday, June 10, 2003 7:48 AM
> Subject: Re: [Openh323gk-users] GnuGk 2.0.4 released
>
>
> > I have installed 2.0.4 but i get segmentation fault when i do
authentication
> > from Radius....is anyone else facing the same problem ?
>
> For me and a few other people it is working fine on Linux and Solaris
> platforms. But this does not mean there cannot be any bugs - nobody
> is perfect. Please give me your system details. What is your trace level
> and what are telling last lines of trace log?
>
> >
> >
> > Regards,
> > Faez
> > ----- Original Message -----
> > From: "Andrew Mee" <andrew@healthshare.com.au>
> > To: <openh323gk-users@lists.sourceforge.net>
> > Sent: Tuesday, June 10, 2003 8:37 AM
> > Subject: Re: [Openh323gk-users] GnuGk 2.0.4 released
> >
> >
> > > Excellent! Good to hear.
> > >
> > > However trying  to find some documentation on transfercall via status
> > > port works, there seems no documentation, as yet, on that.
> > >
> > > Regards
> > > Andrew
> > >
> > > On Thu, 05 Jun 2003 11:53:57 +0200
> > > Jan Willamowius <jan@willamowius.de> Did think the following
appropriate
> > > to mention:
> > >
> > > > Hi everybody!
> > > >
> > > > GnuGk 2.0.4 is out and brings you a number of bugfixes (including a
> > > > fix that brings back video for some Netmeeting users) mostly by
> > > > Chih-Wei Huang.
> > > >
> > > > Also new in this release is support for Radius authentication by
> > > > Michal Zygmuntowicz.
> > > >
> > > > Status port users should also check out the TransferCall support
> > > > provided by Olivier Grall.
> > > >
> > > > Download it as usual at
> > > > http://www.gnugk.org/h323download.html
> > > >
> > > > More details are in the changes.txt file in the downloads.
> > > >
> > > > Cheers,
> > > > Jan
> > > >
> > > > --
> > > > Jan Willamowius, jan@willamowius.de, http://www.willamowius.de/
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > This SF.net email is sponsored by:  Etnus, makers of TotalView, The
> > > > best thread debugger on the planet. Designed with thread debugging
> > > > features you've never dreamed of, try TotalView 6 free at
> > > > www.etnus.com.
> > > > _______________________________________________
> > > > List: Openh323gk-users@lists.sourceforge.net
> > > > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> > > > Homepage: http://www.gnugk.org/
> > >
> > >
> > > --
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by:  Etnus, makers of TotalView, The
best
> > > thread debugger on the planet. Designed with thread debugging features
> > > you've never dreamed of, try TotalView 6 free at www.etnus.com.
> > > _______________________________________________
> > > List: Openh323gk-users@lists.sourceforge.net
> > > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> > > Homepage: http://www.gnugk.org/
> > >
> > >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> > thread debugger on the planet. Designed with thread debugging features
> > you've never dreamed of, try TotalView 6 free at www.etnus.com.
> > _______________________________________________
> > List: Openh323gk-users@lists.sourceforge.net
> > Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> > Homepage: http://www.gnugk.org/
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> List: Openh323gk-users@lists.sourceforge.net
> Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
> Homepage: http://www.gnugk.org/
>
>




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id=8549
Homepage: http://www.gnugk.org/


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
List: Openh323gk-users@lists.sourceforge.net
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?49
Homepage: http://www.gnugk.org/


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

  Powered by Linux