-
Notifications
You must be signed in to change notification settings - Fork 1k
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
IPv6 pull request #563
IPv6 pull request #563
Conversation
Removed IP version dependent INFO since the IP address is already displayed.
Added v4mapped check.
…andle IPv6 connections.
with a more general (\S+). Updated dovecot decoder filters to handle a log format change and the protocol field.
Conflicts: src/client-agent/start_agent.c src/os_maild/sendmail.c
Conflicts: src/os_auth/main-client.c
Conflicts: src/InstallAgent.sh src/error_messages/error_messages.h src/headers/defs.h src/syscheckd/seechanges.c
are removed as fast as the system can process them without ever going into lock/sleep state.
This reverts commit 4034c2d which broke maild and possibly others.
Conflicts: src/os_net/os_net.c
Conflicts: src/syscheckd/seechanges.c
Conflicts: src/client-agent/start_agent.c src/os_auth/main-client.c src/os_csyslogd/csyslogd.c src/os_maild/sendcustomemail.c src/os_maild/sendmail.c src/os_net/os_net.c src/os_net/os_net.h src/tests/test_os_net.c
It was working fine, but now when installing a new server it fails. Can it be fixed and merged? |
On Sun, 22 Nov 2015, Namsep wrote:
It was working fine, but now when installing a new server it fails. Can
it be fixed and merged?
It fails on installation or it fails when running? And is it the agent or
the manager. What's the error message? I just installed the agent
recently on several new SL 7.1 servers.
Antonio Querubin
e-mail: [email protected]
xmpp: [email protected]
|
It was failing on a new agent, not accepting the key from the server. Removed all of it and started freshly resolved the issue. Probably not even related to this pull request. Would like to see this IPv6 support going mainstream, it's been working on my IPv6 only and dualstack environments from April this year without issues. |
Of course I should have tested this better before merging. I'm seeing a lot of these now (OpenBSD post-5.8 amd64):
They seem to be: errno 22: Invalid argument The issue is coming from logr.peersize being a sizeof sockaddr_storage in the sendto in src/remoted/sendmsg.c. Changing the last argument to the sizeof sockaddr_in seems to make my setup usable again, but I'm still testing. |
On Mon, 23 Nov 2015, Dan Parriott wrote:
Can you check if the below patch fixes the issue? If it does there may be diff --git a/src/remoted/sendmsg.c b/src/remoted/sendmsg.c
{
Antonio Querubin |
With the patch I am not longer seeing the errors. |
On Mon, 23 Nov 2015, Dan Parriott wrote:
With the patch I am not longer seeing the errors.
Patch submitted as a pull request.
Antonio Querubin
e-mail: [email protected]
xmpp: [email protected]
|
This will bring in the various patches required for IPv6 support plus:
See the individual commit descriptions and https://bitbucket.org/aquerubin/ossec-hids/wiki/Home for additional change notes.