Commit graph

6536 commits

Author SHA1 Message Date
aiju be3809866c ape: floating point improvements (thanks spew) 2018-05-24 13:40:44 +01:00
cinap_lenrek 930efe67e8 ape: fix auth.h 2018-05-20 23:22:41 +02:00
cinap_lenrek e69cde3120 authsrv: implement AuthNTLM 2018-05-20 22:59:24 +02:00
cinap_lenrek 87617ea25e merge 2018-05-20 22:50:50 +02:00
cinap_lenrek 6e19d19285 separate MSCHAP(v2) and NTLM(v2) authentication
due to linux omiting the final Z(4) in the NTLMv2 reply, and
the need for the windom for LMv2 authentication, here is a new
AuthNTLM ticket request now with length and dom fields.
2018-05-20 22:49:24 +02:00
qwx 2e717a5557 camv: fix leak on resize 2018-05-20 16:47:41 +02:00
aiju 1f8d347c92 fplot: draw axes; zoom more naturally; unzoom 2018-05-20 09:14:16 +00:00
cinap_lenrek 40f6e00b9c ip/cifsd: limit response data count in TRANS2 for remotebuffersize, avoid empty filename for the root 2018-05-20 03:48:33 +02:00
cinap_lenrek e684b2a3fb authsrv: work arround linux omiting final Z(4) after the AvrPairs 2018-05-20 01:37:38 +02:00
cinap_lenrek bf86c9b4e1 dontkill: explicitely set exit status to '' 2018-05-19 23:15:22 +02:00
cinap_lenrek 58aba2a67f cifsd: fix ntlmv2 authentication
in ntlmv2, the client will retry the challenge response trying a bunch
of different domain names assuming the same server challenge. so we have
to make retries work with factotum and the auth server.

also, windows 7 with compatlevel=4 sends all zeros LM response.
2018-05-19 16:40:01 +02:00
spew a59aa24a94 merge 2018-05-18 21:39:19 -04:00
spew 9360415d56 ssh:add -r for extra raw mode 2018-05-18 21:36:33 -04:00
cinap_lenrek 530ab11783 merge 2018-05-16 21:43:29 +02:00
cinap_lenrek 6e284eaad5 ndb/cs: prevent deadlock with ndb/cs by mounting /srv/dns *AFTER* /net
the dnsquery() library function should not start mouting /srv/dns on
its own. this problem arrises only for ndb/cs as it is started before
ndb/dns.

the issue with mounting /srv/dns before /net is when ndb/cs attempts
to read the list of interfaces, accessing /net/ipifc, which triggers
a rpc to ndb/dns as it is ontop of the mount. this can yield a deadlock
when ndb/dns blocks its 9p loop waiting for requests to complete on
a refresh and the requests are stuck waiting for ndb/cs to translate
a dial string for announce().
2018-05-16 21:41:42 +02:00
aiju b8430d5395 sshfs: if we're going to annoy everyone we should at least match documentation 2018-05-15 16:19:28 +01:00
cinap_lenrek 5c2b4dfc81 9boot: DHCPv6 support for efi 2018-05-15 02:18:50 +02:00
qwx c83a6f9c00 emulators ui: fix input botch and typo 2018-05-14 20:49:08 +02:00
cinap_lenrek 7e33a75e36 merge 2018-05-14 19:19:50 +02:00
cinap_lenrek c9bb6f68eb devip: don't set mtu of interface to zero when not specified (thanks joe9)
change 9f74a951ae6a introduced a bug that set the mtu of a new
interface to 0 when not specified in the add ctl.
2018-05-14 19:18:13 +02:00
qwx a4b93e543b drop your /lib/keyboard sir william, I cannot wait till lunchtime. 2018-05-14 15:17:54 +02:00
aiju 2e369f0d1f merge 2018-05-14 14:01:00 +01:00
aiju b7a4dab54a My /lib/keyboard explodes with delight! 2018-05-14 13:51:09 +01:00
BurnZeZ f44cfeb7d7 audio/pcmconv: fix accidental cast to float instead of double 2018-05-13 19:58:16 +00:00
qwx 19d6a98038 ape: add signed fixed size integer typedefs to u.h 2018-05-13 07:13:00 +02:00
qwx 88537cfe9b demote libemu to common code
- too small, nothing else that won't be under /games will use it
- "libemu" as a name doesn't make sense here
2018-05-13 07:01:47 +02:00
qwx abf8c8bf2c add port of aiju's port of games/2600 2018-05-12 19:21:48 +02:00
qwx 1195ca910c add libemu
move redundant code from emulators to a common library
2018-05-12 19:20:53 +02:00
qwx 70c7a9eb07 add signed fixed size integer typedefs 2018-05-12 19:19:52 +02:00
cinap_lenrek 2728e06589 ndb/dns: lookup *all* entries in dblookup(), v4 and v6 queries in parallel, remove weigthed timeouts
dblookup() used to only return the first matching entry. in
case of ipv6, we want all entries returned to get both v4
and v6 addresses... and these might not neccesarily be in
the same entry (see /lib/ndb/common). note also this makes
it behave the same as in cachedb mode which reads in the
whole database.

we do not know if v4 or v6 routing works, so the simplest
is just to query v4 and v6 nameservers in parallel. this is
done by changing serveraddrs() to return one address type,
and we make sure to get at least one v4 and one v6 address
each round.

get rid of the weigthed timeout code... there where too many
assumptions. instead, we give a round 500ms timeout (or 1 second
in patient mode) and honor the maximum query time.
2018-05-11 22:37:28 +02:00
cinap_lenrek d5cf062e7a merge 2018-05-11 16:16:37 +02:00
cinap_lenrek 4c9cbe484d fix manpage cross references 2018-05-11 16:15:08 +02:00
cinap_lenrek f428a5daaa libplumb: fix plumbunpackpartial()
- *morep was not set in error cases
- attr and ntext could be leaked
2018-05-10 19:46:38 +02:00
cinap_lenrek fcb974af3a merge 2018-05-10 19:38:01 +02:00
cinap_lenrek eb3951bcd4 ppp: set source specific default route regardless of primary flag, set link speed thru new ctl message when -b is specified 2018-05-10 19:36:14 +02:00
cinap_lenrek 298f239695 ip: add some primitive rate limiting knobs to counteract bufferbloat 2018-05-10 19:31:58 +02:00
aiju 0e5888a0cf add usb tablet support 2018-05-08 08:28:48 +00:00
aiju ec60da4961 libmp: add awk-generated tests 2018-05-05 12:14:39 +00:00
aiju a7a07b2d43 mpdiv: get signs right... 2018-05-05 12:03:45 +00:00
aiju 0930daf295 mp: more tests 2018-05-05 08:49:38 +00:00
aiju 72ad2d1ee1 mpmagadd: oops... 2018-05-04 21:42:08 +00:00
aiju 35065b9127 mpmagadd: force output sign +1 always 2018-05-04 21:41:16 +00:00
aiju 8dc43a951c mpdiv: fix sign bug 2018-05-04 21:18:46 +00:00
aiju 454d26a0e4 pc: add $ operator 2018-05-04 11:07:39 +01:00
aiju fa028a9352 libmp: add new tests 2018-05-04 00:42:59 +00:00
aiju cda7129cd2 mplogic: don't drop carry out 2018-05-03 23:31:24 +00:00
aiju 98a5fc6535 pc(1): always allocate at least one mpdigit (itomp assumes this) 2018-05-03 14:06:15 +01:00
cinap_lenrek 2cfc72db76 merge 2018-05-03 12:28:41 +02:00
mischief 12716019bf libplumb: fix old leak introduced in 18b8ed1a5ea3 2018-05-03 01:26:09 -07:00
cinap_lenrek b2599999be ipconfig(8): clarify -p and -P options 2018-05-03 09:09:39 +02:00