{"action":"created","issue":{"url":"https://api.github.com/repos/cozybit/authsae/issues/42","repository_url":"https://api.github.com/repos/cozybit/authsae","labels_url":"https://api.github.com/repos/cozybit/authsae/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/cozybit/authsae/issues/42/comments","events_url":"https://api.github.com/repos/cozybit/authsae/issues/42/events","html_url":"https://github.com/cozybit/authsae/issues/42","id":161929694,"number":42,"title":"Rekeying failure on a busy link","user":{"login":"MichelStam","id":6228947,"avatar_url":"https://avatars.githubusercontent.com/u/6228947?v=3","gravatar_id":"","url":"https://api.github.com/users/MichelStam","html_url":"https://github.com/MichelStam","followers_url":"https://api.github.com/users/MichelStam/followers","following_url":"https://api.github.com/users/MichelStam/following{/other_user}","gists_url":"https://api.github.com/users/MichelStam/gists{/gist_id}","starred_url":"https://api.github.com/users/MichelStam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MichelStam/subscriptions","organizations_url":"https://api.github.com/users/MichelStam/orgs","repos_url":"https://api.github.com/users/MichelStam/repos","events_url":"https://api.github.com/users/MichelStam/events{/privacy}","received_events_url":"https://api.github.com/users/MichelStam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-23T13:58:12Z","updated_at":"2016-06-23T14:40:45Z","closed_at":null,"body":"Guys,\r\n\r\nI've been testing an annoying bug I've been having on a mesh of (currently) 2 units for the past week or so, but I cannot seem to find what causes it.\r\n\r\nIt happens when I run an iperf test between the units. At or around the time the SAE lifetime expires, a rekey occurs, after which traffic between the units stops.\r\nSometimes a packet arrives about a key lifetime later, but it does not get stable anymore.\r\n\r\nIf I leave the link idle (no iperf test, just some pings), then this problem does not seem to occur.\r\n\r\nLooking at the debug traces from meshd-nl80211I can find no fault. I also looked at the key material sent down to the ath9k driver (printk's in the kernel driver), but even reading back those registers does not indicate to me that there's a fault.\r\n\r\nBoth units use an ath9k Atheros card; One is an AzureWave AR5B95, the other is a Compex WLE200N2-23. I have also observed the problem on Compex WLE350NX cards, so I am guessing this is not hardware related.\r\n\r\nI set up both units with the attached config below;\r\n[meshd.txt](https://github.com/cozybit/authsae/files/330064/meshd.txt)\r\n\r\nThe kernel I use 4.4.11, but I've seen the same problem with 3.10.49.\r\nThe compat-wireless 2016-01-10 driver set used by OpenWRT seems to have the same problem with the old 3.10.34 kernel I run on that system.\r\n\r\nThe iperf setup is (using 2.0.5):\r\n* One system running iperf -s -u -p 6969 -i 5\r\n* One system running iperf -c <IP> -u -p 6969 -i 5 -t 86400 -b 100M\r\n\r\nI create the mesh interfaces by:\r\n* iw phy phy0 interface add mesh0 type mp\r\n* ifconfig mesh0 IP MASK up\r\n* meshd-nl80211 -c meshd.txt -i mesh0\r\n\r\nRight now the key lifetime is at 60 seconds for problem reproduction, but I have seen the same problem on a link with a key lifetime of 3600 seconds; the link then dies at that time.\r\n\r\nCan anyone give me a couple of pointers where to look, or maybe help me out?\r\n\r\nRegards,\r\n\r\nMichel Stam"},"comment":{"url":"https://api.github.com/repos/cozybit/authsae/issues/comments/228071521","html_url":"https://github.com/cozybit/authsae/issues/42#issuecomment-228071521","issue_url":"https://api.github.com/repos/cozybit/authsae/issues/42","id":228071521,"user":{"login":"fhuberts","id":635705,"avatar_url":"https://avatars.githubusercontent.com/u/635705?v=3","gravatar_id":"","url":"https://api.github.com/users/fhuberts","html_url":"https://github.com/fhuberts","followers_url":"https://api.github.com/users/fhuberts/followers","following_url":"https://api.github.com/users/fhuberts/following{/other_user}","gists_url":"https://api.github.com/users/fhuberts/gists{/gist_id}","starred_url":"https://api.github.com/users/fhuberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fhuberts/subscriptions","organizations_url":"https://api.github.com/users/fhuberts/orgs","repos_url":"https://api.github.com/users/fhuberts/repos","events_url":"https://api.github.com/users/fhuberts/events{/privacy}","received_events_url":"https://api.github.com/users/fhuberts/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T14:40:45Z","updated_at":"2016-06-23T14:40:45Z","body":"I think this is realted to #39"}}
{"actor":{"display_login":"fhuberts"}}