invalid option for 2.8.3 ossec-authd -k -v -x but documentation says they are there. Attached screenshot. Am I doing something wrong?

25 views
Skip to first unread message

James Vernon

unread,
Nov 11, 2016, 12:31:10 PM11/11/16
to ossec-list

http://imgur.com/a/efxLo

If you follow that screenshot, you can see what I mean. These options were added in 2.8.1, and I have 2.8.3 yet they are invalid. Am I missing something really simple here?


dan (ddp)

unread,
Nov 11, 2016, 12:37:18 PM11/11/16
to ossec...@googlegroups.com
When in doubt, trust the binary:

[ddp@ix] :; pwd
/home/ddp/tmp/ossec-hids-2.8.3/src/os_auth
[ddp@ix] :; grep getopt *
main-client.c: while((c = getopt(argc, argv, "Vdhu:g:D:c:m:p:A:")) != -1)
main-server.c: while((c = getopt(argc, argv, "Vdhiu:g:D:c:m:p:")) != -1)
ssl-test.c: while((c = getopt(argc, argv, "h:p:")) != -1)



>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "ossec-list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ossec-list+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

dan (ddp)

unread,
Nov 11, 2016, 12:39:18 PM11/11/16
to ossec...@googlegroups.com
On Fri, Nov 11, 2016 at 12:37 PM, dan (ddp) <ddp...@gmail.com> wrote:
> On Fri, Nov 11, 2016 at 12:31 PM, 'James Vernon' via ossec-list
> <ossec...@googlegroups.com> wrote:
>>
>> http://imgur.com/a/efxLo
>>
>> If you follow that screenshot, you can see what I mean. These options were added in 2.8.1, and I have 2.8.3 yet they are invalid. Am I missing something really simple here?
>>
>
> When in doubt, trust the binary:
>
> [ddp@ix] :; pwd
> /home/ddp/tmp/ossec-hids-2.8.3/src/os_auth
> [ddp@ix] :; grep getopt *
> main-client.c: while((c = getopt(argc, argv, "Vdhu:g:D:c:m:p:A:")) != -1)
> main-server.c: while((c = getopt(argc, argv, "Vdhiu:g:D:c:m:p:")) != -1)
> ssl-test.c: while((c = getopt(argc, argv, "h:p:")) != -1)
>

Or, I guess the documentation too:
https://ossec.github.io/docs/programs/ossec-authd.html#cmdoption-ossec-authd-v

Where in the documentation did you find a reference to 2.8.1? I'd like
to correct it.

James Vernon

unread,
Nov 11, 2016, 1:16:19 PM11/11/16
to ossec-list

Turns out I was missing something simple. I wasn't looking at the OFFICIAL documentation.

https://ossec-docs.readthedocs.io/en/latest/programs/ossec-authd.html

I really messed that one up. Sorry for wasting your time.

dan (ddp)

unread,
Nov 11, 2016, 1:23:25 PM11/11/16
to ossec...@googlegroups.com
On Fri, Nov 11, 2016 at 1:16 PM, 'James Vernon' via ossec-list
Not your fault. I'm sure there are many many references to the old
documentation out there still.
Reply all
Reply to author
Forward
0 new messages