Commit Graph

145 Commits

Author SHA1 Message Date
alexhudson d5bc7faceb Correctly calculate expiry time in daemon cookies. 2009-09-16 20:28:15 +00:00
pfelt bfe5b9198e -- slight cleanup of logging 2009-09-16 02:40:42 +00:00
pfelt 1d7632dfdd -- requiring 1024 DH bits is too much by default. this call is also not required for server side communication as it only validates info coming from the server. this should fix the odd "mail gets stuck in the queue for domain xyz and the logs say ssl failed" error. 2009-09-13 05:14:59 +00:00
alexhudson 1a5d192fc5 Another attempt to fix our lib naming issues. 2009-09-09 20:40:31 +00:00
alexhudson 22f7058bfa Attempt to work out the correct library locations more generally. 2009-09-09 09:27:47 +00:00
alexhudson 1819bc99e9 Make the installer a bit clever wrt. getting chown correct 2009-08-30 17:13:20 +00:00
pfelt 69d1290104 -- fix: a potential DOS where connio would segfault on the following command sequence (pop connect) stls \n quit \n due to an attempt to free 0x0 2009-08-26 03:50:40 +00:00
alexhudson 5cea247747 Fix up GArrayFindSorted. This is why our arrays suck; we don't differentiate between reference arrays and value arrays. 2009-08-23 16:19:14 +00:00
alexhudson 8d0711402d Fix segfault showing up in store - empty text results coming back weren't getting NULLed out correctly. 2009-08-23 15:10:34 +00:00
alexhudson 9db28127a9 Add SONAMEs back to the libraries. src/libs/bongoutil now src/libs/util as a result. 2009-08-21 15:25:52 +00:00
pfelt 4e46629ee3 -- fix: a non StrictCompile() error. the fix to MsgSQLResultTextPtr may have introduced a memory leak. if so we'll need to change its usage to be const 2009-08-20 03:41:03 +00:00
pfelt 14b6893ae4 -- fix: a non StrictCompile() build warning. i'm not sure this code every worked properly 2009-08-20 03:16:26 +00:00
pfelt af519dac9e -- fix: a non StrictCompile() build warning 2009-08-20 03:05:43 +00:00
pfelt 2276228922 -- fix: non StrictCompile() fixes throwing errors on compile, mostly due to mis-defined callbacks 2009-08-19 04:39:40 +00:00
alexhudson 54eb30ea62 Attempt to make Bongo compile on older libical apis 2009-08-18 14:08:17 +00:00
pfelt 71157dde98 -- do we need to pre-compile the __init__.py ? 2009-08-17 23:36:16 +00:00
pfelt 9e4d4958d5 -- fix: bongo-storetool so that it works right
-- fix: install all required files
2009-08-17 23:26:47 +00:00
pfelt 1c70d90f6f -- fix: bongo-queuetool so that it works right
-- fix: some calls in libbongo were no longer needed
2009-08-17 22:53:51 +00:00
pfelt 0db5f0086a -- fix a strict compile error that LanceHaig found due to a missing function prototype 2009-08-16 20:45:49 +00:00
pfelt 44a5d81ccf -- remove unneeded portions of memmgr, move remaining bits to bongoutil
-- refactor a little bit of code
2009-08-15 21:39:22 +00:00
pfelt 6798503631 -- fix: make json compile cleanly 2009-08-15 17:26:40 +00:00
pfelt b378e96840 -- the beginnings of the all out removal of memmgr and merging it elsewhere. 2009-08-15 17:19:49 +00:00
pfelt 23c9f1e29f -- fix: make memmgr compile cleanly
-- remove some unneeded code
2009-08-12 02:35:55 +00:00
pfelt 05ef3f431a -- fix: make connio compile cleanly. 2009-08-08 03:16:33 +00:00
pfelt ded3f9f3b7 -- fix: the gcry_md_read() function returns an unsigned char *. the sprintf conversion to hex was failing due to signedness 2009-08-02 04:38:24 +00:00
alexhudson 56eef6558b Slay the evil array beast. This is why I want my own array api. 2009-07-20 14:47:00 +00:00
pfelt d7b1ef0bec -- cleanup the parameter list for ConnClose(), ConnCloseAll(), ConnStartup 2009-07-19 23:31:35 +00:00
alexhudson 94912df75c Change back array index call to the right form.. 2009-07-19 22:01:26 +00:00
alexhudson ea708940e9 Give explicit array element size instead of trying to figure it out 2009-07-19 20:19:48 +00:00
alexhudson 6b8b45e92d Update Xpl to compile cleanly, remove some unused code. 2009-07-19 13:43:11 +00:00
alexhudson 4f01ac0677 Make bongocal compile strictly, try to fix some of the bugs in the library... 2009-07-19 13:24:54 +00:00
pfelt 2b417a9c7d -- remove BongoArray and replace it with GArray
-- StrictCompile antispam and fix all the accompanying warnings
2009-07-18 18:09:53 +00:00
pfelt 71bcaa7d9a -- fix a minor bug where not having a callback breaks 2009-07-16 12:23:57 +00:00
alexhudson 8bb3ebbec0 Put back callback handlers in mempool implementation. 2009-07-16 06:57:04 +00:00
alexhudson 20f8e515f2 Turn on strict compiling for the store.. bit messy in places :S 2009-07-12 08:27:13 +00:00
pfelt e6ff789f6e -- fix: zero out slice allocated memory 2009-07-10 23:03:26 +00:00
alexhudson 828ab1006d Merge memmgr-glib experiment onto trunk 2009-07-10 08:34:06 +00:00
alexhudson b7e4ae5eb7 Make PROPGET response codes be properly understood for now. 2009-05-09 10:40:29 +00:00
alexhudson 0845d02c39 Extra PROPGET fixes for decimal / hexadecimal responses 2009-05-03 19:45:38 +00:00
alexhudson 4660ee8966 Make PROPGET work for nmap client library 2009-05-03 19:39:08 +00:00
alexhudson 5cbb7d3524 Make PROPGET response sanely 2009-05-03 19:29:02 +00:00
pfelt 5d70bf41de -- fix memory leak: when conntrace is enabled there is a memory leak because NMAPQuit() did not free the trace destination. 2009-04-18 20:45:24 +00:00
pfelt 23afd06ef7 -- rules.c: memory leak fix. when using a linked list it is important to free more than just the head
-- bongoagent.c: if the type is array and the subtype is string, free the strings since we MemStrdup()'d them initially.
2009-04-17 18:08:57 +00:00
pfelt 6e6727b194 -- fix a memory leak in the rules agent. there is still one in there somewhere
-- fix a memory leak in ReadBongoConfiguration().  we weren't freeing the memory
2009-04-16 00:44:52 +00:00
alexhudson f773e2a2f4 Possibly a rather embarrassing bug fix... :) 2009-04-15 19:44:22 +00:00
pfelt d795c59e95 -- change the cleanup a bit for the *BongoConfiguration() functions. There is still a double free in there somewhere that needs to be found
-- change to FreeBongoConfiguration() to free the strings in the array if string is the subtype.
-- Duplicate strings so that we don't overwrite the memory later
2009-04-05 15:42:57 +00:00
pfelt ca04d0241e -- some fixes for opensuse 64bit build
-- a fix for gnutls detection of invalid sessions
2009-03-07 19:14:54 +00:00
alexhudson 70d6da04ab Make MsgSQLResultTextPtr() return a value instead of random rubbish. 2009-02-15 22:00:37 +00:00
pfelt d8a8373931 -- several changes to clear up some compiler warnings 2009-02-14 17:11:30 +00:00
alexhudson 17e3c2a308 Make the count in ConnReadToConnUntilEOS be signed so that we detect "error" conditions. Need to review if this is ok wrt. 'int' being a big enough value. 2009-02-10 13:05:44 +00:00