Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traffic Graph not showing correctly #1913

Closed
eljeffeg opened this issue Nov 6, 2017 · 21 comments
Closed

Traffic Graph not showing correctly #1913

eljeffeg opened this issue Nov 6, 2017 · 21 comments

Comments

@eljeffeg
Copy link
Contributor

eljeffeg commented Nov 6, 2017

Not sure at what version this started to occur, but I have no traffic listed in large "Out" graph. And on the little mini-graphs (per ip), no "In" traffic is listed. "status_graph.php"

Running version 17.7.7, but I know the issue was present in 17.7.5 as well.

@fabianfrz
Copy link
Member

@jeffg2k please check if you have IPS enabled. IPS blocks that.

@eljeffeg
Copy link
Contributor Author

eljeffeg commented Nov 6, 2017

Yes, IPS mode is enabled. But it's always been enabled. Any way to exclude the traffic reporting from the IPS?

@mimugmail
Copy link
Member

Would you first try disabling it and check of it works?

@eljeffeg
Copy link
Contributor Author

eljeffeg commented Nov 7, 2017

Yes, turning off IPS mode corrects the issue. I don't see that as a good solution, but it does fix it.

@mimugmail
Copy link
Member

This is not a solution, only better to track down the problem. This one is already known that with IPS enabled packets in one direction are not seen ...

@AdSchellevis
Copy link
Member

it could be a driver issue, what network chip are you using?

@mimugmail
Copy link
Member

Virtualbox:

em0@pci0:0:3:0: class=0x020000 card=0x001e8086 chip=0x100e8086 rev=0x02 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = '82540EM Gigabit Ethernet Controller'
    class      = network
    subclass   = ethernet

Physical:

igb0@pci0:1:0:0:        class=0x020000 card=0x00018086 chip=0x15218086 rev=0x01 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'I350 Gigabit Network Connection'
    class      = network
    subclass   = ethernet

@AdSchellevis
Copy link
Member

you have the same issue with both drivers?

@mimugmail
Copy link
Member

Yep, two different systems.

https://forum.opnsense.org/index.php?topic=5911.0

@eljeffeg
Copy link
Contributor Author

eljeffeg commented Nov 7, 2017

How to I list the drivers in opnsense / bsd? Seems dmsg doesn't go back very far, I don't see a /etc/modules.conf or find the info in systemlog, no lspci.

@mimugmail
Copy link
Member

pciconf -lv

@eljeffeg
Copy link
Contributor Author

eljeffeg commented Nov 7, 2017

dmesg.boot has this:

em0: <Intel(R) PRO/1000 Network Connection 7.6.1-k>
em1: <Intel(R) PRO/1000 Network Connection 7.6.1-k>

pciconf -lv:

em0@pci0:0:25:0: class=0x020000 card=0x00008086 chip=0x10bd8086 rev=0x02 hdr=0x00
vendor = 'Intel Corporation'
device = '82566DM-2 Gigabit Network Connection'
class = network
subclass = ethernet

em1@pci0:6:0:0: class=0x020000 card=0x00008086 chip=0x108b8086 rev=0x03 hdr=0x00
vendor = 'Intel Corporation'
device = '82573V Gigabit Ethernet Controller (Copper)'
class = network
subclass = ethernet

@AdSchellevis
Copy link
Member

What are your "sort by" and "filter" settings?

@eljeffeg
Copy link
Contributor Author

eljeffeg commented Nov 7, 2017

I have the defaults, which are Bw In and Local. Changing the "sort by" didn't fix anything, but changing the "filter" to All does fix the "Bandwidth In" on the mini-graphs. The large Out (bps) graph is still 0.

@AdSchellevis
Copy link
Member

It's highly likely a kernel issue with netmap, the graphs use two different command's (ifinfo, rate) to gather statistics which both seem to stall.

@mimugmail
Copy link
Member

Yep .. there's a bit weirdness in kernel, netmap and suricata ... also like this:
https://forum.opnsense.org/index.php?topic=6190.0

KVM or ESX .. some guys need to set to e1000 but for some only vmxnet3 helps.

@eljeffeg
Copy link
Contributor Author

eljeffeg commented Apr 11, 2018

Any progress with this? I'm on 18.1.6, but I still see no traffic in the graph on Out (bps) or the Bandwidth In Mini-graphs.
screen shot 2018-04-11 at 9 17 39 am
screen shot 2018-04-11 at 9 23 20 am

@AdSchellevis AdSchellevis self-assigned this Aug 28, 2018
@AdSchellevis AdSchellevis added the bug Production bug label Aug 28, 2018
@fichtner
Copy link
Member

Same as #1632 - IPS makes "out" direction disappear in PCAP capture mode.

@fichtner fichtner removed the bug Production bug label Sep 22, 2018
@ghost235
Copy link

Sorry for warming this up, but the issue seems to be back on 20.7.4 on vmware 6.5.0 with e1000. IPS is on

@AdSchellevis
Copy link
Member

@ghost235
Copy link

thanks i found just after post ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

6 participants