#
1.15 |
|
08-Feb-2024 |
andvar |
s/should't/shouldn't/ and s/mistmatch/mismatch/ in comments.
|
#
1.14 |
|
25-Nov-2023 |
mlelstv |
Adapt to bignum representation of target. Fix negotiation for mutual authentication. Prepare for more CHAP types. Fix crashes for invalid socket descriptors passed to kernel. Protect usecount with connection mutex, avoids race on connection close. Minor cosmetics.
|
Revision tags: thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
#
1.13 |
|
21-Apr-2019 |
maya |
branches: 1.13.28; wether -> whether
|
#
1.12 |
|
21-Apr-2019 |
mlelstv |
Replace build option to enable hex encoded bignum parameters with a sysctl.
|
Revision tags: isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base 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-base
|
#
1.11 |
|
03-Dec-2017 |
christos |
branches: 1.11.4; - add a prefix to struct members (but not the ioctl ones because they affect the API) - use consistent variable names.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
|
#
1.10 |
|
29-May-2016 |
mlelstv |
Several improvements to the ISCSI driver.
- Enable debug messages but set log level to be quiet. Provide a system (hw.iscsi.debug) to set the log level at run time. - Replace old tsleep/wakeup synchronization with mutexes and condvars. - Defer actions from callouts (basically timeouts) to the cleanup thread. - Protect lists and unique ids with mutexes. protect connection usecount by using atomic operations. - Assert kernel lock when calling into scsipi and network code. - Use this to make send/receive/cleanup threads MPSAFE.
- Fix handling of out-of-CCB/out-of-PDU conditions against the scsipi layer. - Bump number of PDUs to 128 to avoid virtually all out-of-PDU conditions
- Make use of softc structure for attach/detach operations. - Track open file handles to prevent detach when busy.
- Move some global variables to make them static.
- Fix 'Overlapping Commands Attempted' error by marking commands as simply ordered (ATTR_SIMPLE) like FreeBSD.
|
Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.9 |
|
30-May-2015 |
joerg |
Remove ISCSI_TEST_MODE and corresponding dev/iscsi_test.h header.
|
#
1.8 |
|
15-May-2015 |
joerg |
Drop conditional support for writing large numbers as hex.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.7 |
|
28-Mar-2014 |
christos |
branches: 1.7.6; avoid buffer overflow
|
Revision tags: riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.6 |
|
12-Aug-2012 |
mlelstv |
branches: 1.6.2; 1.6.4; Don't use common variables, also prefix global variables to avoid namespace pollution.
|
#
1.5 |
|
24-Jun-2012 |
mlelstv |
Add more debugging, fix filehandle usage, login negotiation and session shutdown. Add #ifdef'd code to send negotiation parameters in hex instead of base64, so it works against older Linux targets.
|
#
1.4 |
|
09-Jun-2012 |
mlelstv |
Close file descriptor passed into the kernel on success. Fix locking of file handle. More cleanup on error paths. Keep track of CCBs, so they cannot be used after a session ends. Handle CCB timeouts even when the connection is terminated. Compute firstdata, firstimmed correctly.
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.3 |
|
17-Dec-2011 |
tls |
branches: 1.3.2;
Separate /dev/random pseudodevice implemenation from kernel entropy pool implementation. Rewrite pseudodevice code to use cprng_strong(9).
The new pseudodevice is cloning, so each caller gets bits from a stream generated with its own key. Users of /dev/urandom get their generators keyed on a "best effort" basis -- the kernel will rekey generators whenever the entropy pool hits the high water mark -- while users of /dev/random get their generators rekeyed every time key-length bits are output.
The underlying cprng_strong API can use AES-256 or AES-128, but we use AES-128 because of concerns about related-key attacks on AES-256. This improves performance (and reduces entropy pool depletion) significantly for users of /dev/urandom but does cause users of /dev/random to rekey twice as often.
Also fixes various bugs (including some missing locking and a reseed-counter overflow in the CTR_DRBG code) found while testing this.
For long reads, this generator is approximately 20 times as fast as the old generator (dd with bs=64K yields 53MB/sec on 2Ghz Core2 instead of 2.5MB/sec) and also uses a separate mutex per instance so concurrency is greatly improved. For reads of typical key sizes for modern cryptosystems (16-32 bytes) performance is about the same as the old code: a little better for 32 bytes, a little worse for 16 bytes.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base
|
#
1.2 |
|
29-Nov-2011 |
tls |
branches: 1.2.2; Remove rnd_extract_data from the public kernel API (it is for use by the stream generators only). Clean up some related minor issues.
|
Revision tags: jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.1 |
|
23-Oct-2011 |
agc |
branches: 1.1.2; Start to move the in-kernel iSCSI initiator, kindly contributed to the NetBSD Foundation by Wasabi Systems, from
othersrc/external/bsd/iscsi/sys/dev/iscsi
to
src/sys/dev/iscsi
|
#
1.14 |
|
25-Nov-2023 |
mlelstv |
Adapt to bignum representation of target. Fix negotiation for mutual authentication. Prepare for more CHAP types. Fix crashes for invalid socket descriptors passed to kernel. Protect usecount with connection mutex, avoids race on connection close. Minor cosmetics.
|
Revision tags: thorpej-ifq-base thorpej-altq-separation-base netbsd-10-0-RC1 netbsd-10-base bouyer-sunxi-drm-base netbsd-9-3-RELEASE thorpej-i2c-spi-conf2-base thorpej-futex2-base thorpej-cfargs2-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 netbsd-9-2-RELEASE cjep_staticlib_x-base thorpej-i2c-spi-conf-base thorpej-cfargs-base thorpej-futex-base netbsd-9-1-RELEASE bouyer-xenpvh-base2 phil-wifi-20200421 bouyer-xenpvh-base1 phil-wifi-20200411 bouyer-xenpvh-base is-mlppp-base phil-wifi-20200406 ad-namecache-base3 netbsd-9-0-RELEASE netbsd-9-0-RC2 ad-namecache-base2 ad-namecache-base1 ad-namecache-base netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
|
#
1.13 |
|
21-Apr-2019 |
maya |
wether -> whether
|
#
1.12 |
|
21-Apr-2019 |
mlelstv |
Replace build option to enable hex encoded bignum parameters with a sysctl.
|
Revision tags: isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base 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-base
|
#
1.11 |
|
03-Dec-2017 |
christos |
branches: 1.11.4; - add a prefix to struct members (but not the ioctl ones because they affect the API) - use consistent variable names.
|
Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
|
#
1.10 |
|
29-May-2016 |
mlelstv |
Several improvements to the ISCSI driver.
- Enable debug messages but set log level to be quiet. Provide a system (hw.iscsi.debug) to set the log level at run time. - Replace old tsleep/wakeup synchronization with mutexes and condvars. - Defer actions from callouts (basically timeouts) to the cleanup thread. - Protect lists and unique ids with mutexes. protect connection usecount by using atomic operations. - Assert kernel lock when calling into scsipi and network code. - Use this to make send/receive/cleanup threads MPSAFE.
- Fix handling of out-of-CCB/out-of-PDU conditions against the scsipi layer. - Bump number of PDUs to 128 to avoid virtually all out-of-PDU conditions
- Make use of softc structure for attach/detach operations. - Track open file handles to prevent detach when busy.
- Move some global variables to make them static.
- Fix 'Overlapping Commands Attempted' error by marking commands as simply ordered (ATTR_SIMPLE) like FreeBSD.
|
Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.9 |
|
30-May-2015 |
joerg |
Remove ISCSI_TEST_MODE and corresponding dev/iscsi_test.h header.
|
#
1.8 |
|
15-May-2015 |
joerg |
Drop conditional support for writing large numbers as hex.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.7 |
|
28-Mar-2014 |
christos |
branches: 1.7.6; avoid buffer overflow
|
Revision tags: riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.6 |
|
12-Aug-2012 |
mlelstv |
branches: 1.6.2; 1.6.4; Don't use common variables, also prefix global variables to avoid namespace pollution.
|
#
1.5 |
|
24-Jun-2012 |
mlelstv |
Add more debugging, fix filehandle usage, login negotiation and session shutdown. Add #ifdef'd code to send negotiation parameters in hex instead of base64, so it works against older Linux targets.
|
#
1.4 |
|
09-Jun-2012 |
mlelstv |
Close file descriptor passed into the kernel on success. Fix locking of file handle. More cleanup on error paths. Keep track of CCBs, so they cannot be used after a session ends. Handle CCB timeouts even when the connection is terminated. Compute firstdata, firstimmed correctly.
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.3 |
|
17-Dec-2011 |
tls |
branches: 1.3.2;
Separate /dev/random pseudodevice implemenation from kernel entropy pool implementation. Rewrite pseudodevice code to use cprng_strong(9).
The new pseudodevice is cloning, so each caller gets bits from a stream generated with its own key. Users of /dev/urandom get their generators keyed on a "best effort" basis -- the kernel will rekey generators whenever the entropy pool hits the high water mark -- while users of /dev/random get their generators rekeyed every time key-length bits are output.
The underlying cprng_strong API can use AES-256 or AES-128, but we use AES-128 because of concerns about related-key attacks on AES-256. This improves performance (and reduces entropy pool depletion) significantly for users of /dev/urandom but does cause users of /dev/random to rekey twice as often.
Also fixes various bugs (including some missing locking and a reseed-counter overflow in the CTR_DRBG code) found while testing this.
For long reads, this generator is approximately 20 times as fast as the old generator (dd with bs=64K yields 53MB/sec on 2Ghz Core2 instead of 2.5MB/sec) and also uses a separate mutex per instance so concurrency is greatly improved. For reads of typical key sizes for modern cryptosystems (16-32 bytes) performance is about the same as the old code: a little better for 32 bytes, a little worse for 16 bytes.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base
|
#
1.2 |
|
29-Nov-2011 |
tls |
branches: 1.2.2; Remove rnd_extract_data from the public kernel API (it is for use by the stream generators only). Clean up some related minor issues.
|
Revision tags: jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.1 |
|
23-Oct-2011 |
agc |
branches: 1.1.2; Start to move the in-kernel iSCSI initiator, kindly contributed to the NetBSD Foundation by Wasabi Systems, from
othersrc/external/bsd/iscsi/sys/dev/iscsi
to
src/sys/dev/iscsi
|
#
1.13 |
|
21-Apr-2019 |
maya |
wether -> whether
|
#
1.12 |
|
21-Apr-2019 |
mlelstv |
Replace build option to enable hex encoded bignum parameters with a sysctl.
|
Revision tags: isaki-audio2-base pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 jdolecek-ncqfixes-base pgoyette-compat-0728 phil-wifi-base 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-base
|
#
1.11 |
|
03-Dec-2017 |
christos |
- add a prefix to struct members (but not the ioctl ones because they affect the API) - use consistent variable names.
|
Revision tags: netbsd-8-0-RELEASE netbsd-8-0-RC2 netbsd-8-0-RC1 tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
|
#
1.10 |
|
29-May-2016 |
mlelstv |
Several improvements to the ISCSI driver.
- Enable debug messages but set log level to be quiet. Provide a system (hw.iscsi.debug) to set the log level at run time. - Replace old tsleep/wakeup synchronization with mutexes and condvars. - Defer actions from callouts (basically timeouts) to the cleanup thread. - Protect lists and unique ids with mutexes. protect connection usecount by using atomic operations. - Assert kernel lock when calling into scsipi and network code. - Use this to make send/receive/cleanup threads MPSAFE.
- Fix handling of out-of-CCB/out-of-PDU conditions against the scsipi layer. - Bump number of PDUs to 128 to avoid virtually all out-of-PDU conditions
- Make use of softc structure for attach/detach operations. - Track open file handles to prevent detach when busy.
- Move some global variables to make them static.
- Fix 'Overlapping Commands Attempted' error by marking commands as simply ordered (ATTR_SIMPLE) like FreeBSD.
|
Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.9 |
|
30-May-2015 |
joerg |
Remove ISCSI_TEST_MODE and corresponding dev/iscsi_test.h header.
|
#
1.8 |
|
15-May-2015 |
joerg |
Drop conditional support for writing large numbers as hex.
|
Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.7 |
|
28-Mar-2014 |
christos |
branches: 1.7.6; avoid buffer overflow
|
Revision tags: riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.6 |
|
12-Aug-2012 |
mlelstv |
branches: 1.6.2; 1.6.4; Don't use common variables, also prefix global variables to avoid namespace pollution.
|
#
1.5 |
|
24-Jun-2012 |
mlelstv |
Add more debugging, fix filehandle usage, login negotiation and session shutdown. Add #ifdef'd code to send negotiation parameters in hex instead of base64, so it works against older Linux targets.
|
#
1.4 |
|
09-Jun-2012 |
mlelstv |
Close file descriptor passed into the kernel on success. Fix locking of file handle. More cleanup on error paths. Keep track of CCBs, so they cannot be used after a session ends. Handle CCB timeouts even when the connection is terminated. Compute firstdata, firstimmed correctly.
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.3 |
|
17-Dec-2011 |
tls |
branches: 1.3.2;
Separate /dev/random pseudodevice implemenation from kernel entropy pool implementation. Rewrite pseudodevice code to use cprng_strong(9).
The new pseudodevice is cloning, so each caller gets bits from a stream generated with its own key. Users of /dev/urandom get their generators keyed on a "best effort" basis -- the kernel will rekey generators whenever the entropy pool hits the high water mark -- while users of /dev/random get their generators rekeyed every time key-length bits are output.
The underlying cprng_strong API can use AES-256 or AES-128, but we use AES-128 because of concerns about related-key attacks on AES-256. This improves performance (and reduces entropy pool depletion) significantly for users of /dev/urandom but does cause users of /dev/random to rekey twice as often.
Also fixes various bugs (including some missing locking and a reseed-counter overflow in the CTR_DRBG code) found while testing this.
For long reads, this generator is approximately 20 times as fast as the old generator (dd with bs=64K yields 53MB/sec on 2Ghz Core2 instead of 2.5MB/sec) and also uses a separate mutex per instance so concurrency is greatly improved. For reads of typical key sizes for modern cryptosystems (16-32 bytes) performance is about the same as the old code: a little better for 32 bytes, a little worse for 16 bytes.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base
|
#
1.2 |
|
29-Nov-2011 |
tls |
branches: 1.2.2; Remove rnd_extract_data from the public kernel API (it is for use by the stream generators only). Clean up some related minor issues.
|
Revision tags: jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.1 |
|
23-Oct-2011 |
agc |
branches: 1.1.2; Start to move the in-kernel iSCSI initiator, kindly contributed to the NetBSD Foundation by Wasabi Systems, from
othersrc/external/bsd/iscsi/sys/dev/iscsi
to
src/sys/dev/iscsi
|
#
1.11 |
|
03-Dec-2017 |
christos |
- add a prefix to struct members (but not the ioctl ones because they affect the API) - use consistent variable names.
|
Revision tags: tls-maxphys-base-20171202 matt-nb8-mediatek-base nick-nhusb-base-20170825 perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 jdolecek-ncq-base pgoyette-localcount-20170320 nick-nhusb-base-20170204 bouyer-socketcan-base pgoyette-localcount-20170107 nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
|
#
1.10 |
|
29-May-2016 |
mlelstv |
Several improvements to the ISCSI driver.
- Enable debug messages but set log level to be quiet. Provide a system (hw.iscsi.debug) to set the log level at run time. - Replace old tsleep/wakeup synchronization with mutexes and condvars. - Defer actions from callouts (basically timeouts) to the cleanup thread. - Protect lists and unique ids with mutexes. protect connection usecount by using atomic operations. - Assert kernel lock when calling into scsipi and network code. - Use this to make send/receive/cleanup threads MPSAFE.
- Fix handling of out-of-CCB/out-of-PDU conditions against the scsipi layer. - Bump number of PDUs to 128 to avoid virtually all out-of-PDU conditions
- Make use of softc structure for attach/detach operations. - Track open file handles to prevent detach when busy.
- Move some global variables to make them static.
- Fix 'Overlapping Commands Attempted' error by marking commands as simply ordered (ATTR_SIMPLE) like FreeBSD.
|
Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.9 |
|
30-May-2015 |
joerg |
Remove ISCSI_TEST_MODE and corresponding dev/iscsi_test.h header.
|
#
1.8 |
|
15-May-2015 |
joerg |
Drop conditional support for writing large numbers as hex.
|
Revision tags: netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.7 |
|
28-Mar-2014 |
christos |
branches: 1.7.6; avoid buffer overflow
|
Revision tags: riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.6 |
|
12-Aug-2012 |
mlelstv |
branches: 1.6.2; 1.6.4; Don't use common variables, also prefix global variables to avoid namespace pollution.
|
#
1.5 |
|
24-Jun-2012 |
mlelstv |
Add more debugging, fix filehandle usage, login negotiation and session shutdown. Add #ifdef'd code to send negotiation parameters in hex instead of base64, so it works against older Linux targets.
|
#
1.4 |
|
09-Jun-2012 |
mlelstv |
Close file descriptor passed into the kernel on success. Fix locking of file handle. More cleanup on error paths. Keep track of CCBs, so they cannot be used after a session ends. Handle CCB timeouts even when the connection is terminated. Compute firstdata, firstimmed correctly.
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.3 |
|
17-Dec-2011 |
tls |
branches: 1.3.2;
Separate /dev/random pseudodevice implemenation from kernel entropy pool implementation. Rewrite pseudodevice code to use cprng_strong(9).
The new pseudodevice is cloning, so each caller gets bits from a stream generated with its own key. Users of /dev/urandom get their generators keyed on a "best effort" basis -- the kernel will rekey generators whenever the entropy pool hits the high water mark -- while users of /dev/random get their generators rekeyed every time key-length bits are output.
The underlying cprng_strong API can use AES-256 or AES-128, but we use AES-128 because of concerns about related-key attacks on AES-256. This improves performance (and reduces entropy pool depletion) significantly for users of /dev/urandom but does cause users of /dev/random to rekey twice as often.
Also fixes various bugs (including some missing locking and a reseed-counter overflow in the CTR_DRBG code) found while testing this.
For long reads, this generator is approximately 20 times as fast as the old generator (dd with bs=64K yields 53MB/sec on 2Ghz Core2 instead of 2.5MB/sec) and also uses a separate mutex per instance so concurrency is greatly improved. For reads of typical key sizes for modern cryptosystems (16-32 bytes) performance is about the same as the old code: a little better for 32 bytes, a little worse for 16 bytes.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base
|
#
1.2 |
|
29-Nov-2011 |
tls |
branches: 1.2.2; Remove rnd_extract_data from the public kernel API (it is for use by the stream generators only). Clean up some related minor issues.
|
Revision tags: jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.1 |
|
23-Oct-2011 |
agc |
branches: 1.1.2; Start to move the in-kernel iSCSI initiator, kindly contributed to the NetBSD Foundation by Wasabi Systems, from
othersrc/external/bsd/iscsi/sys/dev/iscsi
to
src/sys/dev/iscsi
|
Revision tags: nick-nhusb-base-20161204 pgoyette-localcount-20161104 nick-nhusb-base-20161004 localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base nick-nhusb-base-20160907
|
#
1.10 |
|
29-May-2016 |
mlelstv |
Several improvements to the ISCSI driver.
- Enable debug messages but set log level to be quiet. Provide a system (hw.iscsi.debug) to set the log level at run time. - Replace old tsleep/wakeup synchronization with mutexes and condvars. - Defer actions from callouts (basically timeouts) to the cleanup thread. - Protect lists and unique ids with mutexes. protect connection usecount by using atomic operations. - Assert kernel lock when calling into scsipi and network code. - Use this to make send/receive/cleanup threads MPSAFE.
- Fix handling of out-of-CCB/out-of-PDU conditions against the scsipi layer. - Bump number of PDUs to 128 to avoid virtually all out-of-PDU conditions
- Make use of softc structure for attach/detach operations. - Track open file handles to prevent detach when busy.
- Move some global variables to make them static.
- Fix 'Overlapping Commands Attempted' error by marking commands as simply ordered (ATTR_SIMPLE) like FreeBSD.
|
Revision tags: nick-nhusb-base-20160529 nick-nhusb-base-20160422 nick-nhusb-base-20160319 nick-nhusb-base-20151226 nick-nhusb-base-20150921 nick-nhusb-base-20150606
|
#
1.9 |
|
30-May-2015 |
joerg |
Remove ISCSI_TEST_MODE and corresponding dev/iscsi_test.h header.
|
#
1.8 |
|
15-May-2015 |
joerg |
Drop conditional support for writing large numbers as hex.
|
Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 nick-nhusb-base-20150406 nick-nhusb-base netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 rmind-smpnet-nbase rmind-smpnet-base tls-maxphys-base
|
#
1.7 |
|
28-Mar-2014 |
christos |
branches: 1.7.6; avoid buffer overflow
|
Revision tags: riastradh-drm2-base3 riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base yamt-pagecache-base8 yamt-pagecache-base7 yamt-pagecache-base6
|
#
1.6 |
|
12-Aug-2012 |
mlelstv |
branches: 1.6.2; 1.6.4; Don't use common variables, also prefix global variables to avoid namespace pollution.
|
#
1.5 |
|
24-Jun-2012 |
mlelstv |
Add more debugging, fix filehandle usage, login negotiation and session shutdown. Add #ifdef'd code to send negotiation parameters in hex instead of base64, so it works against older Linux targets.
|
#
1.4 |
|
09-Jun-2012 |
mlelstv |
Close file descriptor passed into the kernel on success. Fix locking of file handle. More cleanup on error paths. Keep track of CCBs, so they cannot be used after a session ends. Handle CCB timeouts even when the connection is terminated. Compute firstdata, firstimmed correctly.
|
Revision tags: jmcneill-usbmp-base10 yamt-pagecache-base5 jmcneill-usbmp-base9 yamt-pagecache-base4 jmcneill-usbmp-base8 jmcneill-usbmp-base7 jmcneill-usbmp-base6 jmcneill-usbmp-base5 jmcneill-usbmp-base4 jmcneill-usbmp-base3 jmcneill-usbmp-base2 netbsd-6-base
|
#
1.3 |
|
17-Dec-2011 |
tls |
branches: 1.3.2;
Separate /dev/random pseudodevice implemenation from kernel entropy pool implementation. Rewrite pseudodevice code to use cprng_strong(9).
The new pseudodevice is cloning, so each caller gets bits from a stream generated with its own key. Users of /dev/urandom get their generators keyed on a "best effort" basis -- the kernel will rekey generators whenever the entropy pool hits the high water mark -- while users of /dev/random get their generators rekeyed every time key-length bits are output.
The underlying cprng_strong API can use AES-256 or AES-128, but we use AES-128 because of concerns about related-key attacks on AES-256. This improves performance (and reduces entropy pool depletion) significantly for users of /dev/urandom but does cause users of /dev/random to rekey twice as often.
Also fixes various bugs (including some missing locking and a reseed-counter overflow in the CTR_DRBG code) found while testing this.
For long reads, this generator is approximately 20 times as fast as the old generator (dd with bs=64K yields 53MB/sec on 2Ghz Core2 instead of 2.5MB/sec) and also uses a separate mutex per instance so concurrency is greatly improved. For reads of typical key sizes for modern cryptosystems (16-32 bytes) performance is about the same as the old code: a little better for 32 bytes, a little worse for 16 bytes.
|
Revision tags: jmcneill-usbmp-pre-base2 jmcneill-usbmp-base
|
#
1.2 |
|
29-Nov-2011 |
tls |
branches: 1.2.2; Remove rnd_extract_data from the public kernel API (it is for use by the stream generators only). Clean up some related minor issues.
|
Revision tags: jmcneill-audiomp3-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.1 |
|
23-Oct-2011 |
agc |
branches: 1.1.2; Start to move the in-kernel iSCSI initiator, kindly contributed to the NetBSD Foundation by Wasabi Systems, from
othersrc/external/bsd/iscsi/sys/dev/iscsi
to
src/sys/dev/iscsi
|