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-next>] [day] [month] [year] [list]
Date:   Sat,  5 Oct 2019 17:25:05 +0900
From:   "Daniel T. Lee" <danieltimlee@...il.com>
To:     Jesper Dangaard Brouer <brouer@...hat.com>,
        Toke Høiland-Jørgensen <toke@...hat.com>,
        "David S . Miller" <davem@...emloft.net>
Cc:     netdev@...r.kernel.org
Subject: [PATCH net-next v5 0/4] samples: pktgen: allow to specify destination IP range

Currently, pktgen script supports specify destination port range.

To further extend the capabilities, this commit allows to specify destination
IP range with CIDR when running pktgen script.

Specifying destination IP range will be useful on various situation such as 
testing RSS/RPS with randomizing n-tuple.

This patchset fixes the problem with checking the command result on proc_cmd,
and add feature to allow destination IP range.

Daniel T. Lee (4):
  samples: pktgen: make variable consistent with option
  samples: pktgen: fix proc_cmd command result check logic
  samples: pktgen: add helper functions for IP(v4/v6) CIDR parsing
  samples: pktgen: allow to specify destination IP range (CIDR)

 samples/pktgen/README.rst                     |   2 +-
 samples/pktgen/functions.sh                   | 154 +++++++++++++++++-
 samples/pktgen/parameters.sh                  |   2 +-
 .../pktgen_bench_xmit_mode_netif_receive.sh   |  15 +-
 .../pktgen_bench_xmit_mode_queue_xmit.sh      |  15 +-
 samples/pktgen/pktgen_sample01_simple.sh      |  23 ++-
 samples/pktgen/pktgen_sample02_multiqueue.sh  |  23 ++-
 .../pktgen_sample03_burst_single_flow.sh      |  15 +-
 samples/pktgen/pktgen_sample04_many_flows.sh  |  22 ++-
 .../pktgen/pktgen_sample05_flow_per_thread.sh |  15 +-
 ...sample06_numa_awared_queue_irq_affinity.sh |  23 ++-
 11 files changed, 244 insertions(+), 65 deletions(-)

-- 
2.20.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ