dediğiniz gibi yaptıktan sonra "fatal unknown_ca" hatası giderildi bu sefer
de kullanıcı sormadan direk hostname ile login olmaya çalışıyor "login
user" olarak açma dediğim halde şifre kullanıcı adı şifre sormuyor ve
bağlanamıyor
debug çıktısı ektedir
aslında benim yapmaya çalıştığım şey kullanıcıyı uğraştırmadan sadece
kullanıcı adı ve şifreyle AP üzeinden sisteme dahil olmaları. çünkü
kullanıcı bu ayarlar konusunda bilgisiz
varmıdır acaba böyle bir yöntem
11 Mayıs 2013 10:57 tarihinde Cagri Emer <[email protected]> yazdı:
> On 11/05/13 5:20 PM, Ethem AYGÜZER wrote:
> > TLS Length 7
> > [peap] Length Included
> > [peap] eaptls_verify returned 11
> > [peap] <<< TLS 1.0 Alert [length 0002], fatal unknown_ca
> > TLS Alert read:fatal:unknown CA
> > TLS_accept: failed in SSLv3 read client certificate A
>
> Tekrar merhaba,
>
> Windows istemcilerde "Validate Server Certificate" isaretli ise kaldirip
> tekrar dener misiniz?
> _______________________________________________
> Linux-sunucu E-Posta Listesi
> [email protected]
>
> Liste kurallarını http://liste.linux.org.tr/kurallar.php bağlantısından
> okuyabilirsiniz;
>
> Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen
> e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1
> dakika içinde üyeliğinizi sonlandırabilirsiniz.
> https://liste.linux.org.tr/mailman/listinfo/linux-sunucu
>
FreeRADIUS Version 2.1.12, for host x86_64-pc-linux-gnu, built on Dec 16 2012
at 13:28:43
Copyright (C) 1999-2009 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License v2.
Starting - reading configuration files ...
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including files in directory /etc/freeradius/modules/
including configuration file /etc/freeradius/modules/files
including configuration file /etc/freeradius/modules/smbpasswd
including configuration file /etc/freeradius/modules/mac2vlan
including configuration file /etc/freeradius/modules/detail
including configuration file /etc/freeradius/modules/attr_rewrite
including configuration file /etc/freeradius/modules/krb5
including configuration file /etc/freeradius/modules/dynamic_clients
including configuration file /etc/freeradius/modules/rediswho
including configuration file /etc/freeradius/modules/passwd
including configuration file /etc/freeradius/modules/redis
including configuration file /etc/freeradius/modules/wimax
including configuration file /etc/freeradius/modules/detail.log
including configuration file /etc/freeradius/modules/checkval
including configuration file /etc/freeradius/modules/always
including configuration file /etc/freeradius/modules/exec
including configuration file /etc/freeradius/modules/perl
including configuration file /etc/freeradius/modules/soh
including configuration file /etc/freeradius/modules/sql_log
including configuration file /etc/freeradius/modules/chap
including configuration file /etc/freeradius/modules/detail.example.com
including configuration file /etc/freeradius/modules/otp
including configuration file /etc/freeradius/modules/realm
including configuration file /etc/freeradius/modules/opendirectory
including configuration file /etc/freeradius/modules/inner-eap
including configuration file /etc/freeradius/modules/expr
including configuration file /etc/freeradius/modules/policy
including configuration file /etc/freeradius/modules/logintime
including configuration file /etc/freeradius/modules/sradutmp
including configuration file /etc/freeradius/modules/expiration
including configuration file /etc/freeradius/modules/unix
including configuration file /etc/freeradius/modules/smsotp
including configuration file /etc/freeradius/modules/ldap
including configuration file /etc/freeradius/modules/digest
including configuration file /etc/freeradius/modules/ntlm_auth
including configuration file /etc/freeradius/modules/radutmp
including configuration file /etc/freeradius/modules/echo
including configuration file /etc/freeradius/modules/etc_group
including configuration file /etc/freeradius/modules/replicate
including configuration file /etc/freeradius/modules/cui
including configuration file /etc/freeradius/modules/pap
including configuration file /etc/freeradius/modules/sqlcounter_expire_on_login
including configuration file /etc/freeradius/modules/attr_filter
including configuration file /etc/freeradius/modules/preprocess
including configuration file /etc/freeradius/modules/counter
including configuration file /etc/freeradius/modules/pam
including configuration file /etc/freeradius/modules/linelog
including configuration file /etc/freeradius/modules/acct_unique
including configuration file /etc/freeradius/modules/ippool
including configuration file /etc/freeradius/modules/mschap
including configuration file /etc/freeradius/modules/mac2ip
including configuration file /etc/freeradius/eap.conf
including configuration file /etc/freeradius/policy.conf
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/inner-tunnel
including configuration file /etc/freeradius/sites-enabled/default
main {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
including dictionary file /etc/freeradius/dictionary
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = yes
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client 192.168.1.0/16 {
require_message_authenticator = no
secret = "123456"
shortname = "deneme"
}
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
nastype = "other"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file /etc/freeradius/modules/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file /etc/freeradius/modules/expr
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file
/etc/freeradius/modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file
/etc/freeradius/modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
modules {
Module: Creating Auth-Type = digest
Module: Creating Post-Auth-Type = REJECT
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file /etc/freeradius/modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file /etc/freeradius/modules/chap
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file /etc/freeradius/modules/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
allow_retry = yes
}
Module: Linked to module rlm_digest
Module: Instantiating module "digest" from file /etc/freeradius/modules/digest
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file /etc/freeradius/modules/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Module: Linked to module rlm_eap
Module: Instantiating module "eap" from file /etc/freeradius/eap.conf
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 4096
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
Module: Linked to sub-module rlm_eap_tls
Module: Instantiating eap-tls
tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
CA_path = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/server.key"
certificate_file = "/etc/freeradius/certs/server.pem"
CA_file = "/etc/freeradius/certs/ca.pem"
private_key_password = "whatever"
dh_file = "/etc/freeradius/certs/dh"
random_file = "/dev/urandom"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/etc/freeradius/certs/bootstrap"
ecdh_curve = "prime256v1"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file
/etc/freeradius/modules/preprocess
preprocess {
huntgroups = "/etc/freeradius/huntgroups"
hints = "/etc/freeradius/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file /etc/freeradius/modules/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating module "files" from file /etc/freeradius/modules/files
files {
usersfile = "/etc/freeradius/users"
acctusersfile = "/etc/freeradius/acct_users"
preproxy_usersfile = "/etc/freeradius/preproxy_users"
compat = "no"
}
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating module "acct_unique" from file
/etc/freeradius/modules/acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address,
NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Linked to module rlm_detail
Module: Instantiating module "detail" from file /etc/freeradius/modules/detail
detail {
detailfile =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file
/etc/freeradius/modules/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.accounting_response" from file
/etc/freeradius/modules/attr_filter
attr_filter attr_filter.accounting_response {
attrsfile = "/etc/freeradius/attrs.accounting_response"
key = "%{User-Name}"
relaxed = no
}
Module: Checking session {...} for more modules to load
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
Module: Instantiating module "attr_filter.access_reject" from file
/etc/freeradius/modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile = "/etc/freeradius/attrs.access_reject"
key = "%{User-Name}"
relaxed = no
}
} # modules
} # server
server inner-tunnel { # from file /etc/freeradius/sites-enabled/inner-tunnel
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Checking session {...} for more modules to load
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
... adding new socket proxy address * port 60116
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 192.168.1.253 port 40335, id=173,
length=190
User-Name = "host/diji-Kaplan"
NAS-IP-Address = 192.168.1.253
NAS-Port = 0
Called-Station-Id = "F8-1A-67-52-F4-3B:TP-LINK_POCKET_3020_52F43B"
Calling-Station-Id = "74-F0-6D-79-37-A8"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x0201001501686f73742f64696a692d4b61706c616e
Message-Authenticator = 0x45e41e4c1000ba77520232a1e3e3535e
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 21
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry host/diji-Kaplan at line 3
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type md5
rlm_eap_md5: Issuing Challenge
++[eap] returns handled
Sending Access-Challenge of id 173 to 192.168.1.253 port 40335
EAP-Message = 0x010200160410f7a158ae8bff054ea2b430985f778caa
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x08f5eab208f7ee030ba93d3bfd5ac129
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.1.253 port 40335, id=174,
length=193
User-Name = "host/diji-Kaplan"
NAS-IP-Address = 192.168.1.253
NAS-Port = 0
Called-Station-Id = "F8-1A-67-52-F4-3B:TP-LINK_POCKET_3020_52F43B"
Calling-Station-Id = "74-F0-6D-79-37-A8"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x020200060319
State = 0x08f5eab208f7ee030ba93d3bfd5ac129
Message-Authenticator = 0x4075695ed7818ebcd43ef38027222c2e
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry host/diji-Kaplan at line 3
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP NAK
[eap] EAP-NAK asked for EAP-Type/peap
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 174 to 192.168.1.253 port 40335
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x08f5eab209f6f3030ba93d3bfd5ac129
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.1.253 port 40335, id=175,
length=312
User-Name = "host/diji-Kaplan"
NAS-IP-Address = 192.168.1.253
NAS-Port = 0
Called-Station-Id = "F8-1A-67-52-F4-3B:TP-LINK_POCKET_3020_52F43B"
Calling-Station-Id = "74-F0-6D-79-37-A8"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message =
0x0203007d198000000073160301006e0100006a0301518e0df06fd564d9c7422c68b4d25be9245b72cca64da62316f373cd96ca1ed4000018002f00350005000ac013c014c009c00a003200380013000401000029ff0100010000000010000e00000b64696a692d6b61706c616e000a0006000400170018000b00020100
State = 0x08f5eab209f6f3030ba93d3bfd5ac129
Message-Authenticator = 0x0851a916cb83c3489e52d8c81f23ac4e
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 3 length 125
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 115
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] (other): before/accept initialization
[peap] TLS_accept: before/accept initialization
[peap] <<< TLS 1.0 Handshake [length 006e], ClientHello
[peap] TLS_accept: SSLv3 read client hello A
[peap] >>> TLS 1.0 Handshake [length 0031], ServerHello
[peap] TLS_accept: SSLv3 write server hello A
[peap] >>> TLS 1.0 Handshake [length 02c0], Certificate
[peap] TLS_accept: SSLv3 write certificate A
[peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
[peap] TLS_accept: SSLv3 write server done A
[peap] TLS_accept: SSLv3 flush data
[peap] TLS_accept: Need to read more data: SSLv3 read client certificate A
In SSL Handshake Phase
In SSL Accept mode
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 175 to 192.168.1.253 port 40335
EAP-Message =
0x0104030a190016030100310200002d0301518e0df20115672bf9e03b8962511e242c9c94aec576ce3c3442bfd3ca5ca1fb00002f000005ff0100010016030102c00b0002bc0002b90002b6308202b23082019aa003020102020900ac13e79d750fb29a300d06092a864886f70d01010505003011310f300d0603550403130664656269616e301e170d3133303531303133323830345a170d3233303530383133323830345a3011310f300d0603550403130664656269616e30820122300d06092a864886f70d01010105000382010f003082010a028201010099b90e6ca82c4122d948727595bf9887ff00df0ade67426d6fa142923d2c3a9911f9fceb
EAP-Message =
0xfaf7ca97e1c318e273ac3b657cb686a48dc372d3c87e725eed52140e253a1c1a9e1c4671fa1873ea766a22f4b1263c4b4b64a0d9b207303a38d401c9764ba27854920b8e1bcdf1f45127e5e11e98c7098e9aafbec5eec0ed102508259cd2ac130fd8793332538b4c3da6782259fdcf81acd997390995ac5309021313a905b7e4ec2ce87ce6dc7ceb7a5fb952b2ae2f944bf69ada050fbbe0c485eae810a04306d81e1beae9ff8d1e912e458c7576e0d15f6ff7e30f2c7d0a5e10428cca378daf80022700a049b173684a9c06f21ee773d7bd60c037f8793a2c4257170203010001a30d300b30090603551d1304023000300d06092a864886f70d010105
EAP-Message =
0x05000382010100849408e3582f12dffe3bf214b629f84212fbf4d94d6949c70d21263b8e1e4954a2a8a475b9faa7296c822edffb412d6f8a1045b0a9d988cd52bc8fe982bed233c8ee0e2a9d436253d3ef1e46474a036d9d1551a37abe0e588fd51b45df2b9c6f0e72b98e59e9de6746d78125b8cd5204512a46b59eb2611780dae332f7f9c9197d9a945cac0dcb322ab90989f5aa3b7a35c9992707134c126ecef70f26d69d1e1006b076d61ce190fba71b265a890ee1bc834420fc9577810cc17d137e9b0795b1ab41ef75253852340226e6be72cef9b65d56db204ccb5300e6d87ec4615213b010d2d069671b0d0efada1e4991c9267e2129421a8a
EAP-Message = 0xf7f63d0edcd4a979a95416030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x08f5eab20af1f3030ba93d3bfd5ac129
Finished request 2.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.1.253 port 40335, id=176,
length=525
User-Name = "host/diji-Kaplan"
NAS-IP-Address = 192.168.1.253
NAS-Port = 0
Called-Station-Id = "F8-1A-67-52-F4-3B:TP-LINK_POCKET_3020_52F43B"
Calling-Station-Id = "74-F0-6D-79-37-A8"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message =
0x0204015019800000014616030101061000010201001a39bfd800492313f8cb9a6ed8b4fc42057a787b603f47e83bd9463edd835a40f2cffd05f8468b5b16eb335444a2e46f8e59fa1650e5fb71df94e6dd442dea4be783813264381943ff78ddf7fef2ead20710533028cde7676e6b5cbd2e32d3c4cab1e276277747c6ee62923a79cbd7ae87a7f1a784ecc8f271e2e8986849a227076c195d361d24b5a4ebf6ba13e1d0316b23b845c321724a16ec1d26cbe77b9410d2ecbb2d377cf0ff99e3bc8c3fd6d87339c1217fbbf93b8bd2b7cc8d8a359548604d8f653099d0340913227b61df6d13006bc89b3be27b70a1fc935dcfdf0958623a34983c717b
EAP-Message =
0xb9136dafec7801a2f4c1eb838b5fb1c5ea74e115b80a88ac140301000101160301003045b6c27d1064941a6ef13d443d04f1d07dd5803f9179d747e1d2baca1369dacfd903e6446eebb2f52a64a7fef7fa8bb3
State = 0x08f5eab20af1f3030ba93d3bfd5ac129
Message-Authenticator = 0x5fc1e66af1b8b42582dd1024ca42d343
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 4 length 253
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 326
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange
[peap] TLS_accept: SSLv3 read client key exchange A
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 read finished A
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap] TLS_accept: SSLv3 write change cipher spec A
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 write finished A
[peap] TLS_accept: SSLv3 flush data
[peap] (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 176 to 192.168.1.253 port 40335
EAP-Message =
0x0105004119001403010001011603010030f89321de65727039bacb48730592b293f8f256d987d7823dbda85d60098ac5fb6e9314b1b1e930576161fc00babd7773
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x08f5eab20bf0f3030ba93d3bfd5ac129
Finished request 3.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.1.253 port 40335, id=177,
length=193
User-Name = "host/diji-Kaplan"
NAS-IP-Address = 192.168.1.253
NAS-Port = 0
Called-Station-Id = "F8-1A-67-52-F4-3B:TP-LINK_POCKET_3020_52F43B"
Calling-Station-Id = "74-F0-6D-79-37-A8"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message = 0x020500061900
State = 0x08f5eab20bf0f3030ba93d3bfd5ac129
Message-Authenticator = 0xd38e45b9581a5c437121ae8df631a7d6
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 5 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state TUNNEL ESTABLISHED
++[eap] returns handled
Sending Access-Challenge of id 177 to 192.168.1.253 port 40335
EAP-Message =
0x0106002b19001703010020d42367d8ef601aaa324e7b6c746e50c2acbc3562848e66bb71855f8a86f1baf9
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x08f5eab20cf3f3030ba93d3bfd5ac129
Finished request 4.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.1.253 port 40335, id=178,
length=246
User-Name = "host/diji-Kaplan"
NAS-IP-Address = 192.168.1.253
NAS-Port = 0
Called-Station-Id = "F8-1A-67-52-F4-3B:TP-LINK_POCKET_3020_52F43B"
Calling-Station-Id = "74-F0-6D-79-37-A8"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message =
0x0206003b19001703010030a3b0ecfae980875fde877608eab742b4e846faa716286c14ab9513c13470a6b724d1c9e3244574c0309a0d3317f3e33a
State = 0x08f5eab20cf3f3030ba93d3bfd5ac129
Message-Authenticator = 0xd754b330dc918632017c4e5ec0aa32f0
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 6 length 59
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state WAITING FOR INNER IDENTITY
[peap] Identity - host/diji-Kaplan
[peap] Got inner identity 'host/diji-Kaplan'
[peap] Setting default EAP type for tunneled EAP session.
[peap] Got tunneled request
EAP-Message = 0x0206001501686f73742f64696a692d4b61706c616e
server {
[peap] Setting User-Name to host/diji-Kaplan
Sending tunneled request
EAP-Message = 0x0206001501686f73742f64696a692d4b61706c616e
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "host/diji-Kaplan"
server inner-tunnel {
# Executing section authorize from file
/etc/freeradius/sites-enabled/inner-tunnel
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[control] returns noop
[eap] EAP packet type response id 6 length 21
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry host/diji-Kaplan at line 3
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
EAP-Message =
0x0107002a1a0107002510b496befca563a3520ece3f9432df4be7686f73742f64696a692d4b61706c616e
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xac0d689aac0a725ecfbbc6e12bcd6f4b
[peap] Got tunneled reply RADIUS code 11
EAP-Message =
0x0107002a1a0107002510b496befca563a3520ece3f9432df4be7686f73742f64696a692d4b61706c616e
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xac0d689aac0a725ecfbbc6e12bcd6f4b
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 178 to 192.168.1.253 port 40335
EAP-Message =
0x0107004b190017030100400a60f09e70166d27e11563fd1c440552f048aa4ecaeb46236cda5a31ddf9480c2b78ddb76c10527c5650527c1077159e73e2b2b5078d8188f67401b05df95ba2
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x08f5eab20df2f3030ba93d3bfd5ac129
Finished request 5.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.1.253 port 40335, id=179,
length=294
User-Name = "host/diji-Kaplan"
NAS-IP-Address = 192.168.1.253
NAS-Port = 0
Called-Station-Id = "F8-1A-67-52-F4-3B:TP-LINK_POCKET_3020_52F43B"
Calling-Station-Id = "74-F0-6D-79-37-A8"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message =
0x0207006b19001703010060f8ca6828e14e5b8491d0423567325f71794cfd8399ea18da651cfa02dc8fd60201f4f7b9679a27d78812c71809ca0571d296ef2968fc8e7113f502820ba17ad890611c1d16d426bb77415b76be6d075432d41863b6ee7d5d602727b78e6f5d09
State = 0x08f5eab20df2f3030ba93d3bfd5ac129
Message-Authenticator = 0x00653ccc2d62f794b93abe3a155c8fa1
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 7 length 107
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state phase2
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message =
0x0207004b1a0207004631fbf8ae72554639c8f0a486aa881224e6000000000000000000000000000000000000000000000000000000000000000000686f73742f64696a692d4b61706c616e
server {
[peap] Setting User-Name to host/diji-Kaplan
Sending tunneled request
EAP-Message =
0x0207004b1a0207004631fbf8ae72554639c8f0a486aa881224e6000000000000000000000000000000000000000000000000000000000000000000686f73742f64696a692d4b61706c616e
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "host/diji-Kaplan"
State = 0xac0d689aac0a725ecfbbc6e12bcd6f4b
server inner-tunnel {
# Executing section authorize from file
/etc/freeradius/sites-enabled/inner-tunnel
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[control] returns noop
[eap] EAP packet type response id 7 length 75
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry host/diji-Kaplan at line 3
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/inner-tunnel
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[mschapv2] # Executing group from file
/etc/freeradius/sites-enabled/inner-tunnel
[mschapv2] +- entering group MS-CHAP {...}
[mschap] Creating challenge hash with username: host/diji-Kaplan
[mschap] Told to do MS-CHAPv2 for host/diji-Kaplan with NT-Password
[mschap] FAILED: MS-CHAP2-Response is incorrect
++[mschap] returns reject
[eap] Freeing handler
++[eap] returns reject
Failed to authenticate the user.
} # server inner-tunnel
[peap] Got tunneled reply code 3
MS-CHAP-Error = "\007E=691 R=1"
EAP-Message = 0x04070004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Got tunneled reply RADIUS code 3
MS-CHAP-Error = "\007E=691 R=1"
EAP-Message = 0x04070004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Tunneled authentication was rejected.
[peap] FAILURE
++[eap] returns handled
Sending Access-Challenge of id 179 to 192.168.1.253 port 40335
EAP-Message =
0x0108002b190017030100204e7572ed2efec6b2bce67971a334b11f29bbd4304722ec174b3808b8a20deef6
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x08f5eab20efdf3030ba93d3bfd5ac129
Finished request 6.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 192.168.1.253 port 40335, id=180,
length=230
User-Name = "host/diji-Kaplan"
NAS-IP-Address = 192.168.1.253
NAS-Port = 0
Called-Station-Id = "F8-1A-67-52-F4-3B:TP-LINK_POCKET_3020_52F43B"
Calling-Station-Id = "74-F0-6D-79-37-A8"
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
Connect-Info = "CONNECT 0Mbps 802.11"
EAP-Message =
0x0208002b19001703010020eaf910418c68ea1694274e1d43deb2761d2da5f2ff874a0246e25ee75f7d0224
State = 0x08f5eab20efdf3030ba93d3bfd5ac129
Message-Authenticator = 0x6b416d0d4448f2a6ad3ac0965b716adf
# Executing section authorize from file /etc/freeradius/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "host/diji-Kaplan", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 8 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state send tlv failure
[peap] Received EAP-TLV response.
[peap] The users session was previously rejected: returning reject (again.)
[peap] *** This means you need to read the PREVIOUS messages in the debug
output
[peap] *** to find out the reason why the user was rejected.
[peap] *** Look for "reject" or "fail". Those earlier messages will tell you.
[peap] *** what went wrong, and how to fix the problem.
[eap] Handler failed in EAP/peap
[eap] Failed in EAP select
++[eap] returns invalid
Failed to authenticate the user.
Using Post-Auth-Type Reject
# Executing group from file /etc/freeradius/sites-enabled/default
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> host/diji-Kaplan
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 7 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 7
Sending Access-Reject of id 180 to 192.168.1.253 port 40335
EAP-Message = 0x04080004
Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 3.9 seconds.
Cleaning up request 0 ID 173 with timestamp +5
Cleaning up request 1 ID 174 with timestamp +5
Cleaning up request 2 ID 175 with timestamp +5
Cleaning up request 3 ID 176 with timestamp +5
Cleaning up request 4 ID 177 with timestamp +5
Cleaning up request 5 ID 178 with timestamp +5
Cleaning up request 6 ID 179 with timestamp +5
Waking up in 0.9 seconds.
Cleaning up request 7 ID 180 with timestamp +5
Ready to process requests.
_______________________________________________
Linux-sunucu E-Posta Listesi
[email protected]
Liste kurallarını http://liste.linux.org.tr/kurallar.php bağlantısından
okuyabilirsiniz;
Bu Listede neden bulunduğunuzu bilmiyorsanız veya artık bu listeden gelen
e-postaları almak istemiyorsanız aşağıdaki bağlantı adresini kullanarak 1
dakika içinde üyeliğinizi sonlandırabilirsiniz.
https://liste.linux.org.tr/mailman/listinfo/linux-sunucu