]> git.mikk.net Git - smtpsink/log
smtpsink
16 years agoFleshed out options processing in smtpsink.c
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.

16 years agoMoved signal event handlers to their own thread. They work now.
chris mikkelson [Wed, 25 Mar 2009 05:14:39 +0000 (00:14 -0500)]
Moved signal event handlers to their own thread.  They work now.

16 years agosmtpsink.c hardcoded config for testing.
chris mikkelson [Wed, 25 Mar 2009 05:02:57 +0000 (00:02 -0500)]
smtpsink.c hardcoded config for testing.

16 years agoFixed DATA state machine, and quit response.
chris mikkelson [Wed, 25 Mar 2009 04:53:47 +0000 (23:53 -0500)]
Fixed DATA state machine, and quit response.

16 years agoInitialize connection state -- otherwise reclaimed connections
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...

16 years agoInitialize both events, not just one...
chris mikkelson [Wed, 25 Mar 2009 04:00:51 +0000 (23:00 -0500)]
Initialize both events, not just one...

16 years agoFixed listener thread "starting gun" logic.
chris mikkelson [Wed, 25 Mar 2009 03:56:48 +0000 (22:56 -0500)]
Fixed listener thread "starting gun" logic.

16 years agobonehead error pthread_foo return 0 on *success* not error.
chris mikkelson [Wed, 25 Mar 2009 03:29:07 +0000 (22:29 -0500)]
bonehead error pthread_foo return 0 on *success* not error.

16 years agolistener spec will typically be a literal string or argv, which
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.

16 years agoAfter a few scattered changes, it all compiles and links.
chris mikkelson [Wed, 25 Mar 2009 03:06:28 +0000 (22:06 -0500)]
After a few scattered changes, it all compiles and links.

16 years agoHigh performance SMTP daemon, suitable for spamtraps, sinkholes,
chris mikkelson [Wed, 25 Mar 2009 02:36:30 +0000 (21:36 -0500)]
High performance SMTP daemon, suitable for spamtraps, sinkholes,
honeypots, etc.