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

Install manual? #14

Open
asafov opened this issue Apr 6, 2020 · 3 comments
Open

Install manual? #14

asafov opened this issue Apr 6, 2020 · 3 comments

Comments

@asafov
Copy link

asafov commented Apr 6, 2020

Hello, how to install this product?
I execute composer install and php artisan key:generate.
When i try to access page there are infinite redirect to API_DOCS_URL.
Need assist.

@asafov
Copy link
Author

asafov commented Apr 7, 2020

scripts/update_bgp_ribs.sh has errors.

  1. bgpview require libbz2.so, but cannot find it.
    Solution:
yum install bzip2-devel
ln -s `find /usr/lib64/ -type f -name "libbz2.so.1*"` /usr/lib64/libbz2.so.1.0
  1. wget have ipv6 only option, need to delete -6 in string.

  2. This script call many heavy parsing, which kill my server

  3. cat for implode files into one will work much better, if files will builded on RAM-disk, not HDD

  4. go-bgpparse hardcoded (path, login, pass, etc)

  5. go-bgpparse require root access for set max_allowed_packet, but it's don't check actual value (Already setted)

@asafov
Copy link
Author

asafov commented Apr 7, 2020

$rand_ip = '[2a06:9f81:'.rand(1, 9999).':f001:e141:f435:1010:deed]';
$socket_options = array( 'socket' => array('bindto' => $rand_ip.':0') );
$socket_context = stream_context_create($socket_options);

Seems that this code is only for query by ipv6 subnet to avoid request limit?

@asafov
Copy link
Author

asafov commented Apr 7, 2020

With redis is more faster. Think that in example must be redis, not sync.

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

1 participant