jaysoffian / eap_proxy

Proxy EAP packets between interfaces on Linux devices such as the Ubiquiti Networks EdgeRouter™ and UniFi® Security Gateway.
BSD 3-Clause "New" or "Revised" License
562 stars 88 forks source link

Incompatible with EdgeOS 2.0.8 on ERX #33

Closed cyberkitsune closed 4 years ago

cyberkitsune commented 4 years ago

After upgrading to EdgeOS 2.0.8, EAP Proxy stops working. Sample output from with --debug

[2020-03-23 23:39:55,325]: proxy_loop starting
[2020-03-23 23:40:06,193]: eth1: dc:7f:a4:c9:2d:d0 > 01:80:c2:00:00:03, EAPOL start (1) v2, len 0
[2020-03-23 23:40:06,199]: eth0.0: no IP address
[2020-03-23 23:40:06,204]: eth1: dc:7f:a4:c9:2d:d0 > 01:80:c2:00:00:03, EAPOL start (1) v2, len 0 > eth0
[2020-03-23 23:40:06,208]: eth0: sent 60 bytes
[output repeats forever]

Reverting to 1.10.X fixes the issue, but I'd really like 2.0.X to be supported on EdgeRouter-X :)

svaj commented 4 years ago

I can confirm this behavior, tested with v1.10.11 and v2.0.8-hotfix.1 v2 didn't work, downgrading to v1 did. Additional reports of this issue: https://github.com/jaysoffian/eap_proxy/issues/27#issuecomment-572237428_ and https://github.com/jaysoffian/eap_proxy/issues/27#issuecomment-587083462_

jaysoffian commented 4 years ago

I'm still using EdgeOS 1.x. I'll resolve this issue once I upgrade to 2.x unless someone provides a patch in the meantime. There's not enough information in this report to know what's wrong.

(I'm not upgrading till Ubiquity fixes the 2.x known issues:

https://dl.ubnt.com/firmwares/edgemax/v2.0.8-hotfix.1/changelog.v2.0.8-hotfix.1.txt )

tylercal commented 4 years ago

FWIW, I’m on 2.0.8 with an edge router 5 PoE, and it’s still working for me.

closb commented 4 years ago

I got it to work with Edegerouter 12p with no problems

jimbair commented 4 years ago

I am configuring a brand new er-4 which I can flash to the latest version if it were to be helpful :)

prgaly commented 4 years ago

FWIW, it worked fine with ER-X 2.0.8-hotfix1 - followed mostly these instructions - did not reset my original ERX config - just made minor (firewall names etc.) changes to the commands and used the scripts from this repo as-is. Both IPV4 and IPV6 work fine with good throughput. (Had to disable Smart Queue for that part btw.)

prgaly commented 4 years ago

I am configuring a brand new er-4 which I can flash to the latest version if it were to be helpful :)

Worked for me on a new ER-4 w/2.0.8-hf1 as well. IPV6 is somewhat of a pain but that's working too.

jaysoffian commented 4 years ago

Closing since there are now multiple reports of eap_proxy working on 2.x.