Commit Graph

212 Commits

Author SHA1 Message Date
leitner
6ef84457cc fix two bugs in the indexing code found by Georg Lehner
silence if statement indentation warnings (gcc has become more picky)
2017-02-25 08:40:23 +00:00
leitner
eb8bf7c2ac fix for infinite loop in case of query return limit 2016-01-22 15:40:05 +00:00
leitner
4a12975f61 off by one 2015-06-13 12:05:16 +00:00
leitner
0f622add7f start working on test suite 2015-05-08 04:33:04 +00:00
leitner
e4a6b9268f add some more tls wip code 2015-05-08 01:21:32 +00:00
leitner
ed9c3d238e use seccomp-filter to reduce privileges 2015-05-08 00:26:37 +00:00
leitner
2479167b37 check in some experimental X.509 parsing code 2015-05-07 23:53:05 +00:00
leitner
ad390ee7ea robustness fixes 2015-05-07 23:51:01 +00:00
leitner
6ddce21c52 cleanup in error handling corner cases 2015-05-07 23:50:12 +00:00
leitner
0303876114 silence cppcheck 2015-05-07 23:49:14 +00:00
leitner
34c4ff4912 double free probably only an issue if you are not using dietlibc 2015-05-07 22:53:13 +00:00
leitner
d51d7571c0 mention security fixes 2015-05-07 22:48:32 +00:00
leitner
4631d35709 fix read av 2015-05-07 22:46:50 +00:00
leitner
c82d7f6cd8 prevent double free 2015-05-07 22:25:28 +00:00
leitner
7233b84786 add missing check to length parser
add code to iterate through x509v3 extensions
2014-04-23 14:10:48 +00:00
leitner
bfc0f242ee fix off by one in int parsing 2014-04-21 14:42:24 +00:00
leitner
1d3fbf91d8 oops, brain fart 2014-04-21 09:50:12 +00:00
leitner
babfbabaf9 reject non-minimally encoded integers 2014-04-19 10:46:59 +00:00
leitner
da36873b76 mmap_read now returns const char*, remove warnings
reject non-minimal encodings for lengths and tags
catch too-large-value overflows in tags
2014-04-15 20:40:01 +00:00
leitner
b8771d5957 add more constness 2013-10-20 15:32:31 +00:00
leitner
218df43e66 reload ACLs when reloading the data file 2013-09-16 18:43:59 +00:00
leitner
46899d6ad1 fix make clean
fix acl matching in tinyldap
give ldapclient a way to do basic authentication
2013-09-16 18:35:04 +00:00
leitner
06871c8925 one of the off-by-one fixes was bad 2011-11-08 01:40:01 +00:00
leitner
d184c99cf9 add asn1dump and support more OIDs
expand fmt_asn1generic
2011-09-27 20:07:13 +00:00
leitner
e0ee1b359d add rsa private key parsing 2011-05-12 13:13:10 +00:00
leitner
c7f7465116 first shot at x.509 certificate parsing 2011-05-12 00:22:49 +00:00
leitner
dae3ea8024 add oid and bitstring parsing and formatting to "generic" format string
routines, test them in t10.c
2011-04-28 21:33:10 +00:00
leitner
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
2011-04-28 19:50:11 +00:00
leitner
e90320f819 fix multibyte tag encoding 2010-03-24 01:13:24 +00:00
leitner
a216b19483 allow binding to a specific IP in tinyldap_standalone (via $IP env) 2010-01-20 20:31:00 +00:00
leitner
235a450026 unsigned long -> size_t 2009-08-26 13:47:52 +00:00
leitner
0baffda48f int underflow in indexing code (thx Andreas Stührk) 2008-07-28 13:24:27 +00:00
leitner
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.
2008-06-18 00:16:57 +00:00
leitner
7e2d134462 no acls, no write access 2008-04-20 07:19:46 +00:00
leitner
25ae04b54a add normalize_dn 2008-04-20 07:15:02 +00:00
leitner
2f378d3b8a add mduptab_reset 2008-04-20 07:14:40 +00:00
leitner
b40e2c8644 detect unsanctioned journal editing (and react by re-reading journal
from start)
2008-04-20 07:09:44 +00:00
leitner
05d388f122 add journal rereading
add DelRequest support
add little delete test tool ldapdelete
2008-04-20 06:59:11 +00:00
leitner
fcf6ed51f2 implement modifyrequest
rewrite bindrequest handling (reuse lookupdn)
update acl filter cache when bind succeeds
handle authenticating against a record in the journal
2007-11-01 00:43:29 +00:00
leitner
b941b8b4f4 fix subtle journal bug 2007-08-01 01:17:31 +00:00
leitner
8a456f57b8 fix off-by-one 2007-07-24 15:26:26 +00:00
leitner
766eee0f8e remove gcc warning 2007-06-29 14:31:59 +00:00
leitner
b04b25a4a8 keep order of database and journal entries 2007-06-29 14:30:29 +00:00
leitner
539472eb56 fix warning 2007-06-28 22:57:54 +00:00
leitner
433e9257c4 fix a few warnings 2007-06-28 22:56:53 +00:00
leitner
0396c78805 hups 2007-06-28 22:53:24 +00:00
leitner
731f2b677d use fmt_ldapescape2 2007-06-28 22:47:46 +00:00
leitner
7c745ecd83 unsigned long -> size_t 2007-06-28 22:31:14 +00:00
leitner
35f2b3b745 first shot at "addrequest" support 2007-06-28 22:17:33 +00:00
leitner
fefbe77ba0 work around gcc 4 bug (that optimizes away a security check) 2006-11-22 09:54:03 +00:00