intrigeri pushed to branch main at The Tor Project / Applications / torbrowser-launcher Commits: 2cf2c2e1 by Mario at 2026-11-12T22:30:47+01:00 Allow tor to read geoip, geoip6 and torrc-defaults Tor Browser >= 10.5 ships geoip, geoip6 and torrc-defaults in Browser/TorBrowser/Tor/ instead of Browser/TorBrowser/Data/Tor/, and the torrc generated by Tor Browser points GeoIPFile/GeoIPv6File at the new location. The AppArmor profile only allowed reading *.so files from TorBrowser/Tor/, so the confined tor got EACCES when opening the geoip databases. Tor keeps running without them, which silently breaks GETINFO ip-to-country (returns '??'), so the browser circuit display shows relay IP addresses but no country or flag. Kernel audit (Debian trixie, torbrowser-launcher 0.3.7-3, Tor Browser 16.0.1, tor 0.4.9.16): apparmor="DENIED" operation="open" profile="torbrowser_tor" name=".../Browser/TorBrowser/Tor/geoip" denied_mask="r" apparmor="DENIED" operation="open" profile="torbrowser_tor" name=".../Browser/TorBrowser/Tor/geoip6" denied_mask="r" apparmor="DENIED" operation="open" profile="torbrowser_tor" name=".../Browser/TorBrowser/Tor/torrc-defaults" denied_mask="r" With the added rules the bundled tor logs 'Parsing GEOIP IPv4/IPv6 file ...' and GETINFO ip-to-country resolves countries again (verified with a test instance of the bundled tor under the patched profile). - - - - - 2dfa6cbf by intrigeri at 2026-11-17T13:51:05+00:00 Merge branch 'fix/apparmor-geoip' into 'main' Allow tor to read geoip, geoip6 and torrc-defaults See merge request tpo/applications/torbrowser-launcher!53 - - - - - 1 changed file: - apparmor/torbrowser.Tor.tor Changes: ===================================== apparmor/torbrowser.Tor.tor ===================================== @@ -15,6 +15,9 @@ profile torbrowser_tor @{torbrowser_tor_executable} { /etc/passwd r, /etc/resolv.conf r, owner @{torbrowser_home_dir}/TorBrowser/Tor/tor mr, + owner @{torbrowser_home_dir}/TorBrowser/Tor/torrc-defaults r, + owner @{torbrowser_home_dir}/TorBrowser/Tor/geoip r, + owner @{torbrowser_home_dir}/TorBrowser/Tor/geoip6 r, owner @{torbrowser_home_dir}/TorBrowser/Data/Tor/ rw, owner @{torbrowser_home_dir}/TorBrowser/Data/Tor/** rw, owner @{torbrowser_home_dir}/TorBrowser/Data/Tor/lock rwk, View it on GitLab: https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/compare... -- View it on GitLab: https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/-/compare... You're receiving this email because of your account on gitlab.torproject.org. Manage all notifications: https://gitlab.torproject.org/-/profile/notifications | Help: https://gitlab.torproject.org/help
participants (1)
-
intrigeri (@intrigeri)