Man kanske skall vara öppen med faktum att 2017 förmodligen INTE är det år som går till historien då flest snedtramp gjorts vad gäller IT och IT-driften hos myndigheter, riksdagen, osv. Snarare råkar vi, av “ren tur”, ha kommit på att detta skett och fortsätter att ske, med makthavarnas vetskap. Fortsätter det så här, så kanske vi skulle lägga upp samhällskritisk och i många fall hemlig information på en öppen server så att Google kan indexera det (göra det sökbart). Då riskerar vi i alla fall inte att tappa bort informationen och samtidigt sparar vi enorma mängder pengar. Win Win!
Men en större fråga tycker jag är: Varför har vi inte en oberoende myndighet som ansvarar för drift av och beslut gällande driften av IT-system inom offentlig förvaltning? Hur kommer det sig att vi 2017 får reda på att till och med regeringskansliet inte har någon som helst aning om vad de sysslar med och vilka risker man tar när man väljer att “lägga ut driften” eller “ta in kompetens”?
Även om jag principiellt inte är för att ytterligare komplicera och försvåra den redan ganska röriga byråkratin vi har, så känns det som att detta faktiskt skulle kunna vara motiverat. Det är för många dinosaurier, det är för många politiska tillsättningar och det saknas definitivt kunskaper.
Det kanske är dags att tillsätta en grupp människor och bilda en ny myndighet, där de tre yttersta kraven är IT-kunskap, sekretess och oberoende. När vi i de flesta andra situationer strävar efter att ha bäst kompetens på rätt plats, varför är det inte så när det gäller IT inom offentlig förvaltning?
Godtrohet är inte en giltig ursäkt för inkompetens.
Kanske skulle detta falla under MSBs ansvar, kanske inte.
Jag har sagt det tidigare och säger det igen: Vi har bara sett toppen på ett enormt isberg.
#svpol #fail #it #sakerhet
We had a need to create an e-mail account in Zimbra that would always generate an automated response to incoming e-mails. So we activated the OutOfOffice functionality (or “Vacation Mode” as some people prefer to call it). This is great, and you do have some control from the ZWC (Zimbra Web Client) user interface.
The “problem” with the OOO functionality is that it is designed for human interaction. So, in an attempt to be somewhat “intelligent”, Zimbra will remember to whom it has sent an automated response message, and if a second message is received within nn time, it will not send another one. This makes sense, if I have sent an e-mail to John Doe, and Mr Doe is on vacation, I probably know this to be true even if I send him another message within a few hours or days. So I don’t want a second automated response.
We wanted it to send an automated response every time it received a message, zmprov to the rescue!
As the ‘zimbra’ user, from the CLI prompt, enter:
zmprov ma email@example.com zimbraPrefOutOfOfficeCacheDuration <value>
The default <value> in our installation was 7d, presumably that means seven days. So I set it to ‘1s’ and anyone sending e-mail to firstname.lastname@example.org now gets an automated response, even if they send several messages within a short period of time.
If you’re having problems doing a factory reset on a Ubiquiti EdgeRouter, and can’t ping the router on 192.168.1.1 or connect to the admin web interface, you may want to check that you are connecting your computer to the eth0 port on the router. It’s not immediately obvious that this is where the admin interface is residing at https://192.168.1.1. Oh, and don’t forget to hardwire your own computer to the 192.168.1.0-network. This is really a no-brainer, but still not entirely obvious.
When upgrading a Zimbra server to a somewhat recent version (8.7.3 for example), it may attempt to install its own DNS Cache (zimbra-dnscache). It’s obvious that this may cause issues if you are running some other DNS caching service, or your own BIND, on the server. But these are rather obvious issues and not unique to Zimbra.
What is not, however, equally obvious is that you may think that zimbra-dnscache is actually running, and that it is actually doing what it is supposed to be doing.
My first hint that things weren’t as they appeared to be was extremely slow external SMTP sessions when clients like Thunderbird and other “client mailers”, as well as some web based Helpdesk applications were attempting to send e-mail via Zimbra.
The upgrade to Zimbra 8.7.3 had gone quite well, so it wasn’t an obvious place to start looking.
Until I noticed that SSH logins were also quite slow to this server. They had never been slow before. Checking the SSH configuration on the server did not reveal much other than the fact that it was indeed using reverse DNS lookups.
Checking /etc/resolv.conf made everything clear. Zimbra had, in attempt to use its own zimbra-dnscache, added “nameserver 127.0.0.1” to /etc/resolv.conf. In a perfect world, that may have been what I wanted …
After removing 127.0.0.1 from /etc/resolv.conf, inbound SMTP sessions from “client mailers” and web applications went from 7-10 seconds down to 0.5-0.1 seconds. Case closed.
I’m thinking Zimbra should add a post-installation sanity check. When all services are up and running, a DNS lookup to a known host (www.zimbra.com for example) should return within less than a second or two, anything else is an indication that the system may not function as intended.
How you save the NSA and other similarly inclined organization billions of dollars in hardware using only a decent operating system:
tail -f /dev/person/to/track
#unix #linux #surveillance #privacy
The DrayTek Vigor 3900 has been around for some time now. Sadly, this isn’t exactly mirrored on the world wide web. The amount of documentation, samples, and FAQs is sparse; guides, and discussions are few. For a product in this class. And that’s not very good at all.
DrayTek has always gone their own way, and it’s usually a good way. The biggest problem, IMHO, is that you need to wrap your head around how the DrayTek engineers think. To add insult to injury, several of the “DrayTek websites” require you to have an account on their sites to download technical guides. I have no idea how this came to be, but it’s not good. And, it’s not like the good people at Clavister or ZyXEL is going to steal “ideas” from a DrayTek guide. #lol
I’ve toyed with quite a few firewalls. They all have their pros and cons. Well, almost all of them. Some only have cons, really. But I cannot for the life of me understand why DrayTek has such crap documentation, crap support information archives, and have to go their own way on every single administration user interface design. Because they really do make great products. Maybe they are a little bit too aware of that fact.
#draytek #network #security #firewall #vigor
IP-Only often boasts about being “the man” when it comes to Swedish Internet infrastructure and their competence in networks. Customer service and fast response to serious network issues such as routing loops seems to be of … less importance to IP-Only. It’s fascinating how “big players” so often seem to ignore “small customers”. We reported this network issue to IP-Only on 13-Jun-2016 (Monday). On 17-Jun-2016 (Friday), they still don’t know what the problem is. But they are “investigating it”. In the meantime, there is zero response from them until you start screaming.
It’s so comforting to know we’re in safe hands with them, being “the man” when it comes to the Internet infrastructure in Sweden.
What’s less comforting is that they don’t seem to monitor their network equipment nor know how it works.
3 126.96.36.199 (188.8.131.52) 1 ms 1 ms 1 ms
4 184.108.40.206 (220.127.116.11) 1 ms 1 ms 2 ms
5 sesto1024-rc1.ip-only.net (18.104.22.168) 1 ms 2 ms 4 ms
6 22.214.171.124 (126.96.36.199) 1 ms 1 ms 1 ms
7 sesto1024-rc1.ip-only.net (188.8.131.52) 1 ms 3 ms 1 ms
8 184.108.40.206 (220.127.116.11) 1 ms 1 ms 1 ms
9 sesto1024-rc1.ip-only.net (18.104.22.168) 1 ms 2 ms 1 ms
10 22.214.171.124 (126.96.36.199) 2 ms 1 ms 1 ms
11 sesto1024-rc1.ip-only.net (188.8.131.52) 2 ms 1 ms 3 ms
12 184.108.40.206 (220.127.116.11) 3 ms 3 ms 2 ms
13 sesto1024-rc1.ip-only.net (18.104.22.168) 2 ms 2 ms 4 ms
14 22.214.171.124 (126.96.36.199) 4 ms 1 ms 1 ms
15 sesto1024-rc1.ip-only.net (188.8.131.52) 2 ms 1 ms 2 ms
16 184.108.40.206 (220.127.116.11) 24 ms 5 ms 2 ms
17 sesto1024-rc1.ip-only.net (18.104.22.168) 2 ms 2 ms 2 ms
18 22.214.171.124 (126.96.36.199) 2 ms 2 ms 2 ms
19 sesto1024-rc1.ip-only.net (188.8.131.52) 3 ms 3 ms 3 ms
20 184.108.40.206 (220.127.116.11) 2 ms 2 ms 2 ms
21 sesto1024-rc1.ip-only.net (18.104.22.168) 2 ms 2 ms 2 ms
22 22.214.171.124 (126.96.36.199) 3 ms 2 ms 2 ms
23 sesto1024-rc1.ip-only.net (188.8.131.52) 2 ms 2 ms 2 ms
24 184.108.40.206 (220.127.116.11) 2 ms 2 ms 2 ms
25 sesto1024-rc1.ip-only.net (18.104.22.168) 2 ms 2 ms 3 ms
26 22.214.171.124 (126.96.36.199) 3 ms 3 ms 4 ms
27 sesto1024-rc1.ip-only.net (188.8.131.52) 2 ms 3 ms 2 ms
28 184.108.40.206 (220.127.116.11) 2 ms 6 ms 2 ms
29 sesto1024-rc1.ip-only.net (18.104.22.168) 2 ms 2 ms 2 ms
30 22.214.171.124 (126.96.36.199) 2 ms 4 ms 4 ms
I recently upgraded one of my laptops to Ubuntu 16.04.LTS (going from 14.04.LTS). The upgrade went very smooth and I have no issues with the resulting operating environment 🙂 Having said that, I quickly discovered a quite serious issue for me when I attempted connecting to one of many servers I need to get into. All of a sudden, my SSH key was no longer accepted by the server, and I was prompted for a password! WTF!?
I immediately feared the worst and started looking at the server(s), tailing log files, enabling debugging, etc. No trace was to be found other than that no key was presented by the client. The servers were intact, the authorized_keys had not been compromised, and vanilla ice cream was still the number one flavor. The problem is not with Ubuntu 16.04.LTS. The problem is with my SSH key, as well as a recent change in “acceptable keys” by OpenSSH, version 7.
Doing “ssh -vvv email@example.com” told me that the SSH client couldn’t find an acceptable key to present to the server. After having figured that out, and facepalming for a few seconds, I added this to my /etc/ssh/ssh_config file:
Saved the file and tried again. Voila! One could say many things about using this type of SSH key, but rest assured I will change mine. You should too if you run into this problem. This is a workaround, not a fix or a solution. So sit down with some vanilla ice cream (with actual vanilla) and something nice to drink and go through the process of replacing your public SSH keys everywhere.
We mirror the Webmin website to bring it somewhat closer to Sweden, and recently I had to move the hosted mirror to another of our servers running Debian 8. All of a sudden, a cron job that had been working for many years went tits up with a segmentation fault.
Odd, to say the least. It became even more strange when I turned on “verbose” (-v) output and wget told me that “UTF8 cannot be converted to UTF8”. This is a truly silly error message, imho. wget apparently knows the local encoding, and it apparently knows the remote encoding, so why is it attempting a conversion when there’s non conversion needed?#stupid
Adding –no-iri to the wget command-line solves this issue.
All of a sudden, rsyslogd on an Ubuntu installation running under OpenVZ is using 100% CPU. One alternative is to replace rsyslogd for syslog-ng, but if you want to “fix” rsyslogd instead, here’s how:
service rsyslog stop
sed -i -e 's/^\$ModLoad imklog/#\$ModLoad imklog/g' /etc/rsyslog.conf
service rsyslog start