<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/networking, branch cng_backend</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cng_backend</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cng_backend'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2025-05-19T07:34:32+00:00</updated>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2025-05-19T07:34:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-05-19T07:34:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=64bf69893bd99c305d13a956389f216e7d15c682'/>
<id>urn:sha1:64bf69893bd99c305d13a956389f216e7d15c682</id>
<content type='text'>
</content>
</entry>
<entry>
<title>udhcpd: send DHCPOFFERs as unicast (unless clients specifically asks for bcast)</title>
<updated>2025-04-07T00:46:39+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-04-07T00:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d2d23c848acd6f336d9b0edae613eef443a6de20'/>
<id>urn:sha1:d2d23c848acd6f336d9b0edae613eef443a6de20</id>
<content type='text'>
RFC 2131 says we should do that.
Evidently, since for so many years no one complained, sending them broadcast
works too, but finally we've got someone who wants RFC-compliand behavior.

function                                             old     new   delta
send_packet                                          141     179     +38
.rodata                                           105680  105681      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 39/0)               Total: 39 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: fix copy-paste error in "generate a consistent IAID" commit</title>
<updated>2025-02-09T14:09:15+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-02-09T14:09:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=887295686dbc69e5b2d530f0e6a8dbf94094ac9f'/>
<id>urn:sha1:887295686dbc69e5b2d530f0e6a8dbf94094ac9f</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: generate a consistent IAID</title>
<updated>2025-02-09T12:51:33+00:00</updated>
<author>
<name>Zhou Siqi</name>
<email>zhousiqi5@huawei.com</email>
</author>
<published>2025-02-09T12:50:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=411543949605fd7e9c996a0a2aadf8b344a4ced0'/>
<id>urn:sha1:411543949605fd7e9c996a0a2aadf8b344a4ced0</id>
<content type='text'>
Currently, udhcpc6 does not meet the requirements for
Identity Association in RFC 3315.
This is a specific explanation in RFC 3315 protocol:
https://datatracker.ietf.org/doc/html/rfc3315#section-10
"The IAID uniquely identifies the IA and must be chosen to be unique
   among the IAIDs on the client.  The IAID is chosen by the client.
   For any given use of an IA by the client, the IAID for that IA MUST
   be consistent across restarts of the DHCP client."
This patch makes the client generate a consistent IAID based on the MAC address.

function                                             old     new   delta
send_d6_discover                                     285     270     -15

Signed-off-by: Zhou Siqi &lt;zhousiqi5@huawei.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: move block comment, no code changes</title>
<updated>2025-02-09T11:54:50+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-02-09T11:54:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=779cca899fbf0cd398fdcff266fec693b507854f'/>
<id>urn:sha1:779cca899fbf0cd398fdcff266fec693b507854f</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>udhcpc6: improvements</title>
<updated>2025-02-09T11:52:02+00:00</updated>
<author>
<name>Laurent Bercot</name>
<email>ska-dietlibc@skarnet.org</email>
</author>
<published>2025-02-09T11:50:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ef21820dc9dd7520cc89469ef2b9d7387c7be78b'/>
<id>urn:sha1:ef21820dc9dd7520cc89469ef2b9d7387c7be78b</id>
<content type='text'>
Several small improvements to udhcpc6.

- Remove usage text for the nonexistent -B option.
- Fix a segfault when renewing an IA_PD lease without IA_NA (which means
the client hasn't been assigned an ip, so we cannot locally bind to it).
- Fix NAK management: check the option length, and print the status code
and status message
- Add a -m option to always send renew requests as multicast.

 These last two changes are useful to deal with hopelessly broken DHCPv6
servers such as the one from the Orange Livebox (one of the main French
ISPs) which I'm currently having the displeasure to have to talk to,
hence the patch.

function                                             old     new   delta
static.send_d6_renew                                   -     126    +126
.rodata                                           105598  105649     +51
udhcpc6_main                                        2607    2650     +43
packed_usage                                       34933   34953     +20
d6_send_kernel_packet_from_client_data_ifindex       266     282     +16
send_d6_renew                                        174       -    -174
------------------------------------------------------------------------------
(add/remove: 1/1 grow/shrink: 4/0 up/down: 256/-174)           Total: 82 bytes

Signed-off-by: Laurent Bercot &lt;ska-dietlibc@skarnet.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2024-10-08T07:47:44+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-10-08T07:46:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2fe27c6dbf3c752edbfddfd48c15bab55b3ab8de'/>
<id>urn:sha1:2fe27c6dbf3c752edbfddfd48c15bab55b3ab8de</id>
<content type='text'>
</content>
</entry>
<entry>
<title>networking/libiproute/iplink.c: fix support for older kernels</title>
<updated>2024-10-06T16:25:01+00:00</updated>
<author>
<name>Thomas Devoogdt</name>
<email>thomas@devoogdt.com</email>
</author>
<published>2024-10-04T13:32:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=8953429a8253176adda4dcfbed4738e55ee3b8ea'/>
<id>urn:sha1:8953429a8253176adda4dcfbed4738e55ee3b8ea</id>
<content type='text'>
- The CAN netlink interface has been added in Linux v2.6.31 with only 3 options [1]:

  CAN_CTRLMODE_LOOPBACK    0x1  /* Loopback mode */
  CAN_CTRLMODE_LISTENONLY  0x2  /* Listen-only mode */
  CAN_CTRLMODE_3_SAMPLES   0x4  /* Triple sampling mode */

  So define the other options.

- IFLA_CAN_TERMINATION has been added in Linux 4.11 [2],
  define it for older kernels.

[1] https://github.com/torvalds/linux/blob/v2.6.31/include/linux/can/netlink.h#L80-L82
[2] https://github.com/torvalds/linux/commit/12a6075cabc0d9ffbc0366b44daa22f278606312

Signed-off-by: Thomas Devoogdt &lt;thomas@devoogdt.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2024-09-28T07:13:32+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2024-09-28T07:13:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=431e2704c17d5c0e51a0cbebfb1105bd4962b3f7'/>
<id>urn:sha1:431e2704c17d5c0e51a0cbebfb1105bd4962b3f7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wget: fix compile warnings when WGET_FTP is not selected</title>
<updated>2024-09-26T14:27:10+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2024-09-26T14:27:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a667a7f02066ce1a6de568d75f1062f525b3c2f0'/>
<id>urn:sha1:a667a7f02066ce1a6de568d75f1062f525b3c2f0</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
