При настройке на коммутаторе D-Link авторизации порта по 802.1x и включении на BGRadiusDialup режима eap происходит следующее:
1. на клиентской машине при включении в порт запрашивается имя и пароль
2. идет проверка имени и пароля
3. выдается отказ. Причем в логах радуса вот что (самый конец лога):
Код:
09-02/15:01:57 INFO [pool-1-thread-6] radius - AUTH:
Type=AUTHENTICATION_REQUEST
Attributes:
User-Name=corban
NAS-Identifier=DES-3010G
NAS-IP-Address=192.168.0.195
NAS-Port=1
Service-Type=2
Connect-Info=CONNECT Ethernet 100Mbps Full duplex
EAP-Message=
Framed-MTU=1466
NAS-Port-Id=ether1_1
Message-Authenticator=y¿=0åȋ'™Ç|’
State=ÿnpß…«p©úƒ0ß)
NAS-Port-Type=15
Calling-Station-Id=00-22-15-9f-6a-c8
Called-Station-Id=00-21-91-56-01-37
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - Not valid MS Chap v2 request!
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - java.lang.NullPointerException
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.RadiusPacket.addTimeLog(RadiusPacket.java:121)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.processor.DefaultProcessor.connect(DefaultProcessor.java:620)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.auth.eap.EAPMSChapV2Authentificator.isAuthOk(EAPMSChapV2Authentificator.java:139)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.auth.eap.EAPMSChapV2Authentificator.authenticate(EAPMSChapV2Authentificator.java:70)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.auth.eap.peap.EAPPEAPAuthenticator0.tunneledAuthentificating(EAPPEAPAuthenticator0.java:124)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.auth.eap.tls.EAPTLSAuthenticator.authenticate(EAPTLSAuthenticator.java:197)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.auth.eap.EAPSession.authenticate(EAPSession.java:195)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.auth.eap.EAPSession.processPacket(EAPSession.java:215)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.auth.eap.EAP.authentification(EAP.java:320)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.auth.eap.EAP.processPacket(EAP.java:287)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.processor.dialup.DialUpProcessor.authentification(DialUpProcessor.java:864)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.processor.DefaultProcessor.standartAuth(DefaultProcessor.java:173)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.processor.dialup.DialUpProcessor.authenticationProcess(DialUpProcessor.java:130)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.RadiusRequestThread.processRequest(RadiusRequestThread.java:181)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at bitel.billing.server.radius.RadiusRequestThread.run(RadiusRequestThread.java:80)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
09-02/15:01:57 ERROR [pool-1-thread-6] LoggingPrintStream - at java.lang.Thread.run(Thread.java:636)
09-02/15:01:57 INFO [pool-1-thread-6] radius - RESPONSE:
Type=AUTHENTICATION_REJECT
Process time auth: 596
Attributes:
User-Name=corban
State=ÿnpß…«p©úƒ0ß)
EAP-Message=
не совсем понятно, что же именно не нравится в "MS Chap v2 request".