designate/designate/tests
Graham Hayes d72c652013 Ensure we do not pass invalid data for A records
DNSPython does not allow IPs to have leading zeros
for A records [1] and eventlet agrees [2], so we should
ensure we do not create a situation where a project can
DOS itself.

This patch uses the DNSPython method to ensure it is kept in sync

1 - https://github.com/rthalley/dnspython/blob/v1.15.0/dns/ipv4.py#L52-L54
2 - https://github.com/eventlet/eventlet/blob/v0.20.0/eventlet/support/dns/ipv4.py#L52-L54

Partial-Bug: 1760833
Change-Id: I975b18d390647de9fe11c105cd421b761f88be6c
2018-04-11 15:34:15 +01:00
..
resources Update the description of pool-2 in multiple-pools.yaml 2017-11-13 09:56:03 +08:00
test_agent Remove usage of parameter enforce_type 2017-05-22 22:45:14 +08:00
test_api Merge "Keep NS records for subdomains during Zone import." 2018-03-05 04:04:40 +00:00
test_backend Merge "Fix issues with value pool-manger and bind9 tests" 2017-06-09 12:11:18 +00:00
test_central Migrate object to OVO 2018-02-25 16:05:06 +00:00
test_mdns Unskip and fix handler tests in py3 2017-05-23 14:47:22 +02:00
test_network_api Update email addresses hp.com to hpe.com 2016-01-11 14:29:33 +00:00
test_notification_handler Remove deprecated cfg in notification and add format-v6 test 2017-07-17 06:21:50 +00:00
test_objects Add validation for MX, TXT, and SSHFP records 2016-01-26 15:17:27 -06:00
test_pool_manager Migrate object to OVO (4) 2018-02-25 16:07:38 +00:00
test_producer Worker Model 2016-08-24 14:54:31 +00:00
test_quota Update email addresses hp.com to hpe.com 2016-01-11 14:29:33 +00:00
test_resources Remove unused V2 schemas 2015-07-21 12:04:07 +01:00
test_schema Remove v1 API 2018-01-11 14:13:43 +00:00
test_storage Use designate.utils.generate_uuid instead of str(uuid.uuid4) 2017-01-16 16:12:08 +07:00
test_workers Remove old functional tests 2017-03-08 12:46:26 +00:00
unit Ensure we do not pass invalid data for A records 2018-04-11 15:34:15 +01:00
__init__.py Fix issue with 'priority' value in pool_ns_record 2017-06-05 23:04:18 +07:00
fixtures.py Remove translation of log messages 2018-03-14 12:54:05 -07:00
test_context.py Restrict editing of managed records to policy based ACL 2015-04-09 11:39:51 +01:00
test_coordination.py Merge "Retry Coordinator start indefinitely" 2016-01-14 15:19:09 +00:00
test_dnsutils.py Update email addresses hp.com to hpe.com 2016-01-11 14:29:33 +00:00
test_hookpoints.py Use six.iterkeys(x) instead of x.keys() 2015-07-01 00:18:40 +05:30
test_sqlalchemy.py Update email addresses hp.com to hpe.com 2016-01-11 14:29:33 +00:00
test_utils.py Remove v1 API 2018-01-11 14:13:43 +00:00