Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-03-03 | devip: fix block list handling for icmp/icmp6, use proper MinAdvise for icmp6 | cinap_lenrek | |
2019-03-03 | qio: handle common case in trimblock() | cinap_lenrek | |
2019-03-03 | devip: fix ip fragmentation handling issues with header options | cinap_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-01 | lib9p: 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-27 | libip: move optimized 386 assembly version of ptclbsum() from kernel to libip | cinap_lenrek | |
2019-02-27 | kernel: remove ptclbsum dependencies from configs | cinap_lenrek | |
2019-02-27 | pi, pi2: remove ptclbsum dependency from config | cinap_lenrek | |
2019-02-25 | cwfs: fix %.*s format in cmd_printconf() | cinap_lenrek | |
2019-02-25 | pc, pc64: fix %.*s format in multibootargs | cinap_lenrek | |
2019-02-25 | wifi: fix %.*s format in wifictl | cinap_lenrek | |
2019-02-25 | abaco: fix %.*s format in findctype() | cinap_lenrek | |
2019-02-25 | atazz: fix %.*s format in special command processing | cinap_lenrek | |
2019-02-25 | aux/depend: fix %.*s format in path concatenation | cinap_lenrek | |
2019-02-25 | aux/statusmsg: fix %.*s format | cinap_lenrek | |
2019-02-25 | aux/wpa: fix %.*s format in debug prints | cinap_lenrek | |
2019-02-25 | cc: fix %.*s format usage in lexer "token too long" error | cinap_lenrek | |
2019-02-25 | hgfs: fix %.*s usage in walk | cinap_lenrek | |
2019-02-25 | ip/cifsd: fix %.*s format xdirflush() path | cinap_lenrek | |
2019-02-25 | ip/ppp: fix %.*s format in debug print | cinap_lenrek | |
2019-02-25 | ip/pppoe: fix %.*s format in debug prints | cinap_lenrek | |
2019-02-25 | ip/socksd: fix %.*s format in dialstring | cinap_lenrek | |
2019-02-25 | ip/tftpd: fix %.*s format for homedir path | cinap_lenrek | |
2019-02-25 | ip/torrent: fix %.*s format in dialstring | cinap_lenrek | |
2019-02-25 | libpanel: fix %.*s format in pl_snarfentry() | cinap_lenrek | |
2019-02-25 | nusb/audio: fix %.*s format usage | cinap_lenrek | |
2019-02-25 | upas/fs: fix %.*s format usage | cinap_lenrek | |
2019-02-25 | upas/ned: fix %.*s format in parsesearch(), improve mkfile | cinap_lenrek | |
2019-02-25 | upas/scanmail: fix %.*s format in xprint(), improve mkfile | cinap_lenrek | |
2019-02-25 | upas/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-25 | vt: fix %.*s in sendncars() | cinap_lenrek | |
2019-02-25 | webfs: properly handle %.*s in url path and debug prints | cinap_lenrek | |
2019-02-25 | ssh: don't assume error messages are ASCII. format number of complete runes, ↵ | cinap_lenrek | |
not bytes. | |||
2019-02-15 | ip/tinc: fix mistake from previous commit | cinap_lenrek | |
2019-02-13 | libip: 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-13 | devip: remove unused eipconvtet.c and ptclbsum.c files | cinap_lenrek | |
2019-02-13 | devip: ipv6 loopback ::1 has link-local scope | cinap_lenrek | |
2019-02-13 | merge | cinap_lenrek | |
2019-02-13 | ip/ipconfig: format ipmask with %M instead of %I | cinap_lenrek | |
2019-02-13 | postscript: use PI | BurnZeZ | |
2019-02-13 | libip: don't reject ipmask in v6 form for v4 address | cinap_lenrek | |
2019-02-12 | ip/ipconfig, ndb/dns, libndb: handle parseipmask() errors | cinap_lenrek | |
2019-02-12 | libip: return -1 in parseipmask() and parseipandmask() when mask is not ipv4 ↵ | cinap_lenrek | |
and v4 argument was set | |||
2019-02-11 | devip: use parseipandmask() for ipifc and route control message parsing | cinap_lenrek | |
2019-02-11 | ndb/dns: provide v4 argument to parseipmask(), use snprint() instead of sprint() | cinap_lenrek | |
2019-02-11 | upas/smtpd: implement ipv6 support for ip blacklist, replace v4parsecidr() ↵ | cinap_lenrek | |
with parseipandmask() | |||
2019-02-11 | ratfs: implement ipv6 support, replace v4parsecidr() with parseipandmask() | cinap_lenrek | |
2019-02-11 | ip/rip: use new parseipandmask() function | cinap_lenrek | |
2019-02-11 | ip/ayiya: use parseipandmask(), use ipvmp() instead of equivip6() | cinap_lenrek | |
2019-02-11 | ip/6in4: use parseipandmask(), use ipvmp() instead of equivip6() | cinap_lenrek | |
2019-02-11 | ip/tinc: use new parseipandmask() to parse subnets, use ipcmp()/ipmove(), ↵ | cinap_lenrek | |
remove prefixlen |