Posts

  • A Simple OpenIKEd mac-to-site VPN

    How to setup a simple mac-to-site OpenIKEd based VPN on OpenBSD

    I have a mac laptop that, on occasion, I like to be able to connect to my home network while I am away....

    2019
    Read More
  • Deprecating methods in Objective-C

    Nothing lasts forever

    Sometimes you think of a better way of doing things or you got something wrong and you need to deprecate the older version. It would be great if the compiler could help...

    2018
    Read More
  • Disabling init

    Sometimes you just don't want to support init

    In the old days you would be to catch it in runtime; call `[self release]`, error, then return nil. This approach should no longer be used...

    2018
    Read More
  • Varargs in c and Objective-C

    Variadic arguments in c, and how to use them in Objective-C

    With varargs, as their name suggests (var-args), you can define a function or method that takes a variable number of arguments...

    2018
    Read More
  • A Simple OpenIKEd site-to-site VPN

    How to setup a simple site-to-site OpenIKEd based VPN on OpenBSD

    For the benefit of future users, this article details the setup process for a simple site-to-site VPN using OpenIKEd with pre-shared keys on OpenBSD 5.8/5.9...

    2016
    Read More