lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 20 May 2011 17:20:37 +0200
From:	Eric Dumazet <eric.dumazet@...il.com>
To:	"Lynch, Jonathan" <jonathan.lynch@...nowfactory.com>
Cc:	netdev@...r.kernel.org
Subject: Re: Fwd: pktgen with vlan packets

Le vendredi 20 mai 2011 à 16:03 +0100, Lynch, Jonathan a écrit :
> Hi,
> 
> Im running 2.6.35 kernel with an Intel 82599 NIC.
> I want to send packets using pktgen via a number of vlan interfaces (1
> physical interface) created via vconfig but I get an OOPs when I try
> and send via the vlan interface.  See attached log file for the oops.
> Im not using the pgset "vlan_id 77" params because I want to send
> packets with more than 1 VLAN tag to one interface. (If it was
> possible to send packets with different vlan tags over the one
> interface with pktgen I would use it)
> 
> my config is as follows:
>   ifconfig eth4 up
>   modprobe 8021q
>   vconfig add eth4 256
>   ifconfig eth4.256 up
> 
> My pktgen config is the exact same as
> ftp://robur.slu.se/pub/Linux/net-development/pktgen-testing/examples/pktgen.conf-1-1
> except that instead of eth1, I have eth4.256.
> 
> Any ideas as to how I can send packets with multiple VLAN tags over
> the same interface with pktgen?

I am afraid you cant yet.

About the crash, you can either :

1) delete qdisc on eth4

ifconfig eth4 txqueuelen 0
tc qdisc add dev eth0 root sfq
tc qdisc del dev eth0 root

2) use clone_skb 0 only

(Or else, same skb can be queued several time on eth4 qdisc) -> crash



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ