-
Notifications
You must be signed in to change notification settings - Fork 1
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 in http logs #40
Comments
@Iqi-Malick: Sorry for the delay in getting back to you. I noticed you'd asked the Zeek team about this over on their Slack at https://zeekorg.slack.com/archives/CSZBXF6TH/p1655289167790869. Have you managed to achieve what you were attempting, or do you still need help? |
Issue is not resolved yet. I still need help with it. |
@Iqi-Malick: I just spent some time hacking at trying to add these additional fields to the other logs like DNS and HTTP and couldn't get it to work. I'm sure someone with better Zeek scripting skills than me could figure it out. I'll leave this issue open in case someone else sees it and is able to contribute. FWIW, rather than adding the redundant info in all the different log files, the way I'd try to approach this would be to grab the |
System architecture is designed in such a way that only connection logs are not enough that's why I need a separate script to add geoip in all the logs. |
While I still don't have a solution to have the geoip-conn package add this detail to non-
I'll walk through an example of putting it to use on the sample pcap wrccdc.2018-03-23.010014000000000.pcap.gz. Assuming that it's been downloaded and unzipped, first process it with a Zeek instance that has the geoip-conn package installed, then run the Zed script.
That command line outputs the geolocation-enhanced HTTP records in a separate Zeek TSV file
This same approach could be used to decorate other Zeek log types that also have the If you have a Zeek installation that's continuously generating logs based on live traffic, I'd recommend running scripts like this as a post-log-rotation step since all the different Zeek log types needed to perform the join will be present after each rotation. @Iqi-Malick: I'm not sure if you're still watching this issue and are interested in the enhancement, but if you (or anyone else that stumbles onto this issue) has questions about the |
How can we implement GeoIP feature for HTTP and DNS logs?
The text was updated successfully, but these errors were encountered: