Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The time option in rules is rejecting valid syntax #210

Closed
ddpbsd opened this issue May 21, 2014 · 0 comments
Closed

The time option in rules is rejecting valid syntax #210

ddpbsd opened this issue May 21, 2014 · 0 comments
Labels

Comments

@ddpbsd
Copy link
Member

ddpbsd commented May 21, 2014

<time>11:00 am - 12:00 pm</time> should be valid. It produces the errors (in ossec-logtest) (this is NOT copy/pasted, so there are possible typos):

ERROR: Invalid time format: 'm'
ERROR: Invalid configuration, Element 'time': 11:00 am - 12:00 pm.

<time>11:00 am - 12:00 p</time> gives us:

ERROR: Invalid time format: ''.

<time>11:00 - 12:00</time> works just fine. I assume all 24h entries would work, but this is untested (can test in a few hours if necessary).

Reported by Nguyễn Văn Hớn (honit92 a gmail) on the user's list.

@jrossi jrossi added the bug label May 28, 2014
@ddpbsd ddpbsd mentioned this issue Dec 26, 2017
@ddpbsd ddpbsd closed this as completed Dec 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants