securityDenial Help again

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

 



Dear all,

this is my yesterday's problem some friends have already given me
suggestion but that didnt work. so today i m giving the detail
information so that i can get the problem solution.

I am trying to configure billing system on gnugk with postgresql and
radius.

Things used in this:
1) freeradius-0.9.2.tar.gz
2) gnugk-2.0.8-linux-x86.tgz
3) postgresql-7.3.2-3

According to the sqlbill found in openh323gk/contrib/sqlbill I need the
above things. I did the procedure mentioned in sqlbill. Now when i have
configured all things i added the user in postgresql for testing like
this.

1. Create an account (voipaccount) object. Example:

        INSERT INTO voipaccount (balance) VALUES (10);

2. Create an user associated with this account (voipuser). Example:

        INSERT INTO voipuser
(h323id,accountid,password,firstname,surname)
          VALUES ('voip1',1,'secret','John','Smith');
        INSERT INTO voipuser
(h323id,accountid,password,firstname,surname)
          VALUES ('voip2',1,'secret','Joe','Smith');

3. Fill tariff table with a list of allowed prefixes (voiptariff).
Example:

        INSERT INTO voiptariff (prefix,description,price)
          VALUES ('PC','PC2PC',0.01);

This is the ditto copy i have done in my postgresql.
now i started gnugk and radius.

I start the my dialer and given the gatekeeper ip and username/password 
gatekeeper ip: 202.202.202.202
uid : voip2
pwd : secret

On dialer it tells me :::: Invalid user name or password
but i have given the right username and password ..umm dont know what is
happening.

Then here is the log of /var/log/gnugk.log

2004/11/16 22:49:48.238 2             RasSrv.cxx(2392)  GK      Read
from 202.160.161.19:4368
2004/11/16 22:49:48.239 3             RasSrv.cxx(2405)  GK
gatekeeperRequest {
    requestSeqNum = 3558
    protocolIdentifier = 0.0.8.2250.0.4
    rasAddress = ipAddress {
      ip =  4 octets {
        ca a0 a1 13                                        ....
      }
      port = 4368
    }
    endpointType = {
      vendor = {
        vendor = {
          t35CountryCode = 9
          t35Extension = 0
          manufacturerCode = 61
        }
        productId =  3 octets {
          00 00 00                                           ...
        }
        versionId =  26 octets {
          31 2e 30 2e 31 20 28 4f  70 65 6e 48 33 32 33 20   1.0.1
(OpenH323
          76 31 2e 31 32 2e 32 29  00 00                     v1.12.2)..
        }
      }
      terminal = {
      }
      mc = FALSE
      undefinedNode = FALSE
    }
    endpointAlias = 1 entries {
      [0]=h323_ID  5 characters {
        0076 006f 0069 0070 0032                  voip2
      }
    }
    authenticationCapability = 2 entries {
      [0]=pwdHash <<null>>
      [1]=authenticationBES radius <<null>>
    }
    algorithmOIDs = 2 entries {
      [0]=1.2.840.113549.2.5
      [1]=1.2.840.113548.10.1.2.1
    }
    supportsAltGK = <<null>>
  }
2004/11/16 22:49:48.240 1             RasSrv.cxx(900)   GK      GRQ
Received
2004/11/16 22:49:48.240 2             RasSrv.cxx(975)  
GCF|202.202.202.202|voip2:h323_ID|terminal;

2004/11/16 22:49:48.241 3             RasSrv.cxx(2332)  GK      Send to
202.202.202.202:4368
gatekeeperConfirm {
    requestSeqNum = 3558
    protocolIdentifier = 0.0.8.2250.0.4
    gatekeeperIdentifier =  10 characters {
      004f 0070 0065 006e 0048 0033 0032 0033   OpenH323
      0047 004b                                 GK
    }
    rasAddress = ipAddress {
      ip =  4 octets {
        ca a0 a1 5d                                        ...]
      }
      port = 1719
    }
    authenticationMode = authenticationBES radius <<null>>
    algorithmOID = 1.2.840.113548.10.1.2.1
  }
2004/11/16 22:49:48.256 2             RasSrv.cxx(2392)  GK      Read
from 202.160.161.19:4368
2004/11/16 22:49:48.257 3             RasSrv.cxx(2405)  GK
registrationRequest {
    requestSeqNum = 3559
    protocolIdentifier = 0.0.8.2250.0.4
    discoveryComplete = TRUE
    callSignalAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          ca a0 a1 13                                        ....
        }
        port = 1720
      }
    }
    rasAddress = 1 entries {
      [0]=ipAddress {
        ip =  4 octets {
          ca a0 a1 13                                        ....
        }
        port = 4368
      }
    }
    terminalType = {
      vendor = {
        vendor = {
          t35CountryCode = 9
          t35Extension = 0
          manufacturerCode = 61
        }
        productId =  3 octets {
          00 00 00                                           ...
        }
        versionId =  26 octets {
          31 2e 30 2e 31 20 28 4f  70 65 6e 48 33 32 33 20   1.0.1
(OpenH323
          76 31 2e 31 32 2e 32 29  00 00                     v1.12.2)..
        }
      }
      terminal = {
      }
      mc = FALSE
      undefinedNode = FALSE
    }
    terminalAlias = 1 entries {
      [0]=h323_ID  5 characters {
        0076 006f 0069 0070 0032                  voip2
      }
    }
    gatekeeperIdentifier =  10 characters {
      004f 0070 0065 006e 0048 0033 0032 0033   OpenH323
      0047 004b                                 GK
    }
    endpointVendor = {
      vendor = {
        t35CountryCode = 9
        t35Extension = 0
        manufacturerCode = 61
      }
      productId =  3 octets {
        00 00 00                                           ...
      }
      versionId =  26 octets {
        31 2e 30 2e 31 20 28 4f  70 65 6e 48 33 32 33 20   1.0.1
(OpenH323
        76 31 2e 31 32 2e 32 29  00 00                     v1.12.2)..
      }
    }
    tokens = 1 entries {
      [0]={
        tokenOID = 1.2.840.113548.10.1.2.1
        timeStamp = 1100625335
        challenge =  16 octets {
          c9 fc 88 a9 3e 19 45 cd  94 df ea 3f e7 ba cc 6c  
....>.E....?...l
        }
        random = 62
        generalID =  6 characters {
          0076 006f 0069 0070 0032 0000             voip2
        }
      }
    }
    keepAlive = FALSE
    willSupplyUUIEs = TRUE
    maintainConnection = FALSE
    supportsAltGK = <<null>>
    usageReportingCapability = {
      nonStandardUsageTypes = 0 entries {
      }
      startTime = <<null>>
      endTime = <<null>>
      terminationCause = <<null>>
    }
    callCreditCapability = {
      canDisplayAmountString = TRUE
      canEnforceDurationLimit = TRUE
    }
  }
2004/11/16 22:49:48.258 1             RasSrv.cxx(1002)  GK      RRQ
Received
2004/11/16 22:49:48.259 2             gkauth.cxx(448)   GkAuth  RadAuth
check failed
2004/11/16 22:49:48.260 2             RasSrv.cxx(1295) 
RRJ|202.202.202.202|voip2:h323_ID|terminal|securityDenial;

2004/11/16 22:49:48.260 3             RasSrv.cxx(2332)  GK      Send to
202.202.202.202:4368
registrationReject {
    requestSeqNum = 3559
    protocolIdentifier = 0.0.8.2250.0.4
    rejectReason = securityDenial <<null>>
    gatekeeperIdentifier =  10 characters {
      004f 0070 0065 006e 0048 0033 0032 0033   OpenH323
      0047 004b                                 GK
    }





Any help regarding this.
Plz help me
Joel





-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8

_______________________________________________________

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