Serg G. Brester
80cc47b75f
Update helpers-common.conf
...
fixed grep pattern: escape dot-char in search-IP and more restrictive boundaries (IPv6-capable)
8 years ago
Viktor Szépe
5bb6be0163
IPv6 address may overlap
8 years ago
Georges Racinet
e8f2173904
New logtimezone jail option
...
This new option allows to force the time zone on log lines
that don't bear a time zone indication (GitHub issue #1773 ), so it behaves
actually with respect to log line contents as a default time zone.
For the time being, only fixed offset timezones (UTC or UTC[+-]hhmm) are
supported, but the implementation is designed to later on treat the case
of logical timezones with DST, e.g., Europe/Paris etc.
In particular, the timezone name gets passed all the way to the strptime
module, and the resulting offset is computed for the given log line, even
though for now, it doesn't actually depend on it.
Also, the DateTemplate subclass gets to choose whether to use it or not.
For instance, it doesn't make sense to apply a time zone offset to
Unix timestamps.
The drawback is to introduce an API change for DateTemplate. I hope it's
internal enough for that not being a problem.
8 years ago
sebres
2b08847f3a
Reintegrate 'master' into 0.10 (merge point) + small code review
8 years ago
sebres
c7ddf1f940
[systemd-backend] implicit closing journal descriptor by stop filter.
...
Partially cherry-picked from 0.10 (d153555a07
)
8 years ago
sebres
ae0f0d2ec0
Merge branch 'fix-pyinotify-dir-rotate' into 0.10
8 years ago
sebres
96c3b06abb
amend to #1778 : repair notifier wait-cycle (too long timeout in polling, too late check for pending files, too long stop)
8 years ago
sebres
9b83a3128d
code review, try to increase coverage
8 years ago
Serg G. Brester
17b0945a70
Update ChangeLog
8 years ago
Serg G. Brester
a73b0c0064
Merge pull request #1778 from sebres/fix-pyinotify-dir-rotate
...
Fix pyinotify directory-based log-rotate
8 years ago
sebres
050076ae42
code review + coverage fixes
8 years ago
sebres
62e580b7cf
pyinotify: switch from ThreadedNotifier to Notifier:
...
- Filter instance is already a thread;
- avoid stop pyinotify processing if an interim error occurs (and breaks main-loop, e. g. during multi-threaded processing by add/remove log-files)
8 years ago
sebres
c258bb4a6a
Merge branch '0.10' into fix-pyinotify-dir-rotate
8 years ago
sebres
94c793ff89
Merge branch 'master' into 0.10
8 years ago
sebres
0a707d0302
Merge branch 'travis-fix-pypy'
8 years ago
sebres
f099558bcf
try to fix travis build for pypy3 (after switch to 'pypy3.3-5.2-alpha1' the test cases seems to never run anymore).
8 years ago
sebres
16a84ca0b5
code review
8 years ago
Filippo Tessarotto
ff1c6718da
Postfix RBL: 554 & SMTP
...
Cherry-pick of 607568f5da
(see gh-1686)
8 years ago
sebres
5c1d01bf58
code review, try to make recognition of pending files fewer sporadic (error prone)
8 years ago
sebres
9841fe52c3
fixed cleanup for Gamin backend (by interim stop in the test-cases)
8 years ago
sebres
7b614a7a15
differentiate between watched directories and files (refreshing monitoring of files/dirs expected different flags for watcher)
8 years ago
sebres
e340d0d2b2
Fixed detection of directory-based log-rotation of pyinotify backend.
...
If directory moved and the target is not watched path, so the monitoring of it could not be continued.
Now fixed with pending files await a monitoring if there (resp. its directories) appears again (respawn).
Closes gh-1769
8 years ago
Yaroslav Halchenko
407b2ea936
life is going on
8 years ago
Yaroslav Halchenko
bc60d6feb6
Merge remote-tracking branch 'origin/master'
...
* origin/master:
exim test cases extended: cover short form of the logging (without session-id, gh-1771)
8 years ago
sebres
31627b796b
Merge branch 'master' into 0.10
8 years ago
sebres
a5cdb9c977
exim test cases extended: cover short form of the logging (without session-id, gh-1771)
8 years ago
Yaroslav Halchenko
35280044ff
Preparing for 0.9.7 release
8 years ago
Yaroslav Halchenko
663d526d74
Added newly added files to MANIFEST
8 years ago
Serg G. Brester
c43a3ac1cd
Merge pull request #1770 from tjikkun/double_lock
...
resolves deadlock (dual lock) by SYSLOG logging type
8 years ago
Sander Hoentjen
2a4dafce5b
don't call setLogTarget from setSyslogSocket when holding the lock
...
If we do, setLogTarget will wait for the lock, but it will never be released
8 years ago
sebres
b13d9d4e22
Merge branch 'master' into 0.10
8 years ago
sebres
bea3a62a37
update ChangeLog
8 years ago
sebres
0600d51511
filter.d/exim.conf: added new reason for "rejected RCPT" regex: Unrouteable address
8 years ago
sebres
49e237209e
Merge branch 'master' into 0.10
8 years ago
sebres
3d64d705f3
try to fix travis integration of pypy3: setuptools recently dropped support for Python 3.0 - 3.2, but old pypy3 based on Python 3.2.5
8 years ago
sebres
c546f85207
filter.d/exim.conf: cherry-picked from 0.10, match complex time like `D=2m42s` (closes gh-1766)
8 years ago
Serg G. Brester
b5d59e8883
small fix of changelog entry
8 years ago
Viktor Szépe
eb5c75e4b5
Add test to Courier auth
8 years ago
Viktor Szépe
1ed958521c
Courier auth changelog
8 years ago
Viktor Szépe
ac256a822b
Make courier-auth regexp a non-captured group
8 years ago
Viktor Szépe
4bb8a58dcf
Courier may complain about the method only
...
> Mar 30 22:29:18 szerver imapd-ssl: LOGIN FAILED, method=PLAIN, ip=[::ffff:1.2.3.4]
8 years ago
Seth Reeser
c3426ba5f6
Update botsearch-common.conf ( #1759 )
...
* Update botsearch-common.conf, apache-modsecurity.conf: typo and missing new-line
8 years ago
sebres
8839bcbb09
Merge remote-tracking branch master into 0.10
8 years ago
Serg G. Brester
fafe11d326
Merge pull request #1757 from sebres/0.9-fix-gh-1751
...
filter.d/exim.conf: optional part `(...)` by authenticator failed for ...
8 years ago
sebres
462442a517
Update ChangeLog #1757
8 years ago
Serg G. Brester
e7d51d1969
Merge pull request #1758 from sebres/0.10-new-hostname-tags
...
0.10 new action tags: <fq-hostname>, <sh-hostname>
8 years ago
sebres
e4ccbe7286
code review: getHostname can return ''
8 years ago
sebres
f75c3d8a02
code review and ChangeLog entry
8 years ago
sebres
db16b4c22a
testComplexMailActionMultiLog: better echo mock-up replacement for "...) | mail -s ..."
8 years ago
sebres
99344d28c8
Introduces new tags with hostname:
...
- `<fq-hostname>` - fully-qualified name of host (the same as `$(hostname -f)`)
- `<sh-hostname>` - short hostname (the same as `$(uname -n)`)
Execution of `uname -n` replaced in all mail actions with most interesting fully-qualified `<fq-hostname>`.
8 years ago