Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231745 - net-analyzer/iptraf-3.0.0-r4 VLAN problem
Summary: net-analyzer/iptraf-3.0.0-r4 VLAN problem
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-14 07:51 UTC by Tomas Vasek
Modified: 2008-10-24 15:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Vasek 2008-07-14 07:51:19 UTC
net-analyzer/iptraf 3.0.0-r4
no VLAN traffic is displayed (VLAN traffic is completly ignored, you can see only increasing "Pkts captured" count)


Reproducible: Always

Steps to Reproduce:
1. just use on VLAN interface
2.
3.



Expected Results:  
applying patch:
http://archives.seul.org/iptraf/users/Mar-2003/msg00009.html

Many thanks
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2008-09-15 19:40:15 UTC
We already have this patch applied. what name your vlan interface uses?

I'm thinking about applying the following patch: 
http://linux.mantech.ro/IPTraf-fix.html

as I agree with Arian Ban that depend on  if (strncmp(ifname, "vlan", 3) == 0) to detect that interface if vlan was not a good idea... What do you think?
Comment 2 Tomas Vasek 2008-09-17 08:03:12 UTC
Hello,

I use "set_name_type VLAN_PLUS_VID_NO_PAD", so I have vlan2, vlan20, etc...

Thanks

T.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2008-09-17 15:02:10 UTC
Tomas, could you try ebuild from my overlay and tell me if this fixes the problem for you. Just take it with the following command:

svn co http://overlays.gentoo.org/svn/dev/pva/net-analyzer/iptraf

and emerge.
Comment 4 Ross Dougherty 2008-10-11 16:51:53 UTC
Just reporting that I applied the patch found at http://linux.mantech.ro/IPTraf-fix.html and it resolved the problem for me.

It looks like this is the patch you used in your overlay Peter so that should work too.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2008-10-24 15:23:48 UTC
Thank you Ross for tests and Tomas for report. I've added patch into iptraf-3.0.0-r5. Fixed.