public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] {OT} Mystery network traffic
@ 2016-09-29 19:47 Grant
  2016-09-29 21:52 ` [gentoo-user] " Ian Zimmerman
  2016-09-30  3:14 ` [gentoo-user] " J. Roeleveld
  0 siblings, 2 replies; 5+ messages in thread
From: Grant @ 2016-09-29 19:47 UTC (permalink / raw
  To: Gentoo mailing list

I was watching cbm on one of my machines and it showed a lot more
traffic going in and out over lo than over both of the two real
interfaces.  Is that normal?  One of those two real interfaces is
completely unused and shows zeros in cbm all the time.

- Grant


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: {OT} Mystery network traffic
  2016-09-29 19:47 [gentoo-user] {OT} Mystery network traffic Grant
@ 2016-09-29 21:52 ` Ian Zimmerman
  2016-09-30  3:14 ` [gentoo-user] " J. Roeleveld
  1 sibling, 0 replies; 5+ messages in thread
From: Ian Zimmerman @ 2016-09-29 21:52 UTC (permalink / raw
  To: gentoo-user

On 2016-09-29 12:47, Grant wrote:

> I was watching cbm on one of my machines and it showed a lot more
> traffic going in and out over lo than over both of the two real
> interfaces.  Is that normal?  One of those two real interfaces is
> completely unused and shows zeros in cbm all the time.

If I were motivated to investigate this, I'd start with netstat to learn
what ports are active on the interface, then I'd load iptables rules
that pass all traffic on such ports but log it.

Or just use tcpdump?  That may by too blunt a tool, though.

-- 
Please *no* private Cc: on mailing lists and newsgroups
Personal signed mail: please _encrypt_ and sign
Don't clear-text sign: http://cr.yp.to/smtp/8bitmime.html
Why does the arrow on Hillary signs point to the right?


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] {OT} Mystery network traffic
  2016-09-29 19:47 [gentoo-user] {OT} Mystery network traffic Grant
  2016-09-29 21:52 ` [gentoo-user] " Ian Zimmerman
@ 2016-09-30  3:14 ` J. Roeleveld
  2016-09-30 11:17   ` Grant
  1 sibling, 1 reply; 5+ messages in thread
From: J. Roeleveld @ 2016-09-30  3:14 UTC (permalink / raw
  To: gentoo-user

On September 29, 2016 9:47:27 PM GMT+02:00, Grant <emailgrant@gmail.com> wrote:
>I was watching cbm on one of my machines and it showed a lot more
>traffic going in and out over lo than over both of the two real
>interfaces.  Is that normal?  One of those two real interfaces is
>completely unused and shows zeros in cbm all the time.
>
>- Grant

Yes, I would consider this normal.

What is running on that machine?

'lo' is used for all traffic between localhost and localhost.

IOW, all internal communications, like apache talking to the database if both running on the same host.
Or postfix to amavis to postfix before mail gets delivered.

--
Joost

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] {OT} Mystery network traffic
  2016-09-30  3:14 ` [gentoo-user] " J. Roeleveld
@ 2016-09-30 11:17   ` Grant
  2016-09-30 18:53     ` Mick
  0 siblings, 1 reply; 5+ messages in thread
From: Grant @ 2016-09-30 11:17 UTC (permalink / raw
  To: Gentoo mailing list

>>I was watching cbm on one of my machines and it showed a lot more
>>traffic going in and out over lo than over both of the two real
>>interfaces.  Is that normal?  One of those two real interfaces is
>>completely unused and shows zeros in cbm all the time.
>>
>>- Grant
>
> Yes, I would consider this normal.
>
> What is running on that machine?
>
> 'lo' is used for all traffic between localhost and localhost.
>
> IOW, all internal communications, like apache talking to the database if both running on the same host.
> Or postfix to amavis to postfix before mail gets delivered.


I had no idea.  Thank you Joost.

- Grant


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] {OT} Mystery network traffic
  2016-09-30 11:17   ` Grant
@ 2016-09-30 18:53     ` Mick
  0 siblings, 0 replies; 5+ messages in thread
From: Mick @ 2016-09-30 18:53 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 954 bytes --]

On Friday 30 Sep 2016 04:17:29 Grant wrote:
> >>I was watching cbm on one of my machines and it showed a lot more
> >>traffic going in and out over lo than over both of the two real
> >>interfaces.  Is that normal?  One of those two real interfaces is
> >>completely unused and shows zeros in cbm all the time.
> >>
> >>- Grant
> >>
> > Yes, I would consider this normal.
> > 
> > What is running on that machine?
> > 
> > 'lo' is used for all traffic between localhost and localhost.
> > 
> > IOW, all internal communications, like apache talking to the database if
> > both running on the same host. Or postfix to amavis to postfix before
> > mail gets delivered.
> 
> I had no idea.  Thank you Joost.
> 
> - Grant

Some services will listen to localhost network sockets, others may listen to 
unix sockets by default.  Some services can be configured to use either.  
netstat, lsof, ss, will show you both.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-30 18:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-29 19:47 [gentoo-user] {OT} Mystery network traffic Grant
2016-09-29 21:52 ` [gentoo-user] " Ian Zimmerman
2016-09-30  3:14 ` [gentoo-user] " J. Roeleveld
2016-09-30 11:17   ` Grant
2016-09-30 18:53     ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox