The NetBSD Project

CVS log for src/external/bsd/dhcpcd/dist/Attic/script.c

[BACK] Up to [cvs.NetBSD.org] / src / external / bsd / dhcpcd / dist

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.7.2.3
Fri Jul 27 10:43:19 2018 UTC (6 years, 6 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
FILE REMOVED
Changes since revision 1.7.2.2: +1 -1 lines
Pull up following revision(s) (requested by roy in ticket #1621):

	external/bsd/dhcpcd/dist/compat/crypt/sha256.c  up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/crypt/md5.c     up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/crypt/md5.h     up to 1.1.1.2
	external/bsd/dhcpcd/dist/compat/crypt/sha256.h  up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/crypt/hmac.c    up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/crypt/hmac.h    up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/_strtoi.h       up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/arc4random.c    up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/arc4random.h    up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/arc4random_uniform.c up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/arc4random_uniform.h up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/bitops.h        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/dprintf.c       up to 1.1.1.2
	external/bsd/dhcpcd/dist/compat/dprintf.h       up to 1.1.1.2
	external/bsd/dhcpcd/dist/compat/endian.h        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/pidfile.c       up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/pidfile.h       up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/queue.h         up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/reallocarray.c  up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/reallocarray.h  up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strtoi.c        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strtoi.h        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strtou.c        up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strlcpy.c       up to 1.1.1.1
	external/bsd/dhcpcd/dist/compat/strlcpy.h       up to 1.1.1.1
	external/bsd/dhcpcd/dist/config-null.mk         up to 1.1.1.1
	external/bsd/dhcpcd/dist/configure              up to 1.1.1.8
	external/bsd/dhcpcd/dist/iconfig.mk             up to 1.1.1.1
	external/bsd/dhcpcd/dist/hooks/01-test          up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/02-dump          up to 1.1.1.1
	external/bsd/dhcpcd/dist/hooks/10-wpa_supplicant up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/15-timezone      up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/20-resolv.conf   up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/29-lookup-hostname up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/30-hostname      up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/50-dhcpcd-compat up to 1.1.1.1
	external/bsd/dhcpcd/dist/hooks/50-ntp.conf      up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/50-yp.conf       up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/50-ypbind.in     up to 1.1.1.2
	external/bsd/dhcpcd/dist/hooks/Makefile         up to 1.1.1.1
	external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.8.in up to 1.1.1.4
	external/bsd/dhcpcd/dist/hooks/dhcpcd-run-hooks.in up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/GNUmakefile        up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/Makefile           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/arp.c              up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/arp.h              up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/auth.c             up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/auth.h             up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/bpf.c              up to 1.7
	external/bsd/dhcpcd/dist/src/bpf.h              up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/common.c           up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/common.h           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/control.c          up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/control.h          up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/defs.h             up to 1.1.1.15
	external/bsd/dhcpcd/dist/src/dev.c              up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/dev.h              up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcp-common.c      up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/dhcp-common.h      up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcp.c             up to 1.11
	external/bsd/dhcpcd/dist/src/dhcp.h             up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/dhcp6.c            up to 1.1.1.12
	external/bsd/dhcpcd/dist/src/dhcp6.h            up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/dhcpcd-definitions-small.conf up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd-definitions.conf up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.c.in up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd-embedded.h.in up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd.8.in        up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/dhcpcd.c           up to 1.13
	external/bsd/dhcpcd/dist/src/dhcpcd.conf        up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dhcpcd.conf.5.in   up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/dhcpcd.h           up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/duid.c             up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/duid.h             up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/eloop.c            up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/eloop.h            up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/genembedc          up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/genembedh          up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/if-bsd.c           up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/if-linux-wext.c    up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/if-linux.c         up to 1.1.1.10
	external/bsd/dhcpcd/dist/src/if-options.c       up to 1.10
	external/bsd/dhcpcd/dist/src/if-options.h       up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/if-sun.c           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/if.c               up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/if.h               up to 1.1.1.5
	external/bsd/dhcpcd/dist/src/ipv4.c             up to 1.1.1.9
	external/bsd/dhcpcd/dist/src/ipv4.h             up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/ipv4ll.c           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/ipv4ll.h           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/ipv6.c             up to 1.1.1.11
	external/bsd/dhcpcd/dist/src/ipv6.h             up to 1.1.1.7
	external/bsd/dhcpcd/dist/src/ipv6nd.c           up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/ipv6nd.h           up to 1.1.1.6
	external/bsd/dhcpcd/dist/src/logerr.c           up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/logerr.h           up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/route.c            up to 1.1.1.8
	external/bsd/dhcpcd/dist/src/route.h            up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/sa.c               up to 1.1.1.3
	external/bsd/dhcpcd/dist/src/sa.h               up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/script.c           up to 1.1.1.4
	external/bsd/dhcpcd/dist/src/script.h           up to 1.1.1.2
	external/bsd/dhcpcd/dist/src/dev/Makefile       up to 1.1.1.1
	external/bsd/dhcpcd/dist/src/dev/udev.c         up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/crypt/.gitignore up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/crypt/GNUmakefile up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/crypt/Makefile   up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/crypt/README.md  up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/crypt/run-test.c up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/crypt/test.h     up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/crypt/test_hmac_md5.c up to 1.1.1.3
	external/bsd/dhcpcd/dist/tests/Makefile         up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/eloop-bench/.gitignore up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/eloop-bench/Makefile up to 1.1.1.2
	external/bsd/dhcpcd/dist/tests/eloop-bench/README.md up to 1.1.1.1
	external/bsd/dhcpcd/dist/tests/eloop-bench/eloop-bench.c up to 1.1.1.3
	external/bsd/dhcpcd/dist/.arcconfig             up to 1.1.1.1
	external/bsd/dhcpcd/dist/.gitignore             up to 1.4
	external/bsd/dhcpcd/dist/BUILDING.md            up to 1.1.1.2
	external/bsd/dhcpcd/dist/LICENSE                up to 1.1.1.2
	external/bsd/dhcpcd/dist/Makefile               up to 1.1.1.5
	external/bsd/dhcpcd/dist/Makefile.inc           up to 1.1.1.2
	external/bsd/dhcpcd/dist/README.md              up to 1.1.1.3
	external/bsd/dhcpcd/dist/bpf-filter.h           delete
	external/bsd/dhcpcd/dist/common.c               delete
	external/bsd/dhcpcd/dist/arp.c                  delete
	external/bsd/dhcpcd/dist/arp.h                  delete
	external/bsd/dhcpcd/dist/auth.c                 delete
	external/bsd/dhcpcd/dist/auth.h                 delete
	external/bsd/dhcpcd/dist/dhcpcd.c               delete
	external/bsd/dhcpcd/dist/control.c              delete
	external/bsd/dhcpcd/dist/common.h               delete
	external/bsd/dhcpcd/dist/config.h               delete
	external/bsd/dhcpcd/dist/dhcp-common.c          delete
	external/bsd/dhcpcd/dist/control.h              delete
	external/bsd/dhcpcd/dist/defs.h                 delete
	external/bsd/dhcpcd/dist/dev.h                  delete
	external/bsd/dhcpcd/dist/dhcpcd-definitions.conf delete
	external/bsd/dhcpcd/dist/dhcp-common.h          delete
	external/bsd/dhcpcd/dist/dhcp.c                 delete
	external/bsd/dhcpcd/dist/dhcp.h                 delete
	external/bsd/dhcpcd/dist/dhcp6.c                delete
	external/bsd/dhcpcd/dist/dhcp6.h                delete
	external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in  delete
	external/bsd/dhcpcd/dist/dhcpcd-embedded.c      delete
	external/bsd/dhcpcd/dist/dhcpcd.8.in            delete
	external/bsd/dhcpcd/dist/dhcpcd-embedded.c.in   delete
	external/bsd/dhcpcd/dist/dhcpcd-embedded.h      delete
	external/bsd/dhcpcd/dist/dhcpcd-embedded.h.in   delete
	external/bsd/dhcpcd/dist/ipv4.c                 delete
	external/bsd/dhcpcd/dist/if.c                   delete
	external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in    delete
	external/bsd/dhcpcd/dist/dhcpcd.h               delete
	external/bsd/dhcpcd/dist/dhcpcd.conf            delete
	external/bsd/dhcpcd/dist/dhcpcd.conf.5.in       delete
	external/bsd/dhcpcd/dist/duid.c                 delete
	external/bsd/dhcpcd/dist/duid.h                 delete
	external/bsd/dhcpcd/dist/eloop.c                delete
	external/bsd/dhcpcd/dist/eloop.h                delete
	external/bsd/dhcpcd/dist/if-bsd.c               delete
	external/bsd/dhcpcd/dist/if-options.c           delete
	external/bsd/dhcpcd/dist/if-options.h           delete
	external/bsd/dhcpcd/dist/if.h                   delete
	external/bsd/dhcpcd/dist/crypt/hmac_md5.c       delete
	external/bsd/dhcpcd/dist/crypt/crypt.h          delete
	external/bsd/dhcpcd/dist/ipv4.h                 delete
	external/bsd/dhcpcd/dist/ipv4ll.c               delete
	external/bsd/dhcpcd/dist/ipv6.c                 delete
	external/bsd/dhcpcd/dist/ipv4ll.h               delete
	external/bsd/dhcpcd/dist/ipv6.h                 delete
	external/bsd/dhcpcd/dist/ipv6nd.c               delete
	external/bsd/dhcpcd/dist/ipv6nd.h               delete
	external/bsd/dhcpcd/dist/script.c               delete
	external/bsd/dhcpcd/dist/script.h               delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/15-timezone delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test   delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/02-dump   delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu    delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/10-wpa_supplicant delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf delete
	external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ypbind delete
	usr.sbin/postinstall/postinstall: revision 1.211-1.213
	etc/rc.d/dhcpcd					upto 1.5
	doc/3RDPARTY					manual edit

Import dhcpcd-7.0.7.
Adjust postinstal and rc file.

Revision 1.27.2.2
Wed Apr 26 02:52:23 2017 UTC (7 years, 9 months ago) by pgoyette
Branches: pgoyette-localcount
FILE REMOVED
Changes since revision 1.27.2.1: +1 -1 lines
Sync with HEAD

Revision 1.28.2.1
Fri Apr 21 16:51:23 2017 UTC (7 years, 9 months ago) by bouyer
Branches: bouyer-socketcan
FILE REMOVED
Changes since revision 1.28: +1 -1 lines
Sync with HEAD

Revision 1.29
Fri Mar 31 20:53:55 2017 UTC (7 years, 10 months ago) by roy
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, pgoyette-localcount-20170426, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-socketcan-base1, HEAD
FILE REMOVED
Changes since revision 1.28: +1 -1 lines
Sync

Revision 1.27.2.1: download - view: text, markup, annotated - select for diffs
Fri Nov 4 14:42:45 2016 UTC (8 years, 3 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +15 -1 lines
Sync with HEAD

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Oct 9 09:18:26 2016 UTC (8 years, 4 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +15 -1 lines
Sync

Revision 1.1.1.27 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Oct 7 08:36:23 2016 UTC (8 years, 4 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-11-4-reimport, dhcpcd-6-11-4
Diff to: previous 1.1.1.26: preferred, colored
Changes since revision 1.1.1.26: +14 -0 lines
Import dhcpcd-6.11.4 with the following changes:
  *  Fixed octal and hex string parsing in options.
  *  Several statically sized buffers have been removed and replaced
     with dynamically sized ones where we have no real idea of what
     the size will be.
  *  Reverse IPv4 route removal order.
  *  Added --small configure directive to reduce binary size
  *  Allow DHCPv6, IPv4lL and authentication to be compiled out
  *  Add support for ifa_addrflags in getifaddrs(3)
  *  Add support for ifam_addrflags and ifam_pid from route(4)
  *  If T1 or T2 are not set in DHCPv6 messages, use a default from the
     lowest pltime instead of the expiration time.
  *  Validate lease before moving to REQUEST when both ends use
     rapid commit.
  *  If lease validation fails, don't restart the DISCOVER phase if
     we're already in it.

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Jun 17 19:42:32 2016 UTC (8 years, 8 months ago) by roy
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914
Branch point for: pgoyette-localcount
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +2 -2 lines
Sync

Revision 1.1.1.26 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Jun 17 19:37:28 2016 UTC (8 years, 8 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-11-3, dhcpcd-6-11-2, dhcpcd-6-11-1
Diff to: previous 1.1.1.25: preferred, colored
Changes since revision 1.1.1.25: +1 -1 lines
Import dhcpcd-6.11.1 with the following changes:
  *  Fix truncated packet handling where the DHCP message is less than the
     BOOTP size
  *  Rework the raw socket handling around an fd for initial Solaris support
  *  Only pull one message from the raw socket - eloop will handle the looping
  *  Netmask fixes for STATIC and INFORM
  *  Rework if_address to use struct ipv4_addr, like the ipv6 counter parts
  *  Split BSD handlink into many smaller functions to improve readability
  *  empty DNS entries are no longer created
  *  Test for hostname_fqdn being set to server or blank
  *  Allow an SLA 0 and prefix length of 0 to delegate the whole prefix
     ia_pd 1 wm1/0
  *  Fix prefix delegation address timings on renew

Revision 1.26: download - view: text, markup, annotated - select for diffs
Mon May 9 10:15:59 2016 UTC (8 years, 9 months ago) by roy
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +12 -9 lines
Sync

Revision 1.1.1.25 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon May 9 10:10:36 2016 UTC (8 years, 9 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-11-0
Diff to: previous 1.1.1.24: preferred, colored
Changes since revision 1.1.1.24: +11 -8 lines
Import dhcpcd-6.11.0 with the following changes:
  *  pidfile directory is now created correctly at startup.
  *  bootp "leases" are now stored so dhcpcd can dump them.
  *  ARP state is keep open so we can detect duplicates
     (currently this is only logged, no action is taken).
  *  --lastleastextend allows dhcpcd to extend a DHCP lease once
     it has expired. The lease is dropped if any other node
     claims the address.
  *  Delegated Prefix reject routes will be correctly bound to the
     loopback interface. If a delegated address uses the whole prefix,
     then the reject route is removed. If this address is removed, the
     reject route is restored.
  *  dhcp code has been reworked around a classic BOOTP structure
     instead of a fixed size DHCP structure based on a max MTU of 1500.
     Each reference to it also has a size so we know it's length.
     Adding an option to a message is now guarded via easy macros.
     Option concatenation buffer is no longer a fixed size.
  *  many more changes so that dhcpcd passes all current Coverity tests.

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Apr 10 21:00:53 2016 UTC (8 years, 10 months ago) by roy
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +27 -6 lines
Sync

Revision 1.1.1.24 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Apr 10 20:44:18 2016 UTC (8 years, 10 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-10-3, dhcpcd-6-10-2
Diff to: previous 1.1.1.23: preferred, colored
Changes since revision 1.1.1.23: +26 -5 lines
Import dhcpcd-6.10.2 with the following changes:
  *  Add fix for CVE-2014-7913.
  *  eloop performance and API improvements.
  *  Don't send a blank hostname, fixes PR bin/50705.
  *  Prefix Delegation default value fixes.
  *  Prefix Delegation suffix is now configurable.
  *  dhcpcd.conf now allows embedded comments.
  *  IPv6 static address support.
  *  ipv6ra_accept_nopublic has been removed, all prefixes now accepted.
  *  Support RTF_CONNECTED on NetBSD.
  *  Remove pidfile handling from dhcpcd and use pidfile_lock(3).
     If not available, use a compat shim.
  *  Fix changing routes on BSD.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Nov 30 16:33:00 2015 UTC (9 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -4 lines
Sync

Revision 1.1.1.23 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Nov 30 16:24:59 2015 UTC (9 years, 2 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-9-4, dhcpcd-6-10-1, dhcpcd-6-10-0
Diff to: previous 1.1.1.22: preferred, colored
Changes since revision 1.1.1.22: +3 -3 lines
Import dhcpcd-6.9.4 with the following changes:
  *  dhcpcd will now configure chrony if installed and ntp isn't
  *  dhcpcd no longer attempts temporary address management on Linux
  *  replace the SixRD decode function with a generic definition
  *  try harder to ensure only 1 lladdr exists per interface on BSD
  *  change IPv6 routes on MTU change
  *  -p works with -x on an already running process started without -p
  *  fix TEST for IPv4LL
  *  Correct size allocation for prefix delegation, thanks to Jade
  *  Add an option to enable DHCPv6 Information Request without the
     need for dhcpcd to recieve an IPv6 Router Advertisement with the
     Other Configuration bit set.
  *  Introduce the optional option type, which allows embedded options
     to be optional
  *  Mark our logger function as sysloglike because we enjoy using %m
  *  Don't check link state if not instruted to before working out if
     we can fork early or not.
  *  Add a -N --renew option to renew any existing address early
  *  Obey the hostname_short option even for configured FQDN hostnames
  *  -U, --dumplease now works with standard input.
     It no longer works with a filename.
  *  If dumping leases, skip authentication and address expiry checks
  *  Fix adding static routes via a gateway on BSD
  *  Always send LOG_DEBUG to syslog(3) even if we are in quiet mode.
     It's upto syslog to filter it.
  *  If testing or dumping leases, don't send to syslog only
     stdout/stderr.

Revision 1.23: download - view: text, markup, annotated - select for diffs
Fri Sep 4 12:25:01 2015 UTC (9 years, 5 months ago) by roy
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +6 -5 lines
Sync

Revision 1.1.1.22 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Sep 4 12:20:43 2015 UTC (9 years, 5 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-9-3
Diff to: previous 1.1.1.21: preferred, colored
Changes since revision 1.1.1.21: +5 -4 lines
Import dhcpcd-6.9.3 with the following changes:
  *  Statically assigned interface_mtu= works again
  *  Statically assigned DHCP variables persist across lease renews

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Aug 21 10:39:00 2015 UTC (9 years, 5 months ago) by roy
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +2 -2 lines
Sync

Revision 1.1.1.21 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Aug 21 10:35:40 2015 UTC (9 years, 5 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-9-2
Diff to: previous 1.1.1.20: preferred, colored
Changes since revision 1.1.1.20: +1 -1 lines
Import dhcpcd-6.9.2 with the following changes:
  *  Only run the IPv4LL script and rebuild routes on drop when
     an address is actually dropped.
  *  Add noup directive to stop master mode bringing an interface up.
  *  If only IPv4LL addresses exist, assign a default route to the
     interface so that IPv4LL can talk to non IPv4LL on the same link.
  *  Set DHCPv4 MTU on routes instead of the interface.
     This matches IPv6 behaviour and works around dodgy interfaces
     where a MTU change can reset the PHY causing an infinite loop.
  *  MTU is now requested by default in dhcpcd.conf again.
  *  noauthrequired also allows unauthenticated FORCERENEW and
     RECONFIGURE messages.
  *  Simplify the socket code by adding a custom function instead of
     having the same #ifdef mess for systems without SOCK_CLOEXEC.
     Thanks to Christos Zoulas.
  *  Don't do platform init or setting interface MTU if too small when
     testing or dumping leases.
  *  Build new_domain_name from other sources if blank before checking
     it's blank to remove any prior config. Thanks to Paul Walrath.
  *  Describe adding an IPv6 temporary address.
  *  Don't delete dhcpcd assigned IPv6 link-local addresses when
     releasing leases.
  *  Reference old DHCPv6 FQDN when processing the hostname.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Thu Jul 9 10:15:34 2015 UTC (9 years, 7 months ago) by roy
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +69 -37 lines
Sync

Revision 1.1.1.20 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Jul 9 10:08:18 2015 UTC (9 years, 7 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-9-1
Diff to: previous 1.1.1.19: preferred, colored
Changes since revision 1.1.1.19: +68 -36 lines
Import dhcpcd-6.9.1 with the following changes:
  *  Fixed waitip
  *  For Prefix Delegation, servers must now support RFC7550
  *  Fixed detecting host routes in DHCP messages
  *  Fixed ARP checking that failed in some situations
  *  Fixed static address assignment in dhcpcd.conf
  *  Split IPv4LL state from DHCP and into it's own state
  *  Reject any NA/RA with a hop limit != 255
  *  Replace if_oneup with if_afwaited and af_waited for hook scripts
  *  Fix a potential buffer overrun if an embedded DHCP option is
     a zero length or fails to parse - thanks to Paul Stewart
  *  Check fclose for errors - thanks to Bob
  *  wpad_url has been added to dhcpcd-definitions.conf
  *  Fix a double free when failing to send a DHCPv6 RELEASE
     Thanks to Todd Blanchard.
  *  Correct IPv6 public address test, thanks to Micha? K?pie?
  *  Fix DHCPv6 starting if no public addresses found in the RA
     but the M or O bit was set
  *  Replaced custom uptime() with clock_gettime(2)
  *  Fix DHCPv6 elapsed time

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sat May 16 23:31:32 2015 UTC (9 years, 9 months ago) by roy
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +9 -14 lines
Sync

Revision 1.1.1.19 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat May 16 23:25:28 2015 UTC (9 years, 9 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-9-0
Diff to: previous 1.1.1.18: preferred, colored
Changes since revision 1.1.1.18: +8 -13 lines
Import dhcpcd-6.9.0 with the following changes:

  *  Fix IPv6 prefix underflow when confirming deprecated but valid leases
  *  eloop.c and .h are now 100% portable outside of dhcpcd
     (provided the system supports recent POSIX and either you or
     the system provide working TAILQ macros)
  *  Allow waitip to work per interface.
  *  Handle ND options in the same way we handle DHCP and DHCPv6 options.
  *  Add new variable of type bitflags:flags where the flags ABCDEFGH,
     A is 10000000, B is 01000000, etc.
     Variables with the name reserved are no longer processed.
  *  Improve IN_IFF_TENTATIVE with ip sharing.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Sat May 2 15:18:37 2015 UTC (9 years, 9 months ago) by roy
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +4 -8 lines
Sync

Revision 1.1.1.18 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat May 2 15:10:20 2015 UTC (9 years, 9 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-8-2
Diff to: previous 1.1.1.17: preferred, colored
Changes since revision 1.1.1.17: +3 -7 lines
Import dhcpcd-6.8.2 with the following changes:
  *  dumping leases no longer affects kernel settings
  *  dhcpcd can now act as a pure BOOTP client
  *  IPv6 default route is only installed once a working address is
     available.
  *  fixed a crash when finding a route without an interface.
  *  support IN_IFF_TENTATIVE and friends.

The last change allows dhcpcd to persist the address when the carrier
goes down. The normal DHCP workflow will then manage the address
correctly.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Thu Mar 26 10:26:37 2015 UTC (9 years, 10 months ago) by roy
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +20 -20 lines
Sync

Revision 1.1.1.17 (vendor branch): download - view: text, markup, annotated - select for diffs
Thu Mar 26 10:20:32 2015 UTC (9 years, 10 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-8-1, dhcpcd-6-8-0
Diff to: previous 1.1.1.16: preferred, colored
Changes since revision 1.1.1.16: +19 -19 lines
Import dhcpcd-6.8.0 with the following changes:
  *  Use the exit code of EXIT_SUCCESS when terminating gracefully.
  *  Fix dumping a lease file by filename.
  *  If RTF_LOCAL is defined, don't try and set loopback routes.
  *  Fix adding host routes on BSD.
  *  After adding an address load the kernel routing table for the
     interface. When routes are rebuilt try not to remove any existing
     routes if they don't need changing.
  *  Replace timeval with timespec for our internal functions.
  *  Support kqueue(2).
  *  Better support for more interface types on BSD, thanks to Guy Yur.
  *  Many Prefix Delegation fixes.
  *  Fix creation of normal IPv6 link-local addresses overflowing the
     address storage and fooling dhcpcd into thinking it's not
     tentative when added.
  *  Add own syslog(3) like logging function for a nicer output and so
     we can log to a file for the case when syslogd(8) starts after
     dhcpcd so we can log any errors during system start using the new
     --logfile option.

Revision 1.7.2.2: download - view: text, markup, annotated - select for diffs
Thu Feb 5 15:13:12 2015 UTC (10 years ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.7.2.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.2.1: +7 -3 lines
Pull up the following, requested by pettai in ticket #495:

	external/bsd/dhcpcd/dist/arp.c                  up to 1.9
	external/bsd/dhcpcd/dist/arp.h                  up to 1.8
	external/bsd/dhcpcd/dist/auth.c                 up to 1.8
	external/bsd/dhcpcd/dist/auth.h                 up to 1.8
	external/bsd/dhcpcd/dist/common.c               up to 1.8
	external/bsd/dhcpcd/dist/common.h               up to 1.7
	external/bsd/dhcpcd/dist/control.c              up to 1.7
	external/bsd/dhcpcd/dist/control.h              up to 1.7
	external/bsd/dhcpcd/dist/defs.h                 up to 1.14
	external/bsd/dhcpcd/dist/dev.h                  up to 1.7
	external/bsd/dhcpcd/dist/dhcp-common.c          up to 1.7
	external/bsd/dhcpcd/dist/dhcp-common.h          up to 1.7
	external/bsd/dhcpcd/dist/dhcp.c                 up to 1.27
	external/bsd/dhcpcd/dist/dhcp.h                 up to 1.7
	external/bsd/dhcpcd/dist/dhcp6.c                up to 1.9
	external/bsd/dhcpcd/dist/dhcp6.h                up to 1.7
	external/bsd/dhcpcd/dist/dhcpcd-definitions.conf up to 1.7
	external/bsd/dhcpcd/dist/dhcpcd-embedded.c      up to 1.7
	external/bsd/dhcpcd/dist/dhcpcd-embedded.c.in   up to 1.1.1.2
	external/bsd/dhcpcd/dist/dhcpcd-embedded.h      up to 1.7
	external/bsd/dhcpcd/dist/dhcpcd-embedded.h.in   up to 1.1.1.3
	external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in  up to 1.13
	external/bsd/dhcpcd/dist/dhcpcd.8.in            up to 1.40
	external/bsd/dhcpcd/dist/dhcpcd.c               up to 1.22
	external/bsd/dhcpcd/dist/dhcpcd.conf.5.in       up to 1.18
	external/bsd/dhcpcd/dist/dhcpcd.h               up to 1.9
	external/bsd/dhcpcd/dist/duid.c                 up to 1.7
	external/bsd/dhcpcd/dist/duid.h                 up to 1.7
	external/bsd/dhcpcd/dist/eloop.c                up to 1.8
	external/bsd/dhcpcd/dist/eloop.h                up to 1.7
	external/bsd/dhcpcd/dist/if-bsd.c               up to 1.17
	external/bsd/dhcpcd/dist/if-options.c           up to 1.20
	external/bsd/dhcpcd/dist/if-options.h           up to 1.8
	external/bsd/dhcpcd/dist/if.c                   up to 1.11
	external/bsd/dhcpcd/dist/if.h                   up to 1.8
	external/bsd/dhcpcd/dist/ipv4.c                 up to 1.11
	external/bsd/dhcpcd/dist/ipv4.h                 up to 1.8
	external/bsd/dhcpcd/dist/ipv4ll.c               up to 1.8
	external/bsd/dhcpcd/dist/ipv6.c                 up to 1.8
	external/bsd/dhcpcd/dist/ipv6.h                 up to 1.10
	external/bsd/dhcpcd/dist/ipv6nd.c               up to 1.20
	external/bsd/dhcpcd/dist/ipv6nd.h               up to 1.9
	external/bsd/dhcpcd/dist/script.c               up to 1.17
	external/bsd/dhcpcd/dist/crypt/crypt.h          up to 1.6
	external/bsd/dhcpcd/dist/crypt/hmac_md5.c       up to 1.6
	doc/3RDPARTY					1.1198

Import dhcpcd version 6.7.1.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Fri Jan 30 09:47:05 2015 UTC (10 years ago) by roy
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +7 -3 lines
Sync

Revision 1.1.1.16 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Jan 30 09:40:22 2015 UTC (10 years ago) by roy
Branches: roy
CVS tags: dhcpcd-6-7-1, dhcpcd-6-7-0
Diff to: previous 1.1.1.15: preferred, colored
Changes since revision 1.1.1.15: +6 -2 lines
Import dhcpcd-6.7.0 with the following changes:
  *  Only release the DHCPv6 lease when dropping it.
  *  Fix handling of ND6_IFF_OVERRIDE_RTADV on BSD.
  *  Include paths.h to get _PATH_BPF. Thanks to Joerg Sonnenberger.
  *  Report a better error of the kernel lacks a BPF equivalent filter.
  *  Implement RFC4941, Privacy Extensions for Stateless Address
     Autoconfiguration in IPv6 when dhcpcd is overriding the in-kernel
     RA support. For BSD, this is a full userland implementation.
  *  reject <option> will now reject any DHCP message that contains
     that option.
  *  Ignore RA's from ourself for very badly configured stations.

Revision 1.7.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 29 16:18:05 2014 UTC (10 years, 1 month ago) by martin
Branches: netbsd-7
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +103 -61 lines
Pullup the import of dhcpcd-6.6.7, requested by roy in #207

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Dec 9 20:21:05 2014 UTC (10 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +8 -2 lines
Sync

Revision 1.1.1.15 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Dec 9 20:18:12 2014 UTC (10 years, 2 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-6-7, dhcpcd-6-6-6, dhcpcd-6-6-5
Diff to: previous 1.1.1.14: preferred, colored
Changes since revision 1.1.1.14: +7 -1 lines
Import dhcpcd-6.6.5 with the followng changes:
  *  Allow STOPPED to be processed by dhcpcd-run-hooks(8)
  *  Don't attempt to match IFT to ARP types directly
  *  If neither dig nor host are present, fallback to getent(1)
  *  If IFF_UP is not set when we get a carrier up event, poll for it
     instead of giving up
  *  Failure to bind to the DHCP port on the wildcard address when
     it's in-use is not an error

Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Nov 26 16:05:14 2014 UTC (10 years, 2 months ago) by roy
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +9 -4 lines
Sync

Revision 1.1.1.14 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Nov 26 16:03:46 2014 UTC (10 years, 2 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-6-4
Diff to: previous 1.1.1.13: preferred, colored
Changes since revision 1.1.1.13: +8 -3 lines
Import dhcpcd-6.6.4 with the following changes:
  *  Fix a compile warning in dhcpcd-6.6.3
  *  Notify dhcpcd-run-hooks if running in debug mode
  *  Report selected profile in test mode

Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Nov 7 20:51:03 2014 UTC (10 years, 3 months ago) by roy
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -0 lines
Add RCSIDs

Revision 1.13: download - view: text, markup, annotated - select for diffs
Fri Nov 7 20:32:05 2014 UTC (10 years, 3 months ago) by roy
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +0 -3 lines
Sync

Revision 1.1.1.13 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Nov 7 20:24:01 2014 UTC (10 years, 3 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-6-3, dhcpcd-6-6-2, dhcpcd-6-6-1-nb1, dhcpcd-6-6-1
Diff to: previous 1.1.1.12: preferred, colored
Changes since revision 1.1.1.12: +0 -3 lines
Import dhcpcd-6.6.1 with the following changes:
  *  Improve handling of the IPv6LL address at startup
  *  Support old Linux kernels where IFLA_AF_SPEC may not exist
  *  When stopping interfaces, skip past pseudo interfaces instead
     of finding the master as only the masters are sorted correctly

RCSIDs have been removed from the import and will be added afterwards
as patches as technically they are not part of the dhcpcd project directly.
Hopefully this will be future imports less painful.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Wed Oct 29 01:08:31 2014 UTC (10 years, 3 months ago) by roy
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -1 lines
Sync

Revision 1.1.1.12 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Oct 29 01:03:52 2014 UTC (10 years, 3 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-6-0
Diff to: previous 1.1.1.11: preferred, colored
Changes since revision 1.1.1.11: +5 -1 lines
dhcpcd-6.6.0 has been imported with the following changes:
  *  Log the address IPv4LL defends
  *  PREINIT, UNKNOWN and CARRIER are not either up nor down states
  *  ARP code re-written to allow for many ARP states
  *  IPv4LL address is now pseudo random based on HW address instead
     of really random as per RFC 3927 Section 2.1
  *  If not doing DHCP or DHCP6, disable the DNS requirement in the RA
     to fork.
  *  Treat IPv4LL as fallback and start DHCP discovery even if the prior
     lease was IPv4LL when rebooting.
  *  When we transition from REQUEST to DISCOVER in a reboot,
     start IPv4LL at the same time as discover to ensure we have an
     address quicker.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Oct 17 23:42:24 2014 UTC (10 years, 4 months ago) by roy
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +0 -0 lines
Sync

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Oct 6 18:22:29 2014 UTC (10 years, 4 months ago) by roy
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +14 -24 lines
Sync

Revision 1.1.1.11 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Oct 6 18:20:17 2014 UTC (10 years, 4 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-5-1, dhcpcd-6-5-0
Diff to: previous 1.1.1.10: preferred, colored
Changes since revision 1.1.1.10: +14 -24 lines
Import dhcpcd-6.5.0 with the following changes:

  *  Fix an unaligned access error on BeagleBone Black with FreeBSD.
     Thanks to Guy Yur for the patch.
  *  Remove the fast loop trying to up an interface which does not
     report carrier.
  *  Remove vis based encoding - instead validate against option type and
     stop at invalid [1]
     This removes all shell escaped encoding - dhcpcd will assume that IF
     the --script option is a shell, it will quote variables correctly.
     The stock dhcpcd-run-hooks does.
  *  dhcpcd -V now prints how the variables will be decoded.
  *  Changed some options in dhcpcd-definitions.conf to more sensible defaults.
  *  Don't daemonise on delegated address dad.
  *  Don't drop delegated reject route when forking.
  *  Fix IPv6 handling of link-local addresses on KAME stacks.
  *  Work on OpenBSD-5.6 without any special interface setup needed.
  *  Callout to handlecarrier when we don't have real carrier support and
     rely on looking at IFF_UP and IFF_RUNNING.
     This allows our hooks to know that dhcpcd thinks we have a carrier or not.

[1] DHCP option encodings defined in dhcpcd-definitions.conf
  *  domain (RFC3397)/dname (string) is strict domain name allowance
     (ie, [alnum] with _- (but not at the start or end))
  *  string is now printable ascii (1-127) until invalid
  *  ascii is all ascii (1-127) until invalid
  *  raw is all chars (1-255) until NUL
  *  binhex is a hex representation of the option including embedded NULs
  *  ssid is still escpaed octal because it's expected to be human readable
     AND can technically be all NUL
  *  everything else has strict option -> value encoding

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Sep 27 01:17:34 2014 UTC (10 years, 4 months ago) by roy
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -1 lines
Sync

Revision 1.1.1.10 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Sep 27 01:14:50 2014 UTC (10 years, 4 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-4-7, dhcpcd-6-4-6
Diff to: previous 1.1.1.9: preferred, colored
Changes since revision 1.1.1.9: +3 -1 lines
Import dhcpcd-6.4.6 with the following changes:

  *  Detect removal of IPv6 routes
  *  Don't add link-local addresses to POINTOPOINT interfaces
  *  Don't discard expired DHCPv6 leases when dumping them
  *  If a DHCPv6 lease has no timers, expire it right away
  *  Report delegated addresses
  *  Call dhcpcd-run-hooks correctly when delegated prefixes already exist
  *  Fix a memory error when ia_* config exists but IPv6 is disabled
  *  Ensure servername and bootfile are safely exported
  *  Sanitise the following characters using svis(3) with VIS_CTYLE and
     VIS_OCTAL:
         | ^ & ; < > ( ) $ ` \ " ' <tab> <newline>
     This allows a non buggy unvis(1) to decode it 100% and stays compatible
     with how dhcpcd used to handle encoding on most platforms.
     For systems that supply svis(3) there is a code reduction, for systems
     that do not, a slight code increase. This change mitigates systems
     affected by bash CVE-2014-6271 and CVE-2014-7169.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Sep 16 22:27:04 2014 UTC (10 years, 5 months ago) by roy
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +90 -55 lines
Sync

Revision 1.1.1.9 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Sep 16 22:23:18 2014 UTC (10 years, 5 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-4-5, dhcpcd-6-4-4
Diff to: previous 1.1.1.8: preferred, colored
Changes since revision 1.1.1.8: +90 -55 lines
Import dhcpcd-6.4.4 with the following changes:
  *  Many bounds checking fixes from Tobias Stoeckmann
  *  Improve error when the authentication token cannot be found
  *  close the IPv4 specific UDP socket when done sending
  *  Implemented a write queue to the control sockets
  *  Only send interfaces to control sockets when in a BOUND state
  *  Add a sample controlgroup directive to dhcpcd.conf to make setup easier
  *  Add variables if_oneup and if_ipwaited so hook scripts know the overall
     state of dhcpcd better
  *  Pass RC_SVCNAME from enviromment to hooks so that a service hook can
     know it's name (may not be dhcpcd)
  *  Document every variable set for dhcpcd-run-hooks(8)
  *  Allow SSIDs with non printable characters to be used in ssid selection
     in dhcpcd.conf
  *  Add an unprivileged control socket so that normal users can obtain
     dhcpcd running state

Revision 1.1.1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Aug 19 23:46:43 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.1.1.1.2.2: preferred, colored; branchpoint 1.1.1.1: preferred, colored; next MAIN 1.1.1.2: preferred, colored
Changes since revision 1.1.1.1.2.2: +230 -144 lines
Rebase to HEAD as of a few days ago.

Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 07:06:59 2014 UTC (10 years, 6 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5: +134 -94 lines
Rebase.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Mon Jul 14 11:49:48 2014 UTC (10 years, 7 months ago) by roy
Branches: MAIN
CVS tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +19 -6 lines
Sync

Revision 1.1.1.8 (vendor branch): download - view: text, markup, annotated - select for diffs
Mon Jul 14 11:45:03 2014 UTC (10 years, 7 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-4-3, dhcpcd-6-4-2, dhcpcd-6-4-1
Diff to: previous 1.1.1.7: preferred, colored
Changes since revision 1.1.1.7: +19 -6 lines
Import dhcpcd-6.4.1 with the following changes:

  *  If just given a domain and no search list, make the search list the domain
  *  Skip arpping directives if we have a profile but not parsing one
  *  Allow the request of a DHCPv6 address or prefix, a prefix length must be
     specified
  *  Add the ability to dump DHCPv6 leases
  *  Improve startup with regards to carrier checking and adding a link-local
     IPv6 address
  *  Start the correct interface reference for added devices
  *  Support
     http://datatracker.ietf.org/doc/draft-ietf-dhc-dhcpv6-stateful-issues-06
     via the ia_pd_mix option
  *  Fix link handling where kernel reported flags in LINK_UP may not be
     valid when we actually process them
  *  Fix defining new options in dhcpcd.conf and requesting them
  *  Fix a potential segfault when reloading configurations
  *  Print user defined options via -V
  *  Add support for RFC6603, Prefix Exclude option
  *  When requesting a IA_PD and another IA type, create a psuedo interface
     to handle the IA_PD
  *  Handle truncated DHCPv6 saved leases

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Jun 14 20:55:37 2014 UTC (10 years, 8 months ago) by roy
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +115 -88 lines
Sync

Revision 1.1.1.7 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Jun 14 20:51:04 2014 UTC (10 years, 8 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-4-0
Diff to: previous 1.1.1.6: preferred, colored
Changes since revision 1.1.1.6: +114 -87 lines
Import dhcpcd-6.4.0 with the following changes:

  *  Only fork when the RA has a RDNSS option AND a valid prefix OR no DHCPv6 instruction.
  *  Handle BSD per interface rtadv kernel flag.
  *  Add a reject route for the delegated prefix so that unassigned prefixes don't go back upstream.
  *  If not specified, Delegated Prefixes will get an automatic SLA of the interface index. If the biggest SLA and the assigned prefix fits into a /64 then dhcpcd creates a /64 prefix so that SLAAC works. If bigger than /64 is needed then dhcpcd creates one rounded upto the nearest multiple of 8. Unless a configured SLA of 0 is assigned, a reject route for the Delegated Prefix is installed to stop unassigned addresses trying to be resolved upstream. Addresses added from Delegated Prefixes now have a default address suffix of 1 instead of using a SLAAC style address.
  *  Don't spam timezone updates unless its actually changed.
  *  Support ND6_IFF_OVERRIDE_RTADV on BSD.
  *  Document why we don't send both FQDN and hostname options.
  *  Respect RFC4861 MAX_RTR_SOLICITATION_DELAY as specified in section 6.3.7.
  *  RFC2131 section 4.4.1 states the client SHOULD wait a random time between one and ten seconds to desynchronize the use of DHCP at startup. Instead we wait a random time between zero and one second to mirror the more modern IPv6RS and DHCPv6 standards unless overridden by defining RFC2131_STRICT.
  *  Always send a carrier as it's no longer encapsulated in the IPv4 stack. When stopping and not departed, run with the STOPPED reason but do not process it in hooks.
  *  Poll kernel neighbour reachability (SIOCGNBRINFO_IN6) for each router instead of sending and listening for Neighbour Soliciation/Advertisement packets. The kernel is privy to a lot more reachability information than userland is.
  *  Ensure that ND6_IFF_PERFORMNUD is set.
  *  controlgroup option changes group ownership of the control socket.
  *  Should use arc4random_uniform when wanting a randon number between 1 and N. Improve the compat arc4random function a little and re-stir on fork.
  *  -4 and -6 are now mutually exclusive and when running on a single interface per protocol pidfiles are created. This means that other control options suchs as -x and -n will require the -4 or -6 option as well.
  *  Implement Stable Private Addresses for SLAAC as per RFC7217. Enable this as default in dhcpcd.conf.
  *  Log error condition if a new or changed Router Advertisment to avoid spamming the log.
  *  Add an IPv6 link-local address before upping the interface if needed. Bring an interface up when we start it and not during discovery. As such, stop waiting on carrier for a second if we did.
  *  Add gateway option to enable the gateway or an interface/profile. Ensure the option and require options disable the nooption option - last wins.
  *  Restarting ntp/yp are not critical and their initialisation continues in the background as well so we may as well background the restart commands for faster dhcpcd performance.

Revision 1.5.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 15:44:40 2014 UTC (10 years, 8 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.5.4.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.4.1: +656 -0 lines
sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.5.4.1
Sat Mar 1 11:04:21 2014 UTC (10 years, 11 months ago) by yamt
Branches: yamt-pagecache
FILE REMOVED
Changes since revision 1.5: +0 -656 lines
file script.c was added on branch yamt-pagecache on 2014-05-22 15:44:40 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Sat Mar 1 11:04:21 2014 UTC (10 years, 11 months ago) by roy
Branches: MAIN
CVS tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: yamt-pagecache, tls-earlyentropy
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +68 -34 lines
Sync

Revision 1.1.1.6 (vendor branch): download - view: text, markup, annotated - select for diffs
Sat Mar 1 11:00:41 2014 UTC (10 years, 11 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-3-2, dhcpcd-6-3-1
Diff to: previous 1.1.1.5: preferred, colored
Changes since revision 1.1.1.5: +67 -33 lines
Import dhcpcd-6.3.1 with the following changes

  * all issuses reported by clang static analyser have been resolved.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Feb 25 13:20:23 2014 UTC (10 years, 11 months ago) by roy
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +26 -14 lines
Sync

Revision 1.1.1.5 (vendor branch): download - view: text, markup, annotated - select for diffs
Tue Feb 25 13:14:28 2014 UTC (10 years, 11 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-3-0
Diff to: previous 1.1.1.4: preferred, colored
Changes since revision 1.1.1.4: +25 -13 lines
Import dhcpcd-6.3.0 with the following changes:

 * IAID must be inside an interface block.
 * Detect IPv6 address flags on Linux.
 * Check that we have ctrl_interface defined in wpa_supplicant.conf and pass this parameter to wpa_cli(8). If not set, warn about not interacting with wpa_supplicant(8).
 * Skip Virtual Interface Masters. Currently this only applies to FreeBSD VAP masters as dhcpcd should only work on wlandev created clones.
 * Fix handling of ARP failures, thanks to Sebastian Huber.
 * Implement RFC 1321 MD5 Message-Digest if not provided in libc.
 * Implement RFC 2104 HMAC Keyed Hashing.
 * Implement RFC 3118 Authentication for DHCP Messages and RFC 3315 Authentication options.
 * Add nodhcp and nodhcp6 directives. Thanks to Sebastian Huber for the initial patch and testing.
 * Implement support for RFC 3203, FORCERENEW message.
 * Implement Force Renew Nonce Capability option, RFC6704
 * Support RECONFIGURE DHCPv6 messages.
 * Add support for DHCP auto configuration, RFC 2563.
 * Add support for the following RFCs
   + DHCP SLP Directory Agent, RFC2610
   + DHCP Name Service Search, RFC2937
   + DHCP PANA Authentication Agent, RFC5192
   + DHCP Lost Server, RFC5223
   + DHCP CAPWAP, RFC5417
   + DHCP Mobility Services, RFC5678
   + DHCP SIP UA, RFC6011
   + DHCP ANDSF, RFC6153
   + DHCP RDNSS Selection for MIF Nodes, RFC6731
   + DHCP TFTP Server Address, RFC5859
   + DHCP PXELINUX, RFC5071
   + DHCP Access Network Domain Name, RFC5986
   + DHCP Virtual Subnet Selection, RFC6607
   + DHCP Relay Agent Remote-ID, RFC4649
   + DHCP Relay Agent Subscriber-ID, RFC4580
   + DHCPv6 Relay-ID, RFC5460
   + DHCPv6 LIS Discovery, RFC5986
   + DHCPv6 SIP UA, RFC6011
   + DHCPv6 Network Boot, RFC5970
   + DHCPv6 Home Info Discovery in MIPv6, RFC6610
   + DHCPv6 RDNSS Selection for MIF Nodes, RFC6731
   + DHCPv6 Kerberos, RFC6784
   + DHCPv6 Relay-Triggered Reconfiguration, RFC6977
   + DHCPv6 SOL_MAX_RT, RFC7083
 * Open UDP sockets for *.*.*.*:bootpc and $ip_address:bootpc to avoid kernel ICMP unreachable messages
 * Moved global variables into context variables so dhcpcd is entirely thread safe.
   dhcpcd doens't use threads, but it can now be used in a pure threads (ie no process) environment.
 * Remove DEBUG_MEMORY guard and always free memory and resources. Remove all atexit(3) and exit(3) calls, instead exiting via the eloop.
 * Replace get_line with sscanf where applicable.
 * Remove custom set_cloexec and set_nonblock functions. Instead pass O_CLOEXEC or SOCK_CLOEXEC to open, socket, etc.
 * Don't use PATH_MAX - we already know the maximum length from the initial directory and IF_NAMESIZE.
 * Add a USE_SIGNALS define. If we're not using signals then we also create a control socket in the non MASTER case. We then use this to communicate instead of signals.
 * Fix arping moving to the next test if we find the IP address but do not have a profile for it. Thanks to David McGurty for the analysis.
 * Respect initial commandline arguments when rebooting via a signal.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Jan 15 20:43:21 2014 UTC (11 years, 1 month ago) by roy
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -4 lines
Sync

Revision 1.1.1.4 (vendor branch): download - view: text, markup, annotated - select for diffs
Wed Jan 15 20:36:31 2014 UTC (11 years, 1 month ago) by roy
Branches: roy
CVS tags: dhcpcd-6-2-1
Diff to: previous 1.1.1.3: preferred, colored
Changes since revision 1.1.1.3: +3 -3 lines
Import dhcpcd-6.2.1 with the folowing changes:

 * on BSD only flush RA routers and prefixes when trying to own them.
 * Mark some data locations as read only and fix a build issue.
 * Fix some possible NULL dereferences, CID 1153963.
 * Fix CID: 1153964 and 1153966
 * Add support for RFC3495 DHCP option for CableLabs Clients.
   Note that for the TSP suboption 3 we only support the FQDN encoding.
 * Init system detection moved to dhcpcd-run-hooks(8)
 * Fix compile errors and warnings with IPv6 disabled.

Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Jan 3 22:10:42 2014 UTC (11 years, 1 month ago) by roy
Branches: roy
CVS tags: dhcpcd-6-2-0
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +2 -2 lines
Import dhcpcd-6.2.0 with the following changes:

* Fix NAK backoff when a server NAKs a REQUEST after a DISCOVER.
* Fix IPv6 ICMP filtering on Android (RS/RA now works)
* Fix sending of DHCPv6 FQDN when only hostname specified
* Add support for RFC3925 Vendor-Identifying Vendor Options
* Remove hard coded DHCP/DHCPv6 options and embed dhcpcd-definitions.conf.
  This actually results in a slightly smaller binary than before and has the added advantage that the option definitions are now all held within one file.
* Change IAID to default from the last 4 bytes of the MAC address.
  Rationale in the commit, but in a nutshell it allows for a stable IAID between reboots without persistent storage and across different OS's who name or number it differently to each other.
* RFC4242, Information Refresh Time Option for DHCPv6.
* Fix processing of inet4 addr in vendor options and terminate correctly.
* Preserve vendor encapsulated options.
* Fix renewal of Prefix Delegation. Only spam the log if a lease has a new address or changes the vltime of an existing address.
* Add noipv4 and noipv6 options.
* Warn about missing interfaces which require prefix delegation.
* If we timeout, remove any waitip config so that we daemonise correctly.
* Remove the IPv6 forwarding router check as valid use cases exist where you would want IPv6 RS/RA on a router.
* Pass the correct run directory to dhcpcd-run-hooks

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Nov 18 19:55:29 2013 UTC (11 years, 3 months ago) by joerg
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +9 -9 lines
NUL != NULL, so use the correct literal

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Sep 20 10:51:29 2013 UTC (11 years, 4 months ago) by roy
Branches: roy
CVS tags: dhcpcd-6-1-0
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +6 -6 lines
Import dhcpcd-6.1.0 with the following changes:
* Fixed a segfault when configuring a static route in dhcpcd.conf
* Merged IPv6 ND and RA codebases
* Persistent configuration is now a default option in dhcpcd.conf
* Store configured IPv4 addresses against the interface so we only add
  them if actually missing to avoid RTM_DELADDR/NEWADDR loops on some OS's
* waitip now supports waiting for any, IPv4, IPv6 or both protocols
* DHCPv6 addresses are added with a /128 prefix and should not attempt to
  associate with any existing prefix or make one up as per RFC 5942
* Fix initial carrier status
* Fix requesting >1 DHCPv6 address

Fixes PR bin/48140

Revision 1.1.1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Jun 23 06:26:31 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.1.1.1.2.1: preferred, colored; branchpoint 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1.2.1: +610 -0 lines
resync from head

Revision 1.1.1.1.2.1
Fri Jun 21 19:33:07 2013 UTC (11 years, 7 months ago) by tls
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.1.1.1: +0 -610 lines
file script.c was added on branch tls-maxphys on 2013-06-23 06:26:31 +0000

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Fri Jun 21 19:33:07 2013 UTC (11 years, 7 months ago) by roy
Branches: roy
CVS tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, dhcpcd_6_0_0, dhcpcd-6-0-5, dhcpcd-6-0-4, dhcpcd-6-0-3, dhcpcd-6-0-1
Branch point for: tls-maxphys
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Import dhcpcd-6.0.0 with the following changes:
 * DHCPv6 support
 * wpa_supplicant hook script
 * route IPv4 addresses to 127.0.0.1 for machine centric traffic
 * DHCPv6 Prefix Delegation support
 * DHCPv6 FQDN support
 * Control existing IPv4 routes
 * less spamy to syslog by default
 * IPv6 protocols now wait for a valid LL address before starting
 * IPv6 DAD support now listens to kernel for more accurate timings
 * IPv4 code split out more cleanly so dhcpcd can be compiled for
   IPv4, IPv6 or IPv4 AND IPv6
 * MTU is no longer requested by default
 * a DUID is now generated in /etc/dhcpcd.duid and this is used as a
   client ID for DHCPv4 and DHCPv6
   This does mean that you may get new DHCPv4 addresses

Many bugs have also been fixed along the way and this release addresses
the following PR's

PR bin/47364
PR bin/47502
PR bin/47666
PR bin/47699
PR bin/47775
PR bin/47776

Revision 1.1: download - view: text, markup, annotated - select for diffs
Fri Jun 21 19:33:07 2013 UTC (11 years, 7 months ago) by roy
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>