Commit graph

6012 commits

Author SHA1 Message Date
cinap_lenrek
fa94532c08 vgamach64xx: remove drawdebug reference 2017-05-01 02:15:03 +02:00
cinap_lenrek
0b85c859f5 merge 2017-05-01 00:03:01 +02:00
cinap_lenrek
2713779ee6 ip/torrent: avoid requesting same chunks
instead of always just requesting the missing range
of the current piece, remember the workpiece offset
and request sequential chunks from the workpiece.

this avoids double requests of the same ranges when
the peer does not respond with the data immidiately.
2017-05-01 00:01:14 +02:00
spew
ff8ae67b70 libregexp: miscellaneous little cleanups 2017-04-30 15:08:36 -05:00
cinap_lenrek
c00c60d327 sshfs: fix -r / retulting in "//foo" paths, memory leaks, use estrdup9p()
just use cleanname() to implement pathcat(), which
handles double slashes and ".." elements already.

have to free the partial dir structue on error in
parsedir().

use estrdup9p() instead of strdup().
2017-04-30 18:28:06 +02:00
cinap_lenrek
607e651c06 vnc: substitute iprint() with fprint(2, (gone from libmemdraw) 2017-04-30 04:06:03 +02:00
cinap_lenrek
24420ab9eb kernel: fix rewinding in directories with pread() offset
reading directories with pread() offset has to work the same
way as read(), otherwise exportfs breaks rewinding in directories.
2017-04-30 01:51:07 +02:00
cinap_lenrek
f8478eb4c4 lib9p: allow rewinding in 9pfile directories 2017-04-30 01:49:21 +02:00
cinap_lenrek
56611ced39 libmemdraw: get rid of kernel iprint() emulation 2017-04-29 21:13:48 +02:00
cinap_lenrek
9a5e55782d libmemdraw/libmemlayer: get rid of drawdebug prints 2017-04-29 21:10:28 +02:00
cinap_lenrek
3c894ece0c devdraw: ignore drawdebug command 2017-04-29 21:09:11 +02:00
cinap_lenrek
d4a6dc8910 libdraw: get rid of _drawdebug variable 2017-04-29 21:03:52 +02:00
aiju
ca2fa9596b sshfs: add -r and -M options 2017-04-29 18:44:01 +00:00
cinap_lenrek
b4b2cd72b0 cwfs: allow "none" user to rename files 2017-04-29 17:28:35 +02:00
cinap_lenrek
51eaebf4f0 sshfs: don't crash when no /etc/password file could be read on the remote side
in a cygwin environment, theres no /etc/passwd file to
translate numeric uid/gid's. changing passwdparse() to
ignore nil string argument.
2017-04-29 16:25:48 +02:00
aiju
f00488ec70 sshfs: check correctly for directory bits; calculate parent directory correctly 2017-04-28 20:42:38 +00:00
aiju
7cc9d944df sshfs: reset SReq->reqid field to fix double-free of request ids 2017-04-28 18:45:32 +00:00
aiju
5ce3f70f72 sshfs: remove debug print 2017-04-28 18:32:04 +00:00
aiju
825ab5d286 sshfs: don't cache directory contents 2017-04-28 18:21:03 +00:00
aiju
31ff4f925d add sshfs(4) manpage 2017-04-28 17:15:20 +00:00
aiju
11954a19a6 sshfs: look up uid/gid from /etc/^(passwd group) 2017-04-28 16:34:24 +00:00
aiju
562fd5b134 add sshfs 2017-04-28 15:41:48 +00:00
aiju
2a920e7361 ssh: add support for subsystems 2017-04-28 15:41:39 +00:00
cinap_lenrek
522f08e5f1 upas/fs: fix warning about unused Err: label 2017-04-27 20:06:00 +02:00
aiju
66c22f3908 games/md: copy updated cpu.c from blit 2017-04-27 08:46:44 +00:00
aiju
8d3bbf373c add blit(1) manpage 2017-04-27 08:42:41 +00:00
aiju
042f98784a ssh: make number of retries configurable 2017-04-24 23:26:43 +00:00
aiju
ef7b428832 ssh: loop keyboard-interactive on failure 2017-04-24 23:16:59 +00:00
aiju
fbf64184df ssh: fix typo 2017-04-24 16:07:34 +00:00
aiju
f8eb5a1d13 ssh: add "none" method to find out list of acceptable methods 2017-04-24 16:04:09 +00:00
spew
1f6a604c23 libavl: fix documentation 2017-04-24 10:50:03 -05:00
cinap_lenrek
403584715f ssh(1): refer to thumbprint(6) for the sshthumbs file format 2017-04-24 02:21:43 +02:00
cinap_lenrek
42f449b9ce ssh: print the whole ssh-rsa hostkey in base64 when thumb check fails
in addition to the thumbprint, also print the whole
hostkey in base64 (same format as openssh uses) to
make verification easier.
2017-04-24 01:46:22 +02:00
cinap_lenrek
346f5828e0 libsec: sha256 support for thumbprint files, use it in ssh as well
initThumbprints() now takes an application tag argument
so x509 and ssh can coexist.

the thumbprint entries can now hold both sha1 and sha256
hashes. okThumbprint() now takes a len argument for the
hash length used.

the new function okCertificate() hashes the certificate
with both and checks for any matches.

on failure, okCertificate() returns 0 and sets error string.

we also check for include loops now in thumbfiles, limiting
the number of includes to 8.
2017-04-23 19:00:08 +02:00
cinap_lenrek
2d1fbbdafa upas/fs: don't abort on malformed unix header 2017-04-23 18:42:26 +02:00
cinap_lenrek
641c9da369 ssh(1): add $home/lib/thumbfile to FILE section 2017-04-23 03:31:20 +02:00
cinap_lenrek
88cdfe76df ssh: document thumbfile options 2017-04-23 02:59:32 +02:00
cinap_lenrek
da0a7ac387 ssh: implement primitive hostkey verification
this checks $home/lib/sshthumbs for the sha256 hash
of the hosts rsa public key. if its not there, it
prints the rc command to add it and exits.
2017-04-23 02:54:41 +02:00
cinap_lenrek
2b10f79119 ssh(1): add bugs section about host not being authenticated 2017-04-23 01:11:12 +02:00
cinap_lenrek
9574e3908f ssh(1): initial documentation, needs examples for authentication 2017-04-23 00:42:33 +02:00
cinap_lenrek
83d5c827b7 vt: handle underline attribute 2017-04-22 22:52:34 +02:00
cinap_lenrek
f80b35faca merge 2017-04-22 22:21:47 +02:00
cinap_lenrek
13a74150ac vt: handle nocolor flag and reversed background colors 2017-04-22 22:19:17 +02:00
spew
7986722cec merge 2017-04-22 14:28:34 -05:00
spew
6261dcb06b replica: use libavl for avl tree implementation 2017-04-22 14:28:02 -05:00
cinap_lenrek
c029a0c913 vt: handle insert/delete/home/end keys for vt220/xterm 2017-04-22 21:07:53 +02:00
spew
9cf5198145 libavl: lookup can return the closest match 2017-04-22 13:59:37 -05:00
cinap_lenrek
f2b7f24e4e vt: handle application/normal mode (really fixes cursor keys) 2017-04-22 20:16:07 +02:00
cinap_lenrek
b58584b057 merge 2017-04-22 18:21:57 +02:00
cinap_lenrek
5d7a77cf57 vt: fix xterm cursor keys 2017-04-22 18:01:49 +02:00