71 lines
2.7 KiB
Markdown
71 lines
2.7 KiB
Markdown
# Bugs
|
|
`Bugs?` --- The following were encountered, may be bugs. Notable for now.
|
|
|
|
|
|
```
|
|
# User comma has files in it's own read/write home directory
|
|
# that are owned by user root.
|
|
comma@tici:~$ ls -la
|
|
total 44
|
|
drwxr-xr-x 1 comma comma 100 Feb 4 18:09 .
|
|
drwxr-xr-x 1 root root 60 Sep 7 12:37 ..
|
|
-rw-rw-r-- 1 root root 254 Sep 20 15:01 .bash_aliases
|
|
-rw------- 1 comma comma 12 Feb 4 18:09 .bash_history
|
|
-rw-r--r-- 1 comma comma 220 Feb 25 2020 .bash_logout
|
|
-rw-rw-r-- 1 root root 230 Sep 20 15:01 .bash_profile
|
|
-rw-r--r-- 1 comma comma 3771 Feb 25 2020 .bashrc
|
|
drwxr-xr-x 4 comma comma 100 Feb 4 17:49 .cache
|
|
drwxrwxr-x 1 comma comma 60 Sep 7 12:37 .config
|
|
-rw-rw-r-- 1 root root 30 Sep 20 15:01 .gdbinit
|
|
-rw-rw-r-- 1 root root 204 Sep 20 15:01 .gitconfig
|
|
-rw-rw-r-- 1 root root 5 Sep 20 15:01 .gitignore
|
|
-rw-r--r-- 1 comma comma 807 Feb 25 2020 .profile
|
|
-rw-rw-r-- 1 root root 0 Dec 8 12:36 .sudo_as_admin_successful
|
|
-rw-rw-r-- 1 root root 749 Sep 20 15:01 .tmux.conf
|
|
-rw-rw-r-- 1 root root 339 Sep 20 15:01 .vimrc
|
|
```
|
|
|
|
# Proprietary Connections
|
|
The device when running makes connections to Github (owned by Microsoft)
|
|
and Microsoft IPs directly. Note, this is post-install, after one reboot:
|
|
|
|
```
|
|
root@tici:~# netstat -apnt
|
|
Active Internet connections (servers and established)
|
|
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
|
|
tcp 0 0 127.0.0.53:53 0.0.0.0:* LISTEN 3821/systemd-resolv
|
|
tcp 0 0 0.0.0.0:8022 0.0.0.0:* LISTEN 7386/sshd: /usr/sbi
|
|
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 7386/sshd: /usr/sbi
|
|
tcp 0 0 192.168.1.100:57398 140.82.114.4:443 ESTABLISHED 48481/git-remote-ht
|
|
tcp 0 0 192.168.1.100:36802 20.188.93.37:443 ESTABLISHED 46183/selfdrive.ath
|
|
tcp6 0 0 :::8022 :::* LISTEN 7386/sshd: /usr/sbi
|
|
tcp6 0 0 :::22 :::* LISTEN 7386/sshd: /usr/sbi
|
|
```
|
|
|
|
The process `selfdrive.athena.athenad` is connecting to `athena.comma.ai`
|
|
which resolves to `20.188.93.37`.
|
|
That code is called here:
|
|
|
|
* https://github.com/commaai/openpilot/blob/master/selfdrive/athena/athenad.py#L37
|
|
|
|
To fix that the variable `ATHENA_HOST` will need to be set to a private
|
|
cloud, and a server will need to be available there.
|
|
|
|
|
|
The access to IP `140.82.114.4` is likely a git pull/update ?
|
|
|
|
|
|
# DNS
|
|
Notable, how DNS resolving is done. This binary answers on port `53`:
|
|
|
|
`/lib/systemd/systemd-resolved`
|
|
|
|
```
|
|
cat /etc/resolv.conf
|
|
|
|
nameserver 127.0.0.53
|
|
options edns0 trust-ad
|
|
search lan
|
|
```
|
|
|