BIND 10 #878: Code to bind to address/port
BIND 10 Development
do-not-reply at isc.org
Thu Jun 30 13:26:54 UTC 2011
#878: Code to bind to address/port
-------------------------------------+-------------------------------------
Reporter: shane | Owner:
Type: | Status: new
enhancement | Milestone: Sprint-
Priority: major | DHCP-20110712
Component: dhcp | Resolution:
Keywords: | Sensitive: 0
Defect Severity: N/A | Sub-Project: DHCP
Feature Depending on Ticket: dhcp- | Estimated Difficulty: 3.0
echo | Total Hours: 0
Add Hours to Ticket: 0 |
Internal?: 0 |
-------------------------------------+-------------------------------------
Comment (by tomek):
Changes to this ticket grew up a bit. Besides simple binding address/port,
it also provides DHCPv6 echo server that sends received messages back to
clients. To achieve this, changes also cover:
- Pkt6 class - for handling packets
- Addr6 class - for address conversion and storage
- IfaceMgr class - a wrapper around socket creation, sending, receiving
data, interface detection (not functional yet, stubbed for now)
- Dhcpv6Srv class - this will become full featured DHCPv6 server, but it
just echoes the data back to clients.
There are 12 tests implemented using gtest. This is the first time I used
gtest, and I haven't had time to read the whole tutorial properly, so
there may be odd things in there.
The code is less commented that I would like it to be. I'll document it
once I get back from vacation.
As there is no interface detection implemented, stub for that is
developed. Instead of reading information about available interfaces, it
just reads first line from interfaces.txt and binds to specified address
and interface. This temporary functionality will go away as soon as
interface detection is implemented.
Please review.
--
Ticket URL: <http://bind10.isc.org/ticket/878#comment:4>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list