OCI: Why Do I see ocid.service accessing Public IPs In OCI Linux Instance
Applies To:
Oracle Cloud Infrastructure
Linux x86-64
Goal
Need to know why ocid.service is accessing public IPs in OCI Linux Instance
Symptoms
Confirm what service is accessing the IP addresses
$ ps -ef | grep ocid root 4807 1 16 07:47 ? 00:00:03 /usr/bin/python3 /usr/lib/python3.6/site-packages/oci_utils/impl/ocid_main.py --no-daemon root 4865 3907 0 07:47 pts/0 00:00:00 grep --color=auto ocid
$ netstat -np | grep -i 4807 tcp 0 0 10.x.x.x:42894 169.x.x.x:80 ESTABLISHED 4807/python3 tcp 0 0 10.x.x.x:60188 140.x.x.x:443 ESTABLISHED 4807/python3 tcp 0 0 10.x.x.x:41516 140.x.x.x:443 ESTABLISHED 4807/python3 unix 2 [ ] DGRAM CONNECTED 48312 4807/python3
Solution
The ‘public ip’ addresses are not really public ones, they are OCI, used for the authentication; There is no security issues here, if all configured correctly.
Tagged:
0