The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,262 other subscribers

Archive for August 7th, 2017

Photographer captures Miami Beach air show with Nikon 800mm and custom rig

Posted by jpluimers on 2017/08/07

Cool pictures and ditto rig via:

–jeroen

Posted in About, LifeHacker, Personal, Photography, Power User | Leave a Comment »

ssl/ssh multiplexer

Posted by jpluimers on 2017/08/07

sslh accepts connections on specified ports, and forwards them further based on tests performed on the first data packet sent by the remote client.

Probes for HTTP, SSL, SSH, OpenVPN, tinc, XMPP are implemented, and any other protocol that can be tested using a regular expression, can be recognised. A typical use case is to allow serving several services on port 443 (e.g. to connect to ssh from inside a corporate firewall, which almost never block port 443) while still serving HTTPS on that port.

Hence sslh acts as a protocol demultiplexer, or a switchboard. Its name comes from its original function to serve SSH and HTTPS on the same port.

sslh supports IPv6, privilege dropping, transparent proxying, and more.

Interesting…

–jeroen

Posted in *nix, https, Linux, OpenSSL, OpenVPN, Power User, Security | Leave a Comment »

sleep wake – Macbook Air – battery drains while sleeping (but not when shut down) – via: Ask Different

Posted by jpluimers on 2017/08/07

I had the same issue as in sleep wake – Macbook Air – battery drains while sleeping (but not when shut down) – Ask Different which suddenly introduced itself in April 2016 after I had been running El Capitan (OS X 10.11) for a while.

The Mac didn’t have PowerNap active as I verified using How Power Nap works on your Mac – Apple Support

At first it looked like an SMC reset worked as explained by Reset the System Management Controller (SMC) on your Mac – Apple Support and mentioned in Mac Air loses 90% of battery overnight when in … | Apple Support Communities.

The Mac is indeed running Chrome, but I don’t like to turn that off before sleeping.

Executing pmset -g would show hibernatemode 3.

So I opted for the hibernate option as mentioned in the first link:

sudo pmset -a hibernatemode 25

This will take a bit longer to restore the memory from hibernate state, but saves a lot of frustration.

–jeroen

Posted in Apple, Mac, MacBook, MacBook-Air, Power User | Leave a Comment »