]>
git.mikk.net Git - smtpsink/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
chris mikkelson [Fri, 27 Mar 2009 03:44:21 +0000 (22:44 -0500)]
Fix handle_ioreq logic.
chris mikkelson [Fri, 27 Mar 2009 03:20:03 +0000 (22:20 -0500)]
Daemonization now works, and is the default. Creating threads
then forking breaks synchronization, leading to a double-init
of a mutex, and a core dump....
chris mikkelson [Fri, 27 Mar 2009 00:00:09 +0000 (19:00 -0500)]
Use explicit libevent bases. The implicit "current_base"
might cause breakage if a module also calls event_init().
chris mikkelson [Wed, 25 Mar 2009 13:27:27 +0000 (08:27 -0500)]
Fleshed out options processing in smtpsink.c
Signal handling fixed -- event_base is passed to signal
handling thread, subsequent call to event_init() sets
default base for main thread's event calls.
chris mikkelson [Wed, 25 Mar 2009 05:14:39 +0000 (00:14 -0500)]
Moved signal event handlers to their own thread. They work now.
chris mikkelson [Wed, 25 Mar 2009 05:02:57 +0000 (00:02 -0500)]
smtpsink.c hardcoded config for testing.
chris mikkelson [Wed, 25 Mar 2009 04:53:47 +0000 (23:53 -0500)]
Fixed DATA state machine, and quit response.
chris mikkelson [Wed, 25 Mar 2009 04:52:59 +0000 (23:52 -0500)]
Initialize connection state -- otherwise reclaimed connections
were all in state SMTP_CLOSED, and would be closed immediately...
chris mikkelson [Wed, 25 Mar 2009 04:00:51 +0000 (23:00 -0500)]
Initialize both events, not just one...
chris mikkelson [Wed, 25 Mar 2009 03:56:48 +0000 (22:56 -0500)]
Fixed listener thread "starting gun" logic.
chris mikkelson [Wed, 25 Mar 2009 03:29:07 +0000 (22:29 -0500)]
bonehead error pthread_foo return 0 on *success* not error.
chris mikkelson [Wed, 25 Mar 2009 03:11:38 +0000 (22:11 -0500)]
listener spec will typically be a literal string or argv, which
we cannot modify in place. strdup() it.
chris mikkelson [Wed, 25 Mar 2009 03:06:28 +0000 (22:06 -0500)]
After a few scattered changes, it all compiles and links.
chris mikkelson [Wed, 25 Mar 2009 02:36:30 +0000 (21:36 -0500)]
High performance SMTP daemon, suitable for spamtraps, sinkholes,
honeypots, etc.