I am using an iMac (27-inch, Late 2013) running Yosemite 10.10.2 (14C109). Recently I ran a curl command and it appears as though there is a local proxy or server running on my computer. Here is the command I ran:
curl -v -L google.com > /dev/null 2> log.txt
...and here is the output:
* Rebuilt URL to: google.com/
* Hostname was NOT found in DNS cache
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
^M 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 173.194.123.98...
* Connected to google.com (127.0.0.1) port 80 (#0)
> GET / HTTP/1.1^M
> User-Agent: curl/7.37.1^M
> Host: google.com^M
> Accept: */*^M
> ^M
< HTTP/1.1 301 Moved Permanently^M
< Location: http://www.google.com/^M
The specific part that puzzles me is:
Connected to google.com (127.0.0.1) port 80 (#0)
Can anyone tell me how to tell what is going on here? Could this be the local firewall or something, I worry that something malicious could be happening.
Here is my /etc/hosts file:
##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
##
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost