Skip to content

Commit

Permalink
Bugfix: populate wpa2 psks for all devices again #patch (#313)
Browse files Browse the repository at this point in the history
* Change wpa3/wpa2 population behavior back for now
  • Loading branch information
lts-rad committed Apr 22, 2024
1 parent 4b1cb12 commit a846f64
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Secure Programmable Router (SPR) Release Notes

## v0.3.10
* Revert wpa2 behavior for wpa3 devices for now

## v0.3.9
* Various bug fixes
* Stop applying wpa2 to wpa3 devices

## v0.3.8
* Improve e2e testing
* Add fixes for 'disabled' policy handling
Expand Down
2 changes: 1 addition & 1 deletion api/code/firewall.go
Original file line number Diff line number Diff line change
Expand Up @@ -736,7 +736,7 @@ func deleteBlock(br BlockRule) error {

func deleteForwarding(f ForwardingRule) error {
var cmd *exec.Cmd
if f.SrcPort == "any" {
if f.DstPort == "any" {
cmd = exec.Command("nft", "delete", "element", "inet", "nat", f.Protocol+"anyfwd",
"{", f.SrcIP, ":",
f.DstIP, "}")
Expand Down
2 changes: 1 addition & 1 deletion api/code/radios.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func doReloadPSKFiles() {
sae := ""

//apple downgrade workaround https://feedbackassistant.apple.com/feedback/9991042
downgradeWorkaround := false
downgradeWorkaround := true

for keyval, entry := range devices {
if entry.DeviceDisabled == true {
Expand Down

0 comments on commit a846f64

Please sign in to comment.