summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAge
* Add sa_cpy. While here allow NULL in sa_cmp.iaRoy Marples2018-08-27
|
* Release dhcpcd-7.0.8dhcpcd-7.0.8Roy Marples2018-08-20
|
* Remove redundant assignmentRoy Marples2018-08-19
|
* ConsistencyRoy Marples2018-08-19
|
* BSD: Silence debug when address no longer exists when getting flagsRoy Marples2018-08-17
|
* Workaround NetBSD-7 sending an invalid bcast address in RTM_NEWADDRRoy Marples2018-08-17
|
* NetBSD-7 has an incomplete IP_PKTINFO implementation.Roy Marples2018-08-17
| | | | | It only works for receiving data, not sending it. We only need it to send, so pretend it doesn't exist.
* ipv4: add broadcast address to RTM_NEWADDR debugRoy Marples2018-08-17
|
* Fix a promotion caught with gcc -fsanitize=undefined.Kamil Rytarowski2018-07-25
|
* Release dhcpcd-7.0.7dhcpcd-7.0.7Roy Marples2018-07-24
|
* Make config.h more prettyRoy Marples2018-07-24
|
* Some systems mark a host route using RTF_HOST and some use anRoy Marples2018-07-15
| | | | | | | all-ones netmask. For the former, only test netmask for equality if both routes lack the RTF_HOST marking.
* linux: set RTF_HOST correctly when reading kernel routes.Roy Marples2018-07-02
| | | | | | Linux has no real concept of host routes, but dhcpcd does purely for describing them. As such, mark them has host routes if the netmask if all ones.
* linux: fix adding host routesRoy Marples2018-07-01
|
* ip6: use vlanid if present in working out stable private addressesRoy Marples2018-06-23
| | | | | dhcpcd doesn't allow address sharing currently, so this is a needed change for vlan users.
* Release dhcpcd-7.0.6dhcpcd-7.0.6Roy Marples2018-06-21
|
* Fix my dumb mistake with the compile fixes which caused dhcpcd toRoy Marples2018-06-15
| | | | ignore carrier loss on IPv4 addresses.
* duid: Implement RFC 6355Roy Marples2018-06-05
| | | | | If no duid file is present and a system UUID exists, use that for a DUID-UUID, otherwise proceed as before.
* dhcp: Fix more fallout for builds without IPv4LLdhcpcd-7.0.5bRoy Marples2018-06-04
|
* build: Allow a suffix to be specified on the dist tarball.dhcpcd-7.0.5aRoy Marples2018-06-04
|
* Fix compile without INET6Roy Marples2018-06-03
|
* Release dhcpcd-7.0.5dhcpcd-7.0.5Roy Marples2018-06-02
|
* ip6: if forked from ia callback, don't run ia handlersRoy Marples2018-06-02
| | | | | | It's pointless and resolves an issue where the handler would try and listen to an address when not in master mode, but it's already listened to in the child.
* dhcp6: Stop non delegated addresses being delegatedRoy Marples2018-05-10
| | | | This was caused by allowing matching iaids and should now be resolved.
* dhcp6: fix a memory issue with prior patchRoy Marples2018-05-08
| | | | | Don't allocate memory for T1 or T2 timers when requesting IA_TA addresses.
* dhcp6: match IA type with requestRoy Marples2018-05-08
| | | | | | | | | So we don't send IA_NA, IA_TA and IA_PD addresses in the IA_NA request if they all share the same IAID. While here, fix a bug where IA_TA addresses would append the DHCP6 unknown option 0 by mistakenly trying to put T1 and T2 timers in where there should be none.
* dhcp6: IAID is now unique for IA typeRoy Marples2018-05-07
| | | | | | | | | | RFC3315 is a bit ambigious about this. At the start it says that IAID is supposed to be unique across the client, but futher down it starts to mention that the IAID number space is unqiuie to the IA type. RFC3315bis clarifies it's unique for the client and IA type, so you can now have ia_na 1 and ia_pd 1.
* dhcp: Clarify range checks in valid UDP packetsRoy Marples2018-05-07
|
* dhcp: checksum failure could be IP header tooRoy Marples2018-05-06
|
* bpf: add braces to clarify intent of sizeofRoy Marples2018-05-06
|
* arp: clarify that we check ar_hln in the BPF filterRoy Marples2018-05-06
| | | | While here, re-arrange it a little to match the structure.
* bpf: Clarify ip_hl check.Roy Marples2018-05-06
|
* bpf: BIOCIMMEDIATE argument is an unsigned int.Roy Marples2018-05-04
|
* Document fqdn none.Roy Marples2018-05-03
|
* Release dhcpcd-7.0.4dhcpcd-7.0.4Roy Marples2018-05-02
|
* dhcp6: Softwire Address and Port-Mapped Clients, RFC7598Roy Marples2018-05-02
| | | | | Add support for these options. Untested, should work aside from the documented issue, patches welcome.
* ipv6nd: use bools hereRoy Marples2018-05-02
|
* ipv6nd: warn if router lifetime is set to zeroRoy Marples2018-05-02
|
* Don't abort if recv returns an error.Roy Marples2018-05-01
|
* auth: allow different tokens for send and receiveRoy Marples2018-04-29
| | | | | | | | | It was silly of me to assume that the same key would be used for both sending and receiving. Because token protocol is not digested, replace the digest argument with 0x123/0x456 where 0x123 is the sending key and 0x456 is the receiving key. Receiving key defaults to sending key, sending key defaults to zero. This should allow existing configurations to work as is.
* auth: allow zero value replay detection dataRoy Marples2018-04-29
| | | | | | It seems one ISP doesn't use Replay Data and always sets it to zero. See the comment in the commit as to why this is technically legal, even if it goes against the intent of the RFC.
* dhcpcd(8): document some servers might filter based on ClientIDRoy Marples2018-04-29
| | | | Note that the DUID file might need to be edited as well.
* RFC 3315 21.4.4.1 says that SOLICT and DELAYED authenticationRoy Marples2018-04-26
| | | | | | | | should set RDM and replay data to zero. draft-ietf-dhc-dhcpv6-clarify-auth-01 (expired) suggests that INFORMATION REQ should be zero in this case as well. As it's coming from a very similar angle, I agree.
* logerr -> logerrxRoy Marples2018-04-19
|
* routing: Fix case when cloning route changes but needs to be replaced.Roy Marples2018-04-19
|
* DHCP6: Fix sending custom vendor class option.Roy Marples2018-04-19
|
* Cast away a conversion warning.Roy Marples2018-04-18
|
* DHCPv6: Transpose DHCP userclass option into DHCPv6Roy Marples2018-04-17
|
* Linux: If listening to dev manager, let it remove interfacesRoy Marples2018-04-16
| | | | | Otherwise we race with the kernel removing and the dev manager re-adding it.
* BSD: move the interface hint up the stackRoy Marples2018-04-16
| | | | | This probably isn't needed, but allows us to hint the interface when not directly setting IFP.