summaryrefslogtreecommitdiff
path: root/sys/src/libndb
AgeCommit message (Collapse)Author
2020-12-07libndb: open internal file-descriptors with OCEXEC flagcinap_lenrek
2020-12-07libndb: remove db file size limitkvik
Removes the 128 kB limit for files making up the database. We used to skip over and complain about files that exceeded the limit, forcing the user to generate hash files. This caused things to inexplicably stop working after a file hit the hidden limit, which is unreasonable behaviour considering that libndb happily, albeit slowly, works with bigger files.
2020-07-17libndb: order subnets by prefix length for ndbipinfo() lookupscinap_lenrek
to reproduce: ipnet=foo0 ip=192.168.0.0 ipmask=/16 ipnet=foo1 ip=192.168.0.0 ipmask=/24 ip=192.168.0.1 sys=foo2 % ndb/ipquery sys foo2 ipnet ipmask ipnet=foo0 ipmask=/16 we would expect to get ipnet=foo1 here as it is more specific subnet. the solution is to order the subnets by prefix length in subnet() before calling filter(), so that we process the longest prefixes first.
2019-02-12ip/ipconfig, ndb/dns, libndb: handle parseipmask() errorscinap_lenrek
2019-02-11libndb: provide parseipmask() v4 argument in subnet(), use snprint() instead ↵cinap_lenrek
of sprint()
2018-09-16libndb: add missing ndbdedup.ccinap_lenrek
2018-09-16libndb: make ndbipinfo() walk ipnet for all matching entries, concatenate ↵cinap_lenrek
and dedup result
2018-05-16ndb/cs: prevent deadlock with ndb/cs by mounting /srv/dns *AFTER* /netcinap_lenrek
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-04-28libndb: cleanupcinap_lenrek
2018-01-27libndb: retire deprecated csgetval(), ndbgetval() and ndblookval() functionscinap_lenrek
2016-11-17/sys/src/lib*: clean upftrvxmtrx
2012-08-02libndb: apply eriks dnsquery() ipv6 reverse lookup patchcinap_lenrek
2012-08-02ndb: recognize ip6.arpa postfix in mkptrname()cinap_lenrek
2012-03-23ndb/cs: fix use after free caused by flush/clunk happening before dns lookup ↵cinap_lenrek
finishes
2012-02-13fix cs deadlock caused by ndb trying to create hashfile for /net/ndbcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen