Open vSwitch
Clone or download
blp flow: Fix uninitialized flow fields in IPv6 error case.
When parse_ipv6_ext_hdrs__() returned false, half a 64-bit word had been
pushed into the miniflow and the second half was left uninitialized.  This
commit fixes the problem.

Reported-at: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=10518
Signed-off-by: Ben Pfaff <blp@ovn.org>
Reviewed-by: Yifeng Sun <pkusunyifeng@gmail.com>
Latest commit 97bc5b2 Sep 21, 2018
Permalink
Failed to load latest commit information.
.travis dpdk: Use DPDK 17.11.3 release. Jul 6, 2018
Documentation dpif-netdev: Add round-robin based rxq to pmd assignment. Sep 14, 2018
build-aux dhparams: Fix .c file generation with OpenSSL >= 1.1.1-pre9 Sep 7, 2018
datapath-windows datapath-windows: Fix payload length calculation in Conntrack.h Sep 20, 2018
datapath gre: Rename fallback devices to avoid udev's interference Sep 18, 2018
debian Set release dates for 2.10.0. Sep 18, 2018
include meta-flow: Make "nw_frag" a synonym for "ip_frag". Sep 20, 2018
lib flow: Fix uninitialized flow fields in IPv6 error case. Sep 22, 2018
m4 Permit to build OVS with only Python3 installed Jul 24, 2018
ofproto ofproto-dpif: Fix NXT_RESUME flow stats Sep 21, 2018
ovn OVN: add CT_LB action to ovn-trace Sep 21, 2018
ovsdb ovsdb-server: Alleviate the possible data loss in an active/standby s… Sep 18, 2018
poc rhel: rename openvswitch kmod rhel6 spec file Jul 13, 2018
python tests: Use environment variable for default timeout. Aug 15, 2018
rhel rhel: Ship ovs shared libraries, fedora Sep 18, 2018
selinux selinux: more changes to support newer hugetlbfs restrictions Jul 31, 2018
tests tests: Fix broken test of 'truncate and output to gre tunnel' Sep 21, 2018
third-party doc: Remove documentation from distdoc target Dec 12, 2016
tutorial ovs-sandbox: Generate the SSL keys using the default key length Aug 10, 2018
utilities ovs-kmod-ctl: source ovs-lib dynamically Sep 21, 2018
vswitchd dpif-netdev: Add round-robin based rxq to pmd assignment. Sep 14, 2018
vtep tests: Use environment variable for default timeout. Aug 15, 2018
windows MSI: Use platform specific netcfg location Jan 5, 2018
xenserver treewide: Convert leading tabs to spaces. Jun 11, 2018
.gitignore build: Add gitattribute file to build-aux Jul 19, 2018
.mailmap .mailmap: Document file format. Nov 17, 2016
.travis.yml datapath: Fix builds on older kernels. Aug 30, 2018
AUTHORS.rst AUTHORS: Add Zak Whittington. Aug 7, 2018
CONTRIBUTING.rst CONTRIBUTING.rst: Fix links. Mar 17, 2017
LICENSE Edit Open vSwitch license info so that GitHub recognizes it. Apr 16, 2018
MAINTAINERS.rst MAINTAINERS: Update Pravin's email address. Dec 28, 2017
Makefile.am oss-fuzz: Move oss-fuzz test harnesses and fuzzer configs to ovs sour… Aug 24, 2018
NEWS Set release dates for 2.10.0. Sep 18, 2018
NOTICE datapath-windows: Add Connection Tracking Support Apr 14, 2016
README.rst Edit Open vSwitch license info so that GitHub recognizes it. Apr 16, 2018
Vagrantfile treewide: Convert leading tabs to spaces. Jun 11, 2018
Vagrantfile-FreeBSD vagrant: Add FreeBSD 10.2 box support. Jul 3, 2016
acinclude.m4 datapath: Fix builds on older kernels. Aug 30, 2018
appveyor.yml util: Fix abs_file_name() bugs on Windows. Aug 3, 2018
boot.sh debian: Check for accurate Debian changelog version at build time too. Jul 21, 2010
configure.ac netdev: Clean up class initialization. Aug 27, 2018
manpages.mk tunnel: make tun_key_to_attr aware of tunnel type. May 14, 2018

README.rst

Open vSwitch

https://travis-ci.org/openvswitch/ovs.png https://ci.appveyor.com/api/projects/status/github/openvswitch/ovs?branch=master&svg=true&retina=true

What is Open vSwitch?

Open vSwitch is a multilayer software switch licensed under the open source Apache 2 license. Our goal is to implement a production quality switch platform that supports standard management interfaces and opens the forwarding functions to programmatic extension and control.

Open vSwitch is well suited to function as a virtual switch in VM environments. In addition to exposing standard control and visibility interfaces to the virtual networking layer, it was designed to support distribution across multiple physical servers. Open vSwitch supports multiple Linux-based virtualization technologies including Xen/XenServer, KVM, and VirtualBox.

The bulk of the code is written in platform-independent C and is easily ported to other environments. The current release of Open vSwitch supports the following features:

  • Standard 802.1Q VLAN model with trunk and access ports
  • NIC bonding with or without LACP on upstream switch
  • NetFlow, sFlow(R), and mirroring for increased visibility
  • QoS (Quality of Service) configuration, plus policing
  • Geneve, GRE, VXLAN, STT, and LISP tunneling
  • 802.1ag connectivity fault management
  • OpenFlow 1.0 plus numerous extensions
  • Transactional configuration database with C and Python bindings
  • High-performance forwarding using a Linux kernel module

The included Linux kernel module supports Linux 3.10 and up.

Open vSwitch can also operate entirely in userspace without assistance from a kernel module. This userspace implementation should be easier to port than the kernel-based switch. OVS in userspace can access Linux or DPDK devices. Note Open vSwitch with userspace datapath and non DPDK devices is considered experimental and comes with a cost in performance.

What's here?

The main components of this distribution are:

  • ovs-vswitchd, a daemon that implements the switch, along with a companion Linux kernel module for flow-based switching.
  • ovsdb-server, a lightweight database server that ovs-vswitchd queries to obtain its configuration.
  • ovs-dpctl, a tool for configuring the switch kernel module.
  • Scripts and specs for building RPMs for Citrix XenServer and Red Hat Enterprise Linux. The XenServer RPMs allow Open vSwitch to be installed on a Citrix XenServer host as a drop-in replacement for its switch, with additional functionality.
  • ovs-vsctl, a utility for querying and updating the configuration of ovs-vswitchd.
  • ovs-appctl, a utility that sends commands to running Open vSwitch daemons.

Open vSwitch also provides some tools:

  • ovs-ofctl, a utility for querying and controlling OpenFlow switches and controllers.
  • ovs-pki, a utility for creating and managing the public-key infrastructure for OpenFlow switches.
  • ovs-testcontroller, a simple OpenFlow controller that may be useful for testing (though not for production).
  • A patch to tcpdump that enables it to parse OpenFlow messages.

What other documentation is available?

To install Open vSwitch on a regular Linux or FreeBSD host, please read the installation guide. For specifics around installation on a specific platform, refer to one of the other installation guides

For answers to common questions, refer to the FAQ.

To learn about some advanced features of the Open vSwitch software switch, read the tutorial.

Each Open vSwitch userspace program is accompanied by a manpage. Many of the manpages are customized to your configuration as part of the build process, so we recommend building Open vSwitch before reading the manpages.

License

The following is a summary of the licensing of files in this distribution. As mentioned, Open vSwitch is licensed under the open source Apache 2 license. Some files may be marked specifically with a different license, in which case that license applies to the file in question.

Files under the datapath directory are licensed under the GNU General Public License, version 2.

File build-aux/cccl is licensed under the GNU General Public License, version 2.

The following files are licensed under the 2-clause BSD license.
include/windows/getopt.h lib/getopt_long.c lib/conntrack-tcp.c
The following files are licensed under the 3-clause BSD-license
include/windows/netinet/icmp6.h include/windows/netinet/ip6.h lib/strsep.c

Files under the xenserver directory are licensed on a file-by-file basis. Refer to each file for details.

Files lib/sflow*.[ch] are licensed under the terms of either the Sun Industry Standards Source License 1.1, that is available at:

http://host-sflow.sourceforge.net/sissl.html
or the InMon sFlow License, that is available at:
http://www.inmon.com/technology/sflowlicense.txt

Contact

bugs@openvswitch.org