Commit Graph

462 Commits

Author SHA1 Message Date
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
pfelt 041619f2e0 -- fix: a bug with ranges on the replace command 2009-08-01 23:26:52 +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
alexhudson 5d4dc5377c Add GArrayFind* prototypes to headers 2009-07-19 09:20:28 +00:00
alexhudson 14f49c3da8 Minor change to allow compilation - odd ' removed. 2009-07-19 09:19:49 +00:00
alexhudson e495ddfd04 Additional flag for strict compile - GNU_SOURCE gives us both POSIX and BSD defines 2009-07-18 21:50:58 +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 924d624c43 -- fix: i'm not sure how this worked previously, but i was not using an initialized memory pool 2009-07-17 05:05:40 +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 f93c6a9d1e Add Debian files to the source tarball 2009-07-10 07:50:57 +00:00
alexhudson 0b219f4bd1 Debian init scripts 2009-07-09 17:57:34 +00:00
alexhudson c79ba43c69 Pretty obvious bug thrown up by new memory allocator... 2009-06-01 15:53:30 +00:00
alexhudson 8f7c48ea3c Add explicit check for GLib 2.6 or better - shouldn't affect packages. 2009-05-31 19:02:43 +00:00
alexhudson 75b4057d49 Simplified autogen for slight build system revamp 2009-05-31 16:50:49 +00:00
alexhudson dd158ea55a Fix a potential leak in the query-parser. 2009-05-31 12:45:55 +00:00
pfelt b95822f9ef -- fix a couple of memory leaks in store. there is still one in there somewhere reproduceable by sending gobs of "collections /mail" store command consecutively 2009-05-31 04:48:01 +00:00
pfelt 8d464bdbfc -- fix the error message displayed in the log when tls fails.
-- a dirty fix for messages getting stuck in my queue due to the remote server not sending a dh prime "long enough" (GNUTLS_E_DH_PRIME_UNACCEPTABLE).  one can now specify using the message flags that tls should not be used.  the default is to use tls.
2009-05-20 04:26:07 +00:00
pfelt 154430b8e4 -- fix: bug where mail would not be delivered to local users who have no rules. 2009-05-12 21:50: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 d4a8e0f8f2 -- fix a double free in avirus
-- the last commit also committed building rules by default
2009-04-25 03:15:31 +00:00
pfelt 5c26d034c4 -- fix the resend the email a ton of times bug. the queue was out of sync causing delivery to appear to fail 2009-04-25 02:41:50 +00:00
pfelt 5c4ac00fb5 -- this should fix bounce messages to create the envelope properly 2009-04-24 04:00:22 +00:00
alexhudson 91955db366 Make MIME work-ish 2009-04-19 21:39:20 +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
ahixon 77f271876d Fix viewing domain aliases. 2009-04-16 02:43:15 +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
alexhudson ea6e60b217 Fix up minor pre-processor bug 2009-04-09 13:21:19 +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 41f8747ca9 -- initial version of the rules agent. rules are stored in a format that is going to change and as such this agent is *not* production ready nor does it build by default.
-- there is a double free in the json code somewhere.
-- i'm sure there are a ton of other bugs too so use at your own risk!
2009-04-04 07:40:50 +00:00
alexhudson 07b37b9e90 Another fsync-related patch, this time to better secure data coming in from the queue 2009-03-13 13:45:01 +00:00
alexhudson a95844b863 Attempt to ensure store doesn't get snared by ext4 data loss - fatpelt, you may want to do something similar for queue (hint, hint ;) 2009-03-13 13:29:44 +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
pfelt 6df48db556 -- fixed a compile warning for an unused function
-- changed the logging in DeliverMessage() to hopefully find out what the process is doing a bit better.
2009-02-25 06:04:01 +00:00
pfelt 45476cc47b -- the queue really should not try to send via smtp failed messages every 10 seconds. it'll re-try now approx every 10 minutes 2009-02-17 04:06:09 +00:00