{"id":28531413,"url":"https://github.com/openwrt/odhcp6c","last_synced_at":"2025-07-07T13:32:01.611Z","repository":{"id":5641566,"uuid":"6850110","full_name":"openwrt/odhcp6c","owner":"openwrt","description":"This repository is a mirror of https://git.openwrt.org/?p=project/odhcp6c.git. It is for reference only and is not active for checks-ins or reporting issues; issues should be reported at: https://bugs.openwrt.org. Pull requests will be accepted which will be merged in odhcp6c.git ","archived":false,"fork":false,"pushed_at":"2025-02-06T21:18:46.000Z","size":540,"stargazers_count":78,"open_issues_count":23,"forks_count":97,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-06-09T15:12:12.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"etsy/wpt-script","license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openwrt.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-11-25T11:18:28.000Z","updated_at":"2025-03-23T13:38:49.000Z","dependencies_parsed_at":"2024-11-10T21:25:51.297Z","dependency_job_id":"d21a6164-2567-4b0f-b075-dc3a299f57cf","html_url":"https://github.com/openwrt/odhcp6c","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/openwrt/odhcp6c","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwrt%2Fodhcp6c","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwrt%2Fodhcp6c/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwrt%2Fodhcp6c/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwrt%2Fodhcp6c/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openwrt","download_url":"https://codeload.github.com/openwrt/odhcp6c/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openwrt%2Fodhcp6c/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264085618,"owners_count":23555221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-09T15:10:29.511Z","updated_at":"2025-07-07T13:32:01.605Z","avatar_url":"https://github.com/openwrt.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"odhcp6c - Embedded DHCPv6 Client\n\n\n** Abstract **\n\nodhcp6c is a minimal DHCPv6 and RA-client for use in embedded Linux systems\nespecially routers. It compiles to only about 35 KB (-Os -s).\n\n\n** Features **\n\n1. IPv6 bootstrap from different environments with autodetection\n\ta) RA only\n\tb) RA + stateless DHCPv6\n\tc) RA + stateful DHCPv6 (either IA_NA or IA_PD or both)\n\n2. Handling of non-temporary addresses (IA_NA)\n\ta) handling of valid and preferred lifetimes\n\tb) automatic fallback to stateless or PD-only mode\n\n3. Support for DHCPv6 extension\n\ta) Reconfigure-Messages\n\tb) Prefix Delegation (including handling of valid and preferred lifetimes)\n\tc) Prefix Exclusion\n\td) DNS Configuration Options\n\te) NTP Options\n\tf) SIP Options\n\tg) Information-Refresh Options\n\th) Configurable SOL_MAX_RT\n\ti) DS-Lite AFTR-Name Option\n\tj) Softwire address and port mapped clients (MAP, LW4over6)\n\tj) CER-ID (experimental)\n\tk) Server unicast Option\n\n4. Support for requesting and parsing Router Advertisements\n\ta) parsing of prefixes, routes, MTU and RDNSS options\n\n\n** Compiling **\n\nodhcp6c uses cmake:\n* To prepare a Makefile use:  \"cmake .\"\n* To build / install use: \"make\" / \"make install\" afterwards.\n* To build DEB or RPM packages use: \"make package\" afterwards.\n\n\n** State Script **\n\nThe state script is called whenever the DHCPv6 state changes.\nThe script is called with the following parameters: \u003cinterface\u003e \u003cstate\u003e\n\n\nStates:\n* started\t\tThe DHCPv6 client has been started\n* bound\t\t\tA suitable server was found and addresses or prefixes acquired\t\t\n* informed\t\tA stateless information request returned updated information\n* updated\t\tUpdated information was received from the DHCPv6 server\n* ra-updated\t\tUpdated information was received from via Router Advertisement\n* rebound\t\tThe DHCPv6 client switched to another server\n* unbound\t\tThe DHCPv6 client lost all DHCPv6 servers and will restart\n* stopped\t\tThe DHCPv6 client has been stopped\n\n\nEnvironment:\n* RDNSS\t\t\tA space-separated list of recursive DNS servers\n* DOMAINS\t\tA space-separated list of DNS search domains\n* SNTP_IP\t\tA space-separated list of SNTP server IP addresses\n* SNTP_FQDN\t\tA space-separated list of SNTP server FQDNs\n* SIP_IP\t\tA space-separated list of SIP servers\n* SIP_DOMAIN\t\tA space-separated list of SIP domains\n* OPTION_\u003cnum\u003e\t\tCustom option received as base-16\n* PREFIXES\t\tA space-separated list of prefixes currently assigned\n\t\t\t\tFormat: \u003cprefix\u003e/\u003clength\u003e,preferred,valid[,excluded=\u003cexcluded-prefix\u003e/\u003clength\u003e][,class=\u003cprefix class #\u003e]\n* ADDRESSES\t\tA space-separated list of addresses currently assigned\n\t\t\t\tFormat: \u003caddress\u003e/\u003clength\u003e,preferred,valid\n* RA_ADDRESSES\t\tA space-separated list of addresses from RA-prefixes\n\t\t\t\tFormat: \u003caddress\u003e/\u003clength\u003e,preferred,valid\n* RA_ROUTES\t\tA space-separated list of routes from the RA\n\t\t\t\tFormat: \u003caddress\u003e/\u003clength\u003e,gateway,valid,metric\n* RA_DNS\t\tA space-separated list of recursive DNS servers from the RA\n* RA_DOMAINS\t\tA space-separated list of DNS search domains from the RA\n* RA_HOPLIMIT\tHighest hop-limit received in RAs\n* RA_MTU\t\tMTU-value received in RA\n* RA_REACHABLE\tND Reachability time\n* RA_RETRANSMIT\tND Retransmit time\n* AFTR\t\t\tThe DS-Lite AFTR domain name\n* MAPE / MAPT / LW4O6\tSoftwire rules for MAPE, MAPT and LW4O6\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenwrt%2Fodhcp6c","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenwrt%2Fodhcp6c","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenwrt%2Fodhcp6c/lists"}