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

bro_pdns.py missing #5

Open
gnomefish opened this issue Jul 21, 2017 · 6 comments
Open

bro_pdns.py missing #5

gnomefish opened this issue Jul 21, 2017 · 6 comments

Comments

@gnomefish
Copy link

when I git clone bro_pdns.py is missing...

@JustinAzoff
Copy link
Owner

I re-wrote bro-pdns in go. It's faster and easier to deploy now.

It also no longer needs to be integrated directly with bro, you can just point it at the archived dns log files. the README shows how to get it working.. you basically just need to build it and index the logs.

@gnomefish
Copy link
Author

Ah cool, I have no experience with installing GO stuff - any chance you could provide some more advanced install instructions? I got it to work eventually by downloading the missing files.

@JustinAzoff
Copy link
Owner

You just need a working go compiler installed and then you can run

go get -v github.com/JustinAzoff/bro-pdns

and that should (after a minute or two) give you a bro-pdns binary in ~/go/bin/bro-pdns

@JustinAzoff
Copy link
Owner

I could publish a binary release on github, I just haven't quite worked out the best way to automate that sort of thing..

Is that someone you would be interested in? I'm not sure if most people would rather build things themselves or run someone elses binary build.

@gnomefish
Copy link
Author

Hi Justin,
It's absolutely fine as it is, it's my lack of "go" knowledge that prompted the question. As long as it has proper instructions anybody should be able to build it. Can you still log to MySQL?
Great stiff by the way!
L.

@JustinAzoff
Copy link
Owner

Ah.. I have not implemented a mysql backend yet. I spent a lot of time optimizing the sqlite and postgresql backends to be as fast as possible. I haven't had a chance to install mysql and work out what the proper queries are for it. I could get an initial backend working pretty easily, but it would probably be too slow for anything more than a small installation.

One of the issues with the python version was it would take too long to update the database if the database was running on another system because the per-query latency was too high. I worked out how to batch updates for postgresql so it's still fast even with a remote database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants