Opened 7 years ago

Closed 5 years ago

#2628 closed defect (wontfix)

python missing IPv6 support

Reported by: jreed Owned by: UnAssigned
Priority: medium Milestone: Remaining BIND10 tickets
Component: libdns++ Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: Low
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description

I am fine with stalling or closing this ticket for now. But I am entering these details so that someone searching about a failure will have notes about it.

If python is missing IPv6 support, the build will fail with:

message_fromWire19.wire ../../../../../../src/lib/dns/tests/testdata/message_fromWire19.spec
Traceback (most recent call last):
  File "../../../../../src/lib/util/python/gen_wiredata.py", line 1275, in <module>
    obj.dump(output)
  File "../../../../../src/lib/util/python/gen_wiredata.py", line 691, in dump
    bin_address = socket.inet_pton(socket.AF_INET6, self.address)
socket.error: can't use AF_INET6, IPv6 is disabled
*** Error code 1

Or tests may fail like:

[ RUN      ] MessageTest.fromWireCombineRRs
unknown file: Failure
C++ exception with description "IN/AAAA RDATA construction from wire failed: insufficient buffer length: 0" thrown in the test body.
[  FAILED  ] MessageTest.fromWireCombineRRs (1 ms)
[ RUN      ] MessageTest.fromWirePreserveAnswer
unknown file: Failure
C++ exception with description "IN/AAAA RDATA construction from wire failed: insufficient buffer length: 0" thrown in the test body.
[  FAILED  ] MessageTest.fromWirePreserveAnswer (1 ms)

Subtickets

Change History (4)

comment:1 Changed 7 years ago by shane

  • Defect Severity changed from N/A to Low
  • Milestone New Tasks deleted

This actually touches on a bigger issue. We haven't tested our system in either IPv4-only or IPv6-only scenarios. Certainly IPv6-only will be important someday, and IPv4-only may be important in some environments today.

comment:2 Changed 7 years ago by jreed

Also see #2841 (duplicate?)

comment:3 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:4 Changed 5 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This issue is related to bind10 code that is no longer part of Kea.

If you are interested in BIND10/Bundy framework or its DNS components,
please check http://bundy-dns.de.

Closing ticket.

Note: See TracTickets for help on using tickets.