Eu tentei o comando ss
para saber o status de sockets
no meu sistema (ubuntu 14.10
),
$ ss
tcp ESTAB 0 0 192.168.1.10:51492 74.125.236.200:https
tcp ESTAB 0 0 192.168.1.10:45436 184.24.9.251:http
tcp ESTAB 0 0 192.168.1.10:33349 74.125.236.68:https
tcp ESTAB 0 0 192.168.1.10:45285 74.125.236.34:https
tcp ESTAB 0 0 192.168.1.10:52029 74.125.169.216:https
tcp ESTAB 0 0 192.168.1.10:49125 184.24.9.251:https
tcp ESTAB 0 0 192.168.1.10:49340 74.125.68.94:https
tcp ESTAB 0 0 192.168.1.10:47748 74.125.236.65:https
tcp ESTAB 0 0 192.168.1.10:32845 199.59.150.46:https
tcp ESTAB 0 0 192.168.1.10:34511 103.20.92.129:https
tcp ESTAB 0 0 192.168.1.10:43233 74.125.200.188:5228
tcp ESTAB 0 0 192.168.1.10:52208 74.125.169.216:https
tcp ESTAB 0 0 192.168.1.10:41742 184.87.213.124:http
tcp ESTAB 0 0 192.168.1.10:43939 74.125.68.147:https
tcp ESTAB 0 0 192.168.1.10:36935 74.125.236.90:http
tcp ESTAB 0 0 192.168.1.10:48165 74.125.236.33:https
tcp ESTAB 0 0 192.168.1.10:41456 74.125.236.34:http
tcp ESTAB 0 0 192.168.1.10:40549 74.125.236.90:https
tcp ESTAB 0 0 192.168.1.10:37934 122.175.190.8:http
tcp ESTAB 0 0 192.168.1.10:44557 31.13.79.112:https
tcp ESTAB 0 0 192.168.1.10:49879 74.125.236.43:https
tcp ESTAB 0 0 192.168.1.10:54648 23.34.240.214:http
tcp ESTAB 0 0 192.168.1.10:60101 74.125.236.67:https
tcp ESTAB 0 0 192.168.1.10:60836 108.160.165.173:http
e aqui em uma das saídas eu consegui
tcp ESTAB 0 0 192.168.1.10:43233 74.125.200.188:5228
então eu tentei nslookup
, eu consegui
anupam@JAZZ:~$ nslookup 74.125.200.188
Server: 127.0.1.1
Address: 127.0.1.1#53
Non-authoritative answer:
188.200.125.74.in-addr.arpa name = sa-in-f188.1e100.net.
Authoritative answers can be found from:
Eu não estou recebendo 188.200.125.74.in-addr.arpa name = sa-in-f188.1e100.net
.part aqui
,
tentei netstat
para saber o PID associado a isso ..
$ netstat -natp
tcp 0 0 192.168.1.10:60081 74.125.236.73:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:54746 74.125.236.199:80 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:32845 199.59.150.46:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:55852 74.125.236.67:80 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:43119 198.252.206.25:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:43233 74.125.200.188:5228 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:41044 74.125.130.104:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:56479 74.125.236.196:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:48165 74.125.236.33:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:35692 74.125.236.74:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:60101 74.125.236.67:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:60836 108.160.165.173:80 ESTABLISHED 2919/dropbox
tcp 0 0 192.168.1.10:52425 74.125.236.201:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:60058 74.125.236.73:443 ESTABLISHED 5141/chromium-brows
tcp 0 0 192.168.1.10:40360 74.125.130.94:443 ESTABLISHED 5141/chromium-brows
Aqui eu descobri que era thread de PID
5141
, em chromium
browser ,
A minha pergunta é como os navegadores são apenas interface de usuário para a implementação do protocolo http
ou https
para trocar páginas html, como qualquer thread dele pode usar porta diferente de 80
ou 443
.. ( 43233
here) ??