Hi,
>From July in GNUGK CVS have a bug.
GNUGK send to radius server differet Fremed IP when make RRQ and
Accounting-Request.
Connection:
PacPhone(192.168.1.100)----NAT BublicIP(212.91.186.249) ----->GNUGK
In RRQ,ARQ GNUGK send public IP.
In Accounting-Request GNUGK send private IP address.
I send attached GNUGK log.
Can somebody help me to decide this problem?
Plamen
############################ registrationRequest #################################
################ Framed-IP-Address= c0 a8 01 64 (192.168.1.100) ####################
2007/11/03 23:40:02.097 3 radproto.cxx(2177) RADIUS Sending PDU to RADIUS server RadiusIP (RadiusIP:1812) from port:10282[active requests: 0, ID space: 117-118], PDU: {
code = 1 (Access-Request)
id = 117
length = 118 octets
authenticator = 16 octets {
5c ce 0b f1 08 68 00 a2 43 c8 2b 8d 05 20 2b 2a \....h..C.+.. +*
}
attributes = 9 elements {
[0]= {
type = 1 (User-Name)
length = 4 octets
value = 2 octets {
39 39 99
}
}
[1]= {
type = 3 (CHAP-Password)
length = 19 octets
value = 17 octets {
cc a5 0d c0 32 00 b5 bd 3f e7 ac 0f e3 b5 c5 22 ....2...?......"
1c .
}
}
[2]= {
type = 60 (CHAP-Challenge)
length = 6 octets
value = 4 octets {
47 2c ea b9 G,..
}
}
[3]= {
type = 4 (NAS-IP-Address)
length = 6 octets
value = 4 octets {
d4 32 0b cc .2..
}
}
[4]= {
type = 32 (NAS-Identifier)
length = 6 octets
value = 4 octets {
76 74 67 6b vtgk
}
}
[5]= {
type = 61 (NAS-Port-Type)
length = 6 octets
value = 4 octets {
00 00 00 05 ....
}
}
[6]= {
type = 6 (Service-Type)
length = 6 octets
value = 4 octets {
00 00 00 01 ....
}
}
[7]= {
type = 8 (Framed-IP-Address)
length = 6 octets
value = 4 octets {
c0 a8 01 64 ...d
}
}
[8]= {
type = 26 (Vendor-Specific)
length = 39 octets
vendorId = 9
vendorType = 1
vendorLength = 33
vendorValue = 31 octets {
68 33 32 33 2d 69 76 72 2d 6f 75 74 3d 74 65 72 h323-ivr-out=ter
6d 69 6e 61 6c 2d 61 6c 69 61 73 3a 39 39 3b minal-alias:99;
}
}
}
}
######################### ARQ ################################
################ Framed-IP-Address= c0 a8 01 64 (192.168.1.100) ####################
2007/11/03 23:40:13.760 3 radproto.cxx(2177) RADIUS Sending PDU to RADIUS server RadiusIP (RadiusIP:1812) from port:10971[active requests: 0, ID space: 208-211], PDU: {
code = 1 (Access-Request)
id = 210
length = 227 octets
authenticator = 16 octets {
8a 75 ce 42 89 7a e5 6b 9f 4f c9 81 d4 8e 3e 54 .u.B.z.k.O....>T
}
attributes = 13 elements {
[0]= {
type = 1 (User-Name)
length = 4 octets
value = 2 octets {
39 39 99
}
}
[1]= {
type = 4 (NAS-IP-Address)
length = 6 octets
value = 4 octets {
d4 32 0b cc .2..
}
}
[2]= {
type = 32 (NAS-Identifier)
length = 6 octets
value = 4 octets {
76 74 67 6b vtgk
}
}
[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 01 64 ...d
}
}
[6]= {
type = 31 (Calling-Station-Id)
length = 4 octets
value = 2 octets {
39 39 99
}
}
[7]= {
type = 30 (Called-Station-Id)
length = 12 octets
value = 10 octets {
30 38 38 37 37 34 31 36 35 36 0887741656
}
}
[8]= {
type = 26 (Vendor-Specific)
length = 55 octets
vendorId = 9
vendorType = 24
vendorLength = 49
vendorValue = 47 octets {
68 33 32 33 2d 63 6f 6e 66 2d 69 64 3d 45 32 36 h323-conf-id=E26
46 36 41 44 41 20 41 46 41 31 38 31 30 20 38 35 F6ADA AFA1810 85
43 34 30 30 30 46 20 42 30 39 34 31 34 45 43 C4000F B09414EC
}
}
[9]= {
type = 26 (Vendor-Specific)
length = 34 octets
vendorId = 9
vendorType = 26
vendorLength = 28
vendorValue = 26 octets {
68 33 32 33 2d 63 61 6c 6c 2d 6f 72 69 67 69 6e h323-call-origin
3d 6f 72 69 67 69 6e 61 74 65 =originate
}
}
[10]= {
type = 26 (Vendor-Specific)
length = 27 octets
vendorId = 9
vendorType = 27
vendorLength = 21
vendorValue = 19 octets {
68 33 32 33 2d 63 61 6c 6c 2d 74 79 70 65 3d 56 h323-call-type=V
6f 49 50 oIP
}
}
[11]= {
type = 26 (Vendor-Specific)
length = 23 octets
vendorId = 9
vendorType = 33
vendorLength = 17
vendorValue = 15 octets {
68 33 32 33 2d 67 77 2d 69 64 3d 76 74 67 6b h323-gw-id=vtgk
}
}
[12]= {
type = 2 (User-Password)
length = 18 octets
value = 16 octets {
15 e3 0d 35 27 f9 41 4d 7d 69 a0 35 d7 63 13 df ...5'.AM}i.5.c..
}
}
}
}
####################### Accounting-Request ##########################
################ Framed-IP-Address= d4 5b ba f9 (212.91.186.249) ####################
2007/11/03 23:40:15.821 3 radproto.cxx(2177) RADIUS Sending PDU to RADIUS server RadiusIP (RadiusIP:1813) from port:10278[active requests: 0, ID space: 145-146], PDU: {
code = 4 (Accounting-Request)
id = 145
length = 473 octets
authenticator = 16 octets {
74 ff 07 21 f4 6d 96 99 e8 45 08 50 5c 66 d2 c1 t..!.m...E.P\f..
}
attributes = 21 elements {
[0]= {
type = 40 (Acct-Status-Type)
length = 6 octets
value = 4 octets {
00 00 00 02 ....
}
}
[1]= {
type = 4 (NAS-IP-Address)
length = 6 octets
value = 4 octets {
d4 32 0b cc .2..
}
}
[2]= {
type = 32 (NAS-Identifier)
length = 6 octets
value = 4 octets {
76 74 67 6b vtgk
}
}
[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 = 44 (Acct-Session-Id)
length = 18 octets
value = 16 octets {
34 37 32 63 65 39 33 39 30 30 30 30 30 30 30 34 472ce93900000004
}
}
[6]= {
type = 1 (User-Name)
length = 4 octets
value = 2 octets {
39 39 99
}
}
[7]= {
type = 8 (Framed-IP-Address)
length = 6 octets
value = 4 octets {
d4 5b ba f9 .[..
}
}
[8]= {
type = 46 (Acct-Session-Time)
length = 6 octets
value = 4 octets {
00 00 00 00 ....
}
}
[9]= {
type = 31 (Calling-Station-Id)
length = 4 octets
value = 2 octets {
39 39 99
}
}
[10]= {
type = 30 (Called-Station-Id)
length = 12 octets
value = 10 octets {
30 38 38 37 37 34 31 36 35 36 0887741656
}
}
[11]= {
type = 26 (Vendor-Specific)
length = 55 octets
vendorId = 9
vendorType = 24
vendorLength = 49
vendorValue = 47 octets {
68 33 32 33 2d 63 6f 6e 66 2d 69 64 3d 45 32 36 h323-conf-id=E26
46 36 41 44 41 20 41 46 41 31 38 31 30 20 38 35 F6ADA AFA1810 85
43 34 30 30 30 46 20 42 30 39 34 31 34 45 43 C4000F B09414EC
}
}
[12]= {
type = 26 (Vendor-Specific)
length = 23 octets
vendorId = 9
vendorType = 33
vendorLength = 17
vendorValue = 15 octets {
68 33 32 33 2d 67 77 2d 69 64 3d 76 74 67 6b h323-gw-id=vtgk
}
}
[13]= {
type = 26 (Vendor-Specific)
length = 30 octets
vendorId = 9
vendorType = 26
vendorLength = 24
vendorValue = 22 octets {
68 33 32 33 2d 63 61 6c 6c 2d 6f 72 69 67 69 6e h323-call-origin
3d 70 72 6f 78 79 =proxy
}
}
[14]= {
type = 26 (Vendor-Specific)
length = 27 octets
vendorId = 9
vendorType = 27
vendorLength = 21
vendorValue = 19 octets {
68 33 32 33 2d 63 61 6c 6c 2d 74 79 70 65 3d 56 h323-call-type=V
6f 49 50 oIP
}
}
[15]= {
type = 26 (Vendor-Specific)
length = 43 octets
vendorId = 9
vendorType = 25
vendorLength = 37
vendorValue = 35 octets {
68 33 32 33 2d 73 65 74 75 70 2d 74 69 6d 65 3d h323-setup-time=
32 30 30 37 2d 31 31 2d 30 33 20 32 33 3a 34 30 2007-11-03 23:40
3a 31 33 :13
}
}
[16]= {
type = 26 (Vendor-Specific)
length = 48 octets
vendorId = 9
vendorType = 29
vendorLength = 42
vendorValue = 40 octets {
68 33 32 33 2d 64 69 73 63 6f 6e 6e 65 63 74 2d h323-disconnect-
74 69 6d 65 3d 32 30 30 37 2d 31 31 2d 30 33 20 time=2007-11-03
32 33 3a 34 30 3a 31 35 23:40:15
}
}
[17]= {
type = 26 (Vendor-Specific)
length = 32 octets
vendorId = 9
vendorType = 30
vendorLength = 26
vendorValue = 24 octets {
68 33 32 33 2d 64 69 73 63 6f 6e 6e 65 63 74 2d h323-disconnect-
63 61 75 73 65 3d 31 30 cause=10
}
}
[18]= {
type = 26 (Vendor-Specific)
length = 41 octets
vendorId = 9
vendorType = 23
vendorLength = 35
vendorValue = 33 octets {
68 33 32 33 2d 72 65 6d 6f 74 65 2d 61 64 64 72 h323-remote-addr
65 73 73 3d 32 31 32 2e 35 30 2e 31 31 2e 32 30 ess=212.50.11.20
32 2
}
}
[19]= {
type = 26 (Vendor-Specific)
length = 68 octets
vendorId = 9
vendorType = 1
vendorLength = 62
vendorValue = 60 octets {
68 33 32 33 2d 69 76 72 2d 6f 75 74 3d 68 33 32 h323-ivr-out=h32
33 2d 63 61 6c 6c 2d 69 64 3a 45 32 36 46 36 41 3-call-id:E26F6A
44 41 20 41 46 41 31 38 31 30 20 38 35 43 33 30 DA AFA1810 85C30
30 30 46 20 42 30 39 34 31 34 45 43 00F B09414EC
}
}
[20]= {
type = 41 (Acct-Delay-Time)
length = 6 octets
value = 4 octets {
00 00 00 00 ....
}
}
}
}
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.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/