summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-02-25ip/cifsd: fix %.*s format xdirflush() pathcinap_lenrek
2019-02-25ip/ppp: fix %.*s format in debug printcinap_lenrek
2019-02-25ip/pppoe: fix %.*s format in debug printscinap_lenrek
2019-02-25ip/socksd: fix %.*s format in dialstringcinap_lenrek
2019-02-25ip/tftpd: fix %.*s format for homedir pathcinap_lenrek
2019-02-25ip/torrent: fix %.*s format in dialstringcinap_lenrek
2019-02-25libpanel: fix %.*s format in pl_snarfentry()cinap_lenrek
2019-02-25nusb/audio: fix %.*s format usagecinap_lenrek
2019-02-25upas/fs: fix %.*s format usagecinap_lenrek
2019-02-25upas/ned: fix %.*s format in parsesearch(), improve mkfilecinap_lenrek
2019-02-25upas/scanmail: fix %.*s format in xprint(), improve mkfilecinap_lenrek
2019-02-25upas/smtp: fix %.*s format for challenge in smtpcram()cinap_lenrek
the challenge should already be in ASCII format, but better safe than sorry.
2019-02-25vt: fix %.*s in sendncars()cinap_lenrek
2019-02-25webfs: properly handle %.*s in url path and debug printscinap_lenrek
2019-02-25ssh: don't assume error messages are ASCII. format number of complete runes, ↵cinap_lenrek
not bytes.
2019-02-15ip/tinc: fix mistake from previous commitcinap_lenrek
2019-02-13libip: prefer v4 over v6 for myipaddr()cinap_lenrek
myipaddr() is used in legacy applications that assume a single ip address per host. so prefer to retun a v4 address over a v6 one.
2019-02-13devip: remove unused eipconvtet.c and ptclbsum.c filescinap_lenrek
2019-02-13devip: ipv6 loopback ::1 has link-local scopecinap_lenrek
2019-02-13mergecinap_lenrek
2019-02-13ip/ipconfig: format ipmask with %M instead of %Icinap_lenrek
2019-02-13postscript: use PIBurnZeZ
2019-02-13libip: don't reject ipmask in v6 form for v4 addresscinap_lenrek
2019-02-12ip/ipconfig, ndb/dns, libndb: handle parseipmask() errorscinap_lenrek
2019-02-12libip: return -1 in parseipmask() and parseipandmask() when mask is not ipv4 ↵cinap_lenrek
and v4 argument was set
2019-02-11devip: use parseipandmask() for ipifc and route control message parsingcinap_lenrek
2019-02-11ndb/dns: provide v4 argument to parseipmask(), use snprint() instead of sprint()cinap_lenrek
2019-02-11upas/smtpd: implement ipv6 support for ip blacklist, replace v4parsecidr() ↵cinap_lenrek
with parseipandmask()
2019-02-11ratfs: implement ipv6 support, replace v4parsecidr() with parseipandmask()cinap_lenrek
2019-02-11ip/rip: use new parseipandmask() functioncinap_lenrek
2019-02-11ip/ayiya: use parseipandmask(), use ipvmp() instead of equivip6()cinap_lenrek
2019-02-11ip/6in4: use parseipandmask(), use ipvmp() instead of equivip6()cinap_lenrek
2019-02-11ip/tinc: use new parseipandmask() to parse subnets, use ipcmp()/ipmove(), ↵cinap_lenrek
remove prefixlen
2019-02-11ip/dhcpd: provide v4 argument for parseipmask()cinap_lenrek
2019-02-11ip/ipconfig: use new parseipandmask() functioncinap_lenrek
2019-02-11libndb: provide parseipmask() v4 argument in subnet(), use snprint() instead ↵cinap_lenrek
of sprint()
2019-02-11libip: replace v4parsecidr() with new parseipandmask()cinap_lenrek
we want to accept V4 subnets in CIDR notation consistently which means we need to interpret the mask in context of the IP address. so parseipmask() now has an additional v4 flag argument which offsets the prefixlength by 96 so a /24 will be interpreted as a /120. parseipandmask() is the new function which handles this automatically depending on the ip address type. v4parsecidr() is now obsolete.
2019-02-08segment(3): use bind -c in examples (thanks henesy)cinap_lenrek
2019-02-05cifs: merge with steve simons latest version. thank you very much!cinap_lenrek
2019-02-05cifs: fix pruning of . and .. directory entries (thanks steve simon)cinap_lenrek
steve wrote: > I cam across a bug in cifs. > > An empty directory under windows 7 pro contains a single entry "." but it > doesn't appear to contain "..". As a result "." is not removed on dirscan > and plan9 gets when trying to traverse the hierarchy.
2019-02-01bcm: include sdmmc in pi kernel configurationcinap_lenrek
2019-01-30devdraw: get rid of softscreen==0xa110c hack and make attachscreen() return ↵cinap_lenrek
Memdata* all screen implementations use a Memimage* internally for the framebuffer, so we can return a shared reference to its Memdata structure in attachscreen() instead of a framebuffer data pointer. this eleminates the softscreen == 0xa110c hack as we always use shared Memdata* now.
2019-01-30bcm: list devswap only once in devtab arraycinap_lenrek
2019-01-28devdraw: simplify drawgen()cinap_lenrek
2019-01-27devip: tcp: Don't respond to FIN-less ACKs during TIME-WAIT (thanks Barret ↵cinap_lenrek
Rhoden) Under the normal close sequence, when we receive a FIN|ACK, we enter TIME-WAIT and respond to that LAST-ACK with an ACK. Our TCP stack would send an ACK in response to *any* ACK, which included FIN|ACK but also included regular ACKs. (Or PSH|ACKs, which is what we were actually getting/sending). That was more ACKs than is necessary and results in an endless ACK storm if we were under the simultaneous close sequence. In that scenario, both sides of a connection are in TIME-WAIT. Both sides receive FIN|ACK, and both respond with an ACK. Then both sides receive *those* ACKs, and respond again. This continues until the TIME-WAIT wait period elapses and each side's TCP timers (in the Plan 9 / Akaros case) shut down. The fix for this is to only respond to a FIN|ACK when we are in TIME-WAIT.
2019-01-24dhcpd(8), ndb(6): group related ndb attributes togethercinap_lenrek
2019-01-24ip/dhcpd: remove undocumented dhcpgroup mechanism, group related ndb ↵cinap_lenrek
attributes together
2019-01-23troff: fix -ms mug (thanks aksr)cinap_lenrek
Executing .KS after .1C exhibits a bug. Instead on the next page, the text between .KS and .KE is shown at the bottom of the page (where footnote would be). To reproduce the bug: http://sprunge.us/xyCUX7 The bug can be fixed by changing two lines in tmac.s: if \\n(NX<1 .bp\} to if \\n(NX<=1 .bp\} and if \\n(NX<1 'bp\} to if \\n(NX<=1 'bp\}
2019-01-23dhcpd(8), ndb(6): update documentation (thanks k0ga)cinap_lenrek
2019-01-23ip/dhcpd: send vendor ndb attribute if available (thanks k0ga)cinap_lenrek
At this moment plan9 is using vendorinfo to communicate some specific plan9 parameters, but there are some boards that use this attribute to set specific values. This patch allows netbooting of these boards using ndb attributes instead of hard coded solutions in dhcpd(1). Vendor attribute is used for that purpose because it is also used for the same purpose in bootp.