]>
git.ipfire.org Git - people/ms/dhcpcd.git/log 
Roy Marples  [Sat, 28 Nov 2020 14:12:59 +0000  (14:12 +0000)]  
Release dhcpcd-9.3.4
Roy Marples  [Wed, 25 Nov 2020 15:14:11 +0000  (15:14 +0000)]  
DHCP6: Abort in test mode when an error is returned by server.
Roy Marples  [Wed, 25 Nov 2020 14:55:25 +0000  (14:55 +0000)]  
Don't stop control in test
Roy Marples  [Wed, 25 Nov 2020 14:19:55 +0000  (14:19 +0000)]  
options: Allow duid to take a value
Roy Marples  [Wed, 25 Nov 2020 14:05:18 +0000  (14:05 +0000)]  
options: allow --ia_na=1 and --ia_pd=2 on the command line
Roy Marples  [Tue, 24 Nov 2020 10:30:08 +0000  (10:30 +0000)]  
DHCP: If error adding the address in oneshot, exit with failure
Roy Marples  [Mon, 23 Nov 2020 13:22:20 +0000  (13:22 +0000)]  
DHCP: Only listen to the address if we successfully added it
Roy Marples  [Sat, 21 Nov 2020 12:01:21 +0000  (12:01 +0000)]  
Improve readability.
Roy Marples  [Sat, 21 Nov 2020 11:59:07 +0000  (11:59 +0000)]  
DHCP6: Delegated activations work once more
Roy Marples  [Sat, 21 Nov 2020 08:46:30 +0000  (08:46 +0000)]  
DHCP6: Fix segfault introduced in dhcpcd-9.3.3
Lars Wendler  [Fri, 20 Nov 2020 19:49:46 +0000  (19:49 +0000)]  
dhcpcd.conf(8): add all -> at all
Roy Marples  [Fri, 20 Nov 2020 13:06:16 +0000  (13:06 +0000)]  
Release dhcpcd-9.3.3
Matthew Clarkson  [Thu, 19 Nov 2020 19:15:12 +0000  (19:15 +0000)]  
privsep: adjust comment for prior
Matthew Clarkson  [Thu, 19 Nov 2020 15:37:33 +0000  (15:37 +0000)]  
privsep: Allow ioctl TCGETS
Matthew Clarkson  [Fri, 13 Nov 2020 08:22:42 +0000  (08:22 +0000)]  
privsep: Allow fcntl64 and fstat64 to fix ARM32 talking to the controller
Roy Marples  [Fri, 13 Nov 2020 08:21:12 +0000  (08:21 +0000)]  
route: Correct prior logic
Roy Marples  [Wed, 11 Nov 2020 17:44:55 +0000  (17:44 +0000)]  
dhcpcd: Don't create launcher process if keeping in foreground
Roy Marples  [Wed, 11 Nov 2020 17:41:16 +0000  (17:41 +0000)]  
control: create an unpriv socket for non master mode
Roy Marples  [Wed, 4 Nov 2020 14:25:00 +0000  (14:25 +0000)]  
When adding a route, the interface will always have options.
Roy Marples  [Wed, 4 Nov 2020 14:18:48 +0000  (14:18 +0000)]  
Add --noconfigure option
Ted Feng  [Tue, 3 Nov 2020 22:31:40 +0000  (11:31 +1300)]  
fix if_getnetworknamespace matching bug. (#19)Co-authored-by: Ted Feng <Ted.Feng@Aviatnet.com> 
Roy Marples  [Tue, 3 Nov 2020 11:37:05 +0000  (11:37 +0000)]  
Linux: Fix detecting existing IPv4 addresses
Roy Marples  [Mon, 2 Nov 2020 17:03:31 +0000  (17:03 +0000)]  
options: Don't log unknown option errors when printing the pidfile
Roy Marples  [Sun, 1 Nov 2020 14:07:38 +0000  (14:07 +0000)]  
Release dhcpcd-9.3.2
Roy Marples  [Fri, 30 Oct 2020 22:18:57 +0000  (22:18 +0000)]  
Fix compile without various defines
Roy Marples  [Fri, 30 Oct 2020 16:13:49 +0000  (16:13 +0000)]  
Remove debug from prior
Roy Marples  [Fri, 30 Oct 2020 16:11:44 +0000  (16:11 +0000)]  
privsep: don't leave a BOOTP process hanging around on SIGUSR1
Roy Marples  [Fri, 30 Oct 2020 15:16:02 +0000  (15:16 +0000)]  
log: Allow logopen to be called without logclose
Roy Marples  [Fri, 30 Oct 2020 14:19:16 +0000  (14:19 +0000)]  
privsep: Allow logfile reopening in a chroot
Roy Marples  [Fri, 30 Oct 2020 03:43:51 +0000  (03:43  +0000)]  
privsep: Send all log messages to the privileged actioneer
Roy Marples  [Mon, 26 Oct 2020 11:19:54 +0000  (11:19 +0000)]  
DHCP: Implement IPv6-Only Preferred option, RFC 8925.
Roy Marples  [Sun, 25 Oct 2020 15:30:13 +0000  (15:30 +0000)]  
privsep: Close BPF socket on ENXIO.
Roy Marples  [Sun, 25 Oct 2020 08:52:38 +0000  (08:52 +0000)]  
Bump date for prior
Roy Marples  [Sun, 25 Oct 2020 08:50:44 +0000  (08:50 +0000)]  
dhcpcd.conf(5): mention fallback for the reboot option
Roy Marples  [Fri, 16 Oct 2020 13:36:34 +0000  (14:36 +0100)]  
BSD: LINK_UNKNOWN is traditionally treated as LINK_UP
Roy Marples  [Thu, 15 Oct 2020 16:59:33 +0000  (17:59 +0100)]  
privsep: Allow more syscalls through SECCOMP and add a debugger
Roy Marples  [Thu, 15 Oct 2020 12:29:26 +0000  (13:29 +0100)]  
Make a note about solaris privileges
Roy Marples  [Mon, 12 Oct 2020 13:56:34 +0000  (14:56 +0100)]  
duid: plug a potential memory leak
Roy Marples  [Mon, 12 Oct 2020 13:41:06 +0000  (14:41 +0100)]  
Release dhcpcd-9.3.1
Roy Marples  [Sun, 11 Oct 2020 07:47:31 +0000  (08:47 +0100)]  
privsep: Minor correction to prior logic
Roy Marples  [Sat, 10 Oct 2020 16:54:03 +0000  (17:54 +0100)]  
privsep: We need to ensure stderr is valid before testing if tty
Roy Marples  [Sat, 10 Oct 2020 14:07:38 +0000  (15:07 +0100)]  
privsep: Fix stderr redirection again
Roy Marples  [Sat, 10 Oct 2020 14:06:59 +0000  (15:06 +0100)]  
privsep: allow gettimeofday for SECCOMP
Roy Marples  [Sat, 10 Oct 2020 13:46:25 +0000  (14:46 +0100)]  
BSD doesn't use envp
Roy Marples  [Sat, 10 Oct 2020 13:44:00 +0000  (14:44 +0100)]  
setproctitle compat requires envp, not environ
Roy Marples  [Sat, 10 Oct 2020 10:32:23 +0000  (13:32 +0300)]  
Just give up with setproctitle on Illumos
Roy Marples  [Fri, 9 Oct 2020 19:38:48 +0000  (20:38 +0100)]  
Change copyright on setproctitle.h
Roy Marples  [Fri, 9 Oct 2020 19:21:52 +0000  (20:21 +0100)]  
compat: Use libbsd's setproctitle(3)
Roy Marples  [Fri, 9 Oct 2020 14:06:57 +0000  (15:06 +0100)]  
privsep: Always try and open syslog
Roy Marples  [Fri, 9 Oct 2020 13:45:57 +0000  (14:45 +0100)]  
privsep: Ensure command is for BPF first and interface valid second
Roy Marples  [Wed, 7 Oct 2020 15:21:26 +0000  (16:21 +0100)]  
Linux: fix compile
Roy Marples  [Wed, 7 Oct 2020 14:31:35 +0000  (15:31 +0100)]  
privsep: Improve rights on launcher fork and stderr fds
Roy Marples  [Wed, 7 Oct 2020 14:28:33 +0000  (15:28 +0100)]  
privsep: Only start network proxy if we need to
Roy Marples  [Wed, 7 Oct 2020 13:37:35 +0000  (14:37 +0100)]  
privsep: Only log chrooting from the launcher process
Roy Marples  [Wed, 7 Oct 2020 13:23:23 +0000  (14:23 +0100)]  
if: always log about unsupported interface types in debug
Roy Marples  [Wed, 7 Oct 2020 13:11:47 +0000  (14:11 +0100)]  
dhcpcd: Simplify the link handling even more
Roy Marples  [Tue, 6 Oct 2020 06:36:22 +0000  (07:36 +0100)]  
Wireless must be down if unknown.
Roy Marples  [Tue, 6 Oct 2020 06:10:41 +0000  (07:10 +0100)]  
dhcpcd: Simplify carrier handling more by using IS_LINK_UP macro
Roy Marples  [Mon, 5 Oct 2020 15:33:51 +0000  (16:33 +0100)]  
Release dhcpcd-9.3.0
Roy Marples  [Sun, 4 Oct 2020 21:04:49 +0000  (22:04 +0100)]  
privsep: Remove capsicum specific hooks from BPF
Roy Marples  [Sat, 3 Oct 2020 16:17:45 +0000  (17:17 +0100)]  
Don't log backticks.
Roy Marples  [Sat, 3 Oct 2020 16:00:56 +0000  (17:00 +0100)]  
privsep: We need getsockopt as well as setsockopt on the link socket
Roy Marples  [Fri, 2 Oct 2020 14:57:01 +0000  (15:57 +0100)]  
privsep: allow CAP_SETSOCKOPT for route(4) fd.
Roy Marples  [Wed, 30 Sep 2020 16:25:32 +0000  (17:25 +0100)]  
privsep: We now need to carry ifa_data for BSD
Roy Marples  [Wed, 30 Sep 2020 15:14:39 +0000  (16:14 +0100)]  
BSD: Fix compile for non NetBSD
Roy Marples  [Tue, 29 Sep 2020 07:00:24 +0000  (08:00 +0100)]  
Add a comment to prior incase I do something dumb like removing it
SAITOH Masanobu  [Tue, 29 Sep 2020 06:30:27 +0000  (07:30 +0100)]  
Fix a typo in a comment
Roy Marples  [Mon, 28 Sep 2020 20:10:21 +0000  (21:10 +0100)]  
privsep: fix crash when interface departs before bpf returns for it
Roy Marples  [Mon, 28 Sep 2020 16:09:38 +0000  (17:09 +0100)]  
BSD: struct if_data->ifi_link_state is the single source of truth
Roy Marples  [Sun, 27 Sep 2020 10:28:03 +0000  (11:28 +0100)]  
BSD: Ignore vether(4) devices by default.
Sascha Wildner  [Thu, 24 Sep 2020 19:53:56 +0000  (20:53 +0100)]  
Clean up some warnings.
Roy Marples  [Thu, 24 Sep 2020 02:49:30 +0000  (03:49  +0100)]  
FreeBSD: Anticipate SIOCGIFDATA not working in Capsicum
Roy Marples  [Thu, 24 Sep 2020 02:31:43 +0000  (03:31  +0100)]  
BSD: NetBSD is the odd man out with SIOCGIFDATA
Roy Marples  [Wed, 23 Sep 2020 12:14:06 +0000  (13:14 +0100)]  
if: Always warn about ignored interfaces.
Roy Marples  [Wed, 23 Sep 2020 08:59:47 +0000  (09:59 +0100)]  
BSD: Of course DragonFly does SIOCGIFDATA differently..
Roy Marples  [Wed, 23 Sep 2020 08:31:24 +0000  (09:31 +0100)]  
Add a warning about prior
Roy Marples  [Wed, 23 Sep 2020 08:27:58 +0000  (09:27 +0100)]  
Revert double variable define
Roy Marples  [Wed, 23 Sep 2020 08:26:16 +0000  (09:26 +0100)]  
FreeBSD lacks SIOCGIFDATA it seems.
Roy Marples  [Tue, 22 Sep 2020 20:53:13 +0000  (21:53 +0100)]  
BSD: Use SIOCGIFDATA if no media support and no ifa_data
Roy Marples  [Tue, 22 Sep 2020 12:09:03 +0000  (13:09 +0100)]  
BSD: Detect initial link state in ifa_data
Roy Marples  [Tue, 22 Sep 2020 12:08:32 +0000  (13:08 +0100)]  
dhcpcd: log carrier lost once more
Roy Marples  [Mon, 21 Sep 2020 21:24:18 +0000  (22:24 +0100)]  
Try and track link state better, regardless of if we're using
Roy Marples  [Mon, 21 Sep 2020 16:40:28 +0000  (17:40 +0100)]  
privsep: Don't log sandbox type twice
Roy Marples  [Mon, 21 Sep 2020 10:20:46 +0000  (11:20 +0100)]  
privsep: Allow __NR_mmap for seccomp
Roy Marples  [Sun, 20 Sep 2020 20:22:49 +0000  (21:22 +0100)]  
privsep: Don't remove pidfile at exit
Roy Marples  [Sun, 20 Sep 2020 19:22:40 +0000  (20:22 +0100)]  
privsep: Add more platforms for seccomp
Roy Marples  [Sun, 20 Sep 2020 18:44:23 +0000  (19:44 +0100)]  
privsep: Allow more syscalls for seccomp
Roy Marples  [Sun, 20 Sep 2020 18:24:26 +0000  (19:24 +0100)]  
privsep: Send signal from launcher to master over the socket
Roy Marples  [Sun, 20 Sep 2020 18:09:08 +0000  (19:09 +0100)]  
privsep: sandbox the launcher process
Roy Marples  [Sun, 20 Sep 2020 16:43:31 +0000  (17:43 +0100)]  
FreeBSD: Fix build
Roy Marples  [Sat, 19 Sep 2020 23:53:47 +0000  (00:53  +0100)]  
privsep: Avoid "unconfined" seccomp warnings
Roy Marples  [Sat, 19 Sep 2020 23:43:36 +0000  (00:43  +0100)]  
privsep: Don't be noisy about the sandbox
Roy Marples  [Sat, 19 Sep 2020 23:35:08 +0000  (00:35  +0100)]  
privsep: Log if the platform sandbox is unavailable or available
Roy Marples  [Sat, 19 Sep 2020 19:53:23 +0000  (20:53 +0100)]  
privsep: Add the SECCOMP BPF sandbox for Linux
Roy Marples  [Sat, 19 Sep 2020 19:36:07 +0000  (20:36 +0100)]  
Linux: Use SIOCSIFVLAN rather than SIOCSIFVLAN
Roy Marples  [Sat, 19 Sep 2020 17:58:52 +0000  (18:58 +0100)]  
privsep: Fold capsicum and pledge entry points into ps_entersandbox
Roy Marples  [Sat, 19 Sep 2020 14:05:51 +0000  (15:05 +0100)]  
Adjust prior so that message is logged before starting dev
Roy Marples  [Sat, 19 Sep 2020 13:40:50 +0000  (14:40 +0100)]  
Linux: detect network namespace and deny udev in one
Roy Marples  [Wed, 16 Sep 2020 14:55:11 +0000  (15:55 +0100)]  
duid: Allow optional argument to specify ll or llt alongside uuid
Roy Marples  [Tue, 15 Sep 2020 10:45:21 +0000  (11:45 +0100)]  
install: Create DBDIR with mode 0750 by default