]> pere.pagekite.me Git - homepage.git/blob - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom="http://www.w3.org/2005/Atom">
3 <channel>
4 <title>Petter Reinholdtsen</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7 <atom:link href="http://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
8
9 <item>
10 <title>Offentlig elektronisk postjournal blokkerer tilgang for utvalgte webklienter</title>
11 <link>http://people.skolelinux.org/pere/blog/Offentlig_elektronisk_postjournal_blokkerer_tilgang_for_utvalgte_webklienter.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Offentlig_elektronisk_postjournal_blokkerer_tilgang_for_utvalgte_webklienter.html</guid>
13 <pubDate>Thu, 20 Apr 2017 13:00:00 +0200</pubDate>
14 <description>&lt;p&gt;Jeg oppdaget i dag at &lt;a href=&quot;https://www.oep.no/&quot;&gt;nettstedet som
15 publiserer offentlige postjournaler fra statlige etater&lt;/a&gt;, OEP, har
16 begynt å blokkerer enkelte typer webklienter fra å få tilgang. Vet
17 ikke hvor mange det gjelder, men det gjelder i hvert fall libwww-perl
18 og curl. For å teste selv, kjør følgende:&lt;/p&gt;
19
20 &lt;blockquote&gt;&lt;pre&gt;
21 % curl -v -s https://www.oep.no/pub/report.xhtml?reportId=3 2&gt;&amp;1 |grep &#39;&lt; HTTP&#39;
22 &lt; HTTP/1.1 404 Not Found
23 % curl -v -s --header &#39;User-Agent:Opera/12.0&#39; https://www.oep.no/pub/report.xhtml?reportId=3 2&gt;&amp;1 |grep &#39;&lt; HTTP&#39;
24 &lt; HTTP/1.1 200 OK
25 %
26 &lt;/pre&gt;&lt;/blockquote&gt;
27
28 &lt;p&gt;Her kan en se at tjenesten gir «404 Not Found» for curl i
29 standardoppsettet, mens den gir «200 OK» hvis curl hevder å være Opera
30 versjon 12.0. Offentlig elektronisk postjournal startet blokkeringen
31 2017-03-02.&lt;/p&gt;
32
33 &lt;p&gt;Blokkeringen vil gjøre det litt vanskeligere å maskinelt hente
34 informasjon fra oep.no. Kan blokkeringen være gjort for å hindre
35 automatisert innsamling av informasjon fra OEP, slik Pressens
36 Offentlighetsutvalg gjorde for å dokumentere hvordan departementene
37 hindrer innsyn i
38 &lt;a href=&quot;http://presse.no/dette-mener-np/undergraver-offentlighetsloven/&quot;&gt;rapporten
39 «Slik hindrer departementer innsyn» som ble publiserte i januar
40 2017&lt;/a&gt;. Det virker usannsynlig, da det jo er trivielt å bytte
41 User-Agent til noe nytt.&lt;/p&gt;
42
43 &lt;p&gt;Finnes det juridisk grunnlag for det offentlige å diskriminere
44 webklienter slik det gjøres her? Der tilgang gis eller ikke alt etter
45 hva klienten sier at den heter? Da OEP eies av DIFI og driftes av
46 Basefarm, finnes det kanskje noen dokumenter sendt mellom disse to
47 aktørene man kan be om innsyn i for å forstå hva som har skjedd. Men
48 &lt;a href=&quot;https://www.oep.no/search/result.html?period=dateRange&amp;fromDate=01.01.2016&amp;toDate=01.04.2017&amp;dateType=documentDate&amp;caseDescription=&amp;descType=both&amp;caseNumber=&amp;documentNumber=&amp;sender=basefarm&amp;senderType=both&amp;documentType=all&amp;legalAuthority=&amp;archiveCode=&amp;list2=196&amp;searchType=advanced&amp;Search=Search+in+records&quot;&gt;postjournalen
49 til DIFI viser kun to dokumenter&lt;/a&gt; det siste året mellom DIFI og
50 Basefarm.
51 &lt;a href=&quot;https://www.mimesbronn.no/request/blokkering_av_tilgang_til_oep_fo&quot;&gt;Mimes brønn neste&lt;/a&gt;,
52 tenker jeg.&lt;/p&gt;
53 </description>
54 </item>
55
56 <item>
57 <title>Free software archive system Nikita now able to store documents</title>
58 <link>http://people.skolelinux.org/pere/blog/Free_software_archive_system_Nikita_now_able_to_store_documents.html</link>
59 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_software_archive_system_Nikita_now_able_to_store_documents.html</guid>
60 <pubDate>Sun, 19 Mar 2017 08:00:00 +0100</pubDate>
61 <description>&lt;p&gt;The &lt;a href=&quot;https://github.com/hiOA-ABI/nikita-noark5-core&quot;&gt;Nikita
62 Noark 5 core project&lt;/a&gt; is implementing the Norwegian standard for
63 keeping an electronic archive of government documents.
64 &lt;a href=&quot;http://www.arkivverket.no/arkivverket/Offentlig-forvaltning/Noark/Noark-5/English-version&quot;&gt;The
65 Noark 5 standard&lt;/a&gt; document the requirement for data systems used by
66 the archives in the Norwegian government, and the Noark 5 web interface
67 specification document a REST web service for storing, searching and
68 retrieving documents and metadata in such archive. I&#39;ve been involved
69 in the project since a few weeks before Christmas, when the Norwegian
70 Unix User Group
71 &lt;a href=&quot;https://www.nuug.no/news/NOARK5_kjerne_som_fri_programvare_f_r_epostliste_hos_NUUG.shtml&quot;&gt;announced
72 it supported the project&lt;/a&gt;. I believe this is an important project,
73 and hope it can make it possible for the government archives in the
74 future to use free software to keep the archives we citizens depend
75 on. But as I do not hold such archive myself, personally my first use
76 case is to store and analyse public mail journal metadata published
77 from the government. I find it useful to have a clear use case in
78 mind when developing, to make sure the system scratches one of my
79 itches.&lt;/p&gt;
80
81 &lt;p&gt;If you would like to help make sure there is a free software
82 alternatives for the archives, please join our IRC channel
83 (&lt;a href=&quot;irc://irc.freenode.net/%23nikita&quot;&quot;&gt;#nikita on
84 irc.freenode.net&lt;/a&gt;) and
85 &lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;the
86 project mailing list&lt;/a&gt;.&lt;/p&gt;
87
88 &lt;p&gt;When I got involved, the web service could store metadata about
89 documents. But a few weeks ago, a new milestone was reached when it
90 became possible to store full text documents too. Yesterday, I
91 completed an implementation of a command line tool
92 &lt;tt&gt;archive-pdf&lt;/tt&gt; to upload a PDF file to the archive using this
93 API. The tool is very simple at the moment, and find existing
94 &lt;a href=&quot;https://en.wikipedia.org/wiki/Fonds&quot;&gt;fonds&lt;/a&gt;, series and
95 files while asking the user to select which one to use if more than
96 one exist. Once a file is identified, the PDF is associated with the
97 file and uploaded, using the title extracted from the PDF itself. The
98 process is fairly similar to visiting the archive, opening a cabinet,
99 locating a file and storing a piece of paper in the archive. Here is
100 a test run directly after populating the database with test data using
101 our API tester:&lt;/p&gt;
102
103 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
104 ~/src//noark5-tester$ ./archive-pdf mangelmelding/mangler.pdf
105 using arkiv: Title of the test fonds created 2017-03-18T23:49:32.103446
106 using arkivdel: Title of the test series created 2017-03-18T23:49:32.103446
107
108 0 - Title of the test case file created 2017-03-18T23:49:32.103446
109 1 - Title of the test file created 2017-03-18T23:49:32.103446
110 Select which mappe you want (or search term): 0
111 Uploading mangelmelding/mangler.pdf
112 PDF title: Mangler i spesifikasjonsdokumentet for NOARK 5 Tjenestegrensesnitt
113 File 2017/1: Title of the test case file created 2017-03-18T23:49:32.103446
114 ~/src//noark5-tester$
115 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
116
117 &lt;p&gt;You can see here how the fonds (arkiv) and serie (arkivdel) only had
118 one option, while the user need to choose which file (mappe) to use
119 among the two created by the API tester. The &lt;tt&gt;archive-pdf&lt;/tt&gt;
120 tool can be found in the git repository for the API tester.&lt;/p&gt;
121
122 &lt;p&gt;In the project, I have been mostly working on
123 &lt;a href=&quot;https://github.com/petterreinholdtsen/noark5-tester&quot;&gt;the API
124 tester&lt;/a&gt; so far, while getting to know the code base. The API
125 tester currently use
126 &lt;a href=&quot;https://en.wikipedia.org/wiki/HATEOAS&quot;&gt;the HATEOAS links&lt;/a&gt;
127 to traverse the entire exposed service API and verify that the exposed
128 operations and objects match the specification, as well as trying to
129 create objects holding metadata and uploading a simple XML file to
130 store. The tester has proved very useful for finding flaws in our
131 implementation, as well as flaws in the reference site and the
132 specification.&lt;/p&gt;
133
134 &lt;p&gt;The test document I uploaded is a summary of all the specification
135 defects we have collected so far while implementing the web service.
136 There are several unclear and conflicting parts of the specification,
137 and we have
138 &lt;a href=&quot;https://github.com/petterreinholdtsen/noark5-tester/tree/master/mangelmelding&quot;&gt;started
139 writing down&lt;/a&gt; the questions we get from implementing it. We use a
140 format inspired by how &lt;a href=&quot;http://www.opengroup.org/austin/&quot;&gt;The
141 Austin Group&lt;/a&gt; collect defect reports for the POSIX standard with
142 &lt;a href=&quot;http://www.opengroup.org/austin/mantis.html&quot;&gt;their
143 instructions for the MANTIS defect tracker system&lt;/a&gt;, in lack of an official way to structure defect reports for Noark 5 (our first submitted defect report was a &lt;a href=&quot;https://github.com/petterreinholdtsen/noark5-tester/blob/master/mangelmelding/sendt/2017-03-15-mangel-prosess.md&quot;&gt;request for a procedure for submitting defect reports&lt;/a&gt; :).
144
145 &lt;p&gt;The Nikita project is implemented using Java and Spring, and is
146 fairly easy to get up and running using Docker containers for those
147 that want to test the current code base. The API tester is
148 implemented in Python.&lt;/p&gt;
149 </description>
150 </item>
151
152 <item>
153 <title>Detecting NFS hangs on Linux without hanging yourself...</title>
154 <link>http://people.skolelinux.org/pere/blog/Detecting_NFS_hangs_on_Linux_without_hanging_yourself___.html</link>
155 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Detecting_NFS_hangs_on_Linux_without_hanging_yourself___.html</guid>
156 <pubDate>Thu, 9 Mar 2017 15:20:00 +0100</pubDate>
157 <description>&lt;p&gt;Over the years, administrating thousand of NFS mounting linux
158 computers at the time, I often needed a way to detect if the machine
159 was experiencing NFS hang. If you try to use &lt;tt&gt;df&lt;/tt&gt; or look at a
160 file or directory affected by the hang, the process (and possibly the
161 shell) will hang too. So you want to be able to detect this without
162 risking the detection process getting stuck too. It has not been
163 obvious how to do this. When the hang has lasted a while, it is
164 possible to find messages like these in dmesg:&lt;/p&gt;
165
166 &lt;p&gt;&lt;blockquote&gt;
167 nfs: server nfsserver not responding, still trying
168 &lt;br&gt;nfs: server nfsserver OK
169 &lt;/blockquote&gt;&lt;/p&gt;
170
171 &lt;p&gt;It is hard to know if the hang is still going on, and it is hard to
172 be sure looking in dmesg is going to work. If there are lots of other
173 messages in dmesg the lines might have rotated out of site before they
174 are noticed.&lt;/p&gt;
175
176 &lt;p&gt;While reading through the nfs client implementation in linux kernel
177 code, I came across some statistics that seem to give a way to detect
178 it. The om_timeouts sunrpc value in the kernel will increase every
179 time the above log entry is inserted into dmesg. And after digging a
180 bit further, I discovered that this value show up in
181 /proc/self/mountstats on Linux.&lt;/p&gt;
182
183 &lt;p&gt;The mountstats content seem to be shared between files using the
184 same file system context, so it is enough to check one of the
185 mountstats files to get the state of the mount point for the machine.
186 I assume this will not show lazy umounted NFS points, nor NFS mount
187 points in a different process context (ie with a different filesystem
188 view), but that does not worry me.&lt;/p&gt;
189
190 &lt;p&gt;The content for a NFS mount point look similar to this:&lt;/p&gt;
191
192 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
193 [...]
194 device /dev/mapper/Debian-var mounted on /var with fstype ext3
195 device nfsserver:/mnt/nfsserver/home0 mounted on /mnt/nfsserver/home0 with fstype nfs statvers=1.1
196 opts: rw,vers=3,rsize=65536,wsize=65536,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,soft,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=129.240.3.145,mountvers=3,mountport=4048,mountproto=udp,local_lock=all
197 age: 7863311
198 caps: caps=0x3fe7,wtmult=4096,dtsize=8192,bsize=0,namlen=255
199 sec: flavor=1,pseudoflavor=1
200 events: 61063112 732346265 1028140 35486205 16220064 8162542 761447191 71714012 37189 3891185 45561809 110486139 4850138 420353 15449177 296502 52736725 13523379 0 52182 9016896 1231 0 0 0 0 0
201 bytes: 166253035039 219519120027 0 0 40783504807 185466229638 11677877 45561809
202 RPC iostats version: 1.0 p/v: 100003/3 (nfs)
203 xprt: tcp 925 1 6810 0 0 111505412 111480497 109 2672418560317 0 248 53869103 22481820
204 per-op statistics
205 NULL: 0 0 0 0 0 0 0 0
206 GETATTR: 61063106 61063108 0 9621383060 6839064400 453650 77291321 78926132
207 SETATTR: 463469 463470 0 92005440 66739536 63787 603235 687943
208 LOOKUP: 17021657 17021657 0 3354097764 4013442928 57216 35125459 35566511
209 ACCESS: 14281703 14290009 5 2318400592 1713803640 1709282 4865144 7130140
210 READLINK: 125 125 0 20472 18620 0 1112 1118
211 READ: 4214236 4214237 0 715608524 41328653212 89884 22622768 22806693
212 WRITE: 8479010 8494376 22 187695798568 1356087148 178264904 51506907 231671771
213 CREATE: 171708 171708 0 38084748 46702272 873 1041833 1050398
214 MKDIR: 3680 3680 0 773980 993920 26 23990 24245
215 SYMLINK: 903 903 0 233428 245488 6 5865 5917
216 MKNOD: 80 80 0 20148 21760 0 299 304
217 REMOVE: 429921 429921 0 79796004 61908192 3313 2710416 2741636
218 RMDIR: 3367 3367 0 645112 484848 22 5782 6002
219 RENAME: 466201 466201 0 130026184 121212260 7075 5935207 5961288
220 LINK: 289155 289155 0 72775556 67083960 2199 2565060 2585579
221 READDIR: 2933237 2933237 0 516506204 13973833412 10385 3190199 3297917
222 READDIRPLUS: 1652839 1652839 0 298640972 6895997744 84735 14307895 14448937
223 FSSTAT: 6144 6144 0 1010516 1032192 51 9654 10022
224 FSINFO: 2 2 0 232 328 0 1 1
225 PATHCONF: 1 1 0 116 140 0 0 0
226 COMMIT: 0 0 0 0 0 0 0 0
227
228 device binfmt_misc mounted on /proc/sys/fs/binfmt_misc with fstype binfmt_misc
229 [...]
230 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
231
232 &lt;p&gt;The key number to look at is the third number in the per-op list.
233 It is the number of NFS timeouts experiences per file system
234 operation. Here 22 write timeouts and 5 access timeouts. If these
235 numbers are increasing, I believe the machine is experiencing NFS
236 hang. Unfortunately the timeout value do not start to increase right
237 away. The NFS operations need to time out first, and this can take a
238 while. The exact timeout value depend on the setup. For example the
239 defaults for TCP and UDP mount points are quite different, and the
240 timeout value is affected by the soft, hard, timeo and retrans NFS
241 mount options.&lt;/p&gt;
242
243 &lt;p&gt;The only way I have been able to get working on Debian and RedHat
244 Enterprise Linux for getting the timeout count is to peek in /proc/.
245 But according to
246 &lt;ahref=&quot;http://docs.oracle.com/cd/E19253-01/816-4555/netmonitor-12/index.html&quot;&gt;Solaris
247 10 System Administration Guide: Network Services&lt;/a&gt;, the &#39;nfsstat -c&#39;
248 command can be used to get these timeout values. But this do not work
249 on Linux, as far as I can tell. I
250 &lt;ahref=&quot;http://bugs.debian.org/857043&quot;&gt;asked Debian about this&lt;/a&gt;,
251 but have not seen any replies yet.&lt;/p&gt;
252
253 &lt;p&gt;Is there a better way to figure out if a Linux NFS client is
254 experiencing NFS hangs? Is there a way to detect which processes are
255 affected? Is there a way to get the NFS mount going quickly once the
256 network problem causing the NFS hang has been cleared? I would very
257 much welcome some clues, as we regularly run into NFS hangs.&lt;/p&gt;
258 </description>
259 </item>
260
261 <item>
262 <title>How does it feel to be wiretapped, when you should be doing the wiretapping...</title>
263 <link>http://people.skolelinux.org/pere/blog/How_does_it_feel_to_be_wiretapped__when_you_should_be_doing_the_wiretapping___.html</link>
264 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_does_it_feel_to_be_wiretapped__when_you_should_be_doing_the_wiretapping___.html</guid>
265 <pubDate>Wed, 8 Mar 2017 11:50:00 +0100</pubDate>
266 <description>&lt;p&gt;So the new president in the United States of America claim to be
267 surprised to discover that he was wiretapped during the election
268 before he was elected president. He even claim this must be illegal.
269 Well, doh, if it is one thing the confirmations from Snowden
270 documented, it is that the entire population in USA is wiretapped, one
271 way or another. Of course the president candidates were wiretapped,
272 alongside the senators, judges and the rest of the people in USA.&lt;/p&gt;
273
274 &lt;p&gt;Next, the Federal Bureau of Investigation ask the Department of
275 Justice to go public rejecting the claims that Donald Trump was
276 wiretapped illegally. I fail to see the relevance, given that I am
277 sure the surveillance industry in USA believe they have all the legal
278 backing they need to conduct mass surveillance on the entire
279 world.&lt;/p&gt;
280
281 &lt;p&gt;There is even the director of the FBI stating that he never saw an
282 order requesting wiretapping of Donald Trump. That is not very
283 surprising, given how the FISA court work, with all its activity being
284 secret. Perhaps he only heard about it?&lt;/p&gt;
285
286 &lt;p&gt;What I find most sad in this story is how Norwegian journalists
287 present it. In a news reports the other day in the radio from the
288 Norwegian National broadcasting Company (NRK), I heard the journalist
289 claim that &#39;the FBI denies any wiretapping&#39;, while the reality is that
290 &#39;the FBI denies any illegal wiretapping&#39;. There is a fundamental and
291 important difference, and it make me sad that the journalists are
292 unable to grasp it.&lt;/p&gt;
293
294 &lt;p&gt;&lt;strong&gt;Update 2017-03-13:&lt;/strong&gt; Look like
295 &lt;a href=&quot;https://theintercept.com/2017/03/13/rand-paul-is-right-nsa-routinely-monitors-americans-communications-without-warrants/&quot;&gt;The
296 Intercept report that US Senator Rand Paul confirm what I state above&lt;/a&gt;.&lt;/p&gt;
297 </description>
298 </item>
299
300 <item>
301 <title>Norwegian Bokmål translation of The Debian Administrator&#39;s Handbook complete, proofreading in progress</title>
302 <link>http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_translation_of_The_Debian_Administrator_s_Handbook_complete__proofreading_in_progress.html</link>
303 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_translation_of_The_Debian_Administrator_s_Handbook_complete__proofreading_in_progress.html</guid>
304 <pubDate>Fri, 3 Mar 2017 14:50:00 +0100</pubDate>
305 <description>&lt;p&gt;For almost a year now, we have been working on making a Norwegian
306 Bokmål edition of &lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian
307 Administrator&#39;s Handbook&lt;/a&gt;. Now, thanks to the tireless effort of
308 Ole-Erik, Ingrid and Andreas, the initial translation is complete, and
309 we are working on the proof reading to ensure consistent language and
310 use of correct computer science terms. The plan is to make the book
311 available on paper, as well as in electronic form. For that to
312 happen, the proof reading must be completed and all the figures need
313 to be translated. If you want to help out, get in touch.&lt;/p&gt;
314
315 &lt;p&gt;&lt;a href=&quot;http://people.skolelinux.org/pere/debian-handbook/debian-handbook-nb-NO.pdf&quot;&gt;A
316
317 fresh PDF edition&lt;/a&gt; in A4 format (the final book will have smaller
318 pages) of the book created every morning is available for
319 proofreading. If you find any errors, please
320 &lt;a href=&quot;https://hosted.weblate.org/projects/debian-handbook/&quot;&gt;visit
321 Weblate and correct the error&lt;/a&gt;. The
322 &lt;a href=&quot;http://l.github.io/debian-handbook/stat/nb-NO/index.html&quot;&gt;state
323 of the translation including figures&lt;/a&gt; is a useful source for those
324 provide Norwegian bokmål screen shots and figures.&lt;/p&gt;
325 </description>
326 </item>
327
328 <item>
329 <title>Unlimited randomness with the ChaosKey?</title>
330 <link>http://people.skolelinux.org/pere/blog/Unlimited_randomness_with_the_ChaosKey_.html</link>
331 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Unlimited_randomness_with_the_ChaosKey_.html</guid>
332 <pubDate>Wed, 1 Mar 2017 20:50:00 +0100</pubDate>
333 <description>&lt;p&gt;A few days ago I ordered a small batch of
334 &lt;a href=&quot;http://altusmetrum.org/ChaosKey/&quot;&gt;the ChaosKey&lt;/a&gt;, a small
335 USB dongle for generating entropy created by Bdale Garbee and Keith
336 Packard. Yesterday it arrived, and I am very happy to report that it
337 work great! According to its designers, to get it to work out of the
338 box, you need the Linux kernel version 4.1 or later. I tested on a
339 Debian Stretch machine (kernel version 4.9), and there it worked just
340 fine, increasing the available entropy very quickly. I wrote a small
341 test oneliner to test. It first print the current entropy level,
342 drain /dev/random, and then print the entropy level for five seconds.
343 Here is the situation without the ChaosKey inserted:&lt;/p&gt;
344
345 &lt;blockquote&gt;&lt;pre&gt;
346 % cat /proc/sys/kernel/random/entropy_avail; \
347 dd bs=1M if=/dev/random of=/dev/null count=1; \
348 for n in $(seq 1 5); do \
349 cat /proc/sys/kernel/random/entropy_avail; \
350 sleep 1; \
351 done
352 300
353 0+1 oppføringer inn
354 0+1 oppføringer ut
355 28 byte kopiert, 0,000264565 s, 106 kB/s
356 4
357 8
358 12
359 17
360 21
361 %
362 &lt;/pre&gt;&lt;/blockquote&gt;
363
364 &lt;p&gt;The entropy level increases by 3-4 every second. In such case any
365 application requiring random bits (like a HTTPS enabled web server)
366 will halt and wait for more entrpy. And here is the situation with
367 the ChaosKey inserted:&lt;/p&gt;
368
369 &lt;blockquote&gt;&lt;pre&gt;
370 % cat /proc/sys/kernel/random/entropy_avail; \
371 dd bs=1M if=/dev/random of=/dev/null count=1; \
372 for n in $(seq 1 5); do \
373 cat /proc/sys/kernel/random/entropy_avail; \
374 sleep 1; \
375 done
376 1079
377 0+1 oppføringer inn
378 0+1 oppføringer ut
379 104 byte kopiert, 0,000487647 s, 213 kB/s
380 433
381 1028
382 1031
383 1035
384 1038
385 %
386 &lt;/pre&gt;&lt;/blockquote&gt;
387
388 &lt;p&gt;Quite the difference. :) I bought a few more than I need, in case
389 someone want to buy one here in Norway. :)&lt;/p&gt;
390
391 &lt;p&gt;Update: The dongle was presented at Debconf last year. You might
392 find &lt;a href=&quot;https://debconf16.debconf.org/talks/94/&quot;&gt;the talk
393 recording illuminating&lt;/a&gt;. It explains exactly what the source of
394 randomness is, if you are unable to spot it from the schema drawing
395 available from the ChaosKey web site linked at the start of this blog
396 post.&lt;/p&gt;
397 </description>
398 </item>
399
400 <item>
401 <title>Detect OOXML files with undefined behaviour?</title>
402 <link>http://people.skolelinux.org/pere/blog/Detect_OOXML_files_with_undefined_behaviour_.html</link>
403 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Detect_OOXML_files_with_undefined_behaviour_.html</guid>
404 <pubDate>Tue, 21 Feb 2017 00:20:00 +0100</pubDate>
405 <description>&lt;p&gt;I just noticed
406 &lt;a href=&quot;http://www.arkivrad.no/aktuelt/riksarkivarens-forskrift-pa-horing&quot;&gt;the
407 new Norwegian proposal for archiving rules in the goverment&lt;/a&gt; list
408 &lt;a href=&quot;http://www.ecma-international.org/publications/standards/Ecma-376.htm&quot;&gt;ECMA-376&lt;/a&gt;
409 / ISO/IEC 29500 (aka OOXML) as valid formats to put in long term
410 storage. Luckily such files will only be accepted based on
411 pre-approval from the National Archive. Allowing OOXML files to be
412 used for long term storage might seem like a good idea as long as we
413 forget that there are plenty of ways for a &quot;valid&quot; OOXML document to
414 have content with no defined interpretation in the standard, which
415 lead to a question and an idea.&lt;/p&gt;
416
417 &lt;p&gt;Is there any tool to detect if a OOXML document depend on such
418 undefined behaviour? It would be useful for the National Archive (and
419 anyone else interested in verifying that a document is well defined)
420 to have such tool available when considering to approve the use of
421 OOXML. I&#39;m aware of the
422 &lt;a href=&quot;https://github.com/arlm/officeotron/&quot;&gt;officeotron OOXML
423 validator&lt;/a&gt;, but do not know how complete it is nor if it will
424 report use of undefined behaviour. Are there other similar tools
425 available? Please send me an email if you know of any such tool.&lt;/p&gt;
426 </description>
427 </item>
428
429 <item>
430 <title>Ruling ignored our objections to the seizure of popcorn-time.no (#domstolkontroll)</title>
431 <link>http://people.skolelinux.org/pere/blog/Ruling_ignored_our_objections_to_the_seizure_of_popcorn_time_no___domstolkontroll_.html</link>
432 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Ruling_ignored_our_objections_to_the_seizure_of_popcorn_time_no___domstolkontroll_.html</guid>
433 <pubDate>Mon, 13 Feb 2017 21:30:00 +0100</pubDate>
434 <description>&lt;p&gt;A few days ago, we received the ruling from
435 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/A_day_in_court_challenging_seizure_of_popcorn_time_no_for__domstolkontroll.html&quot;&gt;my
436 day in court&lt;/a&gt;. The case in question is a challenge of the seizure
437 of the DNS domain popcorn-time.no. The ruling simply did not mention
438 most of our arguments, and seemed to take everything ØKOKRIM said at
439 face value, ignoring our demonstration and explanations. But it is
440 hard to tell for sure, as we still have not seen most of the documents
441 in the case and thus were unprepared and unable to contradict several
442 of the claims made in court by the opposition. We are considering an
443 appeal, but it is partly a question of funding, as it is costing us
444 quite a bit to pay for our lawyer. If you want to help, please
445 &lt;a href=&quot;http://www.nuug.no/dns-beslag-donasjon.shtml&quot;&gt;donate to the
446 NUUG defense fund&lt;/a&gt;.&lt;/p&gt;
447
448 &lt;p&gt;The details of the case, as far as we know it, is available in
449 Norwegian from
450 &lt;a href=&quot;https://www.nuug.no/news/tags/dns-domenebeslag/&quot;&gt;the NUUG
451 blog&lt;/a&gt;. This also include
452 &lt;a href=&quot;https://www.nuug.no/news/Avslag_etter_rettslig_h_ring_om_DNS_beslaget___vurderer_veien_videre.shtml&quot;&gt;the
453 ruling itself&lt;/a&gt;.&lt;/p&gt;
454 </description>
455 </item>
456
457 <item>
458 <title>A day in court challenging seizure of popcorn-time.no for #domstolkontroll</title>
459 <link>http://people.skolelinux.org/pere/blog/A_day_in_court_challenging_seizure_of_popcorn_time_no_for__domstolkontroll.html</link>
460 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_day_in_court_challenging_seizure_of_popcorn_time_no_for__domstolkontroll.html</guid>
461 <pubDate>Fri, 3 Feb 2017 11:10:00 +0100</pubDate>
462 <description>&lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;70%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2017-02-01-popcorn-time-in-court.jpeg&quot;&gt;&lt;/p&gt;
463
464 &lt;p&gt;On Wednesday, I spent the entire day in court in Follo Tingrett
465 representing &lt;a href=&quot;https://www.nuug.no/&quot;&gt;the member association
466 NUUG&lt;/a&gt;, alongside &lt;a href=&quot;https://www.efn.no/&quot;&gt;the member
467 association EFN&lt;/a&gt; and &lt;a href=&quot;http://www.imc.no&quot;&gt;the DNS registrar
468 IMC&lt;/a&gt;, challenging the seizure of the DNS name popcorn-time.no. It
469 was interesting to sit in a court of law for the first time in my
470 life. Our team can be seen in the picture above: attorney Ola
471 Tellesbø, EFN board member Tom Fredrik Blenning, IMC CEO Morten Emil
472 Eriksen and NUUG board member Petter Reinholdtsen.&lt;/p&gt;
473
474 &lt;p&gt;&lt;a href=&quot;http://www.domstol.no/no/Enkelt-domstol/follo-tingrett/Nar-gar-rettssaken/Beramming/?cid=AAAA1701301512081262234UJFBVEZZZZZEJBAvtale&quot;&gt;The
475 case at hand&lt;/a&gt; is that the Norwegian National Authority for
476 Investigation and Prosecution of Economic and Environmental Crime (aka
477 Økokrim) decided on their own, to seize a DNS domain early last
478 year, without following
479 &lt;a href=&quot;https://www.norid.no/no/regelverk/navnepolitikk/#link12&quot;&gt;the
480 official policy of the Norwegian DNS authority&lt;/a&gt; which require a
481 court decision. The web site in question was a site covering Popcorn
482 Time. And Popcorn Time is the name of a technology with both legal
483 and illegal applications. Popcorn Time is a client combining
484 searching a Bittorrent directory available on the Internet with
485 downloading/distribute content via Bittorrent and playing the
486 downloaded content on screen. It can be used illegally if it is used
487 to distribute content against the will of the right holder, but it can
488 also be used legally to play a lot of content, for example the
489 millions of movies
490 &lt;a href=&quot;https://archive.org/details/movies&quot;&gt;available from the
491 Internet Archive&lt;/a&gt; or the collection
492 &lt;a href=&quot;http://vodo.net/films/&quot;&gt;available from Vodo&lt;/a&gt;. We created
493 &lt;a href=&quot;magnet:?xt=urn:btih:86c1802af5a667ca56d3918aecb7d3c0f7173084&amp;dn=PresentasjonFolloTingrett.mov&amp;tr=udp%3A%2F%2Fpublic.popcorn-tracker.org%3A6969%2Fannounce&quot;&gt;a
494 video demonstrating legally use of Popcorn Time&lt;/a&gt; and played it in
495 Court. It can of course be downloaded using Bittorrent.&lt;/p&gt;
496
497 &lt;p&gt;I did not quite know what to expect from a day in court. The
498 government held on to their version of the story and we held on to
499 ours, and I hope the judge is able to make sense of it all. We will
500 know in two weeks time. Unfortunately I do not have high hopes, as
501 the Government have the upper hand here with more knowledge about the
502 case, better training in handling criminal law and in general higher
503 standing in the courts than fairly unknown DNS registrar and member
504 associations. It is expensive to be right also in Norway. So far the
505 case have cost more than NOK 70 000,-. To help fund the case, NUUG
506 and EFN have asked for donations, and managed to collect around NOK 25
507 000,- so far. Given the presentation from the Government, I expect
508 the government to appeal if the case go our way. And if the case do
509 not go our way, I hope we have enough funding to appeal.&lt;/p&gt;
510
511 &lt;p&gt;From the other side came two people from Økokrim. On the benches,
512 appearing to be part of the group from the government were two people
513 from the Simonsen Vogt Wiik lawyer office, and three others I am not
514 quite sure who was. Økokrim had proposed to present two witnesses
515 from The Motion Picture Association, but this was rejected because
516 they did not speak Norwegian and it was a bit late to bring in a
517 translator, but perhaps the two from MPA were present anyway. All
518 seven appeared to know each other. Good to see the case is take
519 seriously.&lt;/p&gt;
520
521 &lt;p&gt;If you, like me, believe the courts should be involved before a DNS
522 domain is hijacked by the government, or you believe the Popcorn Time
523 technology have a lot of useful and legal applications, I suggest you
524 too &lt;a href=&quot;http://www.nuug.no/dns-beslag-donasjon.shtml&quot;&gt;donate to
525 the NUUG defense fund&lt;/a&gt;. Both Bitcoin and bank transfer are
526 available. If NUUG get more than we need for the legal action (very
527 unlikely), the rest will be spend promoting free software, open
528 standards and unix-like operating systems in Norway, so no matter what
529 happens the money will be put to good use.&lt;/p&gt;
530
531 &lt;p&gt;If you want to lean more about the case, I recommend you check out
532 &lt;a href=&quot;https://www.nuug.no/news/tags/dns-domenebeslag/&quot;&gt;the blog
533 posts from NUUG covering the case&lt;/a&gt;. They cover the legal arguments
534 on both sides.&lt;/p&gt;
535 </description>
536 </item>
537
538 <item>
539 <title>Nasjonalbiblioteket avslutter sin ulovlige bruk av Google Skjemaer</title>
540 <link>http://people.skolelinux.org/pere/blog/Nasjonalbiblioteket_avslutter_sin_ulovlige_bruk_av_Google_Skjemaer.html</link>
541 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Nasjonalbiblioteket_avslutter_sin_ulovlige_bruk_av_Google_Skjemaer.html</guid>
542 <pubDate>Thu, 12 Jan 2017 09:40:00 +0100</pubDate>
543 <description>&lt;p&gt;I dag fikk jeg en skikkelig gladmelding. Bakgrunnen er at før jul
544 arrangerte Nasjonalbiblioteket
545 &lt;a href=&quot;http://www.nb.no/Bibliotekutvikling/Kunnskapsorganisering/Nasjonalt-verksregister/Seminar-om-verksregister&quot;&gt;et
546 seminar om sitt knakende gode tiltak «verksregister»&lt;/a&gt;. Eneste
547 måten å melde seg på dette seminaret var å sende personopplysninger
548 til Google via Google Skjemaer. Dette syntes jeg var tvilsom praksis,
549 da det bør være mulig å delta på seminarer arrangert av det offentlige
550 uten å måtte dele sine interesser, posisjon og andre
551 personopplysninger med Google. Jeg ba derfor om innsyn via
552 &lt;a href=&quot;https://www.mimesbronn.no/&quot;&gt;Mimes brønn&lt;/a&gt; i
553 &lt;a href=&quot;https://www.mimesbronn.no/request/personopplysninger_til_google_sk&quot;&gt;avtaler
554 og vurderinger Nasjonalbiblioteket hadde rundt dette&lt;/a&gt;.
555 Personopplysningsloven legger klare rammer for hva som må være på
556 plass før en kan be tredjeparter, spesielt i utlandet, behandle
557 personopplysninger på sine vegne, så det burde eksistere grundig
558 dokumentasjon før noe slikt kan bli lovlig. To jurister hos
559 Nasjonalbiblioteket mente først dette var helt i orden, og at Googles
560 standardavtale kunne brukes som databehandlingsavtale. Det syntes jeg
561 var merkelig, men har ikke hatt kapasitet til å følge opp saken før
562 for to dager siden.&lt;/p&gt;
563
564 &lt;p&gt;Gladnyheten i dag, som kom etter at jeg tipset Nasjonalbiblioteket
565 om at Datatilsynet underkjente Googles standardavtaler som
566 databehandleravtaler i 2011, er at Nasjonalbiblioteket har bestemt seg
567 for å avslutte bruken av Googles Skjemaer/Apps og gå i dialog med DIFI
568 for å finne bedre måter å håndtere påmeldinger i tråd med
569 personopplysningsloven. Det er fantastisk å se at av og til hjelper
570 det å spørre hva i alle dager det offentlige holder på med.&lt;/p&gt;
571 </description>
572 </item>
573
574 </channel>
575 </rss>