Description of the issue:
No matter what Brave is or isn’t doing (I can load it on a basic website using only html, no scripts that has a single IP) as long as I am connected to the internet it opens numerous UDP connections on port 443 to either Google data services or, less commonly, AWS. Blocking these IPs with the firewall just causes it to open new ones to other Google registered IPs or less commonly Amazon registered IPs. The overwhelming majority of these IPs are clean and have no history I can find on the net. A very small % of them do have the occasional single report of a phishing scam or the like if I search hard enough, but it is so low those could easily be misreports. Maybe those aren’t actually Google or Amazon so much as those are the hosts of whatever is happening here?
Below are some of the connections at the moment as I write this. The perplexing ones are those udp ones at the bottom (what are those doing?) but all of the tcp ones at the top that don’t also match a udp one at the bottom can be accounted for by normal website activity on Brave at the moment
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
... [skipping lots of other non-brave connections here]
tcp 0 0 10.225.10.247:49118 142.250.81.234:443 ESTABLISHED 1000 3995190 2012/brave --type=u
tcp 0 0 10.225.10.247:58460 104.18.39.38:443 ESTABLISHED 1000 3988908 2012/brave --type=u
tcp 0 0 10.225.10.247:53698 13.249.190.60:443 ESTABLISHED 1000 3995183 2012/brave --type=u
tcp 0 0 10.225.10.247:42454 65.8.19.110:443 ESTABLISHED 1000 3995187 2012/brave --type=u
tcp 0 0 10.225.10.247:53684 13.249.190.60:443 ESTABLISHED 1000 3995182 2012/brave --type=u
tcp 0 0 10.225.10.247:53680 13.249.190.60:443 ESTABLISHED 1000 3995181 2012/brave --type=u
tcp 0 0 10.225.10.247:39634 52.111.239.33:443 ESTABLISHED 1000 3925971 2012/brave --type=u
tcp 0 0 10.225.10.247:42458 65.8.19.110:443 ESTABLISHED 1000 3995188 2012/brave --type=u
tcp 0 0 10.225.10.247:42426 65.8.19.110:443 ESTABLISHED 1000 3995184 2012/brave --type=u
tcp 0 0 10.225.10.247:57450 184.105.99.43:443 ESTABLISHED 1000 3997591 2012/brave --type=u
tcp6 0 0 ::1:631 :::* LISTEN 0 2892575 147603/cupsd
udp 0 0 10.225.10.247:40241 65.8.19.110:443 ESTABLISHED 1000 3995191 2012/brave --type=u
udp 0 0 10.225.10.247:40259 142.251.35.170:443 ESTABLISHED 1000 3997956 2012/brave --type=u
udp 0 0 10.225.10.247:57165 142.250.72.106:443 ESTABLISHED 1000 3997988 2012/brave --type=u
udp 0 0 127.0.0.53:53 0.0.0.0:* 101 2568984 127581/systemd-reso
udp 0 0 10.225.10.247:68 10.225.0.3:67 ESTABLISHED 0 3931543 923/NetworkManager
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 2895607 147604/cups-browsed
udp 0 0 10.225.10.247:50476 142.250.65.163:443 ESTABLISHED 1000 3981970 2012/brave --type=u
udp 0 0 10.225.10.247:43033 142.250.65.163:443 ESTABLISHED 1000 3981971 2012/brave --type=u
udp 0 0 10.225.10.247:59707 142.251.35.170:443 ESTABLISHED 1000 3993356 2012/brave --type=u
udp 0 0 10.225.10.247:52854 142.250.80.67:443 ESTABLISHED 1000 4001195 2012/brave --type=u
udp 0 0 10.225.10.247:36589 13.249.190.60:443 ESTABLISHED 1000 4001196 2012/brave --type=u
udp 0 0 10.225.10.247:53634 142.251.40.174:443 ESTABLISHED 1000 3941306 2012/brave --type=u
udp 0 0 224.0.0.251:5353 0.0.0.0:* 1000 53164 2012/brave --type=u
udp 0 0 224.0.0.251:5353 0.0.0.0:* 1000 60523 2012/brave --type=u
udp 0 0 10.225.10.247:39830 142.250.81.234:443 ESTABLISHED 1000 3995177 2012/brave --type=u
EDIT 1 The above code block won’t show the full width of what I pasted in there when viewed on Brave (see exact build below) on linux (distro notes below) nor will it let me scroll left or right to see all of the code block like a truncated code block should. No matter how wide I make the window the last categories here, which is important as it show which program is corresponds to each connection and some of these above aren’t Brave, are cut off and thus unreadable. Also I am seeing the above code block spill out of the little gray area designed for it, and overlap the text below (i.e. now the top of this “EDIT 1:” paragraph) I assume I did something wrong because it would be weird and sad for this page to not work correctly on Brave. END OF EDIT 1
For the most part Brave is only listening to any one of these IPs, but it has bursts of activity on each one. Here is an example of me applying tcpdump to one of them, it sat there for a number of minutes and then started flopping out the below in rapid succession until I suspended. I was doing nothing on the net at the time, just waiting to see what would happen. That said I did have a large number of sites open in the background so there probably were numerous scripts running, but none of them were on pages that corresponded to this IP address:
~$ sudo tcpdump host 142.251.35.170
tcpdump: verbose output suppressed, use -v[v]... for full protocol decode
listening on wlp59s0, link-type EN10MB (Ethernet), snapshot length 262144 bytes
12:51:32.103900 IP lga25s78-in-f10.1e100.net.https > [computer].36041: UDP, length 162
12:51:32.103900 IP lga25s78-in-f10.1e100.net.https > [computer].36041: UDP, length 23
12:51:32.107088 IP [computer].36041 > lga25s78-in-f10.1e100.net.https: UDP, length 33
12:51:32.115219 IP [computer].37320 > lga25s78-in-f10.1e100.net.https: UDP, length 241
12:51:32.124228 IP lga25s78-in-f10.1e100.net.https > [computer].37320: UDP, length 27
12:51:32.137883 IP lga25s78-in-f10.1e100.net.https > [computer].37320: UDP, length 67
12:51:32.137883 IP lga25s78-in-f10.1e100.net.https > [computer].37320: UDP, length 21
12:51:32.138089 IP [computer].37320 > lga25s78-in-f10.1e100.net.https: UDP, length 35
12:51:32.140151 IP [computer].36041 > lga25s78-in-f10.1e100.net.https: UDP, length 300
12:51:32.149708 IP lga25s78-in-f10.1e100.net.https > [computer].36041: UDP, length 28
12:51:32.152298 IP [computer].36041 > lga25s78-in-f10.1e100.net.https: UDP, length 33
12:51:32.163572 IP [computer].37320 > lga25s78-in-f10.1e100.net.https: UDP, length 32
12:51:32.169641 IP lga25s78-in-f10.1e100.net.https > [computer].36041: UDP, length 92
12:51:32.170062 IP [computer].36041 > lga25s78-in-f10.1e100.net.https: UDP, length 36
12:51:32.173980 IP lga25s78-in-f10.1e100.net.https > [computer].37320: UDP, length 23
12:51:32.181521 IP lga25s78-in-f10.1e100.net.https > [computer].36041: UDP, length 25
^[^Z
[7]+ Stopped
Poking around on the net, people have said this looks like the work of the google safe browsing service for Chrome – a service that checks the web-pages one goes to for safety such as via existing reports of nefarious activity. But the data exchanges I am observing via these udp connections are happening even when I am not browsing or doing anything. I can open a static single IP web-page with no scripts or ads, and Brave will exchange information via these udp connections in little bursts with pauses of various lengths in between even after just being left to idle for 12 hours or more.
I guess it is possible that this isn’t Brave but a program pretending to be Brave, but if so it is very convincing.
EDIT 2: I checked “Brave settings” ->“Privacy and Security” the option “Use Google services for push messaging” is indeed off, so that can’t be what is happening. End of EDIT 2:
Steps to Reproduce (add as many as necessary): 1. 2. 3.
I have opened and closed brave many times. I have cleared out all the history and started from scratch. I even checked again on a freshly installed linux mint system where I installed brave and opened a new brave window.
Reproduces how often:
Its always. I can’t make it stop. I can’t even block these with firewall without Brave rerouting and establishing new ones. I have even tried multiple range blocks.
Operating System and Brave Version(See the About Brave
page in the main menu):
Brave: Version 1.61.116 Chromium: 120.0.6099.217 (Official Build) (64-bit)
Distro:
No LSB modules are available.
Distributor ID: Linuxmint
Description: Linux Mint 21.2
Release: 21.2
Codename: victoria
Hardware:
Type: Laptop System: Dell product: XPS 15 7590