Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-11-03 | libndb: move mkptrname() into libndb to avoid duplication | cinap_lenrek | |
2020-12-07 | libndb: open internal file-descriptors with OCEXEC flag | cinap_lenrek | |
2020-12-07 | libndb: remove db file size limit | kvik | |
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-17 | libndb: order subnets by prefix length for ndbipinfo() lookups | cinap_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-12 | ip/ipconfig, ndb/dns, libndb: handle parseipmask() errors | cinap_lenrek | |
2019-02-11 | libndb: provide parseipmask() v4 argument in subnet(), use snprint() instead ↵ | cinap_lenrek | |
of sprint() | |||
2018-09-16 | libndb: add missing ndbdedup.c | cinap_lenrek | |
2018-09-16 | libndb: make ndbipinfo() walk ipnet for all matching entries, concatenate ↵ | cinap_lenrek | |
and dedup result | |||
2018-05-16 | ndb/cs: prevent deadlock with ndb/cs by mounting /srv/dns *AFTER* /net | cinap_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-28 | libndb: cleanup | cinap_lenrek | |
2018-01-27 | libndb: retire deprecated csgetval(), ndbgetval() and ndblookval() functions | cinap_lenrek | |
2016-11-17 | /sys/src/lib*: clean up | ftrvxmtrx | |
2012-08-02 | libndb: apply eriks dnsquery() ipv6 reverse lookup patch | cinap_lenrek | |
2012-08-02 | ndb: recognize ip6.arpa postfix in mkptrname() | cinap_lenrek | |
2012-03-23 | ndb/cs: fix use after free caused by flush/clunk happening before dns lookup ↵ | cinap_lenrek | |
finishes | |||
2012-02-13 | fix cs deadlock caused by ndb trying to create hashfile for /net/ndb | cinap_lenrek | |
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |