Skip to main content

Posts

Getting an A+ Score on Qualys' SSL Server Test

On a lark, to get some experience with configuring HTTPS servers, I decided to host the Flightware frontends on my RaspberryPi on an HTTPS endpoint instead of the default HTTP. The broad steps to do this were: Getting a certificate for my site via LetsEncrypt's certbot Enabling the HTTPS endpoint on Lighttpd Testing the security of the setup via the Qualys SSL Server Test It took some trial and error to get an A+ rating for my server's SSL setup . The two key steps involved in improving the security of the setup were: Starting with a strong SSL configuration generated by Mozilla's SSL Configuration Generator . This means no SSL v2, SSL v3 or anything below TLS v1.2, and setting up HSTS Configuring DNS CAA records for the domain. Here's how my CAA record is configured on Google Domains: ➜ dig caa element77.com +short 0 issue "letsencrypt.org" 0 issue "pki.goog" 0 iodef "mailto:caa@element77.com" 0 issue "amazon.com" I haven't ...

RTL-SDR, Raspberry Pi and Plane Spotting via ADS-B

Most modern aircraft carry an ADS-B ( Automatic Dependent Surveillance - Broadcast ) transmitter that puts out information about the aircraft's identification, geospatial location, speed, and heading. This information is received by ground stations and air traffic control and used as a replacement for radar-based tracking. ADS-B relies on line-of-sight communication via signals transmitted at 1090 Mhz and has a range of up to 250 nautical miles. Sites such as FlightAware , FlightRadar24 , Plane Finder , RadarBox24 , etc. collect ADS-B information using a vast array of ADS-B receivers, some of which are run by hobbyists, and present this information on maps with near-real-time updates. With the advent of cheap software-defined-radio (SDR) dongles, over the past few years, it has become extremely cheap and easy for amateurs to receive ADS-B signals, upload data to these sites and, in exchange, get access to premium features from these sites. This guide will walk you t...

How to look at modern art in America

Creator: Ad Reinhardt (1913-1967) Description: The 1946 version of the cartoon was originally printed in the newspaper P.M. and reprinted in ARTnews in 1961 with the new version. Source: Archives of American Art

Amazon Workspaces and El Capitan - Follow Up

With OSX El Capitan 10.11 (build 15A204h), the Amazon Workspaces client is still broken. Now the "Internet Connection" works but the next check for the "Registration service" fails.

Amazon Workspaces and El Capitan

With OSX El Capitan (version 10.11 build 15A204h), I am unable to connect to my Amazon Workspace . The Workspace client (version 1.1.80.347) gives me a weird error about a local certificate (and completely messes up the UI) and at other times is not able to verify the Internet connection. Looking at tcpdump, it seems like the client normally tries to connect to https://connectivity.amazonworkspaces.com which resolves to 54.230.147.12 . However for some reason the client is now connecting to server-54-230-147-12.sfo4.r.cloudfront.net which is what the IP resolves to in reverse. Visiting https://server-54-230-147-12.sfo4.r.cloudfront.net gives a certificate with the name connectivity.amazonworkspaces.com and therefore makes the connection untrusted. No idea how to workaround this. Help?

Installing RMySQL on OS X "Yosemite"

Here are the instructions to install RMySQL on OS X "Yosemite": Download and install the MySQL community server for OS X . You will need a free Oracle account to complete the download. At the time of this blog post, I installed mysql-5.6.22-osx10.9-x86_64 via the DMG archive. By default MySQL will be installed in /usr/local/mysql-5.6.22-osx10.8-x86_64 (if you use a different version, look for an equivalently named directory under /usr/local). Download sources for the RMySQL package from CRAN . At the time of this blog post, I downloaded RMySQL_0.9-3.tar.gz . Open a Terminal window and run: export DYLD_LIBRARY_PATH=/usr/local/mysql-5.6.22-osx10.8-x86_64/lib:$DYLD_LIBRARY_PATH You may want to consider adding this line to .bashrc as well. In the same terminal window compile and install RMySQL using this command (in a single line): R CMD INSTALL --configure-args="--with-mysql-dir=/usr/local/mysql-5.6.22-osx10.8-x86_64 --with-mysql-inc=/usr/local/mysql-5.6.22-osx10.8...