Page MenuHomeFreeBSD
Feed Advanced Search

Aug 23 2018

delphij added inline comments to D16873: Limit the harvest rate of "fast" entropy for random(4) so as not to overload the system..
Aug 23 2018, 5:07 PM
delphij accepted D16860: Use arc4rand() instead of read_random().

It seems that the other read_random instances in network stack should do the same as well (probably beyond scope of this changeset though).

Aug 23 2018, 4:52 PM
delphij accepted D16866: Fix excessive reseeding in random(4)..

LGTM. cem@ or markm@, could you please commit this before code freeze?

Aug 23 2018, 4:38 PM
delphij committed rS338231: Diff reduction with production version, no functional change..
Diff reduction with production version, no functional change.
Aug 23 2018, 2:22 AM
delphij committed rS338230: Pass UNAME_r to describes-run.sh..
Pass UNAME_r to describes-run.sh.
Aug 23 2018, 2:22 AM
delphij committed rS338228: Diff reduction with production configuration (update build release list)..
Diff reduction with production configuration (update build release list).
Aug 23 2018, 2:20 AM
delphij committed rS338226: Use noexec when mounting memory disk..
Use noexec when mounting memory disk.
Aug 23 2018, 2:17 AM
delphij committed rS338225: Support multiple recipients..
Support multiple recipients.
Aug 23 2018, 2:15 AM
delphij committed rS338224: join(1) at r320210 changed -v's behavior to output the join field as first.
join(1) at r320210 changed -v's behavior to output the join field as first
Aug 23 2018, 2:15 AM

Aug 21 2018

delphij accepted D16831: newsyslog(8): Reject configurations that specify setuid or executable logs.

LGTM.

Aug 21 2018, 10:31 PM
delphij accepted D16831: newsyslog(8): Reject configurations that specify setuid or executable logs.

LGTM as-is, but with some minor suggestions inline.

Aug 21 2018, 8:26 PM
delphij requested changes to D16831: newsyslog(8): Reject configurations that specify setuid or executable logs.

I think the direction is good and the changeset looks good to me in principal. Could you please make a change so it would print errline, which would make it easier for administrators to find out where the issue is?

Aug 21 2018, 6:42 PM
delphij committed rS338126: MFV r338092: ntp 4.2.8p12..
MFV r338092: ntp 4.2.8p12.
Aug 21 2018, 2:38 AM

Aug 20 2018

delphij committed rS338093: Tag ntp 4.2.8p12..
Tag ntp 4.2.8p12.
Aug 20 2018, 6:10 AM
delphij committed rS338092: Vendor import of ntp-4.2.8p12..
Vendor import of ntp-4.2.8p12.
Aug 20 2018, 6:08 AM
delphij committed rS338084: In r331279 the code used ENOSYS to check the existence of getrandom(2)..
In r331279 the code used ENOSYS to check the existence of getrandom(2).
Aug 20 2018, 2:18 AM
delphij closed D16807: Use osreldate to check the existence of getrandom(2)..
Aug 20 2018, 2:18 AM
delphij updated the diff for D16807: Use osreldate to check the existence of getrandom(2)..

Oops, omit change in stdlib.h.

Aug 20 2018, 2:02 AM
delphij updated the diff for D16807: Use osreldate to check the existence of getrandom(2)..

Update comment, no functional change.

Aug 20 2018, 2:02 AM
delphij added inline comments to D16807: Use osreldate to check the existence of getrandom(2)..
Aug 20 2018, 1:56 AM
delphij created D16807: Use osreldate to check the existence of getrandom(2)..
Aug 20 2018, 12:44 AM

Aug 19 2018

delphij committed rS338061: Bump __FreeBSD_version after r338059 (Chacha20 based arc4random(3).
Bump __FreeBSD_version after r338059 (Chacha20 based arc4random(3)
Aug 19 2018, 5:47 PM
delphij committed rS338059: Update userland arc4random() with OpenBSD's Chacha20 based arc4random()..
Update userland arc4random() with OpenBSD's Chacha20 based arc4random().
Aug 19 2018, 5:41 PM
delphij closed D16760: Use Chacha20 for userland arc4random() and friends.
Aug 19 2018, 5:41 PM
delphij added a comment to D16760: Use Chacha20 for userland arc4random() and friends.

Addressed contrib/ntp/lib/isc/random.c issue; heimdal part would be left as-is for now (I think we can use HAVE_RAND but let's do it in a follow up commit).

Aug 19 2018, 5:17 PM
delphij updated the diff for D16760: Use Chacha20 for userland arc4random() and friends.

Remove #else in contrib/ntp/lib/isc/random.c.

Aug 19 2018, 5:16 PM
delphij updated the diff for D16760: Use Chacha20 for userland arc4random() and friends.

Remove manual page for arc4random_stir and arc4random_addrandom.

Aug 19 2018, 9:29 AM
delphij updated the summary of D16760: Use Chacha20 for userland arc4random() and friends.
Aug 19 2018, 9:03 AM
delphij updated the diff for D16760: Use Chacha20 for userland arc4random() and friends.

Drop chacha_private.h and address various reviewer comments.

Aug 19 2018, 8:53 AM
delphij requested review of D16760: Use Chacha20 for userland arc4random() and friends.
Aug 19 2018, 8:53 AM

Aug 18 2018

delphij committed rS338011: Workaround ECAPMODE for kernels between revision [331280, 337999).
Workaround ECAPMODE for kernels between revision [331280, 337999)
Aug 18 2018, 8:37 AM
delphij committed rS338011: Workaround ECAPMODE for kernels between revision [331280, 337999).
Workaround ECAPMODE for kernels between revision [331280, 337999)
Aug 18 2018, 8:32 AM
delphij committed rS337999: Regen after r337998..
Regen after r337998.
Aug 18 2018, 6:34 AM
delphij committed rS337998: getrandom(2) should not be restricted in capability mode..
getrandom(2) should not be restricted in capability mode.
Aug 18 2018, 6:32 AM
delphij committed rS337997: Split arc4random_uniform into it's own file and sync with OpenBSD..
Split arc4random_uniform into it's own file and sync with OpenBSD.
Aug 18 2018, 6:20 AM

Aug 17 2018

delphij planned changes to D16760: Use Chacha20 for userland arc4random() and friends.

Will commit the arc4random_uniform portion of change (which contained some trivial changes to type to make the code C99 compliant) to reduce the size of this changeset and revise to address some comments with plan outlined inline.

Aug 17 2018, 10:26 PM
delphij added reviewers for D16760: Use Chacha20 for userland arc4random() and friends: emaste, devnexen_gmail.com, op, naddy, holger_gh_freyther.de, lwhsu.
Aug 17 2018, 8:30 AM
delphij created D16760: Use Chacha20 for userland arc4random() and friends.
Aug 17 2018, 8:27 AM

Aug 15 2018

delphij committed rD52127: Add SA-18:09-SA-18:11, refresh SA-18:08..
Add SA-18:09-SA-18:11, refresh SA-18:08.
Aug 15 2018, 5:18 AM
delphij committed rS337832: Fix unauthenticated EAPOL-Key decryption vulnerability. [SA-18:11.hostapd].
Fix unauthenticated EAPOL-Key decryption vulnerability. [SA-18:11.hostapd]
Aug 15 2018, 5:05 AM
delphij committed rS337831: MFC r337819 (cy@): MFV r337818: WPA: Ignore unauthenticated encrypted EAPOL-Key.
MFC r337819 (cy@): MFV r337818: WPA: Ignore unauthenticated encrypted EAPOL-Key
Aug 15 2018, 5:04 AM
delphij committed rS337829: Revis manual pages. [SA-18:08.tcp].
Revis manual pages. [SA-18:08.tcp]
Aug 15 2018, 2:31 AM
delphij committed rS337828: Revis manual pages. [SA-18:08.tcp].
Revis manual pages. [SA-18:08.tcp]
Aug 15 2018, 2:30 AM

Aug 14 2018

delphij added a comment to D16706: Replace userspace arc4random(3) implementation with Chacha20.
In D16706#355122, @cem wrote:

Hi,

Thanks for the quick feedback!

for example the use of MAP_INHERIT_ZERO or FreeBSD's INHERIT_ZERO to detect fork

That would be an additional enhancement, no? I don't think this change introduces a regression there.

Aug 14 2018, 6:23 AM
delphij added a comment to D16706: Replace userspace arc4random(3) implementation with Chacha20.

I think we should come up with a design first, it's important not to repeat other's errors. (I have a version based on earlier OpenBSD arc4random() [1] that was used in a disk wiper which still suffers from a few issues that OpenBSD have fixed in their later versions, for example the use of MAP_INHERIT_ZERO or FreeBSD's INHERIT_ZERO to detect fork.). My recommendation is to start over from a more recent OpenBSD version.

Aug 14 2018, 5:42 AM

Aug 12 2018

delphij committed rS337692: Remove mention of FreeBSD 9.x which is EoL'ed now..
Remove mention of FreeBSD 9.x which is EoL'ed now.
Aug 12 2018, 9:44 PM
delphij committed rS337691: Remove mention of FreeBSD 9.x which is EoL'ed now..
Remove mention of FreeBSD 9.x which is EoL'ed now.
Aug 12 2018, 9:42 PM

Aug 9 2018

delphij accepted D16552: random: Add PowerPC 'darn' instruction entropy source.

LGTM'ing so we don't become a blocker (the code construction is similar to ivy.c). Please go ahead with commit after 14th August if nobody raises problems that they thinks should block the commit.

Aug 9 2018, 7:12 AM
delphij accepted D16602: net/openldap24-server: Fix PR/229939 - Start slapd before kdc.

LGTM, thanks!

Aug 9 2018, 5:12 AM
delphij committed rS337522: In read_zones(), check if the file name actually fit in the buffer.
In read_zones(), check if the file name actually fit in the buffer
Aug 9 2018, 2:47 AM
delphij closed D16595: Always terminate string with nul..
Aug 9 2018, 2:47 AM
delphij committed rS337521: MFC r336121+r336127(cem): Don't delete outfile unconditionally..
MFC r336121+r336127(cem): Don't delete outfile unconditionally.
Aug 9 2018, 2:27 AM

Aug 8 2018

delphij accepted D16615: msdosfs: fixes for Undefined Behavior..

LGTM. Thanks!

Aug 8 2018, 5:00 AM

Aug 7 2018

delphij requested changes to D16602: net/openldap24-server: Fix PR/229939 - Start slapd before kdc.
Aug 7 2018, 5:45 PM

Aug 6 2018

delphij committed rD52082: Add SA-18:08.tcp..
Add SA-18:08.tcp.
Aug 6 2018, 8:45 PM
delphij committed rS337395: Bump patch level and document them..
Bump patch level and document them.
Aug 6 2018, 8:39 PM
delphij accepted D16602: net/openldap24-server: Fix PR/229939 - Start slapd before kdc.

LGTM (please verify that rcorder /usr/local/etc/rc.d/* /etc/rc.d/* > /dev/null won't give cycles before committing).

Aug 6 2018, 4:07 PM

Aug 5 2018

delphij added a comment to D16595: Always terminate string with nul..
In D16595#352569, @imp wrote:

Normally, these files aren't in the control of users...

Aug 5 2018, 5:15 PM
delphij added inline comments to D16595: Always terminate string with nul..
Aug 5 2018, 5:10 PM
delphij updated the diff for D16595: Always terminate string with nul..

Clarify the code.

Aug 5 2018, 5:09 PM
delphij created D16595: Always terminate string with nul..
Aug 5 2018, 6:04 AM

Aug 4 2018

delphij closed D16588: Sanity check BIOS EDD CHS numbers before using them..

Referenced wrong review. This was committed as rS337317.

Aug 4 2018, 2:15 PM
delphij committed rS337317: In r337271, we limited the sector number to the lower of calculated.
In r337271, we limited the sector number to the lower of calculated
Aug 4 2018, 2:13 PM
delphij created D16588: Sanity check BIOS EDD CHS numbers before using them..
Aug 4 2018, 8:53 AM

Aug 3 2018

delphij added inline comments to D15713: Bug 182518 - [login.conf] Better Password Hashes .
Aug 3 2018, 5:58 PM · security

Aug 1 2018

delphij requested changes to D15713: Bug 182518 - [login.conf] Better Password Hashes .
Aug 1 2018, 2:51 AM · security
delphij accepted D16527: Require MAC labels to be non-zero in length..
Aug 1 2018, 2:43 AM

Jul 28 2018

delphij requested changes to D15713: Bug 182518 - [login.conf] Better Password Hashes .

Could you please split the proposed change to smaller pieces, so it would be easier to review?

Jul 28 2018, 12:10 AM · security

Jul 27 2018

delphij committed rS336755: MFC r336236: Detect and handle invalid number of FATs..
MFC r336236: Detect and handle invalid number of FATs.
Jul 27 2018, 5:40 AM
delphij committed rS336754: Improve --strip-trailing-cr handling:.
Improve --strip-trailing-cr handling:
Jul 27 2018, 5:21 AM
delphij closed D16451: Improve --strip-trailing-cr handling.
Jul 27 2018, 5:21 AM

Jul 26 2018

delphij created D16451: Improve --strip-trailing-cr handling.
Jul 26 2018, 8:45 AM

Jul 24 2018

delphij committed rS336661: MFC r336156:.
MFC r336156:
Jul 24 2018, 5:10 AM
delphij added a comment to D16365: Update devel/libhtp to 0.5.27.

@delphij Is that acceptance for approval to MFH ?

Jul 24 2018, 4:50 AM
delphij accepted D16365: Update devel/libhtp to 0.5.27.
Jul 24 2018, 4:45 AM

Jul 20 2018

delphij committed rS336541: libcrypt: There is no need to clear message digest context after they.
libcrypt: There is no need to clear message digest context after they
Jul 20 2018, 7:16 AM
delphij committed rS336540: Get rid of unused variables..
Get rid of unused variables.
Jul 20 2018, 7:07 AM
delphij closed D16314: Get rid of unused variables..
Jul 20 2018, 7:07 AM
delphij committed rS336539: libmd: Always erase context in _Final method, and when doing.
libmd: Always erase context in _Final method, and when doing
Jul 20 2018, 7:02 AM
delphij closed D16316: Consistently use explicit_bzero() for _Final methods..
Jul 20 2018, 7:01 AM

Jul 19 2018

delphij accepted D16050: Automatically run ntpd as non-root when possible..

LGTM, thanks!

Jul 19 2018, 7:11 AM

Jul 18 2018

delphij updated the test plan for D16316: Consistently use explicit_bzero() for _Final methods..
Jul 18 2018, 7:34 AM
delphij updated the diff for D16316: Consistently use explicit_bzero() for _Final methods..

Update manual pages and other hash rountines.

Jul 18 2018, 7:34 AM
delphij created D16316: Consistently use explicit_bzero() for _Final methods..
Jul 18 2018, 7:02 AM
delphij added inline comments to D16050: Automatically run ntpd as non-root when possible..
Jul 18 2018, 4:38 AM
delphij created D16314: Get rid of unused variables..
Jul 18 2018, 3:09 AM

Jul 16 2018

delphij committed rS336329: MFC r335189:.
MFC r335189:
Jul 16 2018, 4:06 AM
delphij committed rS336328: MFC r318355,318366: add -T (timestamp) option for reproducible builds.
MFC r318355,318366: add -T (timestamp) option for reproducible builds
Jul 16 2018, 3:59 AM
delphij added inline comments to D16280: Move the link to Wikipedia to a better place, and rephrase a bit..
Jul 16 2018, 3:16 AM

Jul 13 2018

delphij accepted D16251: Update release entities from the English version..
Jul 13 2018, 8:20 PM
delphij added inline comments to D16251: Update release entities from the English version..
Jul 13 2018, 5:47 AM
delphij committed rS336236: Detect and handle invalid number of FATs.
Detect and handle invalid number of FATs
Jul 13 2018, 2:02 AM

Jul 12 2018

delphij committed rS336218: MFC r335696,r335697:.
MFC r335696,r335697:
Jul 12 2018, 5:38 AM

Jul 10 2018

delphij accepted D16208: Update release information from the English version.
Jul 10 2018, 9:04 PM
delphij committed rS336158: MFC r335655:.
MFC r335655:
Jul 10 2018, 2:46 AM
delphij committed rS336156: Use endian.h le32dec() instead of rolling our own..
Use endian.h le32dec() instead of rolling our own.
Jul 10 2018, 1:42 AM
delphij closed D16192: Utilize le32dec()..
Jul 10 2018, 1:42 AM
delphij accepted D16137: Update the link to BSDTW 2017 conference.
Jul 10 2018, 1:38 AM

Jul 9 2018

delphij committed rS336121: Don't delete outfile unconditionally..
Don't delete outfile unconditionally.
Jul 9 2018, 6:19 AM
delphij committed rS336120: MFC r335559:.
MFC r335559:
Jul 9 2018, 6:03 AM