cinap_lenrek
5fc5c18208
cwfs: handle DMTMP flag in create
2017-03-06 03:07:03 +01:00
cinap_lenrek
394af5a216
authsrv: handle short reads in initkeyseed()
2017-02-26 23:10:17 +01:00
cinap_lenrek
6de804b578
authsrv: don't hash in hostowner key for keyseed
...
aiju → i don't like it, it's more bullshit ways to expose the key :)
aiju → if someone can grab /adm/keyseed, they can also grab /adm/users and /adm/keys
2017-02-26 22:44:47 +01:00
cinap_lenrek
70c6dab003
play, file: recognize midi and mus audio
2017-02-26 19:26:42 +01:00
cinap_lenrek
009bec0752
authsrv: salt the keyseed from /adm/keyseed file
...
change the keyseed key derivation to hkdf sha256
using the hostowners des key plus 256 bit random
salt from /adm/keyseed.
2017-02-26 03:47:46 +01:00
cinap_lenrek
27498dd63a
authsrv: fix mkkey() dummy key generation (thanks aiju)
2017-02-26 02:21:49 +01:00
cinap_lenrek
27485e62d1
authsrv: get rid of needreply parameter by changing vnc protocol handler
2017-02-26 01:34:42 +01:00
aiju
6651be7516
authsrv: more useful error reporting
2017-02-26 01:11:37 +01:00
cinap_lenrek
28491941b0
auth/asaudit: quote user and dom attributes in factotum key
2017-02-25 17:47:36 +01:00
aiju
e4dc3f9bd8
asaudit: check factotum key ; netaudit: mention asaudit
2017-02-25 11:54:15 +01:00
aiju
0406d9828a
asaudit: missing \n in print
2017-02-24 01:08:08 +01:00
aiju
e14690517e
merge
2017-02-24 01:02:43 +01:00
aiju
1645f3314c
add auth/asaudit
2017-02-24 00:54:40 +01:00
cinap_lenrek
c22fa6d5eb
auth/readnvram: also print dp9ik key
2017-02-24 00:10:36 +01:00
aiju
54ec7aed62
auth/keyfs: support -r flag to mount read-only
2017-02-23 23:22:49 +01:00
aiju
55373a6498
ip/ipconfig: don't null terminate the dhcp string options.
...
this seems to be an anachronism; few modern clients put the null in and RFC 2132 says clients 'SHOULD NOT' null terminate
2017-02-19 22:53:10 +00:00
cinap_lenrek
abda59c7ec
ip/gping: fix corruption due to Machine.last pointer not being maintained in pingclean(), cleanup unused stuff
2017-02-19 02:27:42 +01:00
cinap_lenrek
064a987bd8
wpa: dont send initial "start" message, faster polling interval waiting for connection
...
the kernel will automatically timeout the eap blocked state
for us and reassociate for us, so there is no need to provoke
the ap to start the wpa/eap handshake.
make the polling faster changing the sleep time from 500 to
100 ms.
2017-02-16 20:11:20 +01:00
mischief
e8045cbcbf
factotum: support sha256 algorithm in rsa pkcs#1 signing
...
also removed md2 oid, it is unused.
2017-02-09 09:08:43 +00:00
cinap_lenrek
486523bbc5
ip/ipconfig: have to refresh /net/cs, /net/dns after ndbconfig even tho /net/ndb didnt got written
2017-02-06 11:19:45 +01:00
cinap_lenrek
bbce9c0566
rsagen: prefer 65537 as the default exponent when elen == 0, otherwise pick randomly
2017-02-06 04:25:38 +01:00
cinap_lenrek
03e6d3a0f0
aan: remove fcallfmt
2017-02-05 06:14:42 +01:00
cinap_lenrek
7f12431009
aan: use unsigned message counters, reject repeated acks, cleanup debug prints
2017-02-04 01:39:36 +01:00
cinap_lenrek
f94167ebee
ip/ipconfig: don't write /net/ndb when getting config from ndb (-N)
2017-02-02 22:00:51 +01:00
cinap_lenrek
65337bec22
aan: check negative message size in header
2017-02-02 20:53:05 +01:00
cinap_lenrek
7516e85813
audio/flacdec: continue after decode error (thanks deuteron)
2017-02-01 10:38:19 +01:00
cinap_lenrek
d643cf2fe6
cwfs: handle worm exhaustion more gracefully
...
don't deadlock when cwgrow() detects we'r out of worm space
by releasing the cache superblock buffer.
don't allocate space beyond the worm device when dumping by
having slit() check. after cwrecur(), we check if there are
enougth blocks remaining to write the dump date directories
and superblocks.
2017-01-30 23:17:18 +01:00
cinap_lenrek
5171a0ac52
cwfs: fix cwcmd startdump
2017-01-27 02:00:20 +01:00
cinap_lenrek
c6b2ad583e
auth/keyfs: use ulong for time
2017-01-26 22:09:44 +01:00
cinap_lenrek
8ea917d119
secstore/secuser: use ulong for time
2017-01-26 22:06:57 +01:00
cinap_lenrek
d6bb01da76
factotum: fix memory leak in findkey()
2017-01-22 00:42:13 +01:00
cinap_lenrek
03c44c44b0
rx: remove ssh code
2017-01-13 19:54:42 +01:00
khm
dc8c7bf2b7
ssh: R.I.P.
2017-01-12 16:36:38 -08:00
cinap_lenrek
c67d0c699f
6c: reverse register allocation order to avoid having to spill AX,DX and CX
...
allocating AX,CX,DX last improves 64-bit multiplication-add
chains like a*b + c*d as the multiplication does not need to save
and restore AX and DX registers in most cases. reserving CX for
shifts also helps.
2017-01-08 17:41:10 +01:00
cinap_lenrek
28089ee035
aux/data2s: compress output
...
encode printable characters litteraly, use D() macro to
reduce DATA instruction overhead.
this halves the time spend assembling $CONF.root.s for
the kernel build.
2017-01-07 20:36:13 +01:00
cinap_lenrek
df6c190831
cfs: fix cfsctl interaction with mount cache (mount -C flag)
...
the root fileserver is mounted with the mount cache enabled
causing the contents of the cfsctl file to be cached as well
leading to wrong results. so after we generated the new stat
buffer, we increment the qid.vers so the cache starts out
clean.
2017-01-06 02:54:26 +01:00
cinap_lenrek
19dc7c2097
6c, 8c: fix "DI botch" evacuating DI/SI/CX registers to ".save" variables
2017-01-02 05:49:18 +01:00
cinap_lenrek
9e95cb1ac9
samterm: avoid flushimage when theres nothing new to flush
2016-12-28 23:42:56 +01:00
cinap_lenrek
7755561ae1
fplot: fix zoom egetrect check (thanks qu7uux)
2016-12-28 02:09:33 +01:00
cinap_lenrek
74f62ca21b
fplot: parse negative numbers in argument to -r option (thanks qu7uux)
2016-12-28 02:08:45 +01:00
cinap_lenrek
84228515b6
keyfs: print error message when reading /adm/keys fails
2016-12-26 19:48:38 +01:00
spew
0885ed1e80
alv(2): new avl implementation
2016-12-22 16:47:41 -06:00
cinap_lenrek
3bf89ed825
auth/as: simplify further
2016-12-22 21:55:56 +01:00
cinap_lenrek
82bf19941e
auth/as, auth/none, auth/newns: consistent handling of command arguments, cleanup
2016-12-22 21:39:59 +01:00
cinap_lenrek
4f72cda4ac
awk: improve random number generation
...
don't use rand() and scale it to 0..1, instead call
native frand() which produces uniform random number.
instead of seeding the rng with time(0), use truerand().
2016-12-18 18:00:45 +01:00
cinap_lenrek
f3b5bcffce
acid: fix y.tab.h dependency for proc.$O
2016-12-15 22:08:57 +01:00
cinap_lenrek
6cbc226351
vncs: update devmouse code
2016-12-11 16:53:51 +01:00
cinap_lenrek
5cc1cb1820
vnc: don't prompt for password on auth_respond() failure
2016-12-11 16:52:38 +01:00
ftrvxmtrx
0930f44feb
cmd: remove a bit of unused stuff
2016-11-17 02:59:40 +01:00
ftrvxmtrx
c0d0f86b14
tar: remove unused variable
2016-11-17 02:14:59 +01:00