DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 21st October 2014
ilux ilux is offline
New User
 
Join Date: Jul 2014
Posts: 2
Default IEEE_802.1X

Hello.

Can I use 802.1X authentication (en.wikipedia.org/wiki/IEEE_802.1X) with MSCHAP for my "hardware" network card on OpenBSD.

Reply With Quote
  #2   (View Single Post)  
Old 21st October 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Hello, and welcome!

802.1x authentication is available, via a port of the Linux WPA/WPA2/IEEE Supplicant -- the leaf of the ports tree is security/wpa_supplicant, available as a package from a nearby mirror.

See this OpenBSD Journal article for an example use case. I have never used it, but I understand it supports MSCHAPv2.
Reply With Quote
  #3   (View Single Post)  
Old 22nd October 2014
ilux ilux is offline
New User
 
Join Date: Jul 2014
Posts: 2
Default

Thank you!

it works

I add to wpa_supplicant config
network={
ssid=""
key_mgmt=IEEE8021X
eap=PEAP
ca_cert="/etc/ssl/certs/my.cer"
phase2="auth=MSCHAPV2"
identity="user"
password="password"
}

and to /etc/rc.conf.local
pkg_scripts="${pkg_scripts} wpa_supplicant"
wpa_supplicant_flags="-c /etc/wpa_supplicant.conf -D wired -i re0"

after dhclient re0 I got authentication
Reply With Quote
  #4   (View Single Post)  
Old 22nd October 2014
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Yay!

I'm glad you got it working!
Reply With Quote
  #5   (View Single Post)  
Old 22nd October 2014
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,131
Default

According to https://en.wikipedia.org/wiki/MS-CHAP MS-CHAPv2 has some serious security flaws
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:03 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick