More annoyances: Mouse Shake, losing Razor and Keychron Bluetooth and Unifi Intrusion Prevention blocks Github SSH

Ok, three incredibly annoying things finally tracked down early this morning:

Unifi Intrusion Protection blocks Github SSH connections

The net of it is that Intrusion Prevention has been great (at least I haven’t seen many ill effects except this one). It makes Github basically unusable.

  1. I’ve been having horrible problems with running GitHub commands. If I run a bunch quickly, I get timeouts. At first, I thought it was GitHub availability but everyone else is fine and Github Status is good. Finally, got a hint when trying to do the test ssh and it was failing. But in debugging it there was no problem with ssh -p 443 so it works fine with HTTPS access.
  2. A post said it had to be your firewall and I suddenly remembered that I did click our Unifi Dream Machine Pro from “Intrusion Detection” to “Intrusion Prevention”.
  3. Looking that the Security logs (which are really hard to find on the web UI now by the way), I see that there is this error “ET Scan SSH Port scanning Outbound”. Look in Threat Management > Traffic Log and you will get a whole mess of these, but it is a medium security threat of type “Attempted Information Leak”
  4. In looking at the Internet, Unifi uses open-source scanning, and apparently, this is triggered if a client does a lot of different SSH accesses in a short period of time. That is five in two minutes. This is exactly the behavior of frequent GitHub pushes since it is using a pool of IP addresses. I get this a lot when running git submodules foreach and it throttles.
  5. The brute force solution is just to go back to Detection, but the right solution is to figure out how to white list As an aside, the Intrusion Detection log is SCARY and I really do want prevention. These are options you can toggle in Settings > Security and the first entry is “Detect” or “Automatically” block. I confirmed that by turning it to Detect, the GitHub issues went away, but that’s pretty brute force.
  6. This security has a bunch of things that are hard to understand, but there is sensitivity which is between 1 and 5, I have it set at balanced. Then there is Customize Threat Management so apparently the number indicate how many checks are turned on. So ones to think about are allow TOR
  7. It is strange in that SSH is not an option when it comes to turning on and off security, you can do things like unblock TOR, but there is no mention of SSH. And also blocking DOS attacks. The 3 default also doesn’t deal with any Internet Traffic attacks so I turned these on
  8. I’m also guessing this goes away if I were to use a VPN tunnel to do this, but that kind of defeats the purpose of intrusion detection.
  9. The other thing is that the interface has an “allow list” so I wonder if this is the white list. I checked on it just to see. There are apparently a few things to do, first is signature suppression where you don’t see the alert, the other is to white list an IP address so you allow a machine like my dev machine. In any case just one click on allow and now it is greyout.
  10. It is unclear if that is the same as white listing. The documentation is terrible! But in the Security section it does have signature supression and refers to the Threat Management section so there is hope!

The exact log entry is:

Date        03/03/2021
Time        11:56:55 AM
Severity    Medium
Type        Attempted Information Leak
Interface   br0
Source : 51290
Country     United States
Destination : 22
36459 GITHUB

Where is mouse shake on Razor and Logitech mice?

OK, this one is also more annoying and strange, but one nice feature of the MacOS is mouse shake. This means if you have a huge screen, when you shake the mouse, the cursor gets bigger.

This works fine with the Mousepad, but with a regular Logitech mouse it is very intermittent. You have to shake really fast to make this work.

Apparently, there is a mouse driver somewhere down in the guts of and some say it’s the fault of the Logitech mouse driver. In looking at brew search logitech I see an awful lot of drivers down there. I have also noticed it doesn’t happen with my Razor Mouse either. But Logitech Options and Logitech G Hub appear to let you set Mouse options. I already install Logitech Camera Settings to change the zoom on my Brio.

Losing Bluetooth with Razor Darkcore RGB and Keychron v2

OK, I seem to lose connection and there are two different problems that are intermittent. First is the Razor connects, but the connection type becomes regular Bluetooth and not a mouse type. So something is up. The only solution appears to be to delete the Bluetooth profile and restart. It happens once every week or so.

Then I had a single event with the Keychron. The keyboard just showed it was seeking and the Mac said no connection no matter what I did. I finally had to delete the Keychron profile and then on the Keychron, hold down the FN and the 1 key simultaneously (not the F1) to force it to Bluetooth profile 1 and deleted and reconnected.

Kind of annoying and a good reason to stick with Apple hardware. I like the Magic Mouse, but the Magic Keyboard is just not that good 🙂 The main reason I have the Corsair is that it charges wirelessly and then feel of the Logitech mouse is just nicer although you lose gestures.

I’m Rich & Co.

Welcome to Tongfamily, our cozy corner of the internet dedicated to all things technology and interesting. Here, we invite you to join us on a journey of tips, tricks, and traps. Let’s get geeky!

Let’s connect