Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Implementing 802.1x Authenticator in software?

Our device is a router running Linux 2.6.19 and we require 802.1x authentication for clients connecting to the built-in switch on the LAN side.

The switch does not provide any support for 802.1x. I have installed hostapd on the router which uses a RADIUS back-end, but this appears to be useless without the port authentication entity.

Is it possible to implement the Port Authentication Entity or similar feature in software?

like image 276
Tom Salmon Avatar asked May 21 '26 21:05

Tom Salmon


1 Answers

Yes this is possible. HostAPd has PAE built in. You may just have some configuration issues.

These guys were trying to get hostapd/freeradius to work with wired interfaces for 802.1x authentication.

Here is another possible resource for you

If you really wanted to role your own PAE, you'd have to hook into the netfilter stack at the kernel level and authenticate MACs entering the bridging stack before you forward their frames. See more about netfilter hooking at netfilter hooks

like image 84
Steve Lazaridis Avatar answered May 24 '26 10:05

Steve Lazaridis