[ixpmanager] problem with BIrdEye v1.22

bbalaawi@mtit.gov.ps bbalaawi at mtit.gov.ps
Thu Sep 10 17:19:42 IST 2020


Hi support 
 
I am now to get ixp manager to my lab to check the full performance before certified at our IXP, I have now problem at run Birdeye v 1.22 with Birdv2.0.7, but let me inform you about what did 
I have two VM connected to gather with details:
1- VM1: have a dual homed have IXP MANAGER and MRTG (185.153.160.202 access with switch and 192.168.1.202 access from outside)
2- VM2: have a dual homed have Birdv2 and Birdeye (185.153.160.203 access with member for BGP peering and 192.168.1.203 to access from outside and to connect with ixp manager)
 
· The birdv2 installed and every member at the lab connected without any problem and exchange the prefixes between us .
· I did procedure at the link for birdeye https://github.com/inex/birdseye/ , but I prefom the .env  like this   “cp .env.example birdseye-rs1-lan1-ipv4.env “ despite of there is single BIRD daemon
· The part of “ Vagrant / Development ” is neglected completely where I think not need at my case .
· Installed lighhtpd web server as well as link page https://www.osradar.com/install-lighttpd-ubuntu-20-04/
· The output from IXP MANAGER like this :

mysql> SELECT * FROM routers WHERE id = 1\G
*************************** 1. row ***************************
                      id: 1
                      vlan_id: 1
                      handle: rs1-lan1-ipv4
                      protocol: 4
                      type: 1
                      name: IXP Route Server #1
                      shortname: RS1 - VLAN10 - IPv4
                      router_id: 185.153.160.203
                      peering_ip: 185.153.160.203
                     asn: 61274
                     software: 6
                     software_version: 2.0.7
                     operating_system: Ubunitu Linux
                     operating_system_version: 20.04
                     mgmt_host: 192.168.1.204
                     api: http://192.168.1.203/api
                       api_type: 1
                       lg_access: 0
                       quarantine: 0
                       bgp_lc: 1
                       rpki: 1
                       rfc1997_passthru: 0
                       template: api/v4/router/server/bird2/standard
                       skip_md5: 1
                       last_updated: 2020-09-10 03:16:49
                       1 row in set (0.02 sec)
 
 
root at ixpmanager:/srv/ixpmanager# curl -v http://192.168.1.203/api/status
*   Trying 192.168.1.203:80...
* TCP_NODELAY set
* Connected to 192.168.1.203 (192.168.1.203) port 80 (#0)
> GET /api/statu HTTP/1.1
> Host: 192.168.1.203
> User-Agent: curl/7.68.0
> Accept: */*
>
* Empty reply from server
* Connection #0 to host 192.168.1.203 left intact
curl: (52) Empty reply from server
root at ixpmanager:/srv/ixpmanager#
 
 
root at ixpmanager:/srv/ixpmanager# tail -f /srv/ixpmanager/storage/logs/laravel.log
#59 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#60 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/CheckForMaintenanceMode.php(63): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#61 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(171): Illuminate\\Foundation\\Http\\Middleware\\CheckForMaintenanceMode->handle()
#62 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(105): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#63 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(145): Illuminate\\Pipeline\\Pipeline->then()
#64 /srv/ixpmanager/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(110): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#65 /srv/ixpmanager/public/index.php(85): Illuminate\\Foundation\\Http\\Kernel->handle()
#66 {main}
"}
[2020-09-10 03:16:47] development.INFO: Generated router configuration for rs1-lan1-ipv4 and used 10879368 bytes (12582912 real) of memory.
 
· The output from Birdeye like this :
root at bird:/srv/birdseye/bin# cat /srv/birdseye/version.php
<?php
 
$_ENV['BIRDSEYE_API_VERSION'] = '1.2.2';
root at bird:/srv/birdseye/bin#
 
 
root at bird:/srv/birdseye/bin# ls -la /var/run/bird
total 0
drwxrwxr-x  2 bird bird   80 Sep 10 00:16 .
drwxr-xr-x 33 root root 1060 Sep  9 23:59 ..
srw-rw----  1 bird bird    0 Sep  9 23:53 bird.ctl
srw-rw----  1 root root    0 Sep 10 00:16 rs1-lan1-ipv4.ctl
root at bird:/srv/birdseye/bin#
 
 
root at bird:/srv/birdseye/bin# ls -la /srv/birdseye/*env
-rw-r--r-- 1 root root 2972 Sep  8 19:23 /srv/birdseye/birdseye-rs1-lan1-ipv4.env
root at bird:/srv/birdseye/bin#
 
 
 
 
 
root at bird:/srv/birdseye/bin# cat /srv/birdseye/*env | egrep -v '(^#)|(^\s*$)'
BIRDC="/usr/bin/sudo /srv/birdseye/bin/birdc -2 -s /var/run/bird/rs1-lan1-ipv4.ctl"
CACHE_DRIVER=file
LOOKING_GLASS_ENABLED=false
root at bird:/srv/birdseye/bin#
 
 
root at bird:/srv/birdseye/bin# /usr/sbin/birdc -s /var/run/bird/rs1-lan1-ipv4.ctl show status
BIRD 2.0.7 ready.
BIRD 2.0.7
Router ID is 185.153.160.203
Current server time is 2020-09-10 02:16:07
Last reboot on 2020-09-10 00:16:49
Last reconfiguration on 2020-09-10 00:16:49
Daemon is up and running
root at bird:/srv/birdseye/bin#
 
 
 
root at bird:~# netstat -lpn | grep lighttpd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      979/lighttpd
 
root at bird:~# netstat -lpn | grep php
tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      866/php-fpm: master
 
 
root at bird:~# cat /etc/lighttpd/lighttpd.conf
server.modules = (
        "mod_indexfile",
        "mod_access",
        "mod_alias",
        "mod_compress",
        "mod_redirect",
        "mod_rewrite",
)
 
#server.document-root        = "/var/www/html"
server.document-root        = "/srv/birdseye/public"
server.upload-dirs          = ( "/var/cache/lighttpd/uploads" )
server.errorlog             = "/var/log/lighttpd/error.log"
#server.pid-file             = "/run/lighttpd.pid"
server.pid-file             = "/var/run/lighttpd.pid"
server.username             = "www-data"
server.groupname            = "www-data"
server.port                 = 80
 
# strict parsing and normalization of URL for consistency and security
# https://redmine.lighttpd.net/projects/lighttpd/wiki/Server_http-parseoptsDetails
# (might need to explicitly set "url-path-2f-decode" = "disable"
#  if a specific application is encoding URLs inside url-path)
server.http-parseopts = (
  "header-strict"           => "enable",# default
  "host-strict"             => "enable",# default
  "host-normalize"          => "enable",# default
  "url-normalize-unreserved"=> "enable",# recommended highly
  "url-normalize-required"  => "enable",# recommended
  "url-ctrls-reject"        => "enable",# recommended
  "url-path-2f-decode"      => "enable",# recommended highly (unless breaks app)
 #"url-path-2f-reject"      => "enable",
  "url-path-dotseg-remove"  => "enable",# recommended highly (unless breaks app)
 #"url-path-dotseg-reject"  => "enable",
 #"url-query-20-plus"       => "enable",# consistency in query string
)
 
#index-file.names            = ( "index.php", "index.html" )
index-file.names            = ( "index.php", "index.html", "index.lighttpd.html" )
url.access-deny             = ( "~", ".inc" )
static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" )
 
compress.cache-dir          = "/var/cache/lighttpd/compress/"
compress.filetype           = ( "application/javascript", "text/css", "text/html", "text/plain" )
 
# default listening port for IPv6 falls back to the IPv4 port
## Use ipv6 if available
#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port
include_shell "/usr/share/lighttpd/create-mime.conf.pl"
include_shell "/usr/share/lighttpd/include-conf-enabled.pl"
#include "/etc/lighttpd/conf-enabled/*.conf"
 
#server.compat-module-load   = "disable"
server.modules += (
        "mod_compress",
        "mod_dirlisting",
        "mod_staticfile",
)
 
 
url.redirect = ()
url.rewrite-once = (
        "^/(css|img|js|fonts)/.*\.(jpg|jpeg|gif|png|swf|avi|mpg|mpeg|mp3|flv|ico|css|js|woff|ttf)$" => "$0",
        "^/(favicon\.ico|robots\.txt|sitemap\.xml)$" => "$0",
        "^/[^\?]*(\?.*)?$" => "index.php/$1"
)
root at bird:~#
 
I sent to you laravel.log file , if you need,,,,,,

Where is the Problem ,,,,,,

I am waiting you relpy ,,,,

Thanks in advanced ,,,,,
 --
Eng.Basil Elbalaawi 
QOS Department - Complaints Unit
bbalaawi at mtit.gov.ps 
SecdepBasil at yahoo.com
Jawwal 0599409108
Wataniay 0562504972
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200910/da8ecebf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2814-5F5A5200-13-3434E080
Type: image/png
Size: 69940 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200910/da8ecebf/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: laravel.log
Type: application/octet-stream
Size: 1441703 bytes
Desc: not available
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20200910/da8ecebf/attachment-0001.obj>


More information about the ixpmanager mailing list