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

Can not run the "BML code to collect the data of the Google leak use case" in your BML paper. #1

Open
pickmels opened this issue Dec 29, 2021 · 1 comment

Comments

@pickmels
Copy link

Dear authors,
I am doing some research about BGP anomaly detection, and I have read your BML paper these days. I want to try your "BML code to collect the data of the Google leak use case"(Fig. 4) in your papers, but there are some errors:

[problem 1]
image
"
Traceback (most recent call last):
File "test.py", line 10, in
dataset.load({
AttributeError: 'Dataset' object has no attribute 'load'
"

[problem 2]
I find your https://kevinhoarau.github.io/BML/ and try to run the code in 'Dataset' section, and here are the errors:
image
"
HTTP ERROR: HTTP response code said error (22)
2021-12-29 11:10:50 16746: bsdi_broker.c:966: ERROR: Could not open https://broker.bgpstream.caida.org/v2/data?projects[]=ris&projects[]=routeviews&collectors[]=rrc06&types[]=updates&intervals[]=1503594000,1503630000 for reading
2021-12-29 11:10:50 16746: bsdi_broker.c:951: WARNING: WARN: Broker request failed, waiting 1s before retry
"
But I can open this url on my own notebook. I don't know what's wrong.

I think your work are very useful for my research and I want to cite your paper after finishing my work. Thanks for helping me!!!

@KevinHoarau
Copy link
Owner

Hello,
I'm glad our work could be useful to you.

For the problem 1, indeed the code in the BML's paper is out-of-date so you want to refer to the example given in:
https://kevinhoarau.github.io/BML/.

Regarding the second issue, the problem seems to be related to BGPStream which is used by BML. Maybe something gone wrong during the installation. You can try to reinstall BGPStream: https://bgpstream.caida.org/download.

If you are familiar with docker, we also have an image ready-to-use, with a jupyter notebook and BML pre-installed. Simply run:
$ docker run -d -p 8888:8888 khoarau/bml
Then open: http://localhost:8888/
Password is "bml".

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