neutron/neutron/tests/unit/agent/linux
Slawek Kaplonski 757d8c6e32 Remove dhcp_extra_opt value after first newline character
Passing newline to the dnsmasq may cause security issues, especially
that in case of Neutron that dhcp options' values are controlled by
cloud users.
This patch removes everything what is after first newline character
in the dhcp_extra_opt's values before passing them to dnsmasq.

Closes-Bug: #1939733
Change-Id: Ifeaf258f0b5ea86f25620ac4116d618980a7272e
(cherry picked from commit df891f0593)
2021-09-01 08:06:29 +00:00
..
openvswitch_firewall [ovs fw] Restrict IPv6 NA and DHCP(v6) IP and MAC source addresses 2021-05-19 11:35:21 +02:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
failing_process.py Keep reading stdout/stderr until after kill 2015-11-19 19:14:13 +02:00
test_bridge_lib.py Change to use iproute2 instead of brctl 2018-11-14 12:46:37 -05:00
test_daemon.py use test tools from neutron-lib 2019-06-05 06:21:04 -06:00
test_dhcp.py Remove dhcp_extra_opt value after first newline character 2021-09-01 08:06:29 +00:00
test_external_process.py Check dnsmasq process is active when spawned 2019-10-30 12:23:56 +00:00
test_interface.py Merge "Workaround for TCP checksum issue with ovs-dpdk and veth pair" into stable/train 2020-07-01 03:10:18 +00:00
test_ip_conntrack.py [OVS FW] Clean conntrack entries with mark == CT_MARK_INVALID 2021-02-23 13:41:58 +00:00
test_ip_lib.py Improve "get_devices_with_ip" performance 2021-03-02 09:44:53 +00:00
test_ipset_manager.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2021-01-20 17:02:06 +01:00
test_iptables_firewall.py Revert "[Security] fix allowed-address-pair 0.0.0.0/0 issue" 2021-01-20 17:02:06 +01:00
test_iptables_manager.py Do not initialize the iptables nat table in the dhcp-agent 2019-04-24 20:56:03 -04:00
test_keepalived.py Ensure "keepalived" is correcly disabled 2021-01-15 17:53:29 +00:00
test_l3_tc_lib.py Use Pyroute2 "add_tc_qdisc" function in l3_tc_lib 2019-07-05 08:13:07 +00:00
test_pd.py Ensure fip ip rules deleted when fip removed 2020-09-08 16:02:28 +01:00
test_tc_lib.py Fix the wrong value for QoS rate conversion to bytes/s 2020-06-24 17:22:02 +00:00
test_utils.py Fix race condition when getting cmdline 2019-09-18 21:32:33 -04:00
test_xenapi_root_helper.py Use os-xenapi for neutron when XenServer as hypervisor 2017-03-30 18:33:37 +00:00