[RADIUS] Problème de test en local
rodillo85
Messages postés
41
Statut
Membre
-
15 janv. 2007 à 16:50
Gentleman56 Messages postés 43 Statut Membre -
Gentleman56 Messages postés 43 Statut Membre -
Salut a tous !
Voila je suis en stage je monte un serveur RADIUS.
J'ai réaliser tous les certificats, modifié les fichiers de configurations (radiusd.conf,eap.conf,users...)
Quand je lance mon serveur ca marche
Mais quand j'essai de faire un test en local ca ne marche pas voici ce que j'ai :
Sending Access Request of ID 32 to 127.0.0.1 port 1812
user name....
password.......
NAS IP ADRESS = 255.255.255.255
Nas port = 0
Je ne comprends pas pourquoi il me met ce broadcast alors que norlament il devrait m'afficher GW (=Passerelle je supose)
Et ensuite m'envoyer une reponse, mais nan ca ne marche pas
Quelqu'un pourrait m'aider?
Merci d'avance
Voila je suis en stage je monte un serveur RADIUS.
J'ai réaliser tous les certificats, modifié les fichiers de configurations (radiusd.conf,eap.conf,users...)
Quand je lance mon serveur ca marche
Mais quand j'essai de faire un test en local ca ne marche pas voici ce que j'ai :
Sending Access Request of ID 32 to 127.0.0.1 port 1812
user name....
password.......
NAS IP ADRESS = 255.255.255.255
Nas port = 0
Je ne comprends pas pourquoi il me met ce broadcast alors que norlament il devrait m'afficher GW (=Passerelle je supose)
Et ensuite m'envoyer une reponse, mais nan ca ne marche pas
Quelqu'un pourrait m'aider?
Merci d'avance
A voir également:
- Radiusd -x
- Test performance pc - Guide
- Appdata local - Guide
- Test steam deck oled - Guide
- Test disque dur - Télécharger - Informations & Diagnostic
- Test composant pc - Guide
4 réponses
Voici mes logs :
rad_recv: Access-Request packet from host 127.0.0.1:1046, id=17, length=56
User-Name = "test"
User-Password = "\334mL\022L?\356\310al\345C\2475\025\242"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
modcall[authorize]: module "chap" returns noop for request 0
modcall[authorize]: module "mschap" returns noop for request 0
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 0
users: Matched entry DEFAULT at line 156
modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
rlm_unix: [test]: invalid password
modcall[authenticate]: module "unix" returns reject for request 0
modcall: leaving group authenticate (returns reject) for request 0
auth: Failed to validate the user.
WARNING: Unprintable characters in the password. ? Double-check the shared secret on the server and the NAS!
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 17 to 127.0.0.1 port 1046
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 17 with timestamp 45acdad9
Nothing to do. Sleeping until we see a request.
rad_recv: Access-Request packet from host 127.0.0.1:1046, id=17, length=56
User-Name = "test"
User-Password = "\334mL\022L?\356\310al\345C\2475\025\242"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
modcall[authorize]: module "chap" returns noop for request 0
modcall[authorize]: module "mschap" returns noop for request 0
rlm_realm: No '@' in User-Name = "test", looking up realm NULL
rlm_realm: No such realm "NULL"
modcall[authorize]: module "suffix" returns noop for request 0
rlm_eap: No EAP-Message, not doing EAP
modcall[authorize]: module "eap" returns noop for request 0
users: Matched entry DEFAULT at line 156
modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type System
auth: type "System"
Processing the authenticate section of radiusd.conf
modcall: entering group authenticate for request 0
rlm_unix: [test]: invalid password
modcall[authenticate]: module "unix" returns reject for request 0
modcall: leaving group authenticate (returns reject) for request 0
auth: Failed to validate the user.
WARNING: Unprintable characters in the password. ? Double-check the shared secret on the server and the NAS!
Delaying request 0 for 1 seconds
Finished request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Waking up in 1 seconds...
--- Walking the entire request list ---
Sending Access-Reject of id 17 to 127.0.0.1 port 1046
Waking up in 4 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 17 with timestamp 45acdad9
Nothing to do. Sleeping until we see a request.
Es-ce que ca serait pas un problème de passerelle sachant que celle de ma carte reseau est 193.52..... alors que dans radiusd.conf on peut voir qu'il y'a une plage d'adresse de 192.168.1...à 192.168.3... ???