Main menu:

Site search

Categories

December 2024
M T W T F S S
« Nov    
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Tags

Blogroll

Sometimes, it just doesn’t work

One of the most dispiriting things about type 1 diabetes is that sometimes, it doesn’t matter what you do, it just doesn’t work.

Christmas is hard work normally as the normal routine and eating practices are binned in favour of having fun.  Feasts are consumed, wine (and other liquor) is consumed, it’s hard to take yourself off somewhere quiet to figure out exactly how the unusual food should be bolused for.  During this time, I don’t aim for perfection – survival is the game here and after 41 Christmases, I don’t do too badly.

But it doesn’t lose the fact that I am functioning as my pancreas and things don’t always go to plan.  Last night was a great example of this.

Tell me all about it, hon?

Er, OK.  Having cycled to my local gym, had a swim and headed back, everything looked great.  I’d coped with the exercise, food was finally semi-sane and I’d been dry for a couple of days.  This could not be said for my blood sugar.  My Libre showed a steep climb after tea (a lovely chilli con carne, home cooked from scratch, everything weighed out and calculated in terms of carbs and protein).

High peaks

High peaks

By 19:30, it was obvious something was badly wrong, and indeed my blood sugar measured 14mmol/l (normally an hour after such food, I would expect to be 10mmol/l) so I gave a correction dose of 10 units – which should have been more than enough to do the job.

By 20:15, I was up to 15.9mmol/l – the correction had not worked at all and it was now obvious that the cannula dripping the insulin into me was not working.  I replaced the cannula and retested – now 17mmol/l and climbing by the minute.

I made sure the pump cable wasn’t occluded: that’s blocked to you and me.  Insulin was indeed coming out of the end so I reattached and primed the cannula and me.  Another 10 units.

It was still climbing with no hint of a slow down.  I gave a further 4 units at 20:55 and finally at 21:10 there was evidence things were coming back down.  Hypos are typically quicker to treat, so I worked out I probably needed 30g of CHO and had an early midnight feast: toast, ceral and a 150ml of coke.

It was looking great, 5.5mmol/l, so I headed to bed at 01:37 the next morning.

And woke up at 3am with low blood sugar I just couldn’t pick up: my husband did the honours of navigating the stairs when the stores by the bed were consumed.

According to the fit bit I got 5 hours 21 minutes of sleep but given I was below 3mmol/l the whole night, it wasn’t a great night of sleep 😉

Hope your night was easier.

 

Best laid plans of mice and men!

I hope you’ve had a great Christmas. We went to my parents, my men visited my sister in law and family and then headed home. This is a short note discussing some bright ideas and how we worked round some limitations.

Eh?

Like many working families, the holiday season is a chance to catch up on odd jobs round the house. One of these is fitting some cupboard lights to our newly fitted bedroom cupboards.

When the house was built as a custom house for the previous owners (think Grand Designs), my wardrobe was built in under the eaves and had the electrics in for a cupboard light. We’ve taken that out (ironically, I have more storage space by taking out the walk in cupboard) and I put in some LED batons fixed to the door frame. The light is incredible and half the cost of the compact fluorescents I’ve replaced.

But that left a number of cupboards without any automatic lighting.

A search on Amazon and I found this neat solution: Cosoro Cabinet Light.

Hinge light as they arrived

Hinge light as they arrived

It looked ideal, automatic LED lighting, no wires to fit anywhere and only a tenner!

I ordered them and they duly turned up: let’s start fitting them.

Only, they did not fit on our hinges, at all. Our cupboards came with suitably different hinge mechanisms. Oh dear, or words to that effect.

Kitchen hinge light

Kitchen hinge light

We had more joy on a downstairs kitchen cabinet but that wasn’t really the idea! My husband had a great idea – why not fix the light to the frame?

He did just that and low, there was light!

Hinge light installed elsewhere

Hinge light installed elsewhere

Should, would, could

I hope you are well.

I have wiled away my hours not smelling the flowers but wanted to capture the fact here and share my learnings with you.

Nuh?

A couple of big changes are coming our way: our 18 year old will be leaving home and along with that gaining of responsibility we lose the school fees we are paying.

So, what should we do with the windfall?  It’s tempting to live the life of Riley, but what is the best way to make the money work for us?

We still have a mortgage and as my dad always says, settle your debts before doing anything else.  It is pointless to have investments, however safe, if you are paying interest on a debt.  That is even more true at the moment as interest rates are low – while the debt isn’t growing, ensure you can pay it off.

We do have a fixed rate of interest, so we can only pay off 20% a year.  That needs to be born in mind – but yet again, the more we pay off now, the cheaper the debt becomes as it is subject to compound interest.

I did that yonks ago in school.  So what?

While I am paying off the mortgage, the bank are growing the mortgage, in our case daily.  Let’s say the mortgage is £10,000 for ease of sums.  I pay off £1,100 a month but the bank is charging 1.5% a month.

Month Amount left on loan Amount paid off Amount the back charges in interest this month
1 £10,000.00 £1,100.00 £150.00
2 £9,050.00 £1,100.00 £135.75
3 £8,085.75 £1,100.00 £121.29
4 £7,107.04 £1,100.00 £106.61
5 £6,113.64 £1,100.00 £91.70
6 £5,105.35 £1,100.00 £76.58
7 £4,081.93 £1,100.00 £61.23
8 £3,043.16 £1,100.00 £45.65
9 £1,988.80 £1,100.00 £29.83
10 £918.63 £932.41 £13.78

Effectively, you aren’t getting the chance to pay reduce the principal by £1,100 each month as the debt is still growing and it’s growing more in the early stages of the debt than towards the end.  This is called compound interest and in our example above, while we’ve borrowed £10,000, we pay back £10,832.41.

So we’re paying £832.41 in interest.

In this case, our effective interest rate is 0.79%.  If the loan was over a longer period, say 24 months, the AER would effectively double as the number of interest payments would grow and hence the amount it would cost to settle the debt:

Month Amount left on loan Amount paid off Amount the back charges in interest this month
1 £10,000.00 £506.00 £150.00
2 £9,644.00 £506.00 £144.66
3 £9,282.66 £506.00 £139.24
4 £8,915.90 £506.00 £133.74
5 £8,543.64 £506.00 £128.15
6 £8,165.79 £506.00 £122.49
7 £7,782.28 £506.00 £116.73
8 £7,393.01 £506.00 £110.90
9 £6,997.91 £506.00 £104.97
10 £6,596.88 £506.00 £98.95
11 £6,189.83 £506.00 £92.85
12 £5,776.68 £506.00 £86.65
13 £5,357.33 £506.00 £80.36
14 £4,931.69 £506.00 £73.98
15 £4,499.66 £506.00 £67.49
16 £4,061.16 £506.00 £60.92
17 £3,616.08 £506.00 £54.24
18 £3,164.32 £506.00 £47.46
19 £2,705.78 £506.00 £40.59
20 £2,240.37 £506.00 £33.61
21 £1,767.97 £506.00 £26.52
22 £1,288.49 £506.00 £19.33
23 £801.82 £506.00 £12.03
24 £307.85 £307.85 £0.00

In this case interest amount is £1,945.85 which is significantly more than twice the interest and you can get a feel for that as the amount we’re paying back each month is a bit more than half the amount last time.  As this is over a longer time, the AER is 0.7435%.  The interest looks better but you are paying much more for the loan!

You’ve got me hooked, so?

So, if we do the same for the mortgate, the more you pay off when you first have the loan, the better your total repayment is. If you have a mortgage for £180,000 over 25 years your repayments are likely to be £785 a month with an interest rate of 2.25%.  Over 25 years that equals a whopping £235,500 or an interest charge of £55,500.

If you pay the mortgage off more than £785 a month, you will not only save interest but settle the debt quicker.

Doubling your payment, saves more than half the interest while halving the term of the debt.

As I said, you need to be aware of the penalties if you do and work within those limits.  But that’s the approach we’re looking to take.  Doing this in an excel spreadsheet took me nearly 3 hours looking at different amounts of monthly payment.

What I should have done is a simple app – in a couple of hours I could have done something much more usable and I could share it with others.

So that’s what I’ll be doing later today.

The joys of winter

I’m not discussing the joys of winter sports at the moment, but the thrill of going for a walk in to town with an air temperature of 10°C and a wind chill providing a real feel of -5°C!

The sky is overcast and to beat the Christmas Shopping parking blues, I take the bottles to be recycled and wander into town.  Late lunch time was not overly horrendous but not being able to get the washing powder I completely forgot to get for my mum while at shopping at our local superstore this morning.

Sounds like fun, not!

It got me over my 10,000 steps for the day but I had no joy and as I was out of the wind coming home, I ended up doing it in just my polo neck.

I realised I was going to have to go back out of town to get the powder of choice.  I felt like a teenager again, getting things for my mum to the right spec’!

The obvious thing was to take the car, but climbing back up the hill towards ours, I realised the motorbike was the tool of choice here.  It’s only three miles and in the summer, I would have clambered on to the push bike, but given the overcast sky and sharp wind, I pushed the motorbike out of the garage and pulled on the armour and rode over to Futura Park.  It has to be said, the armour protected me from the wind beautifully.

My bike is a little bigger than they obviously planned for in the newish shopping centre in Ipswich, and I did park in one of the car bays so I could front out easily.  I grabbed my clip on bag, picked up the two bottles of washing powder and paid up.

The whole trip took less than 10 minutes to drive to and I never went over the 40 limit on 90% of the ride and the two 30 areas were stuck to like glue.  The thing is, a motorbike is so small and nimble and the majority of the junctions were roundabouts, that a car just cannot make the spaces and the acceleration.  Parking was trivial as the bike is a third the size of a car.

I saw 2 people learning to ride motorbikes on my journey and 20 learner plated cars.  Why are we still favouring cars for the small journeys?

Discrimination

One of the biggest things I hate about type 1 diabetes, aside from the constant need to run a big part of my metabolism up to 4 hours behind the curve, is other people’s understanding of the disease.

Before we talk about this subject though, we should examine some base facts.

  1. About 0.02% of the world’s population have type 1 diabetes.  Given a population of 7.53 billion, that’s 146 million type 1 diabetics.
  2. More adults than children have type 1:
    if a child is diagnosed on the day it was born, it is a child with diabetes for 18 years of their life.  If that child’s life expectancy is 70, that’s 52 years as an adult.
  3. It is caused by a fault in the autoimmune response.
  4. Treatment is insulin replacement therapy for 98% of people.
  5. Transplants rarely work more than 5 years unless the immune system defect is also resolved (one case where the diabetic had a bone marrow transplant at the same time did just that).
  6. Most countries in the world see type 1 as a physcial disability in terms of law.

Really, number 6 is listed here?

If we’re talking about discrimination, we need to understand what is being discriminated against.

I quite like American’s view of type 1 as they see it, in terms of law, as missing an organ.  Can you imagine your life without your heart, kidneys or your lungs?  The islets of Langerhans are that fundamental to a mamals life: without this organ functioning well, my body does everything it can to keep going.  It burns muscle, fat, ditches the toxins accumulating in it as fast as it can but ultimately it is starving because it cannot use the sugar from my food and stores.

Instead this sugar builds up with ketones from the use of stores and this leads to damage so severe it leads to death.

Insulin was discovered and purified in 1922 and given to type 1 patients and was quickly establish as a treatment for type 1 diabetes.  After nearly 100 years of this treatment being available, there is no known cure for type 1.

So, basically, your insulin is a bit like a prosthetic?

Yes, basically: it’s not as good as a real limb, but it serves a purpose.  Insulin replacement therapy is not as good as not being diabetic but it keeps things rubbing along and the majority of the time that just works.

The main issue is that even now, even as the loop is being closed on our delivery systems, it’s all in lag.  My insulin, once given, hangs around for 4 hours.  I am having a micro-dose of insulin every 3 minutes, so the values I get for my blood glucose have been influenced by at least 720 microdoses and any boluses and corrections on top of that.

The delivery of the insulin is achieved through a temporary port (called a cannula) which typically performs well for 3 days.  It is subject to a hostile environment and may be blocked, dislodged, heated, chilled, soaked, attached by my autoimmune system, etc.  The insulin itself is under similar stresses.

This is before we start discussing stresses on the type 1 themselves: exercise, food, drink, infections, heat, cold, heat, hunger, dehydration.

Each and every one of these things changes the model the insulin delivery is being subjected to.  From the second the insulin reaches my body, the parameters in which the dose has been determined may have changed completely.  The impact of that may not be seen for 15 minutes and lasts for hours.

It’s a moving target then?

Pretty much, and I am way better informed about what is happening than I was even 2 years ago as I have a CGMS that actually works and gives me what’s been happening the past 8 hours.  I can see the changes and the levels (up to a point).

There are consequences to my blood sugar not being in a euglycemic range, to you and me that’s a fasting level of 3.9 – 7.0 mmol/l.

If it is high, remember anything about 7!!, my body is trying to flush out the excess sugar which causes dehydration.  Remember me talking about my mum suffering as a normal when dehydrated – that’s happening to a diabetic most days.

So you’re a bit high…

High blood sugar is really anything above 8mmol/l to 48mmol/l.  The higher the sugar the more impact it has on me.  To a non-diabetic, I liken high blood sugar to the feeling you have after running a marathon – you have no energy, are dehydrated and hungry because your body is saying it is starving.

The thing my body is craving is going to make the situation worse (although at a push, I have had a sweet drink as it’s been the only safe thing to drink and boluses like mad but that’s a different story).

In the meantime, this is hurting, physically hurting.  Blood vessels in my eyes, brain and kidneys are blocking because of ketones and sugar and that is slowing everything down.  Inflammation can be a result of higher blood sugar too.  This is not even talking about the impact on a diabetics nervous system and the beginings of neuropathy.

Even when I am really angry and pissed off with someone, I don’t wish this on anyone for longer than a day to see what it is like.

That would be incrediably mean.

So that’s the highs… what about the lows?

Lows are not physically as bad.  I can feel quite clean but the after effects can be as devestating.  What do I mean by that?  I usually get a headache.  The longer the low has lasted, the more serious the headache.

I usually miss the hypos when I sleep, because they are usually mild and don’t cause much damage.

One that lasts several hours has a major impact.  The brain is powered by blood sugar and if there is not enough blood sugar, it suffers damage.

I’m much better at precisely treating hypos now, so I don’t tend to get rebounds, but over treating a hypo has all this and then the joys of high blood sugar.

Surely that’s nothing?

Imagine what you are like on no sleep badly dehydrated and hungry.  Now imagine that is happening two or three times a week because of a low grade infection, bones healing or because the weather’s changed.

That’s why we’re covered by the Equality Act 2010 – what we have is 100% of the time no time off for good behaviour and can be upto 90 years.

Fitting in to the programme

As a type 1 diabetic, on many levels I have it all.  A reasonable Hb1Ac, good clothes, a smart house, a fascinating job and some great friends.

I do mean great because, often, I’m shattered, mentally exhausted as my blood sugar levels are managed by me.

I test and analyse everything and mark it against what I’ve done.  If everything is working as it should, that all takes about 15 minutes a day.

The past week has been shattering as things are not working that way at all.

So, you’re Hb1Ac is 6.1%, it can’t be that bad!

Mmm, I’ve knocked a significant amount off my basal as per working on basal rate 2 but I’m still hypo first thing.  I’ve not managed more than 5 hours sleep on average as a result and I’m just a bit blah.

I know it’s because I am high at ten pm (between 8 and 10mmol/l) and have changed the basal for that time to accommodate that requirement.  That should mean I don’t need to correct and the basal between 2am and 8am is obviously perfect because it is as steady as a rock but I am pooped just the same.  It’s been a week and I am down on at least 2hrs if not more for 7 days which is nearly two night’s sleep.

In the diabetes blogs, this is called diabetes fatigue as per “what causes diabetes fatigue“.  For me this is one of the reasons the Equality Act 2010 is so important.  We look normal and during the working day most things work normally but our day job is 24/7, 365.

Where I work we have a stress assessment tool to work out if you are under a great deal of pressure at work or elsewhere.  One of the questions concerns sleep – “are you having more or less sleep than normal?”  It’s given a great deal of weight in the sheet because of the impact low sleep levels have on the body.

High or low blood sugar makes it very difficult for me to sleep, so I tend to answer thruthfully and  I don’t always get 8 hours a night.

If I answered this against expectations for my age and health, according to the stress assessment, I would be considered under extreme duress.  We just put up with it, because there’s nothing else we can do.  You work at your blood sugar but every so often there is something causing it to behave unpredictably and you just have to live with it.

Such periods of course have the same impact on us as they do to anyone without diabetes.  We get run down and that causes depression which in turn causes instablity and then we’re more prone to not healing when we get infections!  You then get a vicious circle.

The way I cope is prioritisation.  If the dishwasher doesn’t get emptied no-one is going to die.

Making sure I am relaxed in the evening and counting my carbs and making the right decisions.  I have a tool kit with my calculators too.

Hopefully, things will become steady as I begin to recover.  Wish me luck, please.

Two of five

No, I am not writing a thriller here, but more chat about basals, like the last post.

My pump allows me to programme five different basals.  In practice, I only use four and then use a temporary adjustment if something completely unplanned is happening.

Four?

I use the same ones working day or weekend as I keep to fairly regular patterns.  As a girl, I have different rates for which stage of my menstrual cycle I’m in.

Basal rate analysis

Basal Rate 2 is used the week before my period is due (especially if I am exercising a great deal).

Basal Rate 3 is used when my period starts – for a couple of days only.

Basal Rate 4 is used for the two days before my period is due and I am not exercising a great deal.

Basal Rate 1 is used the rest of the time.

That doesn’t seem to be a very logical order?

Thank you for your observation, but when a rate is working really well, I moved on to the next available slot.  As it happened, 1 was the first I programmed.

I said I only used four but five is an emergency one.  If I wanted a small break and used a long acting basal, a temporary rate of zero or a little higher might seem like a good idea.

Long actings are not that predictable with me and having to constantly adjust a temporary in those cases is really annoying. Five is kept as this spare for that reason.  I also use it if I need something a bit special.

Once the situation is back to normal (whatever normal is anyway), I switch my basal rate to the most applicable one.

Wouldn’t it be easier to have a closed loop system?

I do think about it, honestly.  I do quite like being the wet-ware in control (human brain control cybernetics).

My neural net is able to think of things in a way a machine has difficultly doing as I am aware of the whole picture not just my institial results.

For example, if I took an antihestimine tablet, I am aware of how that works in me.  Because I know that I have taken it, I am not reacting to the results I am getting, I am already implementing a plan.  Actually, I might wait a couple of hours before taking the tablet because I know that I need to knock off two tenths of a iu before the allergy treatment starts to work and I need to do that for 18 hours.  Because of my insulin’s kinetics,

A closed loop would just be reacting which is not quite the same thing.

If you say so, just think it would be easier for you…

I know these facts because of my FreeStyle Libre has allowed me to see what does what.  That single tool has allowed me to see so much more of what is happening when.

I know when my blood sugar gets above 8 two hours after eating, I am going to get hungry now.

(I’m guessing that’s middle age, but you can see how type 2 diabetes impacts the middle aged more than youngsters.  If I didn’t know better, I would snack instead of bolusing.

I’ve spent my life taking hunger to be a sign of low blood sugar but actually, that doesn’t happen that way at all.  Low’s it tends to be concentration that goes first then I feel a bit nauseous).

Anyway, the best curves I get are from Coke, normally leaded Coke.  150ml is 16g of CHO and if I bolus 1.6iu I don’t go above 9mmol/l an hour after food.  The curve is beautiful and absorption is guaranteed.

More complex food is always hard as absorption makes the bigest difference.

But now we’re talking about bolusing, not basal rates, so I will end it here.

 

Working on basal rate 2

As I come to the end of my sabatical, I’ve had an infection that drove up my glucose rates and plumented them just as quickly at the end.  The past three days have seen me hypo from 2am in the morning.

Which makes it a good time to review Basal Rate 2.

Hit me one more time, baby

😮 OK.

Excel is a brilliant tool for comparing two graphs and I use it for tracking my changes.

First I enter in my old basal rate as:

Time Old Basal rate 2
0 1.5
1 1.5
2 0.76
3 0.86
4 1.25
5 1.5
6 1.75
7 0.78
8 1.5
9 0.8
10 0.77
11 0.7
12 0.69
13 1.15
14 1.1
15 0.99
16 1
17 1
18 1.4
19 1.4
20 1.6
21 1.7
22 1.3
23 1.55

You will notice the time is actually the hourly rate in question: my pump allows me to have a different rate per hour which is great for tuning.  But it is not a format accepted by the Basal Rate Estimator but we’ll come on to that in a moment.

I then take my interstitial glucose readings for the period I want to tune:

Time Old Basal rate 2 Interstitial blood sugar
0 1.5 4.5
1 1.5 4
2 0.76 3
3 0.86 3.2
4 1.25 2.2
5 1.5 2.2
6 1.75 2.2
7 0.78 2.2
8 1.5 2.1

You can see here why I am tuning – I have a drop from 1am, my goal is to flatten out the curve :D.

Because the Basal Rate Estimator needs the information in a very specific format, I am going make some changes to the data.  I don’t do this in Excel because that would be very hard to make useable for any period in question.

I’ve written a short script to do the job for me:

In powershell script…
Open excel spreadsheet
Open sheet
Work through the blood glucose (converting time to 12 hour clock and add :00 to each hour)
Work through the old basal rate (converting time to 12 hour clock and add :00 to each hour)
Work through the new basal rate (converting time to 12 hour clock and add :00 to each hour)

The output looks something like this:

Doing blood sugar
0:00 4.5
1:00 4
2:00 3
3:00 3.2
4:00 2.2
5:00 2.2
6:00 2.2
7:00 2.2
8:00 2.1
Doing old BR
0:00 1.5
1:00 1.5
2:00 0.76
3:00 0.86
4:00 1.25
5:00 1.5
6:00 1.75
7:00 0.78
8:00 1.5

10:00 1.3
11:00 1.55
Doing New BR
First guess is to use exactly the same values as the old basal rate as that will allow us to fine tune

We’re nearly there, I run the Basal Rate Estimator entering in the “BG” or my institial values: this is a simple cut and paste from the powershell output.

I use humalog, so I select that and enter in my insulin ratio (that needs to be the same units as my readings, as I work in mmol/l my value is 2.5).

Now, in this case, my first blood glucose reading is midnight and the last is 9am.  I copy in my basal values between midnight and 9am but go to the bottom of the column and grab between 10pm and 11pm.  If I don’t do that, the tool complains as it hasn’t got a starting value for insulin kinetics (how much insulin is in your system at midnight affecting your blood sugar).

Sounds fiddly!

Bear with me.  I’ve put in the input into the right boxes, in the right format, so let’s have a look at the output.  First screen the graphs (real and simulated) overlay one another.  We need to change the “new basal” to see a difference.

So lets do that – I actually go through 4 iterations, but I’m guessing you’d like to see the final one.

I can then copy that to my pump as day 2 of the basal run and back to the Excel Sheet, where I can then plot the graph.

Adjusted basal

Hang on a minute… the blood sugars look different

Ah, because I was hypo last night, the basal rate estimator tells me I’m hypo and refuses to work, so I add two to each value of the blood sugars to allow me to do the simulated run.

This all sounds like wet pieces of string and sticky tape…

I was doubtful the first time I used this methodology.  The user interface is crude on the basal rate estimator however this is so much quicker than guessing which rate needs to be trimmed and by how much.

The 4am reading is still a dip.  I’ve taken more than 1iu off my basal and that’s a huge change, so I will try that tonight and do a second estimation run tomorrow morning then move on to breakfast and lunch and tea.  In five days, I normally get pretty close to having a flat line all day if I don’t eat which is a great place to be.

You talk about a script, can I have it?

Powershell scripts can be run on any Windows PC machine from Windows 7 onwards.  I am very happy to share – here it is – but it’s very rough and ready at the moment.

Give me a couple of days to knock it into better shape and I will share on this page 🙂

Warning – techy post

Whaaa..?

This is a technical post and there are no apologies for that.

I’ve run my own server for a while now (since 2007 to be honest) with the aim of 24/7 service to the internet.  It’s a small set up and I not only provide some tried and tested tools but also do some experimental things on here too.

Most of my dynamic insulin modelling is done here for example.

That means I have a web address and the machine needs to be available on the web.  As per many a standard security model, I have tied down exploitable routes into the server and use a firewall to enforce those rules.

Which brings me to the subject of this post: auto-configurable soft firewalls.

Using a simple script working out who is doing what and whether they should be, I am checking blacklisted IP against “Reported IPs Index | AbuseIPDB” so that I am learning from the rest of the internet’s experience of some individuals and their servers.

Which seems to be working reasonably well.  I have a list of 50,000 people I blocked from day one and am adding to that individuals trying to come into my computer by a non-authorised route.  That is saving my computer a great deal of cycle time because it isn’t waiting for a user to be failed three times any more.

Day 1, I had 20,000 odd tries a day from 100 or so hosts.  It is now down to 20 tries from 5 hosts!

Because I am doing this against the audit logs, it’s also serving to protect the services too which has improved my server’s response time.

Just celebrating the small victories.

Today’s key learning point…

I use fedora: I like it, there are a great many cool things you can do for very little effort.

OK, don’t know what you’re talking about…

Linux – there are several key flavours of Unix out there, and as a preference, I like the ones based on the Fedora definition.  I get some powerful tools, such as disk encryption and the main webservers all packaged up and held ready for me to install if I want them.

Most interestingly, it has an Active Directory like server for IAS (identification and authentication services) called FreeIPA.  This works out of the box but it’s obvious that the producers of the toolset are not focused on a home set up like mine!

What do you mean?

In other areas of life, you buying a white loaf bread does not make it impossible for you to buy some rye or brown bread.

FreeIPA assumes it is sitting on a dedicated, probably virtual, server.  Which is great if you can do that, but I am definitely running a single, non-virtualised server and it is running many web servers and the like to provide some of the tools I use to manage various aspects of my life.

That has caused a bit of disruption to my web presence over the past 24 hours and I still don’t have FreeIPA up and running!  Joy.

How so?

FreeIPA wants to install its own tomcat server.  50% of my services are supplied via tomcat – that’s hidden to my users through use of a proxy and a firewall.

I have a couple of other web servers too making it easy for me to deploy the right tool in the right location.

While FreeIPA cannot be configured to run else where, my servers can and this is the stage I am now at: everything has stepped asside ready for FreeIPA to do its thing.

Not sure I get the why and wherefore…

I am not a huge fan of Windows but Active Directory is pretty wow.  It provides a network with a means of authenticating all users and machines access a domain (a closed network).

It’s had few competitors in the PC world and indeed for Unix.  This is where Fedora comes in: think of Fedora and being the equivalent of a Windows Server.  Other Unixes are more like Windows PCs with some server capabilities and often “home cooked”.

The most famous versions of Fedora are RedHat Enterprise Linux (recently bought by IBM), Oracle Enterprise Linux and of course Amazons Linux available on their cloud servers.  The opensource version is called Centos.

RedHat kicked off development of IPA and released it through Centos.

Which is where my server comes in.  I have moved all my public services (30 minute job) but cannot get FreeIPA to install and run effectively.  Back to the drawing board!