Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NetworkConfiguration/dhcpcd
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.3.0
Choose a base ref
...
head repository: NetworkConfiguration/dhcpcd
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.3.1
Choose a head ref
  • 17 commits
  • 18 files changed
  • 5 contributors

Commits on Nov 18, 2025

  1. Configuration menu
    Copy the full SHA
    9c48f4c View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2025

  1. Fix fallback_time option (#562)

    Fallback time option was updating request_time instead of fallback_time.
    
    Resolves #561
    ColinMcInnes authored Dec 3, 2025
    Configuration menu
    Copy the full SHA
    a16c625 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2025

  1. IPv4: Ignore DHCP state when building routes (#557)

    * IPv4: Ignore DHCP state when building routes
    
    As this will change periodically.
    We only care if the state (address) has been added.
    
    Fixes #440 thanks to JognSmit.
    rsmarples authored Dec 4, 2025
    Configuration menu
    Copy the full SHA
    2de751b View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2025

  1. options: Ensure ldop is not NULL dereferenced (#568)

    ldop itself cannot be non NULL as it points to the location.
    but *ldop CAN be NULL.
    
    Fixes #567.
    rsmarples authored Dec 21, 2025
    Configuration menu
    Copy the full SHA
    117742d View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2025

  1. route: Routes may not have an interface assinged (#572)

    As such, we cannot access dhcpcd_ctx so we can't use the free
    route list.
    Fixes #571.
    rsmarples authored Dec 30, 2025
    Configuration menu
    Copy the full SHA
    63bfc6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    33df3ed View commit details
    Browse the repository at this point in the history

Commits on Dec 31, 2025

  1. options: Don't assume vsio options have an argument (#578)

    * options: Don't assume vsio options have an argument
    
    Should fix #577.
    rsmarples authored Dec 31, 2025
    Configuration menu
    Copy the full SHA
    cd0b269 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2026

  1. common: Cast via uintptr_t rather than unsigned long in UNCONST (#581)

    On ILP32 and LP64 systems, unsigned long is sufficient to round-trip
    pointers, but on LLP64 systems it is too small, and on systems like
    CHERI where pointers are capabilities, it does not propagate capability
    metadata, and casting back to a pointer to yield a pointer that cannot
    be dereferenced.
    
    Instead, cast via uintptr_t to ensure we always use an integral type
    that can losslessly round-trip pointers.
    jrtc27 authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    2c1db04 View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2026

  1. privsep: Ensure we recv for real after a successful recv MSG_PEEK

    * privsep: Ensure we recv for real after a successful recv MSG_PEEK
    
    Adjust the code flow so that the same errors would be caught
    after the final recv.
    This ensures we read what is really meant for us and not
    something silly.
    
    Return EBADMSG on recvmsg len mismatch.
    rsmarples authored Feb 17, 2026
    2 Configuration menu
    Copy the full SHA
    661cdbd View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2026

  1. DHCP: Add parentheses to macro definitions

    Missing parentheses in IP_UDP_SIZE caused wrong computation of MSZ
    (option57). When mtu is 1500, current MSZ value is 1488=1500-20+8, while
    the correct value should be 1472=1500-(20+8).
    
    Also added parentheses for BOOTP_MIN_MTU.
    acst1223 authored Feb 26, 2026
    Configuration menu
    Copy the full SHA
    f48f695 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2a3fb4e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b233813 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2026

  1. Configuration menu
    Copy the full SHA
    84c95b6 View commit details
    Browse the repository at this point in the history
  2. manager: Fix loosing iface options on CARRIER

    When an interface (re-)gains carrier dhcpcd_handlecarrier() runs
    dhcpcd_initstate() to kick off profile re-selection. Previously this used
    args originally passed when starting the manager (ctx->argv).
    
    However interfaces started via the manager control
    interface (dhcpcd_initstate1() in dhcpcd_handleargs()) may be started with
    different args.
    
    For example if we start a manager with
    
        dhcpcd -M --inactive
    
    and then start only IPv4 on an interface with
    
        dhcpcd -4 iface0
    
    a subsequent CARRIER event will reset the interface to what amounts to
    "default config + `-M --inactive`" which in this case will enable ipv6
    also!
    
    To fix this we keep a copy of the arguments used to start an interface in
    the manager (dhcpcd_handleargs()) code path around around (ifp->argv).
    
    In the current implementation args passed for renew following the initial
    interface start will not be persisted. This causes the interface to reset
    to a state of "defaults + config + profile + start-cmdline".
    
    For example (continuing the scenario above) after enabling ipv6 with -n:
    
        $ dhcpcd -6 -n iface0
    
    A subsequent CARRIER event will disable ipv6 again as the effective
    arguments remain `-4 iface0` as passed during interface start.
    
    Note the per-interface daemon code path wasn't affected as ctx->args
    already contains the interface start args.
    DanielG authored and rsmarples committed Mar 6, 2026
    Configuration menu
    Copy the full SHA
    288eb43 View commit details
    Browse the repository at this point in the history
  3. BSD: don't send uninitialised memory using ps_root_indirectioctl

    This will affect FreeBSD and OpenBSD.
    Use sendmsg to send the length of the interface name, then the
    interface name and then the data rather than just sending
    IFNAMSIZ which may have uninitialised bytes at the end.
    
    Opimise ps_sendcmdmsg while here.
    Hopefully helps #565 but I'm not hopeful.
    rsmarples committed Mar 6, 2026
    Configuration menu
    Copy the full SHA
    5272125 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2026

  1. Fix guards for prior

    rsmarples committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    ec8f583 View commit details
    Browse the repository at this point in the history
  2. Release dhcpcd-10.3.1

    rsmarples committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    42ff6d2 View commit details
    Browse the repository at this point in the history
Loading