Score:0

strace, netstat or tcpdump to identify unknown network activity and program

cn flag

I've been trying to uncover the origin of some network calls, specifically to ip addresss associated with bc.googleusercontent.com

I'm a bit curious why this network activity only happens when using Firefox and from what I've read googleusercontent.com is reported as both a service for individuals outside the google ecosphere for private businesses, etc., as well as being used by google itself.

Using tcpdump on my network adapter and filtering with grep for bc.googlecontent.com isolates the activity, but now I need to dig deeper and find out what service/program etc. is activating these calls.

Strace was recommended, however, it needs the PID which I can't get on a per connection basis or if it happens it's gone quickly so unable to see it. Is there some way to use strace so that it will do the necessary filtering upfront, thereby eliminating all the other activity or better, another linux program I can use to immediately get the name of the program making these connections.

Thank you.

waltinator avatar
it flag
While this traffic is happening, `sudo lsof -i` will show all processes reading/writing the net.
jeffschips avatar
cn flag
SOLVED using sudo lsof -i
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.