{"id":5461,"date":"2023-08-26T13:01:00","date_gmt":"2023-08-26T18:01:00","guid":{"rendered":"https:\/\/www.incredigeek.com\/home\/?p=5461"},"modified":"2023-08-26T13:35:28","modified_gmt":"2023-08-26T18:35:28","slug":"lineageos-default-network-connections","status":"publish","type":"post","link":"https:\/\/www.incredigeek.com\/home\/lineageos-default-network-connections\/","title":{"rendered":"LineageOS Default Network Connections"},"content":{"rendered":"\n<p>This was a fairly simple test to see what network connections a fresh LineageOS install on a Google Pixel 5 makes.  During the initial setup, GPS was disabled.  After we set it up and got a base line, we turned GPS on to see what DNS requests it made.<\/p>\n\n\n\n<p><strong>Testing methodology.<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A Computer was used as a Hotspot running both Network Miner 2.8 and Wireshark to log all network request<\/li>\n\n\n\n<li>Pixel 5 was installed with the latest version of LineageOS 20 (August 2023)<\/li>\n\n\n\n<li>Setup was completed without connecting to WiFi or a cellular network<\/li>\n\n\n\n<li>There was no  SIM card in while installing, setting up, or testing<\/li>\n\n\n\n<li>After setup was complete, WiFi was connected to the computer running the Hotspot<\/li>\n\n\n\n<li>After a base line was logged, we turned on GPS<\/li>\n\n\n\n<li>GApps were not installed.  <\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Fresh Install Network Requests<\/h2>\n\n\n\n<p>After setup was complete, we connected the Pixel 5 to the PC running NetworkMiner and Wireshark.  It immediately made a handful of requests to the following 5 domain names<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>www.google.com <\/li>\n\n\n\n<li>connectivitycheck.gstatic.com <\/li>\n\n\n\n<li>time.android.com <\/li>\n\n\n\n<li>g.co<\/li>\n\n\n\n<li>firebaseinstallations.googleapis.com <\/li>\n<\/ol>\n\n\n\n<p>connectivitycheck.gstatic.com is used to detect if the current network has internet and also to detect if there is a captive portal that you need to log into. <\/p>\n\n\n\n<p>time.android.com would be to check the time and make sure it is correct.<\/p>\n\n\n\n<p>Not sure what the extra 3 are used for.  It is possible that firebaseinstallations.googleapis.com is used for the Android System Intelligence, or some other app that comes by default on LineageOS.<\/p>\n\n\n\n<p>The following NetworkMiner screenshot shows all the IP addresses that were returned for the DNS queries.  Note that a DNS query can return multiple IP addresses for a domain name, and then the device only use one of those IP addresses to transmit traffic. <\/p>\n\n\n\n<p>A couple of normal network broadcast, multicast, and gateway addresses are blurred out as they are normal for devices on a local network.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-New-Setup-GPS-Off.png\"><img loading=\"lazy\" decoding=\"async\" width=\"766\" height=\"807\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-New-Setup-GPS-Off.png\" alt=\"\" class=\"wp-image-5464\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-New-Setup-GPS-Off.png 766w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-New-Setup-GPS-Off-285x300.png 285w\" sizes=\"auto, (max-width: 766px) 100vw, 766px\" \/><\/a><\/figure>\n\n\n\n<p>Here is a Wireshark screenshot for all the DNS requests.  <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"276\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-7-1024x276.png\" alt=\"\" class=\"wp-image-5465\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-7-1024x276.png 1024w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-7-300x81.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-7-768x207.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-7-500x135.png 500w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-7.png 1484w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p><strong>Total bandwidth sent and received for each IP<\/strong><\/p>\n\n\n\n<p>Using Wireshark, we were able to get a total amount of data sent and received for each of the domains.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>www.google.com &#8211; 12.976 KiB <\/li>\n\n\n\n<li>connectivitycheck.gstatic.com &#8211; 1.497 KiB<\/li>\n\n\n\n<li>time.android.com  270 bytes<\/li>\n\n\n\n<li>g.co &#8211; 21.883 KiB, <\/li>\n\n\n\n<li>firebaseinstallations.googleapis.com &#8211; 16.225 KiB <\/li>\n\n\n\n<li>Total for Pixel 5 &#8211; 52.851 KiB<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/Total-Data-Sent-and-Received.png\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"161\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/Total-Data-Sent-and-Received.png\" alt=\"\" class=\"wp-image-5466\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/Total-Data-Sent-and-Received.png 532w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/Total-Data-Sent-and-Received-300x91.png 300w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/Total-Data-Sent-and-Received-500x151.png 500w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/a><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Turning on GPS<\/h2>\n\n\n\n<p>Turning on GPS immediately led to a connection to xtrapath5.xboxprod.izatcloud.net. <\/p>\n\n\n\n<p>The four lines are just different IP&#8217;s for the same domain.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"449\" height=\"74\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-5.png\" alt=\"\" class=\"wp-image-5462\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-5.png 449w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/image-5-300x49.png 300w\" sizes=\"auto, (max-width: 449px) 100vw, 449px\" \/><\/a><\/figure>\n\n\n\n<p>From the Location settings, we can toggle on or off the &#8220;Use assisted GPS&#8221;.  <\/p>\n\n\n\n<p>The settings say the following about Assisted GPS &#8220;Download satellite assistance data from the internet which can greatly improve the GPS startup performance.  For emergency calls, assisted GPS is always allowed&#8221;<\/p>\n\n\n\n<p>Essentially, it will download some files that help your phone find satellites faster which will get you a faster GPS lock.  Without it, it can take awhile to find your position.<\/p>\n\n\n\n<p>During the initial setup (First screenshot below), you can toggle on\/off Assisted GPS.  By default, Android System Intelligence and the Browser are allowed to use Location.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Setup-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"1024\" data-id=\"5476\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Setup-2-473x1024.png\" alt=\"\" class=\"wp-image-5476\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Setup-2-473x1024.png 473w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Setup-2-138x300.png 138w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Setup-2-768x1664.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Setup-2-709x1536.png 709w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Setup-2-945x2048.png 945w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Setup-2.png 1080w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Settings-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"1024\" data-id=\"5475\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Settings-2-473x1024.png\" alt=\"\" class=\"wp-image-5475\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Settings-2-473x1024.png 473w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Settings-2-138x300.png 138w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Settings-2-768x1664.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Settings-2-709x1536.png 709w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Settings-2-945x2048.png 945w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Settings-2.png 1080w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Default-Apps-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"473\" height=\"1024\" data-id=\"5474\" src=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Default-Apps-2-473x1024.png\" alt=\"\" class=\"wp-image-5474\" srcset=\"https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Default-Apps-2-473x1024.png 473w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Default-Apps-2-138x300.png 138w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Default-Apps-2-768x1664.png 768w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Default-Apps-2-709x1536.png 709w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Default-Apps-2-945x2048.png 945w, https:\/\/www.incredigeek.com\/home\/wp-content\/uploads\/2023\/08\/LineageOS-GPS-Default-Apps-2.png 1080w\" sizes=\"auto, (max-width: 473px) 100vw, 473px\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Hopefully that is a helpful overview of the default LineageOS network connections and what some of them are used for.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>This was a fairly simple test to see what network connections a fresh LineageOS install on a Google Pixel 5 makes. During the initial setup, GPS was disabled. After we set it up and got a base line, we turned &hellip; <a href=\"https:\/\/www.incredigeek.com\/home\/lineageos-default-network-connections\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[540,951,1],"tags":[541,277,542,1564,544,1356,543,1565,546],"class_list":["post-5461","post","type-post","status-publish","format-standard","hentry","category-android","category-lineageos","category-uncategorized","tag-android","tag-dns","tag-google","tag-gps","tag-lineageos","tag-network-miner","tag-pixel","tag-pixel-5","tag-wireshark"],"_links":{"self":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5461","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/comments?post=5461"}],"version-history":[{"count":8,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5461\/revisions"}],"predecessor-version":[{"id":5490,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/posts\/5461\/revisions\/5490"}],"wp:attachment":[{"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/media?parent=5461"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/categories?post=5461"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.incredigeek.com\/home\/wp-json\/wp\/v2\/tags?post=5461"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}