apps/pfixtools.git
15 years agoGenerated token list by parsing the sources.
Florent Bruneau [Sat, 13 Sep 2008 16:48:18 +0000 (18:48 +0200)]
Generated token list by parsing the sources.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agorbl filter implementation.
Florent Bruneau [Sat, 13 Sep 2008 15:46:00 +0000 (17:46 +0200)]
rbl filter implementation.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFix order of linkage to setup modules in a correct order.
Florent Bruneau [Sat, 13 Sep 2008 14:04:59 +0000 (16:04 +0200)]
Fix order of linkage to setup modules in a correct order.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoforeach() semantic for arrays, improves configuration post-processing.
Florent Bruneau [Sat, 13 Sep 2008 07:39:53 +0000 (09:39 +0200)]
foreach() semantic for arrays, improves configuration post-processing.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFix off-by-one.
Florent Bruneau [Sat, 13 Sep 2008 07:39:06 +0000 (09:39 +0200)]
Fix off-by-one.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAdd array_lock and array_unlock.
Florent Bruneau [Fri, 12 Sep 2008 20:49:59 +0000 (22:49 +0200)]
Add array_lock and array_unlock.
Convert rbl to use array_t.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoSwitch to array_t and feed the filters from config.
Florent Bruneau [Fri, 12 Sep 2008 20:37:36 +0000 (22:37 +0200)]
Switch to array_t and feed the filters from config.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAdd the A() macro to get the array type.
Florent Bruneau [Fri, 12 Sep 2008 20:37:14 +0000 (22:37 +0200)]
Add the A() macro to get the array type.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAdd array framework that works with any type.
Florent Bruneau [Fri, 12 Sep 2008 20:04:40 +0000 (22:04 +0200)]
Add array framework that works with any type.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoCleanup.
Florent Bruneau [Fri, 12 Sep 2008 17:32:46 +0000 (19:32 +0200)]
Cleanup.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFix config parser.
Florent Bruneau [Fri, 12 Sep 2008 17:10:57 +0000 (19:10 +0200)]
Fix config parser.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoInitial version of the parser.
Florent Bruneau [Fri, 12 Sep 2008 16:24:17 +0000 (18:24 +0200)]
Initial version of the parser.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFactorize code to map a file into memory.
Florent Bruneau [Fri, 12 Sep 2008 14:12:19 +0000 (16:12 +0200)]
Factorize code to map a file into memory.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoPrepare filter and config design.
Florent Bruneau [Fri, 12 Sep 2008 13:16:05 +0000 (15:16 +0200)]
Prepare filter and config design.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoUpdate guards.
Florent Bruneau [Thu, 11 Sep 2008 16:47:14 +0000 (18:47 +0200)]
Update guards.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoHighly reduce the number of allocations required to build a trie.
Florent Bruneau [Thu, 11 Sep 2008 16:04:27 +0000 (18:04 +0200)]
Highly reduce the number of allocations required to build a trie.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoPublish trie_lock and trie_unlock.
Florent Bruneau [Thu, 11 Sep 2008 12:42:50 +0000 (14:42 +0200)]
Publish trie_lock and trie_unlock.

Don't forget to unlock before deletion.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAdd protection against lookup in not compiled trie (and vice-versa).
Florent Bruneau [Thu, 11 Sep 2008 12:36:03 +0000 (14:36 +0200)]
Add protection against lookup in not compiled trie (and vice-versa).

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAdd show_content parameter to trie_inspect().
Florent Bruneau [Thu, 11 Sep 2008 12:30:05 +0000 (14:30 +0200)]
Add show_content parameter to trie_inspect().

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFix duplicate management.
Florent Bruneau [Thu, 11 Sep 2008 12:26:49 +0000 (14:26 +0200)]
Fix duplicate management.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoEnglish.
Florent Bruneau [Thu, 11 Sep 2008 12:10:56 +0000 (14:10 +0200)]
English.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoMore informations in trie_inspect.
Florent Bruneau [Thu, 11 Sep 2008 11:58:41 +0000 (13:58 +0200)]
More informations in trie_inspect.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAdd shrink and memblock.
Florent Bruneau [Thu, 11 Sep 2008 11:19:00 +0000 (13:19 +0200)]
Add shrink and memblock.

Does not support duplicates anymore.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoSmaller memory footprint.
Florent Bruneau [Thu, 11 Sep 2008 10:58:23 +0000 (12:58 +0200)]
Smaller memory footprint.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFix m_strncpy() speed issue.
Florent Bruneau [Wed, 10 Sep 2008 22:32:37 +0000 (00:32 +0200)]
Fix m_strncpy() speed issue.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoCompacter trie, reduce the number of allocations.
Florent Bruneau [Wed, 10 Sep 2008 22:24:11 +0000 (00:24 +0200)]
Compacter trie, reduce the number of allocations.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoMore tests and fixes.
Florent Bruneau [Wed, 10 Sep 2008 21:27:52 +0000 (23:27 +0200)]
More tests and fixes.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoLookup tests.
Florent Bruneau [Wed, 10 Sep 2008 17:58:36 +0000 (19:58 +0200)]
Lookup tests.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAdd tst-trie to gitignore.
Florent Bruneau [Wed, 10 Sep 2008 17:53:21 +0000 (19:53 +0200)]
Add tst-trie to gitignore.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFixes and add small tests.
Florent Bruneau [Wed, 10 Sep 2008 17:52:35 +0000 (19:52 +0200)]
Fixes and add small tests.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoInitial implementation of a patricia-trie str->boolean.
Florent Bruneau [Wed, 10 Sep 2008 16:56:29 +0000 (18:56 +0200)]
Initial implementation of a patricia-trie str->boolean.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoMissing error report, and fix error in binary search.
Florent Bruneau [Wed, 10 Sep 2008 16:37:05 +0000 (18:37 +0200)]
Missing error report, and fix error in binary search.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoPrepare tokenizer for filter names.
Florent Bruneau [Tue, 9 Sep 2008 16:12:56 +0000 (18:12 +0200)]
Prepare tokenizer for filter names.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAllow make install-progname without running make progname.
Florent Bruneau [Tue, 9 Sep 2008 12:02:53 +0000 (14:02 +0200)]
Allow make install-progname without running make progname.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoCleanup source structure.
Florent Bruneau [Tue, 9 Sep 2008 11:52:58 +0000 (13:52 +0200)]
Cleanup source structure.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoUseless.
Florent Bruneau [Tue, 9 Sep 2008 10:35:07 +0000 (12:35 +0200)]
Useless.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoCleanup, fix memleaks.
Florent Bruneau [Tue, 9 Sep 2008 10:30:14 +0000 (12:30 +0200)]
Cleanup, fix memleaks.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoClose the listeners on exit.
Florent Bruneau [Mon, 8 Sep 2008 21:39:22 +0000 (23:39 +0200)]
Close the listeners on exit.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoSimplify.
Florent Bruneau [Mon, 8 Sep 2008 17:02:06 +0000 (19:02 +0200)]
Simplify.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoWorking policy daemon.
Florent Bruneau [Mon, 8 Sep 2008 16:44:45 +0000 (18:44 +0200)]
Working policy daemon.

Add support for the stress parameter of postfix 2.5+.
Can mlock rbl data.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAdd comments to the greylist algorithm.
Florent Bruneau [Mon, 8 Sep 2008 14:38:18 +0000 (16:38 +0200)]
Add comments to the greylist algorithm.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoMore readable.
Florent Bruneau [Mon, 8 Sep 2008 13:04:19 +0000 (15:04 +0200)]
More readable.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoFactorize code.
Florent Bruneau [Mon, 8 Sep 2008 12:44:10 +0000 (14:44 +0200)]
Factorize code.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoSwitch srsd to the server structure.
Florent Bruneau [Mon, 8 Sep 2008 11:57:23 +0000 (13:57 +0200)]
Switch srsd to the server structure.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoDon't loose typing.
Florent Bruneau [Mon, 8 Sep 2008 10:15:38 +0000 (12:15 +0200)]
Don't loose typing.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
15 years agoAbstract server loop.
Florent Bruneau [Mon, 8 Sep 2008 10:10:50 +0000 (12:10 +0200)]
Abstract server loop.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
16 years agobad typing
Pierre Habouzit [Mon, 3 Dec 2007 10:06:17 +0000 (11:06 +0100)]
bad typing

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoMake the greylist configuration public.
Pierre Habouzit [Sun, 2 Dec 2007 21:38:56 +0000 (22:38 +0100)]
Make the greylist configuration public.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoThreads are just such a bad idea…
Pierre Habouzit [Sun, 2 Dec 2007 21:27:28 +0000 (22:27 +0100)]
Threads are just such a bad idea…

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agomissing guard
Pierre Habouzit [Sun, 2 Dec 2007 21:26:17 +0000 (22:26 +0100)]
missing guard

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agofix buffer module.
Pierre Habouzit [Sun, 2 Dec 2007 12:31:00 +0000 (13:31 +0100)]
fix buffer module.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoRefactor epoll module.
Pierre Habouzit [Sun, 2 Dec 2007 12:01:20 +0000 (13:01 +0100)]
Refactor epoll module.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agorefactor.
Pierre Habouzit [Sun, 2 Dec 2007 11:38:28 +0000 (12:38 +0100)]
refactor.

16 years agoImplement buffer_write.
Pierre Habouzit [Sun, 2 Dec 2007 11:36:28 +0000 (12:36 +0100)]
Implement buffer_write.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoUse epoll
Pierre Habouzit [Sat, 1 Dec 2007 16:47:43 +0000 (17:47 +0100)]
Use epoll

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoUse a conveniency library.
Pierre Habouzit [Sat, 1 Dec 2007 16:37:41 +0000 (17:37 +0100)]
Use a conveniency library.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoHave a slightly better event loop.
Pierre Habouzit [Sat, 1 Dec 2007 14:52:03 +0000 (15:52 +0100)]
Have a slightly better event loop.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agopostfix uses \n not \r. Also fix a typo.
Pierre Habouzit [Sat, 1 Dec 2007 14:42:16 +0000 (15:42 +0100)]
postfix uses \n not \r. Also fix a typo.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agofix SIGINT in the blocking mode for linux.
Pierre Habouzit [Sat, 1 Dec 2007 14:16:51 +0000 (15:16 +0100)]
fix SIGINT in the blocking mode for linux.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoSimplify sigint handler.
Pierre Habouzit [Sat, 1 Dec 2007 14:07:47 +0000 (15:07 +0100)]
Simplify sigint handler.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agowe must copy the closure temporarily.
Pierre Habouzit [Sat, 1 Dec 2007 14:05:20 +0000 (15:05 +0100)]
we must copy the closure temporarily.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoadd option to prevent daemonization
Pierre Habouzit [Sat, 1 Dec 2007 13:46:07 +0000 (14:46 +0100)]
add option to prevent daemonization

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agolisten on a port (postlicyd)
Pierre Habouzit [Sat, 1 Dec 2007 13:41:41 +0000 (14:41 +0100)]
listen on a port (postlicyd)

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoAdd new APIs
Pierre Habouzit [Sat, 1 Dec 2007 13:37:39 +0000 (14:37 +0100)]
Add new APIs

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoReorganize code slightly
Pierre Habouzit [Sat, 1 Dec 2007 13:23:02 +0000 (14:23 +0100)]
Reorganize code slightly

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoWe don't need a separate module here.
Pierre Habouzit [Sat, 1 Dec 2007 13:16:52 +0000 (14:16 +0100)]
We don't need a separate module here.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoPlug the postfix policy query parsing again.
Pierre Habouzit [Sat, 1 Dec 2007 13:14:02 +0000 (14:14 +0100)]
Plug the postfix policy query parsing again.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoprepare hooking of policy.c module.
Pierre Habouzit [Sat, 1 Dec 2007 12:30:16 +0000 (13:30 +0100)]
prepare hooking of policy.c module.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agogreylist initializer.
Pierre Habouzit [Fri, 30 Nov 2007 23:31:46 +0000 (00:31 +0100)]
greylist initializer.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoBegin work on the greylist module.
Pierre Habouzit [Fri, 30 Nov 2007 11:00:29 +0000 (12:00 +0100)]
Begin work on the greylist module.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoHave a generic pidfile API.
Pierre Habouzit [Fri, 30 Nov 2007 08:51:41 +0000 (09:51 +0100)]
Have a generic pidfile API.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoImplement usage
Pierre Habouzit [Fri, 30 Nov 2007 08:36:27 +0000 (09:36 +0100)]
Implement usage

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agomove license in mk/
Pierre Habouzit [Thu, 29 Nov 2007 15:59:24 +0000 (16:59 +0100)]
move license in mk/

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoAdd a threading framework
Pierre Habouzit [Thu, 29 Nov 2007 11:14:26 +0000 (12:14 +0100)]
Add a threading framework

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agosimplifications
Pierre Habouzit [Thu, 29 Nov 2007 10:19:31 +0000 (11:19 +0100)]
simplifications

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoUse even more magic.
Pierre Habouzit [Thu, 29 Nov 2007 10:17:45 +0000 (11:17 +0100)]
Use even more magic.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoHave an epoll module.
Pierre Habouzit [Thu, 29 Nov 2007 10:13:30 +0000 (11:13 +0100)]
Have an epoll module.

16 years agocommon module updates.
Pierre Habouzit [Thu, 29 Nov 2007 10:13:13 +0000 (11:13 +0100)]
common module updates.

16 years agoremove stupid inlines
Pierre Habouzit [Thu, 29 Nov 2007 10:12:55 +0000 (11:12 +0100)]
remove stupid inlines

16 years agoRefactoring.
Pierre Habouzit [Sat, 1 Sep 2007 10:59:53 +0000 (12:59 +0200)]
Refactoring.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agorenames
Pierre Habouzit [Sat, 1 Sep 2007 10:54:04 +0000 (12:54 +0200)]
renames

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoMerge daemon.c into common.c
Pierre Habouzit [Sat, 1 Sep 2007 10:45:09 +0000 (12:45 +0200)]
Merge daemon.c into common.c

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoMerge daemon.h in common.h
Pierre Habouzit [Sat, 1 Sep 2007 10:42:52 +0000 (12:42 +0200)]
Merge daemon.h in common.h

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoUseless function
Pierre Habouzit [Thu, 30 Aug 2007 22:41:52 +0000 (00:41 +0200)]
Useless function

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoBetter handling of forking and exiting and signals.
Pierre Habouzit [Thu, 30 Aug 2007 22:19:27 +0000 (00:19 +0200)]
Better handling of forking and exiting and signals.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoUse pidfile in initscript.
Pierre Habouzit [Thu, 30 Aug 2007 22:04:18 +0000 (00:04 +0200)]
Use pidfile in initscript.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoFix typo, and use the privileges drop.
Pierre Habouzit [Thu, 30 Aug 2007 22:00:31 +0000 (00:00 +0200)]
Fix typo, and use the privileges drop.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoAdd a function to drop privileges.
Pierre Habouzit [Thu, 30 Aug 2007 21:59:57 +0000 (23:59 +0200)]
Add a function to drop privileges.

16 years agoDebian packaging.
Pierre Habouzit [Wed, 29 Aug 2007 22:55:48 +0000 (00:55 +0200)]
Debian packaging.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoSpurious copyright header, and add an install target in makefile.
Pierre Habouzit [Wed, 29 Aug 2007 22:35:04 +0000 (00:35 +0200)]
Spurious copyright header, and add an install target in makefile.

16 years agoSupport a pidfile.
Pierre Habouzit [Wed, 29 Aug 2007 21:39:05 +0000 (23:39 +0200)]
Support a pidfile.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoStrip whitespace for secrets
Pierre Habouzit [Wed, 29 Aug 2007 21:10:23 +0000 (23:10 +0200)]
Strip whitespace for secrets

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoRename srsd into pfix-srsd.
Pierre Habouzit [Wed, 29 Aug 2007 20:03:59 +0000 (22:03 +0200)]
Rename srsd into pfix-srsd.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoAdd daemon_detach, and use it.
Pierre Habouzit [Wed, 29 Aug 2007 19:48:18 +0000 (21:48 +0200)]
Add daemon_detach, and use it.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoMore homogeneous name: tcp_listen -> tcp_listen_nonblock.
Pierre Habouzit [Wed, 29 Aug 2007 18:14:08 +0000 (20:14 +0200)]
More homogeneous name: tcp_listen -> tcp_listen_nonblock.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoRename project -> pfixtools.
Pierre Habouzit [Wed, 29 Aug 2007 18:08:57 +0000 (20:08 +0200)]
Rename project -> pfixtools.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoAhem, use non blocking IO. silly me.
Pierre Habouzit [Wed, 29 Aug 2007 17:33:44 +0000 (19:33 +0200)]
Ahem, use non blocking IO. silly me.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoFor the sake of completeness:
Pierre Habouzit [Wed, 29 Aug 2007 17:18:46 +0000 (19:18 +0200)]
For the sake of completeness:

  * urldecode the "key" argument, as tcp_table(5) ask us to (be quite
    liberal with what we receive though).
  * kill connections that do not send us a \n in less than BUFSIZ octets.
  * answer to empty requests as well.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoSmall fix: tcp_table(5) should not end with \r\n but \n.
Pierre Habouzit [Wed, 29 Aug 2007 17:05:58 +0000 (19:05 +0200)]
Small fix: tcp_table(5) should not end with \r\n but \n.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
16 years agoDon't hardcode srsd as the daemon name, use a define.
Pierre Habouzit [Wed, 29 Aug 2007 16:58:26 +0000 (18:58 +0200)]
Don't hardcode srsd as the daemon name, use a define.

Signed-off-by: Pierre Habouzit <madcoder@debian.org>