-
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
- GeoIP support in Alerts #840
Conversation
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
This is probably going to break in Travis because it requires an external GeoIP library dependency |
The GeoIP thing should be handled by Travis. I see the apt-get installation in the travis output. |
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
Signed-off-by: Scott R. Shinn <scott@atomicorp.com>
On Fri, 8 Jul 2016, Dan Parriott wrote:
Merged #840.
Unfortunately this restores code that was/is IPv4 dependent in alert.c.
It would be better to leave srcip and dstip as is and write them as
strings (into the sql query string) instead of converting them to ints
which would never work for IPv6 addresses.
Antonio Querubin
e-mail: tony@lavanauts.org
xmpp: antonioquerubin@gmail.com
|
@aquerubin Thanks for the report. I wanted to get this in so there would be plenty of time to fix any issues before 3.0. I'm going to open an issue on this so it doesn't get lost, and quote your post. |
On Fri, 8 Jul 2016, Dan Parriott wrote:
@aquerubin Thanks for the report. I wanted to get this in so there would
be plenty of time to fix any issues before 3.0. I'm going to open an
issue on this so it doesn't get lost, and quote your post.
Should I submit the fix or do you want to do that?
Antonio Querubin
e-mail: tony@lavanauts.org
xmpp: antonioquerubin@gmail.com
|
@aquerubin Your fix would be much quicker and better than mine. I'd appreciate if you gave it a go! |
Signed-off-by: Scott R. Shinn scott@atomicorp.com
This is a re-visit of dcids GeoIP patch, it adds the Geo Location of the IP address to the Alert and JSON output. It requires the GeoIP-devel package to build, and the GeoLiteCity.dat (included in GeoIP-GeoLite-data-extra package, or can be manually downloaded).
/usr/share/GeoIP/GeoLiteCity.dat