Commit Graph

1481 Commits

Author SHA1 Message Date
Vsevolod Stakhov
44fbf9709b Remove endless counter incrementing.
In some cases it is not enough to perform compare and exchange
and we still can get race condition in atomic incrementing.
Therefore, it is better to loose a history event than to
log error message each time.
2013-06-06 14:35:31 +01:00
Vsevolod Stakhov
73191561c5 Do not create TCP socket for fuzzy storage. 2013-06-06 14:09:17 +01:00
Vsevolod Stakhov
08a3d8da08 Added tag 0.5.5 for changeset 44fecab72df6 2013-06-05 14:21:29 +01:00
Vsevolod Stakhov
c02d1c0f65 Added tag 0.5.5 for changeset 88d62b224381 2013-06-05 14:21:25 +01:00
Vsevolod Stakhov
e2a41ce3aa Update ChangeLog. 2013-06-05 14:21:06 +01:00
Vsevolod Stakhov
0163ed9c9f Added tag 0.5.5 for changeset 4c41246d28b0 2013-06-05 14:13:21 +01:00
Vsevolod Stakhov
553b380167 Fix fuzzy storage initialization and finalization. 2013-06-05 12:50:11 +01:00
Vsevolod Stakhov
2167e2c030 Fix logging in rspamd-util routines. 2013-06-04 15:40:02 +01:00
Vsevolod Stakhov
a83d8b4f51 Add allow_update example usage. 2013-06-04 15:08:31 +01:00
Vsevolod Stakhov
89a411447e Allow restriction of update commands for fuzzy storage.
Now it is possible to specify ip or networks from which fuzzy
updates or removes are possible.

Rework sockets logic while I'm here.

Create universal utility for parsing ipv4/mask strings.
2013-06-04 14:51:42 +01:00
Vsevolod Stakhov
d0544d42a0 Do not add empty fuzzy hashes. 2013-06-03 17:40:01 +01:00
Vsevolod Stakhov
9a9299fec9 Fix listening on sockets. 2013-06-03 17:24:34 +01:00
Vsevolod Stakhov
9e9d8d7da2 Fix UDP sockets creation. 2013-06-03 17:17:07 +01:00
Vsevolod Stakhov
5e1cff52d8 Correctly use ai_family for socket(2) call. 2013-06-03 17:08:04 +01:00
Vsevolod Stakhov
56d1dfa2b1 Fix misprint in section name. 2013-06-03 16:58:23 +01:00
Vsevolod Stakhov
9c8bdabc20 Fix wildcard addresses in config. 2013-06-03 16:52:47 +01:00
Vsevolod Stakhov
813f1f407f Fix some warnings that actually are dangerous. 2013-06-03 16:24:15 +01:00
Vsevolod Stakhov
f2c442c629 Print filename when client scan or learn message from a file. 2013-06-03 16:04:27 +01:00
Vsevolod Stakhov
3afb1a6d1a Use specific fuzzy database. 2013-06-03 15:55:45 +01:00
Vsevolod Stakhov
93ff3654a3 Explicit dependency on libJudy has been added in centos spec. 2013-06-03 15:48:14 +01:00
Vsevolod Stakhov
31de590fa4 Check for getaddrinfo presence on a build system. 2013-06-02 23:57:19 +01:00
Vsevolod Stakhov
37845898cb Rework socket creation logic to support both ipv4 and ipv6 sockets. 2013-06-01 15:52:11 +01:00
Vsevolod Stakhov
8cc2aee885 Use getaddrinfo when opening sockets. 2013-05-31 17:45:18 +01:00
Vsevolod Stakhov
7b3682ce3c Add support for meta options for modules.
This is preliminary patch that enables meta options for modules
which would simplify complex options passing.
2013-05-30 14:38:24 +01:00
Vsevolod Stakhov
edb41f2b5d Some fixes to debian dependencies list. 2013-05-29 15:50:36 +01:00
Vsevolod Stakhov
b306cfe8d5 Fix segfault in a client when controller disappears. 2013-05-28 17:35:58 +01:00
Vsevolod Stakhov
a658ca6e8b Increase default limit, as unloading logic is broken. 2013-05-28 15:33:15 +01:00
Vsevolod Stakhov
57135f38e2 Fix arguments order in system call. 2013-05-28 15:23:05 +01:00
Vsevolod Stakhov
abf0dacb0b Try to avoid exp overflowing. 2013-05-27 10:42:04 +01:00
Vsevolod Stakhov
0e7dbaf430 Fix spec and centos sources.
--HG--
rename : centos/sources/rspam.logrotate => centos/sources/rspamd.logrotate
2013-05-26 21:06:42 +01:00
Vsevolod Stakhov
685d079dae Remove useless file from installation. 2013-05-26 20:26:26 +01:00
Vsevolod Stakhov
2114c11f5b Initial version of centos/rhel spec file. 2013-05-25 13:44:33 +01:00
Vsevolod Stakhov
3b025570d4 Fix several potential problems found by static analysis. 2013-05-24 13:11:52 +01:00
Vsevolod Stakhov
08466d2908 Mark as 0.5.5. 2013-05-23 20:43:25 +01:00
Vsevolod Stakhov
9347b6450d Fix probability calculations. 2013-05-23 17:44:21 +01:00
Vsevolod Stakhov
56beefcbe4 Fix call to get statfile's revision. 2013-05-23 17:35:33 +01:00
Vsevolod Stakhov
cf1620b5c6 Use revisions to get total learn numbers. 2013-05-23 17:33:32 +01:00
Vsevolod Stakhov
6713fce35d Fix calculations. 2013-05-23 17:20:02 +01:00
Vsevolod Stakhov
cac5322917 New chi2square based bayes normalizer. 2013-05-23 16:15:46 +01:00
Vsevolod Stakhov
b63a2f1532 Better support of ipv6 headers. 2013-05-23 13:14:09 +01:00
Vsevolod Stakhov
c22cd24513 Calculate Content-Length properly. 2013-03-28 17:03:26 +00:00
Vsevolod Stakhov
1650f051c1 Fix CentOS 5 build. 2013-03-27 11:53:05 +00:00
Vsevolod Stakhov
ba5e0c9712 Fix comma in json output. 2013-03-04 17:59:51 +00:00
Vsevolod Stakhov
ccd3363a7b Added tag 0.5.4 for changeset bf9307c5d78b 2013-02-05 12:20:14 +04:00
Vsevolod Stakhov
c36423d829 Polish debian copyright, remove unused CGI.
Update ChangeLog.
2013-02-05 12:06:54 +04:00
Vsevolod Stakhov
f494f6aaa1 Fix critical memory leak in settings code.
Format HTTP date correctly.
Fix map watch timeout.
2013-02-03 22:32:58 +04:00
Vsevolod Stakhov
e21f9c9561 Forgot to change default settings. 2013-02-03 17:29:24 +04:00
Vsevolod Stakhov
658e581713 Use proper handler for map watch timeout configuration. 2013-02-03 17:24:37 +04:00
Vsevolod Stakhov
689d0aa588 Pod and debian control fix. 2013-02-02 23:52:39 +04:00
Vsevolod Stakhov
164d74f480 Manpages fix. 2013-02-02 23:39:35 +04:00