<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dhcpcd.git, branch dhcpcd-7.0.0-rc1</title>
<subtitle>DHCP / IPv4LL / IPv6RA / DHCPv6 client
</subtitle>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/'/>
<entry>
<title>Prepare dhcpcd-7.0.0-rc1</title>
<updated>2017-05-10T10:24:28+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-05-10T10:24:28+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=98876918a5bc7ffa523d9871efcb5366e51d1181'/>
<id>98876918a5bc7ffa523d9871efcb5366e51d1181</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove more prefix delegation code for small binaries.</title>
<updated>2017-05-09T11:40:28+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-05-09T11:40:28+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=895a1ae3a1e2ab7d9e1724db2ce5e449c5c2eb26'/>
<id>895a1ae3a1e2ab7d9e1724db2ce5e449c5c2eb26</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't crash when --static routers= is given on the command line.</title>
<updated>2017-05-09T11:29:40+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-05-09T11:29:40+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=2065e8ebca903aabd075e6ee0da8d9f372f54756'/>
<id>2065e8ebca903aabd075e6ee0da8d9f372f54756</id>
<content type='text'>
T116 will make it work for the control socket.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
T116 will make it work for the control socket.
</pre>
</div>
</content>
</entry>
<entry>
<title>Restore -G, --nogateway.</title>
<updated>2017-05-09T11:06:18+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-05-09T11:06:18+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=feb553d056eafa3e3c13c581d9c36d8bcb7b9a1d'/>
<id>feb553d056eafa3e3c13c581d9c36d8bcb7b9a1d</id>
<content type='text'>
Because T116 is not fixed.
This reverts 0b27f5d7cf4c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because T116 is not fixed.
This reverts 0b27f5d7cf4c.
</pre>
</div>
</content>
</entry>
<entry>
<title>Install dhcpcd-definitions.conf to correct directory.</title>
<updated>2017-05-08T08:34:11+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-05-08T08:34:11+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=ee45a6a4588bf161cc7bade6ccb7aa640085391e'/>
<id>ee45a6a4588bf161cc7bade6ccb7aa640085391e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply the real D108 patch, my bad.</title>
<updated>2017-05-05T13:59:00+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-05-05T13:59:00+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=f7a993c665e0f72a1e439012ccf273d6db743dc3'/>
<id>f7a993c665e0f72a1e439012ccf273d6db743dc3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>DHCPv6: deprecate addresses on stale leases.</title>
<updated>2017-05-05T13:26:46+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-04-24T19:50:45+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=70b3759d1bcbab124ce831d5ebfe00081608f7af'/>
<id>70b3759d1bcbab124ce831d5ebfe00081608f7af</id>
<content type='text'>
Summary:
When a DHCPv6 Address or Prefix Delegation is leased, it may not be renewed as a
different one could be assigned. In this situation, we should
prompt the kernel to prefer this new one by deprecating the old
one. This is achieved by setting it's pltime to zero.

Related to T114.

Test Plan:
Configure your DHCPv6 server to assign a delegation from Pool A.
Configure dhcpcd to lease a Prefix delegation and assign it
to a downstream interface.
Start dhcpcd.
Configure your DHCPv6 server to asssign a delegation from Pool B.
Down/Up the link dhcpcd is using.
dhcpcd should assign the new delegation and depreate the old
by marking it's pltime as zero.

Reviewers: sthen, Harri

Reviewed By: Harri

Differential Revision: https://dev.marples.name/D108
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
When a DHCPv6 Address or Prefix Delegation is leased, it may not be renewed as a
different one could be assigned. In this situation, we should
prompt the kernel to prefer this new one by deprecating the old
one. This is achieved by setting it's pltime to zero.

Related to T114.

Test Plan:
Configure your DHCPv6 server to assign a delegation from Pool A.
Configure dhcpcd to lease a Prefix delegation and assign it
to a downstream interface.
Start dhcpcd.
Configure your DHCPv6 server to asssign a delegation from Pool B.
Down/Up the link dhcpcd is using.
dhcpcd should assign the new delegation and depreate the old
by marking it's pltime as zero.

Reviewers: sthen, Harri

Reviewed By: Harri

Differential Revision: https://dev.marples.name/D108
</pre>
</div>
</content>
</entry>
<entry>
<title>IPv6: show actual address lifetimes being applied</title>
<updated>2017-05-05T13:26:12+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-04-26T08:57:16+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=644335978a4064eb586084b557c2436b608eadc4'/>
<id>644335978a4064eb586084b557c2436b608eadc4</id>
<content type='text'>
Summary:
For IPv6, the acquisition time of the address is stored.
When adding the address during a refresh, the valid and preferred
times are decreased by the difference between the acquisition time
and the current time. This is not shown in the logs, but it should
be otherwise you could be confused by a prefix adding an address,
but it really came from a stale lease.

While here, if vltime overflows then log an error and zero it.
This effectively removes the address when it's added.

Related to T114.

Test Plan:
Configure your DHCPv6 server to lease a Prefix from Pool A.
Configure dhcpcd to request a Prefix Delegation and assign to
a downstream interface.
Start dhcpcd.
Configure your DHCPv6 server to lease a Prefix from Pool B.
Observe dhcpcd debug logs - it should note that addresses
previously assigned from group A have decreasing valid times.

Reviewers: Harri

Reviewed By: Harri

Differential Revision: https://dev.marples.name/D110
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
For IPv6, the acquisition time of the address is stored.
When adding the address during a refresh, the valid and preferred
times are decreased by the difference between the acquisition time
and the current time. This is not shown in the logs, but it should
be otherwise you could be confused by a prefix adding an address,
but it really came from a stale lease.

While here, if vltime overflows then log an error and zero it.
This effectively removes the address when it's added.

Related to T114.

Test Plan:
Configure your DHCPv6 server to lease a Prefix from Pool A.
Configure dhcpcd to request a Prefix Delegation and assign to
a downstream interface.
Start dhcpcd.
Configure your DHCPv6 server to lease a Prefix from Pool B.
Observe dhcpcd debug logs - it should note that addresses
previously assigned from group A have decreasing valid times.

Reviewers: Harri

Reviewed By: Harri

Differential Revision: https://dev.marples.name/D110
</pre>
</div>
</content>
</entry>
<entry>
<title>DHCPv6: drop Prefix Delegations when dropping the lease.</title>
<updated>2017-05-05T13:25:02+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-05-02T18:58:19+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=d0958b8934d88652b0683a2364c7079d73fca8f2'/>
<id>d0958b8934d88652b0683a2364c7079d73fca8f2</id>
<content type='text'>
Summary:
When dropping the lease, we should drop any Delegated Prefixes
as well, because they are from the lease.
Add a note to say if this needs to be changed, at least mark
the Delegated Prefixes as deprecated.

Fixes T114.

Test Plan:
Configure dhcpcd to request a Prefix Delegation and assign it to a downstream
interface.
Bring the interface down which dhcpcd requests the delegation from.
dhcpcd should remove the assigned delegation from the other interface.

Reviewers: Harri

Reviewed By: Harri

Maniphest Tasks: T114

Differential Revision: https://dev.marples.name/D111
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
When dropping the lease, we should drop any Delegated Prefixes
as well, because they are from the lease.
Add a note to say if this needs to be changed, at least mark
the Delegated Prefixes as deprecated.

Fixes T114.

Test Plan:
Configure dhcpcd to request a Prefix Delegation and assign it to a downstream
interface.
Bring the interface down which dhcpcd requests the delegation from.
dhcpcd should remove the assigned delegation from the other interface.

Reviewers: Harri

Reviewed By: Harri

Maniphest Tasks: T114

Differential Revision: https://dev.marples.name/D111
</pre>
</div>
</content>
</entry>
<entry>
<title>When using gcc, add the -Wlogical-op flag when debugging.</title>
<updated>2017-05-04T07:54:52+00:00</updated>
<author>
<name>Roy Marples</name>
<email>roy@marples.name</email>
</author>
<published>2017-05-04T07:54:52+00:00</published>
<link rel='alternate' type='text/html' href='https://roy.marples.name/cgit/dhcpcd.git/commit/?id=42fcdf6c42326c42a6f98a813c672fd4b73c9c59'/>
<id>42fcdf6c42326c42a6f98a813c672fd4b73c9c59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
