Commit Graph

  • 2c1db0494c
    common: Cast via uintptr_t rather than unsigned long in UNCONST (#581) master Jessica Clarke 2026-01-09 21:56:25 +00:00
  • cd0b26953c
    options: Don't assume vsio options have an argument (#578) Roy Marples 2025-12-31 10:12:24 +00:00
  • 220f68c8e4 Adjust prior to stop another potential NULL deref fix_viso Roy Marples 2025-12-30 21:52:44 +00:00
  • 844c377b42 options: Don't assume vsio options have an argument Roy Marples 2025-12-30 21:45:48 +00:00
  • 33df3ed00b
    options: Ensure that an overly long bitflag string does not crash (#576) Roy Marples 2025-12-30 21:36:24 +00:00
  • e92ba41e9b options: Ensure that an overly long bitflag string does not crash fix-bitflag-maxlen Roy Marples 2025-12-30 07:52:43 +00:00
  • 63bfc6d296
    route: Routes may not have an interface assinged (#572) Roy Marples 2025-12-30 07:28:00 +00:00
  • 83eafa0975 route: Routes may not have an interface assinged fix-route-headclear Roy Marples 2025-12-28 12:17:45 +00:00
  • 117742d755
    options: Ensure ldop is not NULL dereferenced (#568) Roy Marples 2025-12-21 08:31:52 +00:00
  • f2a7340afd options: Ensure ldop is not NULL dereferenced if-options-null-deref Roy Marples 2025-12-14 11:33:04 +00:00
  • e38095369c ipv6nd: empty IPV6RA_EXPIRE eloop queue when dropping fix-ipv6nd-expire Roy Marples 2025-12-11 21:36:55 +00:00
  • 2de751b369
    IPv4: Ignore DHCP state when building routes (#557) Roy Marples 2025-12-04 09:26:57 +00:00
  • 9bb6f5df74 Set the fake flag on the route if the added state is fake dhcp-routes-added Roy Marples 2025-12-03 11:22:40 +00:00
  • a16c625bb9
    Fix fallback_time option (#562) Colin McInnes 2025-12-03 03:41:04 -06:00
  • 16a0bfbdd6 Move the vars for reading onto the stack and off the context privsep-recvmsg Roy Marples 2025-12-03 09:25:15 +00:00
  • cd75b08061 Don't work out buffers on a truncated header. Roy Marples 2025-11-30 12:58:38 +00:00
  • a3ce6980ad Improve comments. Roy Marples 2025-11-30 09:50:56 +00:00
  • 36d3dad9fc Return EBADMSG on recvmsg len mismatch Roy Marples 2025-11-30 09:40:07 +00:00
  • d25c0262b0 IPv4: Ignore DHCP state when building routes Roy Marples 2025-11-21 11:26:32 +00:00
  • 9c48f4c7dd DHCP6: Don't restart INFORM timers on subsequent failure. Roy Marples 2025-11-18 12:08:26 +00:00
  • 595c3059bb More minor comments. Roy Marples 2025-11-18 07:42:39 +00:00
  • 834a322fde Improve commentary for prior Roy Marples 2025-11-18 07:29:34 +00:00
  • f4446d50ef privsep: Ensure we recv for real after a successful recv MSG_PEEK Roy Marples 2025-11-17 22:49:01 +00:00
  • 385ff246cb Release dhcpcd-10.3.0 v10.3.0 Roy Marples 2025-11-14 15:38:04 +00:00
  • 4d41f7d752 eloop: remove epoll_pwait2 support Roy Marples 2025-11-14 15:34:51 +00:00
  • 8880b8afca eloop: Simplify ppoll a little Roy Marples 2025-11-14 15:05:39 +00:00
  • 3d3a3847fe install queue.h Roy Marples 2025-11-14 14:52:33 +00:00
  • 658f69dc71 eloop: Work with fortified compilers Roy Marples 2025-11-14 14:52:19 +00:00
  • 69fa922fa5 Adapt to new eloop. Roy Marples 2025-11-14 13:08:58 +00:00
  • 95f91f5ba1 eloop: Replace the inner eloop concept with waitfd Roy Marples 2025-11-14 13:08:21 +00:00
  • b6671a7757 BSD: Reject routes are not cloned/connected routes Roy Marples 2025-11-13 14:40:02 +00:00
  • 49d21813a3 script: STOP should not set if_down=true Roy Marples 2025-11-13 11:19:38 +00:00
  • 7efcb063cd eloop: formatting Roy Marples 2025-11-11 13:18:39 +00:00
  • 665b573d47
    Protocols will notify when dhcpcd can exit (#536) Roy Marples 2025-11-11 13:13:03 +00:00
  • ae22cf0599 dhcpcd: set exiting on the control socket release Roy Marples 2025-11-11 12:57:49 +00:00
  • 6c47ee771c dhcpcd: If globally exiting, ignore carrier Roy Marples 2025-11-11 12:47:27 +00:00
  • 9405a42f61 Fix exiting Roy Marples 2025-11-11 12:12:10 +00:00
  • 29a129f31c Merge branch 'master' into release Roy Marples 2025-11-11 11:52:32 +00:00
  • b573b9d87b eloop: Try and fix clean compile on all BSD Roy Marples 2025-11-11 11:32:12 +00:00
  • 0c26b5715d eloop: Fix epoll for prior Roy Marples 2025-11-11 11:20:31 +00:00
  • be3fd20f7c eloop: Simplify kqueue implementation Roy Marples 2025-11-11 11:07:21 +00:00
  • 2059c208ae dhcpcd: log error on eloop_signal_set_cb failure Roy Marples 2025-11-11 10:36:36 +00:00
  • c8d32f001b privsep: we might not have a root process Roy Marples 2025-11-11 07:21:09 +00:00
  • 9912225a21 eloop: Fix kqueue on FreeBSD Roy Marples 2025-11-10 22:22:02 +00:00
  • 20cee56872 compat: Fix sha256 on Dragonfly at least Roy Marples 2025-11-10 22:02:49 +00:00
  • 9c69fb33d0 eloop: exit all eloops when stopping on signals Roy Marples 2025-11-10 20:00:20 +00:00
  • c2068c057b eloop: for kqueue and epoll, grow the receiving event list as needed. Roy Marples 2025-11-10 19:44:01 +00:00
  • 5483c83a2e eloop: move label Roy Marples 2025-11-10 10:56:36 +00:00
  • 448ab77d79 eloop: work with old kernel vs new kernel headers Roy Marples 2025-11-10 10:44:27 +00:00
  • 4c91b77920 privsep: Drain the log when the root process is exiting Roy Marples 2025-11-05 10:00:55 +00:00
  • 4dce5d4338 privsep: test eloop error correctly Roy Marples 2025-11-04 09:18:57 +00:00
  • 3134f25d1b eloop: support epoll_pwait2 for kernels >= 5.11 Roy Marples 2025-11-03 19:16:25 +00:00
  • 5f92561b93 IPv4LL: free on nodrop Roy Marples 2025-11-03 14:56:39 +00:00
  • 93305c2850 DHCP6: release cleanly Roy Marples 2025-11-03 14:33:17 +00:00
  • 5738d9cbdd Check context options if no interface options are setup. If allows an interface to stop even if dhcpcd is not. Sime Zupanovic (EXT) 2025-10-16 17:27:30 +01:00
  • 7b15c54dda Run and document RELEASE. Roy Marples 2025-10-06 15:16:43 +01:00
  • 7ef3ba171c Fix some fallout. Roy Marples 2025-10-06 13:45:10 +01:00
  • 2ea8ec03b6 Minor improvements. Roy Marples 2025-10-06 13:16:15 +01:00
  • d41c505981 Protocols will notify when dhcpcd can exit Roy Marples 2025-10-06 12:30:21 +01:00
  • 8abf6b4894 eloop: total events to listen to is nfds, not nevents Roy Marples 2025-11-03 09:44:55 +00:00
  • 0f4b283de0 NetBSD: Delete RTF_CONNECTED route when changing it. Roy Marples 2025-11-02 06:44:27 +00:00
  • 8e1b036ad2 Fix compile on Alpine linux Roy Marples 2025-10-31 08:18:55 +00:00
  • e35e6c8d74 Fix eloop test Roy Marples 2025-10-31 07:38:38 +00:00
  • 3b187a7fcc privsep: Fix reading results from root process Roy Marples 2025-10-31 07:29:10 +00:00
  • 760a3d27f7 Fix compile with rbtree and queue on Linux Roy Marples 2025-10-31 07:28:53 +00:00
  • da32038b02 eloop: Fix a memory leak Roy Marples 2025-10-31 07:27:33 +00:00
  • d5536a344f Fix some fallout from prior Roy Marples 2025-10-30 19:08:32 +00:00
  • 60594cd12a Adjust for new eloop. Roy Marples 2025-10-30 14:09:28 +00:00
  • c4d6af24d3 eloop: Import latest from dhcpsd Roy Marples 2025-10-30 14:07:54 +00:00
  • e13bfe32b9 Use rbtree from vendor Roy Marples 2025-10-30 13:55:08 +00:00
  • b65a54c7a6 Merge branch 'vendor/RBTREE' Roy Marples 2025-10-30 11:53:06 +00:00
  • 64f653bba5 Use queue.h from vendor area rather than system supplied Roy Marples 2025-10-30 11:35:32 +00:00
  • f5b6f55272 Merge branch 'vendor/QUEUE' Roy Marples 2025-10-30 11:30:58 +00:00
  • 078c042eab Import rbtree.c v1.2 and rbtree.h v1.14 from NetBSD vendor/RBTREE Roy Marples 2025-10-30 11:22:30 +00:00
  • aa96ab1516 Import queue.h v1.77 from NetBSD vendor/QUEUE Roy Marples 2025-10-30 11:19:40 +00:00
  • 6fc45c222d Add vendor area Roy Marples 2025-10-30 11:16:29 +00:00
  • 2e3b0e548a When stopping all interfaces at exit and releasing, remove persistance. Roy Marples 2025-09-30 17:19:43 +01:00
  • 6e0483302b ipv6: respect slaac hwaddr to really use the hwaddr Roy Marples 2025-09-30 13:52:33 +01:00
  • 593c0a3353 Add a .clangd file to aid lsp. Roy Marples 2025-09-30 09:43:04 +01:00
  • 195e8bdc38 route: Don't change them when exiting with persistence. Roy Marples 2025-09-30 09:41:18 +01:00
  • b709538cbb
    privsep: enforce message boundaries with MSG_EOR on our messages (#533) Gleb Smirnoff 2025-09-30 00:54:35 -07:00
  • 6dcb1569fc ND Route Information Option prefix is optional optional Roy Marples 2025-09-13 12:45:50 +01:00
  • 4b7065a78f DHCP: Put the message type option first Roy Marples 2025-06-19 10:15:20 +01:00
  • 4dd7ebedbe DHCP6: Don't exit if using DHCP4 INFORM in non manager mode Roy Marples 2025-07-05 09:20:34 +01:00
  • 2c2058b02e DHCP: In the IP header set TTL of 128 and TOS to low delay dhcp_ip Roy Marples 2025-06-19 11:28:58 +01:00
  • 90811d9656 DHCP: Put the message type option first dhcp_option_order Roy Marples 2025-06-19 10:15:20 +01:00
  • 226a68edb9 DHCP: Request static_routes from dhcpcd.conf Roy Marples 2025-06-16 23:54:31 +01:00
  • 1d88866d50 DHCP: Don't request a lease time Roy Marples 2025-06-16 23:45:17 +01:00
  • f9fbe9420d Add truncate to defintions Roy Marples 2025-06-12 11:43:48 +01:00
  • c75b0b7019 Move /etc/dhcpcd.conf to /etc/dhcpcd/dhcpcd.conf etc_dhcpcd Roy Marples 2025-06-16 12:59:16 +01:00
  • b1c17c30ad DHCP: Don't request T1 and T2 Roy Marples 2025-06-15 22:23:13 +01:00
  • 93df2b254c Release dhcpcd-10.2.4 v10.2.4 Roy Marples 2025-06-01 19:40:28 +01:00
  • 46b6a361bb compat: use timingsafe_bcmp if available Roy Marples 2025-06-01 16:52:28 +01:00
  • 16d65603a8 IPv6ND: Sort routers by reachability correctly. Roy Marples 2025-05-21 00:54:58 +01:00
  • f7dab17411 defintions: define ND Route Information option Roy Marples 2025-05-20 23:59:31 +01:00
  • a35afcd891 IPv6: Clear previous address RA flags on receipt of a RA. Roy Marples 2025-05-20 22:10:41 +01:00
  • 6851f338dc route: return false for rt_add on failure rather than garbage Roy Marples 2025-05-20 20:27:49 +01:00
  • e20185bc09 Release dhcpcd-10.2.3 v10.2.3 Roy Marples 2025-05-16 13:30:35 +01:00
  • c5cd8d3206 Fix prior for FreeBSD and OpenBSD Roy Marples 2025-05-16 13:19:31 +01:00
  • b697f37ad7 IPv6: store the destination address Roy Marples 2025-05-16 13:12:22 +01:00