BIND 10 #2784: perfdhcp cores when given command line "-6" and v4 server address
BIND 10 Development
do-not-reply at isc.org
Wed Feb 20 13:11:55 UTC 2013
#2784: perfdhcp cores when given command line "-6" and v4 server address
-------------------------------------+-------------------------------------
Reporter: tmark | Owner:
Type: | Status: new
defect | Milestone: DHCP
Priority: | Outstanding Tasks
medium | Keywords:
Component: | Sensitive: 0
perfdhcp | Sub-Project: DNS
CVSS Scoring: | Estimated Difficulty: 0
Defect Severity: N/A | Total Hours: 0
Feature Depending on Ticket: |
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
If you give perfdhcp mismatched protocol (-6) and server address v4 it
core dumps as shown in the stdout capture below:
--------------------------------------------------------------------------------
Running: perfdhcp -6 -l eth1 -n 5 -r 1 -x aeistT 172.16.1.1
IPv6
:
terminate called after throwing an instance of
'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<std::bad_cast>
>'
what(): std::bad_cast
Aborted (core dumped)
retval is 134
--------------------------------------------------------------------------------
If you give it -4 with v6 address it gracefully handles the error:
--------------------------------------------------------------------------------
Running: perfdhcp -4 -l eth1 -n 5 -r 1 -x aeistT fe80::20c:29ff:fea5:954a
IPv4
:
Error running perfdhcp: Can't convert fe80::20c:29ff:fea5:954a address to
IPv4.
retval is 1
--------------------------------------------------------------------------------
--
Ticket URL: <http://bind10.isc.org/ticket/2784>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list