X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/11d0b466f1325d0e1d0bdb406509bf1da534e303..dfd97d781e80980e940b0484e822e109a809dff7:/blog/tags/sysadmin/index.html diff --git a/blog/tags/sysadmin/index.html b/blog/tags/sysadmin/index.html index fde70e85f2..c943355c68 100644 --- a/blog/tags/sysadmin/index.html +++ b/blog/tags/sysadmin/index.html @@ -4,14 +4,14 @@ Petter Reinholdtsen: Entries Tagged sysadmin - - + +

- Petter Reinholdtsen + Petter Reinholdtsen

@@ -22,7 +22,87 @@
+
+ 6th June 2020 +
+
+

As a member of the Norwegian Unix +User Group, I have the pleasure of receiving the +USENIX magazine +;login: +several times a year. I rarely have time to read all the articles, +but try to at least skim through them all as there is a lot of nice +knowledge passed on there. I even carry the latest issue with me most +of the time to try to get through all the articles when I have a few +spare minutes.

+ +

The other day I came across a nice article titled +"The +Secure Socket API: TLS as an Operating System Service" with a +marvellous idea I hope can make it all the way into the POSIX standard. +The idea is as simple as it is powerful. By introducing a new +socket() option IPPROTO_TLS to use TLS, and a system wide service to +handle setting up TLS connections, one both make it trivial to add TLS +support to any program currently using the POSIX socket API, and gain +system wide control over certificates, TLS versions and encryption +systems used. Instead of doing this:

+ +

+int socket = socket(PF_INET, SOCK_STREAM, IPPROTO_TCP);
+

+ +

the program code would be doing this:

+ +

+int socket = socket(PF_INET, SOCK_STREAM, IPPROTO_TLS);
+

+ +

According to the ;login: article, converting a C program to use TLS +would normally modify only 5-10 lines in the code, which is amazing +when compared to using for example the OpenSSL API.

+ +

The project has set up the +https://securesocketapi.org/ +web site to spread the idea, and the code for a kernel module and the +associated system daemon is available from two github repositories: +ssa and +ssa-daemon. +Unfortunately there is no explicit license information with the code, +so its copyright status is unclear. A +request to solve +this about it has been unsolved since 2018-08-17.

+ +

I love the idea of extending socket() to gain TLS support, and +understand why it is an advantage to implement this as a kernel module +and system wide service daemon, but can not help to think that it +would be a lot easier to get projects to move to this way of setting +up TLS if it was done with a user space approach where programs +wanting to use this API approach could just link with a wrapper +library.

+ +

I recommend you check out this simple and powerful approach to more +secure network connections. :)

+ +

As usual, if you use Bitcoin and want to show your support of my +activities, please send Bitcoin donations to my address +15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b.

+ +
+
+ + + Tags: debian, english, sikkerhet, sysadmin. + + +
+
+
+ +
+
1st November 2017 @@ -107,7 +187,7 @@ activities, please send Bitcoin donations to my address
- Tags: english, raid, sysadmin. + Tags: english, raid, sysadmin.
@@ -116,7 +196,7 @@ activities, please send Bitcoin donations to my address
9th March 2017 @@ -228,7 +308,7 @@ much welcome some clues, as we regularly run into NFS hangs.

- Tags: debian, english, sysadmin. + Tags: debian, english, sysadmin.
@@ -237,7 +317,7 @@ much welcome some clues, as we regularly run into NFS hangs.

17th October 2014 @@ -349,7 +429,7 @@ install firmware, replacing the earlier scripts.

@@ -358,7 +438,7 @@ install firmware, replacing the earlier scripts.

6th December 2012 @@ -409,14 +489,14 @@ and DHCP updates I wanted to do.

- Tags: english, sysadmin. + Tags: english, sysadmin.
-

RSS Feed

+

RSS Feed