summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-27plan9.ini(8): add USB section, documenting various usb optionscinap_lenrek
2019-03-27bootrc: handle automatic ip configuration on gbe mediacinap_lenrek
2019-03-27plan9.ini: add nora6= option to disable automatic ipv6 configurationcinap_lenrek
2019-03-25added walk(1)BurnZeZ
2019-03-23upas/fs: release mailbox syncing lock after encountering errorcinap_lenrek
2019-03-23webfs: bracket literal ipv6 host in "Host:" headercinap_lenrek
2019-03-21nusbrc: detect "keyboardio model 01", appears as multifuction device with ↵cinap_lenrek
IAD csp(0102EF) (thanks sam-d)
2019-03-21nusb/kb: fix continuous scrollwheel delta not being reported (thanks sam-d)cinap_lenrek
2019-03-18mergecinap_lenrek
2019-03-18python: clean and nuke pgen and libpython.a for all $CPUScinap_lenrek
2019-03-17fortunes: Open source may not be safe if it has no super excellent moderator.stanley lieber
2019-03-18dtracy(1): fix print(2) referencecinap_lenrek
2019-03-17python: remove /$objtype/lib/ape/libpython.a, track graminit.h dependencies, ↵cinap_lenrek
remove graminit.c
2019-03-17ip/ipconfig: use defaults for loopbackcinap_lenrek
- do not write /net/ndb for loopback medium unless -p is specified - use defmask() instead of hardcoded /64 for v6 to get correct /128 mask for ::1 - only do duplicate address detection on ethernet
2019-03-17ip/ipconfig: use ewrite() to enable routing command for sendracinap_lenrek
2019-03-17rootstub: create arm and mips directories in /usr/glenda/bin (tanks timclassic)cinap_lenrek
2019-03-10ip/tinc: 4096 bit RSA, (passive) pmtu discovery, fix udpfd close() race, cleanupcinap_lenrek
- increase buffer size to support up to 4096 bit RSA keys - handle PMTUDiscovery option and respond to pmtu probes - handle port in Address option - wlock(&netlk) before closing udpfd to sync with writers - move default subnet handling out of gethost()
2019-03-09libmemdraw: remove static Point p00 and use ZP insteadcinap_lenrek
2019-03-09libmemdraw: handle memarc() phi == 0 and phi <= -360, keep alpha in boundscinap_lenrek
2019-03-07mergecinap_lenrek
2019-03-07devip: ignore the evil bit in fragment info fieldcinap_lenrek
using ~IP_DF mask to select offset and "more fragments" bits includes the evil bit 15. so instead define a constant IP_FO for the fragment offset bits and use (IP_MF|IP_FO). that way the evil bit gets ignored and doesnt cause any useless calls to ipreassemble().
2019-03-06mach(2): fix byteswapping function signaturesmischief
2019-03-06vmx: check for draw initialization errorsmischief
2019-03-07devip: ignore icmp advise about laggard fragmentscinap_lenrek
icmp has to advise protocols about the first fragment only. all other fragments should be ignored.
2019-03-04vgadb: add t43p 1600x1200 panel entryqwx
2019-03-04igfx: add support for 915gmqwx
tested on a t43 with igfx and a 1600x1200 t43p screen what works: lvds, blanking what doesn't: hwgc (not visible), snarfing edid untested: vga based on realemu traces.
2019-03-04ip/tinc: honor TcpOnly and IndirectData settings, script support, prefer ↵cinap_lenrek
incoming udp connections only try listen/dial on udp when IndirectData/TcpOnly is not enabled. add support for scipts: host-up host-down tinc-up tinc-down subnet-up subnet-down when dialing udp connection, only switch when there is no other udp connection active. when we receive an authenticated message, we switch to that connection immidiately.
2019-03-04devip: ignore reserved fragment offset bitscinap_lenrek
2019-03-04devip: handle packet too big advise for icmp6, remove fragment headercinap_lenrek
2019-03-04devip: use common code in icmp for handling advisecinap_lenrek
2019-03-04devip: zero fragment offset after reassembly, remove tos magic, cleanupcinap_lenrek
2019-03-04devip: fix fragment forwardingcinap_lenrek
unfraglen() had the side effect that it would always copy the nexthdr field from the fragment header to the previous nexthdr field. this is fine when we reassemble packets but breaks fragments that we want to just forward unchanged.
2019-03-03devip: simplify ip reassembly functions, getting rid of Ipfrag.hlencinap_lenrek
given that we now keep the block size consistent with the ip packet size, the variable header part of the ip packet is just: BLEN(bp) - fp->flen == fp->hlen. fix bug in ip6reassemble() in the non-fragmented case: reload ih after ip header was moved before writing ih->ploadlen. use concatbloc() instead of pullupblock().
2019-03-03devip: fix block list handling for icmp/icmp6, use proper MinAdvise for icmp6cinap_lenrek
2019-03-03qio: handle common case in trimblock()cinap_lenrek
2019-03-03devip: fix ip fragmentation handling issues with header optionscinap_lenrek
some protocols assume that Ip4hdr.length[] and Ip6hdr.ploadlen[] are valid and not out of range within the block but this has not been verified. also, the ipv4 and ipv6 headers can have variable length options, which was not considered in the fragmentation and reassembly code. to make this sane, ipiput4() and ipiput6() now verify that everything is in range and trims to block to the expected size before it does any further processing. now blocklen() and Ip4hdr.length[] are conistent. ipoput4() and ipoput6() are simpler now, as they can rely on blocklen() only, not having a special routing case. ip fragmentation reassembly has to consider that fragments could arrive with different ip header options, so we store the header+option size in new Ipfrag.hlen field. unfraglen() has to make sure not to run past the buffer, and hadle the case when it encounters multiple fragment headers.
2019-03-01lib9p: fix zero msize abort() due to unknown version (thanks kivik)cinap_lenrek
kivik wrote: I've found a nasty bug in lib9p handling of Tversion messages, where an invalid version string in the request leads to servers abort()ing the spaceship. To reproduce: ; ramfs -S ram ; aux/9pcon /srv/ram Tversion ~0 DIE The issue lies in sversion() where in case an invalid version string is received we respond right away with ofcall.version="unknown"; however, we fail to set the ofcall.msize, which at this point is cleared to 0. This causes the convS2M call in respond() to fail and abort being called.
2019-02-27libip: move optimized 386 assembly version of ptclbsum() from kernel to libipcinap_lenrek
2019-02-27kernel: remove ptclbsum dependencies from configscinap_lenrek
2019-02-27pi, pi2: remove ptclbsum dependency from configcinap_lenrek
2019-02-25cwfs: fix %.*s format in cmd_printconf()cinap_lenrek
2019-02-25pc, pc64: fix %.*s format in multibootargscinap_lenrek
2019-02-25wifi: fix %.*s format in wifictlcinap_lenrek
2019-02-25abaco: fix %.*s format in findctype()cinap_lenrek
2019-02-25atazz: fix %.*s format in special command processingcinap_lenrek
2019-02-25aux/depend: fix %.*s format in path concatenationcinap_lenrek
2019-02-25aux/statusmsg: fix %.*s formatcinap_lenrek
2019-02-25aux/wpa: fix %.*s format in debug printscinap_lenrek
2019-02-25cc: fix %.*s format usage in lexer "token too long" errorcinap_lenrek
2019-02-25hgfs: fix %.*s usage in walkcinap_lenrek