Acme, pfSense and easyDNS

So I’m not going to mention cheese, or getting soaked, both of which happened.

So this evening I’ve been having fun with the firewall. The challenge being to get a secure connection via an SSL certificate. As it’s only internal I’m certainly not going to pay for one. So found this ACME package that can be setup with ‘Let’s Encrypt’ which is a free CA. There is a handy YouTube video on how to set it up, it does have one flaw though in that it does the domain validation via a local HTTP server and as I have the ports blocked for remote access that wasn’t going to work. However, there was an option to use easyDNS for validation. First you have to sign up for the REST API, this is painless. Don’t bother with the sandbox. Go straight for the production and regenerate the global token, this will then give you the key. I went diving down into a secure shell and edited the damn script by hand. However if you add a new entry on the certificate rather than edit the default it then gives you the boxes to put the keys in. My method worked anyway, but tomorrow I may try and add the secondary domain to the certificate so will delete my edits and try the interface way instead.

Back to the cheese.

Cheese will be my downfall

So I’m very good on measuring out the exact amount of wine. What I’m not so good at though is measuring cheese. Start with four slices. Then drink the wine. Then randomly slice more cheese. It’s like getting the munchies but without the drugs. Sleeping is still going fine.

Getting bored of being pissed on again. Took Sasha out lunchtime, big time hail stones. Got soaked. Went to the track this evening and got drenched. It seems to be pretty much everyday now.

Well okay for the first night

So stuck to the plan last night and all was good. Managed to sleep no problem at all and had no bad head. Got to work reasonably on time and had a good day. Weather was shite as usual so managed to get the dogs out but beyond that didn’t get out until later this evening, meaning I didn’t get back in until almost bed time. Added my calories up and know exactly how much Pinot I can drink. Booked some culture for Saturday and if all goes to plan will go to the cinema tomorrow.

Another one over, brief reality break

So I put on 4.3Kg which as a percentage of my body weight is quite staggering. Still, I now have six weeks to lose it all again. Decided to take a slightly different strategy, I don’t think it’s worth continuing with this ‘four days not drinking’ thing as all that’s happening is I’m not sleeping for four days. In Gran Canaria I slept great, although woke up with a bit of a head. So now I’m doing the trading game, I have to keep within a certain calorie range in MyFitnessPal. So the more exercise you do the more calories you have to spare, these can then be used on alcohol, may sound daft but there is a physical limit to how much exercise you can do and what you can eat, I’me very good with limits. Lets see how it goes over this week, I think going from what I was drinking in GC to zero would probably be very dangerous anyway.

Am I the solution or just part of the problem


So after last nights rather confusing post about the state of the nation I’ve had several enquiries asking to explain more. You are brave people. So let’s just look at a parallel, Las Vegas. I think it’s probably the most tacky and awful place on earth. It exists for one reason only and that is to empower people. But sadly it’s to empower people to gamble. So an entire city has been developed for the pure purpose of encouraging people to visit to lose money. I guess you could say the same thing about ‘Disney World’, but that’s when one giant corporation decides to do the same thing, and as that’s just capitalism then ‘that’s okay’. I’m not singling out the USA for being the criminal in this by any means, places like Dubai have developed areas purely for tourists that offer lush accommodation and vast shopping malls, providing of course you are not gay. 

The point is you are either developing a place or expectation to fulfil the needs of a person. But why is this any different to any other normal business transaction? A bakery sells bread as people want to eat it, a plumber mends a boiler as someone is freezing their arse off. So what’s the difference? The difference is no inherent person has ever had the need to buy a Mickey Mouse backpack. But isn’t this just classed as entertainment? Absolutely. This splits materialistic things between two extremes, necessities and desires. What does confuse matters though is where the boundary is placed, what personifies that Mickey Mouse backpack as being a ‘must have’? 

So we are now in a situation where we are both the purveyor and consumer of the exact same item, no longer in a materialistic sense, but from the point of view that if you you are the consumer of anything, there will always be someone out there to supply it, or corollary the case there will always be someone out there to exploit the potential that you want it. But that basis is no different to the analogy of if no one believed in God, does God then not exist? Or the more pessimistic view that if God existed and no one believed in him (her/it) would they be slightly pissed off? I digress. I’ll get back on track to my point. And we will reorientate to my current location, Gran Canaria, or more specifically Maspalomas and the Yumbo Centrum where you have almost the perfect dichotomy, love and hate in the same simmering cauldron of what’s architecturally just a shopping centre.

So here I am in a  mass concentration of gay / lesbian people in one location, who on the one hand are celebrating the fact that I ‘can be liberated’ and ironically on the other hand, pointing out the fact that I ‘can’t be liberated’ because I can only do it in the one location. There will sadly always be a stigma between the straight and gay communities, and in part it is brought on by myself. If I feel that I need a ‘special area / place’ to be who I am, then I am doing nothing to integrate with the same society I’m opposed to, if anything I’m just reinforcing stereotypes and the same problems will manifest forever more.

Sometimes I feel that rather than being part of the solution, I’m actually part of the problem. 

Thank you for not reading my email fully

Well after yesterday’s rant email I finally got a reply later this afternoon. Ironically it stated that he ‘tried to find my at the snak bar at midday’, he didn’t try very hard, I was sat right next to him.

He wrote a basic corporate email stating that if the hotel happened to be full then there wasn’t much that could be done about the room allocation, I still dispute this considering I booked it back in November.

Oddly he didn’t mention the food once.

Dress for dinner

So when I was kid going on holiday with the family to Jersey, I used to hate ‘dressing for dinner’. My mother would insist that we got changed into some ‘nice clothes’ so we could eat basically ‘slop’ in what was basically a cheap ‘Butlins’.

But now in my older years I can see the point. I have clothes for the day, clothes for dinner and then clothes for ‘going out’. And you know what, I do enjoy going back to the hotel room and changing into my ‘party wear’. To the point where I have an audience waiting to see what I’m going to turn up in, and boy do I not want to disappoint!

Blog at 30,000 ft

Well this is the first blog entry from 32,000 feet, plus I’ve had half a bottle of Chenin Blanc. So last night was a bit weird, I was absolutely freezing, so called I at day (night) at 10PM and crawled into bed with half a bottle of Pinot and some Ryvitas. Finished watching episode of ‘Sex education’ and then it was lights out. According to the sleep app tracking I managed just under five hours sleep, which considering the anticipation wasn’t too bad. I was fully awake at just gone 3AM and lay in bed, well alternating between laying in bed and going for a pee. Finally the first alarm went off at 5:45, I managed to resist getting up until just before six. Usual round of coffee and cereal, followed by the inevitable bowel movement. It was heavy rain all last night and it continued this morning. I left just after 6:30AM. Was at the airport at 7:15 and into security. They decided that somebody with two phones a tablet and two watches, plus numerous batteries and two watches was somewhat suspect, plus the addition of a pad lock. So they had a good rummage before they sent me on my way. I must of timed it pretty well as I just had time for a quick half and a little wonder before it was boarding time. I’m now on the plane.

So the plan is to meet up with Pete and have a good time. One thing I know for sure is this four days off not drinking thing really isn’t working. My sleep pattern is hell and I’m just binging on the days that I do drink. So will have to think about an alternative arrangement. 

All set, ready for the off

So dropped the dogs off. Sasha was shaking again, I think as an old lady now she likes her home comforts. Still, when she actually got there she was fine. Then did one final walk, it was a long one. Finished packing, 21Kg, that’s a lot of bondage gear. It’s bloody freezing, I’m shivering. Going to have a very early night with a couple of glasses of wine in bed. Then up early in the morning for the off.

So what happened

I was sat down watching crap telly last night, fiddling on the laptop connected to the server over SSH. I was trying to get fail2ban to work with wordpress, so it would ban an IP based on a bad login. So when fiddling I was checking the log files and it was showing that iptables were not working properly. After much Googling I ended up trying to reinstall the kernel. This did indeed reinstall, unfortunately it didn’t install the network drivers which apparently were part of some extension package. So I was now left with a system that booted but had no network connectivity. So travelled upstairs and got on the console. Ended up restoring from a backup. Didn’t work. Tried various restores. Didn’t work. Tried deleting the /boot directory and restoring that, except it wasn’t on the backup. So now had a system that wouldn’t even boot and just sat there at a grub prompt. Bugger. So reinstalled the OS as a clean install. Thankfully it only took a few minutes. System then booted with full networking. Except now of course it was a blank system. So tried restoring the backup again and then rebooted. All came back up and instantly started working again. Relief. So expanded the volume and checked a few things. This wasn’t bad activity considering I’d downed two bottles of wine during the panic.

So today I just monitored the logs. Thankfully everything was fine, as a bonus fail2ban was now working fine. So I added the wordpress jails and all seems to work.

I’m not going to touch it again now until I come back.