Telnet Connection Refused
Sofia Silva
chufia at hotmail.com
Tue Aug 14 22:49:27 CEST 2007
I'm having a problem, but i have no idea of what is happening... I hope you
can help me.
In the client i get:
login: testuser
Password:
RADIUS: Authentication OK
Starting.
RADIUS_SERVICE_TYPE = Login-User
RADIUS_USER_NAME = testuser
RADIUS_LOGIN_IP_HOST = 10.220.5.32
RADIUS_LOGIN_SERVICE = Telnet
RADIUS accounting OK
Connecting to 10.220.5.32:
Running /usr/bin/telnet 10.220.5.32
Trying 10.220.5.32...
telnet: connect to address 10.220.5.32: Connection refused
RADIUS accounting OK
Connecting to 10.220.5.32:
Running /usr/bin/telnet 10.220.5.32
Trying 10.220.5.32...
telnet: connect to address 10.220.5.32: Connection refused
RADIUS accounting OK
In the server i get:
rad_recv: Access-Request packet from host 10.220.5.32:1025, id=167,
length=66
--- Walking the entire request list ---
Waking up in 31 seconds...
Thread 2 got semaphore
Thread 2 handling request 6, (2 handled so far)
Service-Type = Login-User
User-Name = "testuser"
User-Password = "testuser"
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 6
modcall[authorize]: module "preprocess" returns ok for request 6
radius_xlat: '/var/log/radius/radacct/10.220.5.32/auth-detail-20070814'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/10.220.5.32/auth-detail-20070814
modcall[authorize]: module "auth_log" returns ok for request 6
modcall[authorize]: module "attr_filter" returns noop for request 6
rlm_realm: No '/' in User-Name = "testuser", looking up realm NULL
rlm_realm: Found realm "NULL"
rlm_realm: Adding Stripped-User-Name = "testuser"
rlm_realm: Proxying request from user testuser to realm NULL
rlm_realm: Adding Realm = "NULL"
rlm_realm: Preparing to proxy authentication request to realm "NULL"
modcall[authorize]: module "IPASS" returns updated for request 6
rlm_realm: Request already proxied. Ignoring.
modcall[authorize]: module "suffix" returns noop for request 6
rlm_realm: Request already proxied. Ignoring.
modcall[authorize]: module "ntdomain" returns noop for request 6
rlm_realm: Request already proxied. Ignoring.
modcall[authorize]: module "NULL" returns noop for request 6
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 6
users: Matched entry DEFAULT at line 19
modcall[authorize]: module "files" returns ok for request 6
modcall[authorize]: module "etc_passwd" returns ok for request 6
modcall[authorize]: module "etc_shadow" returns ok for request 6
rlm_passwd: Added Group-Name: 'users' to reply_items
rlm_passwd: Added Group-Name: 'video' to reply_items
rlm_passwd: Added Group-Name: 'dialout' to reply_items
modcall[authorize]: module "etc_group" returns ok for request 6
rlm_checkval: Could not find item named Calling-Station-Id in request
rlm_checkval: Could not find attribute named Calling-Station-Id in check
pairs
modcall[authorize]: module "checkval" returns notfound for request 6
modcall: leaving group authorize (returns updated) for request 6
Processing the pre-proxy section of radiusd.conf
modcall: entering group pre-proxy for request 6
radius_xlat:
'/var/log/radius/radacct/10.220.5.32/pre-proxy-detail-20070814'
rlm_detail:
/var/log/radius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d expands
to /var/log/radius/radacct/10.220.5.32/pre-proxy-detail-20070814
modcall[pre-proxy]: module "pre_proxy_log" returns ok for request 6
modcall: leaving group pre-proxy (returns ok) for request 6
Sending Access-Request of id 1 to 64.74.96.241 port 1600
Service-Type = Login-User
User-Name = "testuser"
User-Password = "testuser"
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Proxy-State = 0x313637
Thread 2 waiting to be assigned a request
rad_recv: Access-Request packet from host 10.220.5.32:1025, id=167,
length=66
Ignoring duplicate packet from client linuxclient:1025 - ID: 167, due to
outstanding proxied request 6.
--- Walking the entire request list ---
Re-sending Access-Request of id 1 to 64.74.96.241 port 1600
Service-Type = Login-User
User-Name = "testuser"
User-Password = "testuser"
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Client-IP-Address = 10.220.5.32
Stripped-User-Name = "testuser"
Realm = "NULL"
Realm = "NULL"
Proxy-State = 0x313637
Waking up in 5 seconds...
--- Walking the entire request list ---
Re-sending Access-Request of id 1 to 64.74.96.241 port 1600
Service-Type = Login-User
User-Name = "testuser"
User-Password = "testuser"
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Client-IP-Address = 10.220.5.32
Stripped-User-Name = "testuser"
Realm = "NULL"
Realm = "NULL"
Proxy-State = 0x313637
Waking up in 5 seconds...
--- Walking the entire request list ---
Server rejecting request 6.
marking authentication server radius.company.com:1600 for realm NULL dead
Waking up in 0 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 167 to 10.220.5.32 port 1025
Cleaning up request 6 ID 167 with timestamp 46c2180f
Nothing to do. Sleeping until we see a request.
rad_recv: Access-Request packet from host 10.220.5.32:1025, id=168,
length=66
--- Walking the entire request list ---
Waking up in 31 seconds...
Thread 3 got semaphore
Thread 3 handling request 7, (2 handled so far)
Service-Type = Login-User
User-Name = "testuser"
User-Password = "testuser"
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 7
modcall[authorize]: module "preprocess" returns ok for request 7
radius_xlat: '/var/log/radius/radacct/10.220.5.32/auth-detail-20070814'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d
expands to /var/log/radius/radacct/10.220.5.32/auth-detail-20070814
modcall[authorize]: module "auth_log" returns ok for request 7
modcall[authorize]: module "attr_filter" returns noop for request 7
rlm_realm: No '/' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "IPASS" returns noop for request 7
rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 7
rlm_realm: No '\' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "ntdomain" returns noop for request 7
rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "NULL" returns noop for request 7
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 7
users: Matched entry DEFAULT at line 19
modcall[authorize]: module "files" returns ok for request 7
modcall[authorize]: module "etc_passwd" returns ok for request 7
modcall[authorize]: module "etc_shadow" returns ok for request 7
rlm_passwd: Added Group-Name: 'users' to reply_items
rlm_passwd: Added Group-Name: 'video' to reply_items
rlm_passwd: Added Group-Name: 'dialout' to reply_items
modcall[authorize]: module "etc_group" returns ok for request 7
rlm_checkval: Could not find item named Calling-Station-Id in request
rlm_checkval: Could not find attribute named Calling-Station-Id in check
pairs
modcall[authorize]: module "checkval" returns notfound for request 7
modcall: leaving group authorize (returns ok) for request 7
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 7
modcall[authenticate]: module "unix" returns ok for request 7
modcall: leaving group authenticate (returns ok) for request 7
Login OK: [testuser/testuser] (from client linuxclient port 0)
Processing the post-auth section of radiusd.conf
modcall: entering group post-auth for request 7
radius_xlat: '/var/log/radius/radacct/10.220.5.32/reply-detail-20070814'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d
expands to /var/log/radius/radacct/10.220.5.32/reply-detail-20070814
modcall[post-auth]: module "reply_log" returns ok for request 7
modcall: leaving group post-auth (returns ok) for request 7
Sending Access-Accept of id 168 to 10.220.5.32 port 1025
Service-Type = Login-User
Login-Service = Telnet
Login-IP-Host = 10.220.5.32
Finished request 7
Going to the next request
Thread 3 waiting to be assigned a request
rad_recv: Accounting-Request packet from host 10.220.5.32:1025, id=169,
length=95
Waking up in 31 seconds...
Thread 4 got semaphore
Thread 4 handling request 8, (2 handled so far)
Acct-Session-Id = "150581187124197"
User-Name = "testuser"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
Login-Service = Telnet
Login-IP-Host = 10.220.5.32
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Acct-Delay-Time = 0
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 8
modcall[preacct]: module "preprocess" returns noop for request 8
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address =
10.220.5.32,NAS-IP-Address = 10.220.5.32,Acct-Session-Id =
"150581187124197",User-Name = "testuser"'
rlm_acct_unique: Acct-Unique-Session-ID = "24bfd109228a55d7".
modcall[preacct]: module "acct_unique" returns ok for request 8
rlm_realm: No '/' in User-Name = "testuser", looking up realm NULL
rlm_realm: Found realm "NULL"
rlm_realm: Adding Stripped-User-Name = "testuser"
rlm_realm: Proxying request from user testuser to realm NULL
rlm_realm: Adding Realm = "NULL"
rlm_realm: Preparing to proxy accounting request to realm "NULL"
modcall[preacct]: module "IPASS" returns updated for request 8
rlm_realm: Request already proxied. Ignoring.
modcall[preacct]: module "suffix" returns noop for request 8
rlm_realm: Request already proxied. Ignoring.
modcall[preacct]: module "ntdomain" returns noop for request 8
rlm_realm: Request already proxied. Ignoring.
modcall[preacct]: module "NULL" returns noop for request 8
modcall[preacct]: module "files" returns noop for request 8
modcall: leaving group preacct (returns updated) for request 8
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 8
radius_xlat: '/var/log/radius/radacct/10.220.5.32/detail-20070814'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
expands to /var/log/radius/radacct/10.220.5.32/detail-20070814
rlm_detail: Freeradius-Proxied-To set to 64.74.96.241
modcall[accounting]: module "detail" returns ok for request 8
modcall[accounting]: module "unix" returns ok for request 8
radius_xlat: '/var/log/radius/radutmp'
radius_xlat: 'testuser'
modcall[accounting]: module "radutmp" returns ok for request 8
modcall: leaving group accounting (returns ok) for request 8
Processing the pre-proxy section of radiusd.conf
modcall: entering group pre-proxy for request 8
radius_xlat:
'/var/log/radius/radacct/10.220.5.32/pre-proxy-detail-20070814'
rlm_detail:
/var/log/radius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d expands
to /var/log/radius/radacct/10.220.5.32/pre-proxy-detail-20070814
modcall[pre-proxy]: module "pre_proxy_log" returns ok for request 8
modcall: leaving group pre-proxy (returns ok) for request 8
Sending Accounting-Request of id 1 to 64.74.96.241 port 1601
Acct-Session-Id = "150581187124197"
User-Name = "testuser"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
Login-Service = Telnet
Login-IP-Host = 10.220.5.32
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Acct-Delay-Time = 0
Proxy-State = 0x313639
Thread 4 waiting to be assigned a request
rad_recv: Accounting-Request packet from host 10.220.5.32:1025, id=169,
length=95
Ignoring duplicate packet from client linuxclient:1025 - ID: 169, due to
outstanding proxied request 8.
--- Walking the entire request list ---
Cleaning up request 7 ID 168 with timestamp 46c2182d
Waking up in 5 seconds...
--- Walking the entire request list ---
Waking up in 5 seconds...
--- Walking the entire request list ---
Server rejecting request 8.
marking accounting server radius.company.com:1601 for realm NULL dead
Waking up in 0 seconds...
--- Walking the entire request list ---
Cleaning up request 8 ID 169 with timestamp 46c2182d
Nothing to do. Sleeping until we see a request.
rad_recv: Accounting-Request packet from host 10.220.5.32:1025, id=169,
length=95
--- Walking the entire request list ---
Waking up in 31 seconds...
Thread 5 got semaphore
Thread 5 handling request 9, (2 handled so far)
Acct-Session-Id = "150581187124197"
User-Name = "testuser"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
Login-Service = Telnet
Login-IP-Host = 10.220.5.32
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Acct-Delay-Time = 0
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 9
modcall[preacct]: module "preprocess" returns noop for request 9
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address =
10.220.5.32,NAS-IP-Address = 10.220.5.32,Acct-Session-Id =
"150581187124197",User-Name = "testuser"'
rlm_acct_unique: Acct-Unique-Session-ID = "24bfd109228a55d7".
modcall[preacct]: module "acct_unique" returns ok for request 9
rlm_realm: No '/' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "IPASS" returns noop for request 9
rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "suffix" returns noop for request 9
rlm_realm: No '\' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "ntdomain" returns noop for request 9
rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "NULL" returns noop for request 9
modcall[preacct]: module "files" returns noop for request 9
modcall: leaving group preacct (returns ok) for request 9
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 9
radius_xlat: '/var/log/radius/radacct/10.220.5.32/detail-20070814'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
expands to /var/log/radius/radacct/10.220.5.32/detail-20070814
modcall[accounting]: module "detail" returns ok for request 9
modcall[accounting]: module "unix" returns ok for request 9
radius_xlat: '/var/log/radius/radutmp'
radius_xlat: 'testuser'
modcall[accounting]: module "radutmp" returns ok for request 9
modcall: leaving group accounting (returns ok) for request 9
Sending Accounting-Response of id 169 to 10.220.5.32 port 1025
Finished request 9
Going to the next request
Thread 5 waiting to be assigned a request
rad_recv: Accounting-Request packet from host 10.220.5.32:1025, id=170,
length=95
Waking up in 31 seconds...
Thread 1 got semaphore
Thread 1 handling request 10, (3 handled so far)
Acct-Session-Id = "150581187124197"
User-Name = "testuser"
Acct-Status-Type = Start
Acct-Authentic = RADIUS
Service-Type = Login-User
Login-Service = Telnet
Login-IP-Host = 10.220.5.32
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Acct-Delay-Time = 0
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 10
modcall[preacct]: module "preprocess" returns noop for request 10
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address =
10.220.5.32,NAS-IP-Address = 10.220.5.32,Acct-Session-Id =
"150581187124197",User-Name = "testuser"'
rlm_acct_unique: Acct-Unique-Session-ID = "24bfd109228a55d7".
modcall[preacct]: module "acct_unique" returns ok for request 10
rlm_realm: No '/' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "IPASS" returns noop for request 10
rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "suffix" returns noop for request 10
rlm_realm: No '\' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "ntdomain" returns noop for request 10
rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "NULL" returns noop for request 10
modcall[preacct]: module "files" returns noop for request 10
modcall: leaving group preacct (returns ok) for request 10
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 10
radius_xlat: '/var/log/radius/radacct/10.220.5.32/detail-20070814'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
expands to /var/log/radius/radacct/10.220.5.32/detail-20070814
modcall[accounting]: module "detail" returns ok for request 10
modcall[accounting]: module "unix" returns ok for request 10
radius_xlat: '/var/log/radius/radutmp'
radius_xlat: 'testuser'
rlm_radutmp: Login entry for NAS linuxclient port 0 duplicate
modcall[accounting]: module "radutmp" returns ok for request 10
modcall: leaving group accounting (returns ok) for request 10
Sending Accounting-Response of id 170 to 10.220.5.32 port 1025
Finished request 10
Going to the next request
Thread 1 waiting to be assigned a request
rad_recv: Accounting-Request packet from host 10.220.5.32:1025, id=171,
length=101
Waking up in 31 seconds...
Thread 2 got semaphore
Thread 2 handling request 11, (3 handled so far)
Acct-Session-Id = "150581187124197"
User-Name = "testuser"
Acct-Status-Type = Stop
Acct-Authentic = RADIUS
Service-Type = Login-User
Login-Service = Telnet
Login-IP-Host = 10.220.5.32
Acct-Session-Time = 0
NAS-IP-Address = 10.220.5.32
NAS-Port = 0
Acct-Delay-Time = 0
Processing the preacct section of radiusd.conf
modcall: entering group preacct for request 11
modcall[preacct]: module "preprocess" returns noop for request 11
rlm_acct_unique: Hashing 'NAS-Port = 0,Client-IP-Address =
10.220.5.32,NAS-IP-Address = 10.220.5.32,Acct-Session-Id =
"150581187124197",User-Name = "testuser"'
rlm_acct_unique: Acct-Unique-Session-ID = "24bfd109228a55d7".
modcall[preacct]: module "acct_unique" returns ok for request 11
rlm_realm: No '/' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "IPASS" returns noop for request 11
rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "suffix" returns noop for request 11
rlm_realm: No '\' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "ntdomain" returns noop for request 11
rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[preacct]: module "NULL" returns noop for request 11
modcall[preacct]: module "files" returns noop for request 11
modcall: leaving group preacct (returns ok) for request 11
Processing the accounting section of radiusd.conf
modcall: entering group accounting for request 11
radius_xlat: '/var/log/radius/radacct/10.220.5.32/detail-20070814'
rlm_detail: /var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d
expands to /var/log/radius/radacct/10.220.5.32/detail-20070814
modcall[accounting]: module "detail" returns ok for request 11
modcall[accounting]: module "unix" returns ok for request 11
radius_xlat: '/var/log/radius/radutmp'
radius_xlat: 'testuser'
modcall[accounting]: module "radutmp" returns ok for request 11
modcall: leaving group accounting (returns ok) for request 11
Sending Accounting-Response of id 171 to 10.220.5.32 port 1025
Finished request 11
Going to the next request
Thread 2 waiting to be assigned a request
--- Walking the entire request list ---
Cleaning up request 9 ID 169 with timestamp 46c21841
Cleaning up request 10 ID 170 with timestamp 46c21841
Cleaning up request 11 ID 171 with timestamp 46c21841
Nothing to do. Sleeping until we see a request.
realms in radiusd.conf:
realm IPASS {
format = prefix
delimiter = "/"
ignore_default = no
ignore_null = no
}
realm suffix {
format = suffix
delimiter = "@"
ignore_default = no
ignore_null = no
}
realm realmpercent {
format = suffix
delimiter = "%"
ignore_default = no
ignore_null = no
}
realm ntdomain {
format = prefix
delimiter = "\\"
ignore_default = no
ignore_null = no
}
realm NULL {
secret = NONE
}
#I invented the realm NULL, i don't know what it should do
realms in proxy.conf
realm LOCAL {
type = radius
authhost = LOCAL
accthost = LOCAL
}
realm NULL {
type = radius
authhost = radius.company.com:1600
accthost = radius.company.com:1601
secret = NONE
debug = yes
}
#realm DEFAULT {
# type = radius
# authhost = radius.company.com:1600
# accthost = radius.company.com:1601
# secret = prueba
#}
thanks a lot,
Sofia
_________________________________________________________________
Consigue aquí las mejores y mas recientes ofertas de trabajo EE.UU.
http://latino.msn.com/empleos
More information about the Freeradius-Users
mailing list