-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Radius requests not getting sent #213
Comments
Hi @hardillb, I just tried using your topology and faucet.yaml outside of CORE to see if I could replicate the problem. Happy to report everything worked out okay for me, so worst case I can share my environment with you to get you up and running. My first stab at guessing why this doesn't work, are you running faucet as root? Because of this faucet bug: faucetsdn/faucet#2854 we currently only support faucet/chewie when run as root. Something we hope to change in the future. |
Hi, thanks for the rapid response. Yeah, it's all running as root, that is the default for CORE's network namespaced runtimes. Since it's all just network namespaces it should basically be the same as docker. I can see in the trace that it's adding the new radius packet to the queue in the statemachine, it's just not taking them off the queue to send out to the radius server as far as I can tell. It's after 23:00 here, but I'll grab some proper trace in the morning and post it. |
Okay and if you want to try my environment out to compare, here are the commands I ran in a fairly vanilla ubuntu VM to create a set of network namespaces to simulate the hosts. Get create_ns and as_ns shell fragments from the faucet tutorial: https://docs.faucet.nz/en/latest/tutorials/acls.html#prerequisites
I then got the freeradius and wpa_supplicant test configs we ship with chewie: https://github.com/faucetsdn/chewie/tree/master/etc I started freeradius on the host outside the network namespaces, and then started wpa_supplicant on n2:
Anyway, talk more tomorrow. I'm in UTC+12. |
hmm, your setup does seem to work (well at least packets are making it to the radius server at least, which is currently setup for a PPPoE authentication). Which is odd because CORE is basically just a GUI doing the same thing with the namespace stuff. I'll keep playing |
I've running Chewie version 0.21 in a CORE environment (based on a Ubuntu 18.04 base) installed from the packagecloud.io source.
I have a Open vSwitch switch being configured with faucet and it's all working OK until I try to add the 802.1x authentication. I have LDAP & Radius & faucet server all running on the same host (n1) as the switch.
I have a veth pair (tap0 & tap1) bound to the switch as the port that the dot1x will use to output the 802.1x request.
What I'm currently seeing is that it looks like
radius_output_bits = self.radius_output_messages.get()
here is never returning so the eapol request is never getting passed on to the radius server.I'm running wpa_supplicant on n2
Any idea's what I've either got wrong or is this a bug?
Open vSwitch setup
faucet.yaml:
The text was updated successfully, but these errors were encountered: