Once a month, we talk with people who have inspiring ideas about software freedom. In this third episode, our guest is Harald Welte, Free Software programmer and activist. Harald discusses with us his current projects regarding mobile phone communication and the general status of Free Software in this area. Join the FSFE community and support the podcast: https://my.fsfe.org/support?referrer=podcast
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
Welcome to the third episode of the Software Freedom Podcast. This podcast is presented to you by the Free Software Foundation Europe, where a charity that empowers users to control technology. I'm Matthias Kirschner, I'm the President of the Free Software Foundation Europe and I'm doing this podcast with Bonnie Mehring, our current intern.
Hello, our guest for today is Harald Welter. Harald is a free software activist and he is involved in many projects. He was a free software developer for the Netfilter IP tables on the Linux system and involved in OpenMoco, a project which is delivering mobile phones with free software stack. And for transparency we want to mention that he also co-funded the company CISMOCOM Game Baha, which is the donor of the FSFE. Harald is also the person behind GPL violations.org and together with him the FSFE worked on many legal topics before and today we talk with Harald about free software in the
infrastructure of mobile networks. I'm confident we will also talk about some legal topics in the future, but first of all welcome Harald. Thank you very much. Before we dive into the world of mobile networks, can you tell us a bit how you got involved in free software in the first place? Ah, that's a long time ago. I have to think, I think at the time we are in the year about 94 I would say. I was very fascinated by networking technology and networking at that time in something like
Coaxial Ethernet and things like that and analog modems and ISDN cards and so on and I was using an Open Source but on DOS, basically an Open Source, DOS-based network operating system called KA9Q NOS that was written by Phil Karn, a pretty famous person also in the context of mobile telephony. He works at Qualcomm until today and at some point somebody in a non-for-profit association
that I was involved back then called Communications Netzfranken EFOW, which was a member of the individual network EFOW, which was an entity caring about internet connectivity for individuals without any academic or whatever background because it was difficult at the time. So somebody there said, oh, there is this Linux thing and then I think I tried half a year or so installing it and it just wouldn't install on my PC because I had an IDE controller and the wood disk was for Scasi and then finally after that was resolved, I think I never
looked back so that's sort of the way how I went it to free software and Linux both. Very technical. Well, let's keep it technical. I found that you were doing a talk on the 25th CCC Congress about the anatomy of smartphone hardware. Could you give us a short overview of what smartphones are? Yeah, so of course this is 13 years ago so the architecture may have changed a few while, but fundamentally we still find in smartphones today at least two major, let's
say, computing systems. One of them, it's called the application processor, which is the one which runs your Android or iOS or whatever the operating system that the user interacts with. And there's another computing system which let's call it the baseband processor, which runs the actual software that relates to the interface to the cellular networks, whether it's GSM or 3G or 5G in the future or whatever. And then there's various differences on how closely these two computer domain, let's say,
interact and that has implications of who controls whom and who sort of owns the phone in the end or then again has security implications and so on. But I think that's sort of the, if you want to have a very high level overview then have to be aware that there are these two different subsystems and that the application processor which runs all the apps and which the user interacts with is basically just a very, like the front end on top and it doesn't really deal with the cellular network. So when we leave the phone and then there's the rest of the, of the infrastructure of the
mobile network, can you briefly explain like from a hardware point of view how that looks like? Sure. So first of all, if you look at the network side what most people are familiar with of course are the antennas. So you'll see some antenna on a roof or on some kind of other physical structure. And next to those antennas you have what's called the base station hardware, there's different technical terms for depending on which technology which doesn't matter. But in the end you have some device which does the modulation and demodulation of the radio
frequencies and which converts it into some kind of wired interface. And that's this wired interface which is called the back hall which gets these signals from wherever the antenna might be located to a more central location in the network where then you have other network elements which are generally referred to as the core network. And the core network itself then contains various different logical elements which also are often not different physical elements like let's say a central subscriber database
that knows which subscribers exist in this network or not or some kind of tunnel endpoint where your IP connectivity leaves towards the internet because basically your IP data on the phone gets encapsulated in this many, many different protocol layers of cellular technology. And then it creates a tunnel through the mobile network and at some point there is a tunnel endpoint where the IP data is decapsulated and it leaves to the public internet or most
of the cases at least the public internet. Regarding mobile phones you not only know about the hardware back around, you also work with the Osmocom project. A project covering different topics concerning the free software mobile communications. What does this include? Could you give us a brief overview? So it's a very wide project. Today I think we have more than a hundred kit repositories or so with lots of different projects in different areas. The main focus area is the cellular telephone systems as people know it so that's basically
the GSM, GPS, the UMDS or 3G networks, LTE and related topics but we also cover other more exotic mobile communication standards for example the tetra system which is used in emergency communications and police radio or in Europe or OP25 which is the same used in the US or satellite telephony systems and so on. So basically it all got started by a bunch of people who were into free software and communication
protocols and radio systems and whenever there's some interesting system out there somebody finds some time they look into it and create some free software around it. What is the status of free software in this different areas? Well as I said the main focus is the what let's say the commercial cellular telephony area and in that focus the software is most mature though all these other areas are more exploratory and more experimental but in the commercial cellular telephony system area so that's basically
the 2G, 3G, 4G stuff that people are using today there is quite a lot of I would also say rather solid free software now. The focus in the project though is mostly on the network side so our main focus is not to create an Open Source phone or something like that but an open source network side implementation which people then can use let's say in smaller private installations or in rural communications or in whatever kind of niche use cases.
Why are people using OsmoCom there? I think there is depends a bit on the user group so we have I think two main motivations one is if you're doing any kind of research whether it's security related or not but some kind of research in that area of course it's very nice that you can modify all parts of the system since it's free software you can you know change every aspect for it and then write a paper about how more efficient it is if you change this button here or whatever. The other area is mostly people who normally would not have access to cellular technology because
the traditional technology that is sold by the large vendors of equipment like Ericsson like Huawei and so on that's relatively hard to get your hands on in terms of buying it even if you have the money they are used to selling to large multinational corporations operators and let's say I mean just take the example how many universities in Germany have a cellular network on their premises not of course for operating but for teaching and for doing you know
practical exercises with students in their topics there's not so many of them I think there's like three or four or so so it's very hard to access and with free software of course that change is completely because everyone can use it. I remember that you once spent quite a while on container ships how is that related with cellular networks. In general if you are on board of vessels at high C of course you don't have cellular coverage anymore so on land we are used to at least
in western countries that most areas are covered with some form of cellular communication even if it's the oldest technology 2G these days but as soon as you leave off the coast to the ocean of course you don't have base stations anymore and you lose cellular signal and now whether it's for the communication of the crew on board or whether it's for some kind of container monitoring or other say IOTs how people would call it today for me it's still machine-to-machine communication so in that area if you want some coverage on board you basically have to run your own network
or at least parts of a network on board and that's one of the niche areas in which Osmocom is deployed quite heavily also on cruise ships and ferries and these kinds of vessels so you already mentioned 2G just to get the basics out for everyone what is the difference between 2G 3G 4G which is LTE and 5G well so in general the numbers indicate technology generations all right so 2G is the second generation and 3G is the third generation and so on so it's a technological
generation of a given technology and there are differences there couldn't be more fundamental between some of those systems so I mean they have in common that they are used for cellular networks but stops sort of there in some cases and in terms of free software of course older technologies that have been around longer have more complete implementations in in terms of free software so for if you want to run a 2G network today you basically have a fully featured implementation in Osmocom but if you want to run a 5G network you have nothing in Osmocom but
there are some other free software projects working in that field but it's all rather early stage development I would say more experimental and research. Does 4G like LTE work with Osmocom? Osmocom doesn't itself have a lot of 4G related code we mostly implement 2G and 3G plus the interfaces to interface with 4G networks and then there are other free software projects that implement 4G there is a project called SRS LTE which implements mostly the radio side to the
base station and there is another project called next EPC which is implementing the core network they're so called EPC the evolved packet core which is the core component of the 4G network and you can basically combine these three together and then you have a 2G 3G and 4G network running on free software and that's for example what we did at the case communication camp this summer if I would be on a lowly island and I would like to have some network there to communicate with
the other person who is on the on the island what would I need to set this up with free software? You need some kind of radio hardware of course since you want to talk radio that could be a software-defined radio how it's called it's basically a rather generic hardware device which allows you to generate virtually any kind of radio waveform and or receive that and the entire implementation of this radio waveform is then done in software why it's called software-defined radio and with such a device and sufficient computing power in terms of a high-performance PC for
example and the Open Source software you can then set up such a network that's sort of the absolute minimum configuration and then of course reality comes and then you want to deploy that on a remote island you have to think of what of these lightning strikes are happening and how to protect my equipment from the environment and what about temperature and heat dissipation and so on and so on but those are not free software specific topics I mean that's just the real world out there yeah maybe I find another solution for the island once you stated we shouldn't trust
mobile networks more than the internet what do you mean by that and what will be better with Osmo Com well this question of not trusting mobile networks more than the internet I think was a long time ago but I think it was mostly in the context of people thinking that sending transaction numbers for banking over SMS is somehow more secure than sending more the internet is sort of a very weird idea and it particularly wasn't even more weird idea back then when the statement was made where basically we had deKDE of security research into IP and
the internet technologies but in the cellular industry we basically had no almost nobody doing any kind of penetration testing or active you know red team testing or anything like that in terms of ID security what would be better with free software in those networks of course is that if the source code for a given technology in particular it's a critical infrastructure as many people consider mobile networks these days it could be audited and many people can have a look and can
understand and can possibly point out problems or back doors or whatever that might be there or whatever kind of security problems and it would make a technology more accessible I'm speaking in terms of wood because in terms of actual deployed networks public deployed networks Osmo Com is used very little I mean unless you live on let's say indigenous community in Wahaka in Mexico or you work on a cruise ship or something like that then it's unlikely that your network actually
will be running Osmo Com because the commercial large operators don't use it or at least only very small components of it you also mentioned before that briefly emergency communication what do you think in general about handling more emergency communication on mobile networks there's nothing wrong with emergency communication and I think we have to distinguish between the classic emergency calls in a sense that you know you have you in a traffic accident and you want to call for some help
or you know you subject of a robbery or a burglary or whatever and you call some help and mobile technology and cellular technologies from the very beginning always had explicit support for having highest priority emergency calls and for making sure that even other calls get kicked out and emergency calls basically always work and so that is the same until today in the more modern technologies what is a different subject is communication of the emergency services themselves
and that's something that's more of a current topic where until now all the emergency services whether it's firefighters police and so on they have a separate physical infrastructure with separate devices separate technologies on separate frequency bands which is a very old fashion but also an extremely reliable approach at the problem where you have infrastructure that's owned by the government that's operated by the government that's dedicated so no matter what happens on the business side of some company or what happens to whatever aspect it is a public
service for first responders and there's a lot of communication in recent years particularly by the cellular operators to basically virtualize that and move emergency services onto the existing commercial public telephony networks which I find not surprisingly very questionable but I think it looks like it's the trend you know ever we live in in interesting times where everybody thinks it's the best idea to put their data into other people's computers in the cloud
and people think it's a good idea to move public emergency services on top of works that for the general public so your advice would be to keep some of those old walkie talkies in case you need them well it doesn't necessarily have to be old walkie talkies but separate infrastructure on separate frequencies makes a lot of sense I'm not saying it necessarily has to be the type of technology that's in use today where tetra what is used is very well engineered highly robust
very secure but the problem is it's also very exotic which makes the devices very expensive and everything around it so it's questionable I mean yes for military or for police that makes sense but for let's say emergency services or firefighters do we really need that kind of expensive super secure technology but is that fundamentally having physically different resources than the normal commercial networks that everybody uses for their less relevant communications
makes sense just to cover the basics what are the programs you see when emergency communication is handled over the public mobile phone infrastructure but first of all you have of course the question of prioritization can the existing technology that has not been specifically designed for that really make sure that the emergency services will always get the preferential treatment that they deserve even in extreme situations where let's say you have tens of thousands of other phones trying to everybody there's some some kind of emergency everybody tries
to make calls and so on so that's technically solvable but at least I would say it has not been a focus of the development of the existing equipment that we have today and another problem I find less is less related to using the same network or the same technology but more to the fact that it's in terms of reliability and service levels because mobile telephony operators private companies they are motivated by profit of course that's just normal but then it also means
they don't have an interest in providing services let's say after blackout of the electrical grit for more than a very short amount of time we had this infamous power outage in Copenhagen Berlin a year ago or some some time ago and all mobile telephony networks were gone two hours after the power cut I think even the government or the administration tried to motivate mobile operators to put up some temporary base stations because it was clear that it would take you know longer I don't know how many hours it was I think it was more than 48 hours in total and they just wouldn't
do it I mean why would they it's not you know it's not in their profit interest to create emergency communication services that nobody pays extra for so it's I think there's a conflict of interest there and it's not you know it's not something that these companies should be blamed for it's just normal you know their motivation is not to provide an emergency system for keeping emergency services and public services in case of catastrophes but it's to create the highest profit for the shareholder in during this year there was a lot of discussion about the usage of who
are wise technology for the 5G networks and the US said that they will not use it for themselves and they're also trying to convince other governments that they should not use who are wise technology do you think that European countries should not use who are wise 5G technology to to build this networks because it would be too dangerous for for Europe it depends a bit on the motivation and the the reasons behind it so in general of course
with any kind of proprietary software in these networks it means that nobody really knows what happens in these devices nobody can audit it nobody can inspect it nobody can really analyze it at least not to the level that would be needed except those manufacturers and that doesn't matter whether it's Nokia or Huawei or Ericsson or whatever device unless these entities would have Open Source software in their devices which today they don't so that's not a specific argument
against Huawei but it's an argument against having proprietary software in such devices the second discussion is whether this is really a security concern or whether it's economic protection so from a security point of view yes of course it's sort of easy to say oh this is a Chinese company and the Chinese government can basically mandate them to do whatever but then you have the same situation if you put a Cisco switch in your network where or a Cisco VPN gateway then you say oh yeah but you know with everything we know from the last
decade of leaks and so on the amount of control that American governments and agencies have over mandating things to be done by manufacturers again it's an argument against proprietary technology from different jurisdictions but not against Huawei in specific so if you want to follow that line of argument in the first place and finally of course it's a question of whether or not it's an economic or let's say a general discussion whether Europe should become very dependent on
other regions or other countries in terms of essential infrastructure I mean it's it is an interesting discussion to be had whether it makes sense on a political or you know economic or whatever level to sort of ensure that European companies also develop the latest technologies and so on or whether we leave that to other countries and buy it from there but that's I mean that's a political discussion and a strategic discussion that needs to be happening but I think
with an open discussion in a sense that an honest discussion and not say oh you know this is there could be back doors in equipment from China and so on and so on but I mean the discussion should be and I think that would be the more honest discussion about whether or not in such a key infrastructure area the European governments should mandate by regulation or by subsidization basically subsidize a European industry there and that says that there's a political discussion and you can have different views on it but it should be about that and not some kind of fake
arguments when you say that if they would use free software there it would be more transparent do you think that free software alone in this infrastructure would be enough to make sure that this stack there is transparent and can be controlled by the governments well I think it's not enough to create trust but it's one mandatory step in order to create trusted technology so if let's say free software would be used on such devices whether or not
which particular area and what particular technology of course the first question is well how can I validate that this exact source code that is produced somewhere matches exactly what's running on the device so I also have to be able to compile that and actually took into executable code and to verify that the executable code that I'm running corresponds to that source code so the free software then also somebody actually needs to care to read that source code right it's not sufficient that it's out there somewhere and everybody trusts that oh yes somebody will have had a look at it
and we're not talking about small basis of code right I mean we're talking of about millions and millions and millions and millions of lines of code maybe sometimes even in obscure languages or using an infrastructure that is not so commonly understood in terms of libraries and tools and so on so that's a second aspect and only if those different parts come together so people with time and or resources to really have a look at it and the source code and some method of validation that this is actually the code that's running there only then you can create a trust
work system in terms of free software and mobile communication do you think there will be more or less free software in the future I think there will be more because less is hardly possible so that's a rather interesting or easy question and response to that I think though we will not see free software as a means of building trust or of having trustworthy technology we see it because some of the underlying infrastructure in those networks changes so cellular systems have for deKDE
always been sort of in their own niche environment creating their entirely own planet of protocols and encodings and things like that and at least in the core network this is changing significantly with 5G when our suddenly HTTP is used between core network elements and we have restful services specified in open API and so on so there is some technological migration happening on the standardization area that uses more common from the internet point of view or from the rest of the
world point of view more common technologies as parts of the infrastructure which means that some of the existing free software from other areas can be used and that alone will increase the free software used in cellular technology I'm coming to the last question already on 14th of February we always celebrate the I love free software day because we think that we need more people saying thank you to others in our community and well we don't want to wait all the time for 14th of February so in
the podcast we also give people here the opportunity to say thank you to to some others out there is there anyone out there whom you would like to thank for their work on free software I think it's always hard to single out individuals I think it's really hard I would like to thank everyone who has ever dedicated time to free software I think it's a very important movement particularly let's say I would like without naming anyone in specific or without thinking about any specific project but I would extend my thanks to projects in very exotic niche areas you know not doing what 99.9
percent of the other developers do but those people who go into other areas and into other technologies that are not so well understood and that are not so popular let's say maybe some of the areas that I have personally experienced I think in technology in general anything that goes away from the web and anything that goes away from the internet technology is severely underrepresented in free software I mean one area that I looked into very earlier on was I think in around 2005 was of us RFID and protocols related to that will be created some free software around RFID
that's mostly obsolete because there are many more free software projects by now but any kind of communication system for I mean it's that sort of been my area but yes cellular communications at least back then when I started in 2008 there was no free software at all in an area that spans you know probably hundreds of thousands of pages of publicly available documentation in terms of specification of those protocols but nobody implemented any free software in that area and you can find many other technologies whether it's let's say in the automotive industry or whether in
the automation industry where I think there are many systems but also now we talk about all this IoT systems I don't like the term but there are many protocols and many systems for example that communicate different elements in smart homes how they communicate with each other based on proprietary protocols based on undocumented systems understanding them creating systems that don't rely on the cloud but they keep the communication local for example I would say particularly
in the area that is closer to the physical layer and closer to electrical engineering I think there's a lot of free software missing okay thank you Harald this was the third episode of the software Freedom Podcast if you liked this episode please recommend it to your friends and rated also subscribe to make sure you will get the next episode this podcast is presented to you by the Free Software Foundation Europe we are a charity that works on promoting software freedom if you like our work please consider supporting us with a donation you find more information on
my.fsfe.org/donate thank you very much and looking forward to our next episode
In our newest episode of the Software Freedom Podcast, Bonnie Mehring talks with Christian Nähle, Managing Director of Do-FOSS, an initiative promoting software freedom in the city of Dortmund, Germany. They discuss how...
It is Podcast Friday! For our regular episode of the Software Freedom Podcast, Bonnie sat down with Alexander Sander, FSFE's policy consultant to talk about procurement as its rules for the public sector is currently...
Fall is finally here, and so is our next episode for the Software Freedom Podcast! In this episode Bonnie Mehring meets with Dario Presutti, FSFE's project manager working on different policy and legal topics. Together,...
The Software Freedom Podcast for September is out! In this episode Bonnie Mehring meets with Carsten Agger, the FSFE’s Danish Coordinator. Together, they talk about the Free Software community in Denmark, digital...
The Software Freedom Podcast is not going on holiday this summer! In our 54th Bonnie Mehring meets with Jithendra Palepu to learn about the Android Developer verification and how it may affect the Android operating...