Created
February 3, 2023 12:22
-
-
Save mpolinowski/7192cbf4f79097665aa8aa2ce817f050 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| tyACM0 | |
| WARNING: Localhost DNS setting (--dns=127.0.0.1) may fail in containers. | |
| RADIO_URL: spinel+hdlc+uart:///dev/ttyACM0 | |
| TREL_URL: | |
| TUN_INTERFACE_NAME: wpan0 | |
| BACKBONE_INTERFACE: eth0 | |
| NAT64_PREFIX: 64:ff9b::/96 | |
| +++ dirname /app/script/server | |
| ++ cd /app/script/.. | |
| ++ [[ ! -n x ]] | |
| ++ echo 'Current platform is ubuntu' | |
| Current platform is ubuntu | |
| ++ with BORDER_ROUTING | |
| ++ local value | |
| +++ printenv BORDER_ROUTING | |
| ++ value=1 | |
| ++ [[ -z 1 ]] | |
| ++ [[ 1 == 1 ]] | |
| ++ with DHCPV6_PD | |
| ++ local value | |
| +++ printenv DHCPV6_PD | |
| ++ value= | |
| ++ [[ -z '' ]] | |
| ++ [[ -f examples/platforms/ubuntu/default ]] | |
| ++ [[ '' == 1 ]] | |
| ++ with BORDER_ROUTING | |
| ++ local value | |
| +++ printenv BORDER_ROUTING | |
| ++ value=1 | |
| ++ [[ -z 1 ]] | |
| ++ [[ 1 == 1 ]] | |
| ++ with NETWORK_MANAGER | |
| ++ local value | |
| +++ printenv NETWORK_MANAGER | |
| ++ value= | |
| ++ [[ -z '' ]] | |
| ++ [[ -f examples/platforms/ubuntu/default ]] | |
| ++ [[ '' == 1 ]] | |
| ++ STAGE_DIR=/app/stage | |
| ++ BUILD_DIR=/app/build | |
| ++ [[ -d /app/stage ]] | |
| ++ mkdir -v -p /app/stage | |
| mkdir: created directory '/app/stage' | |
| ++ [[ -d /app/build ]] | |
| ++ mkdir -v -p /app/build | |
| mkdir: created directory '/app/build' | |
| ++ export PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
| ++ PATH=/app/stage/usr/bin:/app/stage/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
| +++ basename /app/script/server | |
| ++ TASKNAME=server | |
| ++ BEFORE_HOOK=examples/platforms/ubuntu/before_server | |
| ++ AFTER_HOOK=examples/platforms/ubuntu/after_server | |
| ++ [[ ! -f examples/platforms/ubuntu/before_server ]] | |
| ++ BEFORE_HOOK=/dev/null | |
| ++ [[ ! -f examples/platforms/ubuntu/after_server ]] | |
| ++ AFTER_HOOK=/dev/null | |
| + . script/_nat64 | |
| ++ NAT64_SERVICE=openthread | |
| ++ TAYGA_DEFAULT=/etc/default/tayga | |
| ++ TAYGA_CONF=/etc/tayga.conf | |
| ++ TAYGA_IPV4_ADDR=192.168.255.1 | |
| ++ TAYGA_IPV6_ADDR=fdaa:bb:1::1 | |
| ++ TAYGA_TUN_V6_ADDR=fdaa:bb:1::2 | |
| ++ NAT64_PREFIX=64:ff9b::/96 | |
| ++ DYNAMIC_POOL=192.168.255.0/24 | |
| ++ NAT44_SERVICE=/etc/init.d/otbr-nat44 | |
| ++ WLAN_IFNAMES=eth0 | |
| + . script/_dns64 | |
| ++ BIND_CONF_OPTIONS=/etc/bind/named.conf.options | |
| ++ NAT64_PREFIX=64:ff9b::/96 | |
| ++ DNS64_NAMESERVER_ADDR=127.0.0.1 | |
| +++ echo 64:ff9b::/96 | |
| +++ tr '"/"' '"/"' | |
| ++ DNS64_CONF='dns64 64:ff9b::/96 { clients { thread; }; recursive-only yes; };' | |
| ++ without NAT64 | |
| ++ with NAT64 | |
| ++ local value | |
| +++ printenv NAT64 | |
| ++ value=1 | |
| ++ [[ -z 1 ]] | |
| ++ [[ 1 == 1 ]] | |
| ++ without DNS64 | |
| ++ with DNS64 | |
| ++ local value | |
| +++ printenv DNS64 | |
| ++ value=0 | |
| ++ [[ -z 0 ]] | |
| ++ [[ 0 == 1 ]] | |
| ++ '[' ubuntu = raspbian ']' | |
| ++ '[' ubuntu = beagleboneblack ']' | |
| ++ '[' ubuntu = ubuntu ']' | |
| ++ RESOLV_CONF_HEAD=/etc/resolvconf/resolv.conf.d/head | |
| + . script/_firewall | |
| ++ FIREWALL_SERVICE=/etc/init.d/otbr-firewall | |
| ++ sudo modprobe ip6table_filter | |
| sudo: modprobe: command not found | |
| ++ true | |
| + main | |
| + . /dev/null | |
| + sudo sysctl --system | |
| * Applying /etc/sysctl.d/10-console-messages.conf ... | |
| kernel.printk = 4 4 1 7 | |
| * Applying /etc/sysctl.d/10-ipv6-privacy.conf ... | |
| net.ipv6.conf.all.use_tempaddr = 2 | |
| net.ipv6.conf.default.use_tempaddr = 2 | |
| * Applying /etc/sysctl.d/10-kernel-hardening.conf ... | |
| kernel.kptr_restrict = 1 | |
| * Applying /etc/sysctl.d/10-link-restrictions.conf ... | |
| fs.protected_hardlinks = 1 | |
| fs.protected_symlinks = 1 | |
| * Applying /etc/sysctl.d/10-magic-sysrq.conf ... | |
| kernel.sysrq = 176 | |
| * Applying /etc/sysctl.d/10-network-security.conf ... | |
| net.ipv4.conf.default.rp_filter = 2 | |
| net.ipv4.conf.all.rp_filter = 2 | |
| * Applying /etc/sysctl.d/10-ptrace.conf ... | |
| kernel.yama.ptrace_scope = 1 | |
| * Applying /etc/sysctl.d/10-zeropage.conf ... | |
| vm.mmap_min_addr = 65536 | |
| * Applying /etc/sysctl.d/60-otbr-accept-ra.conf ... | |
| net.ipv6.conf.eth0.accept_ra = 2 | |
| net.ipv6.conf.eth0.accept_ra_rt_info_max_plen = 64 | |
| * Applying /etc/sysctl.d/60-otbr-ip-forward.conf ... | |
| net.ipv6.conf.all.forwarding = 1 | |
| net.ipv4.ip_forward = 1 | |
| * Applying /usr/lib/sysctl.d/protect-links.conf ... | |
| fs.protected_fifos = 1 | |
| fs.protected_hardlinks = 1 | |
| fs.protected_regular = 2 | |
| fs.protected_symlinks = 1 | |
| * Applying /etc/sysctl.conf ... | |
| + nat64_start | |
| + with NAT64 | |
| + local value | |
| ++ printenv NAT64 | |
| + value=1 | |
| + [[ -z 1 ]] | |
| + [[ 1 == 1 ]] | |
| + '[' openthread = tayga ']' | |
| + nat44_start | |
| + with DOCKER | |
| + local value | |
| ++ printenv DOCKER | |
| + value=1 | |
| + [[ -z 1 ]] | |
| + [[ 1 == 1 ]] | |
| + service otbr-nat44 start | |
| + dns64_start | |
| + with NAT64 | |
| + local value | |
| ++ printenv NAT64 | |
| + value=1 | |
| + [[ -z 1 ]] | |
| + [[ 1 == 1 ]] | |
| + with DNS64 | |
| + local value | |
| ++ printenv DNS64 | |
| + value=0 | |
| + [[ -z 0 ]] | |
| + [[ 0 == 1 ]] | |
| + return 0 | |
| + firewall_start | |
| + with DOCKER | |
| + local value | |
| ++ printenv DOCKER | |
| + value=1 | |
| + [[ -z 1 ]] | |
| + [[ 1 == 1 ]] | |
| + service otbr-firewall start | |
| + case "$1" in | |
| + firewall_start | |
| + firewall_stop | |
| + ip6tables -C FORWARD -o wpan0 -j OTBR_FORWARD_INGRESS | |
| ip6tables v1.8.4 (legacy): Couldn't load target `OTBR_FORWARD_INGRESS':No such file or directory | |
| Try `ip6tables -h' or 'ip6tables --help' for more information. | |
| + ip6tables -L OTBR_FORWARD_INGRESS | |
| ip6tables: No chain/target/match by that name. | |
| + ipset_destroy_if_exist otbr-ingress-deny-src | |
| + ipset list otbr-ingress-deny-src | |
| ipset v7.5: The set with the given name does not exist | |
| + ipset_destroy_if_exist otbr-ingress-deny-src-swap | |
| + ipset list otbr-ingress-deny-src-swap | |
| ipset v7.5: The set with the given name does not exist | |
| + ipset_destroy_if_exist otbr-ingress-allow-dst | |
| + ipset list otbr-ingress-allow-dst | |
| ipset v7.5: The set with the given name does not exist | |
| + ipset_destroy_if_exist otbr-ingress-allow-dst-swap | |
| + ipset list otbr-ingress-allow-dst-swap | |
| ipset v7.5: The set with the given name does not exist | |
| + ipset create -exist otbr-ingress-deny-src hash:net family inet6 | |
| + ipset create -exist otbr-ingress-deny-src-swap hash:net family inet6 | |
| + ipset create -exist otbr-ingress-allow-dst hash:net family inet6 | |
| + ipset create -exist otbr-ingress-allow-dst-swap hash:net family inet6 | |
| + ip6tables -N OTBR_FORWARD_INGRESS | |
| + ip6tables -I FORWARD 1 -o wpan0 -j OTBR_FORWARD_INGRESS | |
| + ip6tables -A OTBR_FORWARD_INGRESS -m pkttype --pkt-type unicast -i wpan0 -j DROP | |
| + ip6tables -A OTBR_FORWARD_INGRESS -m set --match-set otbr-ingress-deny-src src -j DROP | |
| + ip6tables -A OTBR_FORWARD_INGRESS -m set --match-set otbr-ingress-allow-dst dst -j ACCEPT | |
| + ip6tables -A OTBR_FORWARD_INGRESS -m pkttype --pkt-type unicast -j DROP | |
| + ip6tables -A OTBR_FORWARD_INGRESS -j ACCEPT | |
| + have systemctl | |
| + command -v systemctl | |
| + have service | |
| + command -v service | |
| + sudo service rsyslog status | |
| * rsyslogd is not running | |
| + sudo service rsyslog start | |
| * Starting enhanced syslogd rsyslogd [ OK ] | |
| + sudo service dbus status | |
| * dbus is not running | |
| + sudo service dbus start | |
| * Starting system message bus dbus [ OK ] | |
| + sudo service mdns status | |
| Usage: /etc/init.d/mDNS {start|stop|reload|restart} | |
| + sudo service mdns start | |
| Starting Apple Darwin Multicast DNS / DNS Service Discovery daemon: mdnsd. | |
| + sudo service avahi-daemon status | |
| Avahi mDNS/DNS-SD Daemon is not running | |
| + sudo service avahi-daemon start | |
| * Starting Avahi mDNS/DNS-SD Daemon avahi-daemon [ OK ] | |
| + sudo service otbr-agent status | |
| * otbr-agent is not running | |
| + sudo service otbr-agent start | |
| * Starting thread border agent otbr-agent [ OK ] | |
| + without WEB_GUI | |
| + with WEB_GUI | |
| + local value | |
| ++ printenv WEB_GUI | |
| + value=1 | |
| + [[ -z 1 ]] | |
| + [[ 1 == 1 ]] | |
| + sudo service otbr-web status | |
| * otbr-web is not running | |
| + sudo service otbr-web start | |
| * Starting thread web interface otbr-web [ OK ] | |
| + . /dev/null | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: New relevant interface eth0.IPv4 for mDNS. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: Joining mDNS multicast group on interface lo.IPv6 with address ::1. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: New relevant interface lo.IPv6 for mDNS. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: Joining mDNS multicast group on interface lo.IPv4 with address 127.0.0.1. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: New relevant interface lo.IPv4 for mDNS. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: Network interface enumeration completed. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: Registering new address record for fe80::42:acff:fe11:2 on eth0.*. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: Registering new address record for 172.17.0.2 on eth0.IPv4. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: Registering new address record for ::1 on lo.*. | |
| Feb 3 12:11:09 4f86f031b8c6 avahi-daemon[154]: Registering new address record for 127.0.0.1 on lo.IPv4. | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent: [NOTE]-AGENT---: Backbone interface: eth0 | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent[182]: [NOTE]-AGENT---: Running 0.3.0-511808e | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent[182]: [NOTE]-AGENT---: Thread version: 1.3.0 | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent[182]: [NOTE]-AGENT---: Thread interface: wpan0 | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent[182]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0 | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent[182]: [NOTE]-ILS-----: Infra link selected: eth0 | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent[182]: [INFO]-NCP-----: OpenThread log level changed to 5 | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent[182]: 50d.03:09:02.461 [I] Platform------: RCP reset: RESET_POWER_ON | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-agent[182]: 50d.03:09:02.463 [C] Platform------: Init() at radio_spinel_impl.hpp:265: RadioSpinelIncompatible | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-web[210]: [INFO]-WEB-----: Running 0.3.0-511808e | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-web[210]: [INFO]-WEB-----: Border router web started on wpan0 | |
| Feb 3 12:11:10 4f86f031b8c6 otbr-web[210]: [ERR ]-WEB-----: OpenThread daemon is not running. | |
| Feb 3 12:11:10 4f86f031b8c6 avahi-daemon[154]: Server startup complete. Host name is 4f86f031b8c6.local. Local service cookie is 97445696. | |
| Feb 3 12:11:10 4f86f031b8c6 rsyslogd: rsyslogd's groupid changed to 101 | |
| Feb 3 12:11:10 4f86f031b8c6 rsyslogd: rsyslogd's userid changed to 101 | |
| Feb 3 12:11:10 4f86f031b8c6 rsyslogd: [origin software="rsyslogd" swVersion="8.2001.0" x-pid="87" x-info="https://www.rsyslog.com"] start | |
| Feb 3 12:11:40 4f86f031b8c6 otbr-web[210]: [ERR ]-WEB-----: OpenThread daemon is not running. | |
| Feb 3 12:11:40 4f86f031b8c6 otbr-web[210]: [ERR ]-WEB-----: Wpan service error: 13 | |
| Feb 3 12:15:21 4f86f031b8c6 kernel: [36626.515616] kauditd_printk_skb: 132 callbacks suppressed | |
| Feb 3 12:15:21 4f86f031b8c6 kernel: [36626.515619] audit: type=1325 audit(1675426521.746:2858): table=filter family=2 entries=197 op=xt_replace pid=119878 subj=unconfined comm="iptables-restor" | |
| Feb 3 12:15:21 4f86f031b8c6 kernel: [36626.515640] audit: type=1300 audit(1675426521.746:2858): arch=c000003e syscall=54 success=yes exit=0 a0=5 a1=0 a2=40 a3=555b72f8e920 items=0 ppid=1833 pid=119878 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables-restor" exe="/usr/bin/xtables-legacy-multi" subj=unconfined key=(null) | |
| Feb 3 12:15:21 4f86f031b8c6 kernel: [36626.515644] audit: type=1327 audit(1675426521.746:2858): proctitle=69707461626C65732D726573746F7265002D2D77616974002D540066696C746572 | |
| Feb 3 12:20:21 4f86f031b8c6 kernel: [36926.544342] audit: type=1325 audit(1675426821.774:2859): table=filter family=2 entries=197 op=xt_replace pid=120238 subj=unconfined comm="iptables-restor" | |
| Feb 3 12:20:21 4f86f031b8c6 kernel: [36926.544349] audit: type=1300 audit(1675426821.774:2859): arch=c000003e syscall=54 success=yes exit=0 a0=5 a1=0 a2=40 a3=562996b24810 items=0 ppid=1833 pid=120238 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="iptables-restor" exe="/usr/bin/xtables-legacy-multi" subj=unconfined key=(null) | |
| Feb 3 12:20:21 4f86f031b8c6 kernel: [36926.544353] audit: type=1327 audit(1675426821.774:2859): proctitle=69707461626C65732D726573746F7265002D2D77616974002D540066696C746572 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment