Commit Graph

  • ed9c3d238e use seccomp-filter to reduce privileges leitner 2015-05-08 00:26:37 +00:00
  • 2479167b37 check in some experimental X.509 parsing code leitner 2015-05-07 23:53:05 +00:00
  • ad390ee7ea robustness fixes leitner 2015-05-07 23:51:01 +00:00
  • 6ddce21c52 cleanup in error handling corner cases leitner 2015-05-07 23:50:12 +00:00
  • 0303876114 silence cppcheck leitner 2015-05-07 23:49:14 +00:00
  • 34c4ff4912 double free probably only an issue if you are not using dietlibc leitner 2015-05-07 22:53:13 +00:00
  • d51d7571c0 mention security fixes leitner 2015-05-07 22:48:32 +00:00
  • 4631d35709 fix read av leitner 2015-05-07 22:46:50 +00:00
  • c82d7f6cd8 prevent double free leitner 2015-05-07 22:25:28 +00:00
  • 7233b84786 add missing check to length parser add code to iterate through x509v3 extensions leitner 2014-04-23 14:10:48 +00:00
  • bfc0f242ee fix off by one in int parsing leitner 2014-04-21 14:42:24 +00:00
  • 1d3fbf91d8 oops, brain fart leitner 2014-04-21 09:50:12 +00:00
  • babfbabaf9 reject non-minimally encoded integers leitner 2014-04-19 10:46:59 +00:00
  • da36873b76 mmap_read now returns const char*, remove warnings reject non-minimal encodings for lengths and tags catch too-large-value overflows in tags leitner 2014-04-15 20:40:01 +00:00
  • b8771d5957 add more constness leitner 2013-10-20 15:32:31 +00:00
  • 218df43e66 reload ACLs when reloading the data file leitner 2013-09-16 18:43:59 +00:00
  • 46899d6ad1 fix make clean fix acl matching in tinyldap give ldapclient a way to do basic authentication leitner 2013-09-16 18:35:04 +00:00
  • 06871c8925 one of the off-by-one fixes was bad leitner 2011-11-08 01:40:01 +00:00
  • d184c99cf9 add asn1dump and support more OIDs expand fmt_asn1generic leitner 2011-09-27 20:07:13 +00:00
  • e0ee1b359d add rsa private key parsing leitner 2011-05-12 13:13:10 +00:00
  • c7f7465116 first shot at x.509 certificate parsing leitner 2011-05-12 00:22:49 +00:00
  • dae3ea8024 add oid and bitstring parsing and formatting to "generic" format string routines, test them in t10.c leitner 2011-04-28 21:33:10 +00:00
  • e04ca78ff8 add "generic" format string based encoder and decoder (scan_asn1generic, fmt_asn1generic, see t10.c for example usage) add "generic" asn.1 dumper (in t10.c) fix some read off-by-one errors, minor cleanups add real OID support add bitstring support leitner 2011-04-28 19:50:11 +00:00
  • e90320f819 fix multibyte tag encoding leitner 2010-03-24 01:13:24 +00:00
  • a216b19483 allow binding to a specific IP in tinyldap_standalone (via $IP env) leitner 2010-01-20 20:31:00 +00:00
  • 235a450026 unsigned long -> size_t leitner 2009-08-26 13:47:52 +00:00
  • 0baffda48f int underflow in indexing code (thx Andreas Stührk) leitner 2008-07-28 13:24:27 +00:00
  • a134707b07 disable nagle algorithm in ldapclient and server add a benchmark mode to ldapbench that does not reconnect for each query but does all the queries over the same connection. leitner 2008-06-18 00:16:57 +00:00
  • 7e2d134462 no acls, no write access leitner 2008-04-20 07:19:46 +00:00
  • 25ae04b54a add normalize_dn leitner 2008-04-20 07:15:02 +00:00
  • 2f378d3b8a add mduptab_reset leitner 2008-04-20 07:14:40 +00:00
  • b40e2c8644 detect unsanctioned journal editing (and react by re-reading journal from start) leitner 2008-04-20 07:09:44 +00:00
  • 05d388f122 add journal rereading add DelRequest support add little delete test tool ldapdelete leitner 2008-04-20 06:59:11 +00:00
  • fcf6ed51f2 implement modifyrequest rewrite bindrequest handling (reuse lookupdn) update acl filter cache when bind succeeds handle authenticating against a record in the journal leitner 2007-11-01 00:43:29 +00:00
  • b941b8b4f4 fix subtle journal bug leitner 2007-08-01 01:17:31 +00:00
  • 8a456f57b8 fix off-by-one leitner 2007-07-24 15:26:26 +00:00
  • 766eee0f8e remove gcc warning leitner 2007-06-29 14:31:59 +00:00
  • b04b25a4a8 keep order of database and journal entries leitner 2007-06-29 14:30:29 +00:00
  • 539472eb56 fix warning leitner 2007-06-28 22:57:54 +00:00
  • 433e9257c4 fix a few warnings leitner 2007-06-28 22:56:53 +00:00
  • 0396c78805 hups leitner 2007-06-28 22:53:24 +00:00
  • 731f2b677d use fmt_ldapescape2 leitner 2007-06-28 22:47:46 +00:00
  • 7c745ecd83 unsigned long -> size_t leitner 2007-06-28 22:31:14 +00:00
  • 35f2b3b745 first shot at "addrequest" support leitner 2007-06-28 22:17:33 +00:00
  • fefbe77ba0 work around gcc 4 bug (that optimizes away a security check) leitner 2006-11-22 09:54:03 +00:00
  • 90f7ea6bb5 Fix sizeLimit off-by-one (Marco Reichwald) leitner 2006-09-16 19:53:48 +00:00
  • 64eac4153f convert socket_tcp[46] to socket_tcp[46]b leitner 2006-07-15 23:19:04 +00:00
  • 91db2bf04f remove warning leitner 2005-12-19 14:21:49 +00:00
  • aa5a3e16f2 whoops, broke something? leitner 2005-12-07 01:43:45 +00:00
  • 7a16e24794 Thomas Walpuski: fix search requests with sizelimit fix scan_ldapaddrequest leitner 2005-10-27 11:54:56 +00:00
  • 7966fa0c86 remove lots of gcc 4 warnings leitner 2005-10-14 14:35:16 +00:00
  • 043b02ede6 it's record numbers, not offsets leitner 2005-10-13 18:40:00 +00:00
  • aee44036c5 case insensitive hashing also works leitner 2005-10-13 16:55:10 +00:00
  • 7376f0342c add hash table index type leitner 2005-10-13 16:51:44 +00:00
  • b4a257d0ad remove a few warning, document planned hash index format leitner 2005-10-12 20:03:03 +00:00
  • 22ce7ce569 ldapclient can now be used as benchmark link or rename the binary to "ldapbench" and pass the number of requests in $NUM in the environment. Also, a slight optimization in ldapclient (it now calls shutdown when it wrote the search request) leitner 2005-08-31 17:14:39 +00:00
  • a681de60fa more todo leitner 2005-08-27 23:01:46 +00:00
  • d01b19144f ignore more files leitner 2005-08-27 20:46:37 +00:00
  • 40271f169a experimental acl support leitner 2005-08-27 20:45:44 +00:00
  • d232d9fd65 oops, forgot to commit leitner 2005-08-11 12:20:56 +00:00
  • 783126698f ACL parsing appears to work, and a new test program called dumpacl can dump them back out. Now we just need to check them when executing ldap requests. *cough* leitner 2005-07-15 23:04:23 +00:00
  • 9c31097db5 stricter parser checking in scan_ldapsearchfilterstring leitner 2005-07-13 14:23:45 +00:00
  • 723c6b6777 fix stupid bug in fmt_ldapsearchfilter where the inner sum would be too large if you formatted an AND of several substrings leitner 2005-07-11 13:22:43 +00:00
  • 41dea7e1e2 continue work on acl, still not ready leitner 2005-07-08 23:13:17 +00:00
  • a2c437b31a document index type 1 better leitner 2005-07-08 21:55:21 +00:00
  • 86bcdeb915 int -> unsigned int leitner 2005-07-08 20:50:53 +00:00
  • 7b412d42e4 int -> unsigned int leitner 2005-07-08 20:34:19 +00:00
  • 268e5be57a work in progress leitner 2005-07-08 20:32:18 +00:00
  • 573df04139 honor size limit in ldap queries leitner 2005-07-01 11:31:20 +00:00
  • 300b692ad0 make scan_ldapsearchfilterstring terminate on syntax error add index support for >= and <= queries leitner 2005-06-13 06:38:21 +00:00
  • 6ed206616d fix stupid bug in ldapclient that caused entries to be printed twice leitner 2005-06-13 01:10:44 +00:00
  • d526e16980 parse can now handle data that is larger than memory (addindex still cannot) leitner 2005-04-06 08:36:31 +00:00
  • 5b980e3f93 ldapclient can now also query for no attributes mstorage_add can now allocate larger chunks (and parse uses 1 MiB) fix small oversight in addindex putting wrong index size in header more integer overflow checks in asn1 code (not security relevant) fix missing initialization in asn1 routines (not security relevant, code section not triggered by ldap) leitner 2005-04-01 21:53:33 +00:00
  • 253865441b change type 1 indices to be two tables of uint32 instead of one table of tuples this ought to be more cache friendly leitner 2005-04-01 20:35:22 +00:00
  • 832cf1011e also dump index size for comparison leitner 2005-04-01 20:11:17 +00:00
  • 78f1555c63 added type 1 indexes: also saves the record number in addition to the offset of the attribute. Faster but also doubles the index size. leitner 2005-04-01 20:09:38 +00:00
  • 7559449020 forgot to add leitner 2005-04-01 18:45:54 +00:00
  • 74ecd01f5a if client does not ask for any attributes, list 'em all leitner 2005-04-01 10:59:17 +00:00
  • 4b3919b269 add function to free search result entries (and use it in ldapclient) leitner 2005-04-01 09:26:50 +00:00
  • 01375185bf allow argv[1] to override "data" with tinyldap, so you can serve off a different data basis leitner 2005-04-01 07:16:37 +00:00
  • de55828626 remove a few warnings leitner 2005-03-31 18:06:23 +00:00
  • 53c75f6f3e add trivial mysql2ldif program leitner 2005-03-31 11:57:15 +00:00
  • 18108c0f2d make ldapclient output ldif leitner 2005-03-30 20:53:21 +00:00
  • 6488c15e4b document authentication and passwords in README leitner 2005-03-30 20:45:19 +00:00
  • 00a43f2d52 also allow crypt(3) and plain text passwords for authentication leitner 2005-03-30 13:07:41 +00:00
  • 1aac2d9b43 same bug was also in matchcasestring leitner 2005-03-18 08:10:45 +00:00
  • 7a38b5864d foo <=> foobar connection was wrong leitner 2005-03-17 10:37:51 +00:00
  • d02823c5ab make valgrind happy (only triggered in debug messages) leitner 2005-03-17 09:52:05 +00:00
  • a0fc14fd4b allow zero-length attribute values non-dietlibc md5 workaround (using openssl) leitner 2005-03-17 09:46:02 +00:00
  • c92b5180d7 EQUALS was actually UNEQUALS (WTF?!) leitner 2005-03-16 15:47:01 +00:00
  • 864895f714 minor updates (acls don't work yet) leitner 2005-02-19 17:46:42 +00:00
  • 243ee82cdb add simple acl parser (not yet integrated and no matcher so far) leitner 2005-01-05 02:05:52 +00:00
  • 188f25a4f6 fix filter example leitner 2004-11-12 17:11:18 +00:00
  • 9b68a30055 more detailed todo leitner 2004-10-17 07:34:34 +00:00
  • 8de25348e3 remove unused variable leitner 2004-08-04 17:48:03 +00:00
  • 4f2bfc0074 fix bug in fmt_ldapsearchfilter free memory for requests we can't handle yet leitner 2004-08-03 22:34:38 +00:00
  • dee7f4c9c1 fmt_ldapbindrequest returned too big a length leitner 2004-07-05 21:45:18 +00:00
  • 989695af67 fix several bugs leitner 2004-03-12 23:21:24 +00:00
  • 7bf8213396 fix substring matches (Zak Johnson) leitner 2004-03-02 23:35:00 +00:00
  • fbc0865c50 FreeBSD compatibility (Dirk Meyer) leitner 2004-02-26 17:26:30 +00:00