Miredo - нативный IPv6

Настройка, программирование, распределённые вычисления

Модераторы: Olej, bellic, vikos

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 08 июн 2023, 18:30

Olej писал(а):
08 июн 2023, 17:38
Эта версия всё-же попозжнее (по номеру) будет.
И чтобы не мудрить (пока :!: ) с LD_LIBRARY_PATH=... :

Код: Выделить всё

olej@R420:~/2023/IPv6/miredo$ sudo make install
Making install in po
make[1]: вход в каталог «/home/olej/2023/IPv6/miredo/po»
installing en.gmo as /usr/local/share/locale/en/LC_MESSAGES/miredo.mo
installing en_GB.gmo as /usr/local/share/locale/en_GB/LC_MESSAGES/miredo.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/miredo.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/miredo.mo
if test "miredo" = "gettext-tools"; then \
  /usr/bin/mkdir -p /usr/local/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
		    /usr/local/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /usr/local/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[1]: выход из каталога «/home/olej/2023/IPv6/miredo/po»
make[1]: вход в каталог «/home/olej/2023/IPv6/miredo»
make[2]: вход в каталог «/home/olej/2023/IPv6/miredo»
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/bash ./libtool   --mode=install /usr/bin/install -c   libtun6.la libteredo.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libtun6.so.2.0.0 /usr/local/lib/libtun6.so.2.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libtun6.so.2.0.0 libtun6.so.2 || { rm -f libtun6.so.2 && ln -s libtun6.so.2.0.0 libtun6.so.2; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libtun6.so.2.0.0 libtun6.so || { rm -f libtun6.so && ln -s libtun6.so.2.0.0 libtun6.so; }; })
libtool: install: /usr/bin/install -c .libs/libtun6.lai /usr/local/lib/libtun6.la
libtool: install: /usr/bin/install -c .libs/libteredo.so.6.0.0 /usr/local/lib/libteredo.so.6.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libteredo.so.6.0.0 libteredo.so.6 || { rm -f libteredo.so.6 && ln -s libteredo.so.6.0.0 libteredo.so.6; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libteredo.so.6.0.0 libteredo.so || { rm -f libteredo.so && ln -s libteredo.so.6.0.0 libteredo.so; }; })
libtool: install: /usr/bin/install -c .libs/libteredo.lai /usr/local/lib/libteredo.la
libtool: install: /usr/bin/install -c .libs/libtun6.a /usr/local/lib/libtun6.a
libtool: install: chmod 644 /usr/local/lib/libtun6.a
libtool: install: ranlib /usr/local/lib/libtun6.a
libtool: install: /usr/bin/install -c .libs/libteredo.a /usr/local/lib/libteredo.a
libtool: install: chmod 644 /usr/local/lib/libteredo.a
libtool: install: ranlib /usr/local/lib/libteredo.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c teredo-mire '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/teredo-mire /usr/local/bin/teredo-mire
/bin/bash /home/olej/2023/IPv6/miredo/admin/install-sh -d "/usr/local/var/run"
 /usr/bin/mkdir -p '/usr/local/libexec/miredo'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c miredo-privproc '/usr/local/libexec/miredo'
libtool: install: /usr/bin/install -c .libs/miredo-privproc /usr/local/libexec/miredo/miredo-privproc
 /usr/bin/mkdir -p '/usr/local/sbin'
  /bin/bash ./libtool   --mode=install /usr/bin/install -c miredo miredo-server miredo-checkconf '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/miredo /usr/local/sbin/miredo
libtool: install: /usr/bin/install -c miredo-server /usr/local/sbin/miredo-server
libtool: install: /usr/bin/install -c miredo-checkconf /usr/local/sbin/miredo-checkconf
 /usr/bin/mkdir -p '/usr/local/etc/miredo'
 /usr/bin/install -c client-hook '/usr/local/etc/miredo'
 /usr/bin/mkdir -p '/usr/local/share/doc/miredo/examples'
 /usr/bin/install -c -m 644 misc/miredo.conf misc/miredo-server.conf '/usr/local/share/doc/miredo/examples'
 /usr/bin/mkdir -p '/usr/local/include/libteredo'
 /usr/bin/install -c -m 644 libteredo/teredo.h libteredo/teredo-udp.h libteredo/tunnel.h '/usr/local/include/libteredo'
 /usr/bin/mkdir -p '/usr/local/include/libtun6'
 /usr/bin/install -c -m 644 libtun6/tun6.h '/usr/local/include/libtun6'
 /usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 doc/teredo-mire.1 '/usr/local/share/man/man1'
 /usr/bin/mkdir -p '/usr/local/share/man/man5'
 /usr/bin/install -c -m 644 doc/miredo.conf.5 doc/miredo-server.conf.5 '/usr/local/share/man/man5'
 /usr/bin/mkdir -p '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 doc/miredo.8 doc/miredo-server.8 doc/miredo-checkconf.8 '/usr/local/share/man/man8'
 /usr/bin/mkdir -p '/usr/local/lib/systemd/system'
 /usr/bin/install -c -m 644 misc/miredo.service misc/miredo-server.service '/usr/local/lib/systemd/system'
make  install-data-hook
make[3]: вход в каталог «/home/olej/2023/IPv6/miredo»
************************
* Miredo configuration *
************************
 
An example configuration file has been installed at:
  /usr/local/share/doc/miredo/examples/miredo.conf
 
There was already a configuration file at:
  /usr/local/etc/miredo/miredo.conf - it was not modified.
 
Please take time to review the settings and adjust them
if necessary. Once finished, save the file as:
  /usr/local/etc/miredo/miredo.conf and run miredo (as root).
make[3]: выход из каталога «/home/olej/2023/IPv6/miredo»
make[2]: выход из каталога «/home/olej/2023/IPv6/miredo»
make[1]: выход из каталога «/home/olej/2023/IPv6/miredo»

Код: Выделить всё

root@R420:/usr/local/etc/miredo# /usr/local/sbin/miredo -f
miredo[1375209]: Starting...
/usr/local/libexec/miredo/miredo-privproc: error while loading shared libraries: libteredo.so.6: cannot open shared object file: No such file or directory
miredo[1375209]: Child 1375210 exited (code: 0)
miredo[1375209]: Terminated with error(s).
Всё-таки придётся мудрить с с LD_LIBRARY_PATH=... или /etc/ld.so.conf или libtool - обычные особенносьт старой сборки :cry:

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 08 июн 2023, 23:49

Olej писал(а):
08 июн 2023, 18:30
Всё-таки придётся мудрить с с LD_LIBRARY_PATH=... или /etc/ld.so.conf или libtool - обычные особенносьт старой сборки
Делай так :!: :lol:

Код: Выделить всё

root@R420:/usr/local/etc/miredo# ldd /usr/local/sbin/miredo
    linux-vdso.so.1 (0x00007ffc242cb000)
    libtun6.so.2 => /usr/local/lib/libtun6.so.2 (0x00007fad38b71000)
    libteredo.so.6 => /usr/local/lib/libteredo.so.6 (0x00007fad38b65000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fad38917000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fad38b83000)
Вот эти библиотеки:

Код: Выделить всё

root@R420:/usr/local/etc/miredo# ls -l /usr/local/lib/libteredo.so.6
lrwxrwxrwx 1 root root 18 июн  8 17:56 /usr/local/lib/libteredo.so.6 -> libteredo.so.6.0.0

Код: Выделить всё

root@R420:/usr/local/etc/miredo# ls -l /usr/local/lib/libtun6.so.2
lrwxrwxrwx 1 root root 16 июн  8 17:56 /usr/local/lib/libtun6.so.2 -> libtun6.so.2.0.0

Код: Выделить всё

root@R420:/usr/local/etc/miredo# cd /etc/ld.so.conf.d/

root@R420:/etc/ld.so.conf.d# ls
fakeroot-x86_64-linux-gnu.conf  i386-linux-gnu.conf  libc.conf  x86_64-linux-gnu.conf  zz_i386-biarch-compat.conf  zz_x32-biarch-compat.conf

Код: Выделить всё

root@R420:/etc/ld.so.conf.d# touch miredo.conf

root@R420:/etc/ld.so.conf.d# cat miredo.conf
/usr/local/lib
Самое для чего это делалось:

Код: Выделить всё

root@R420:/etc/ld.so.conf.d# ldconfig
Проверка (в кэше!):

Код: Выделить всё

olej@R420:~/2023/own.BOOKs/Tools_Linux$ strings '/etc/ld.so.cache' | grep /usr/local/lib/libtun6
/usr/local/lib/libtun6.so
/usr/local/lib/libtun6.so.2

Код: Выделить всё

olej@R420:~/2023/own.BOOKs/Tools_Linux$ strings '/etc/ld.so.cache' | grep /usr/local/lib/libteredo
/usr/local/lib/libteredo.so
/usr/local/lib/libteredo.so.6

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 08 июн 2023, 23:55

Olej писал(а):
08 июн 2023, 23:49
Проверка
На всякий случай, проверка:

Код: Выделить всё

root@R420:/etc/ld.so.conf.d# ps -A | grep miredo

Код: Выделить всё

olej@R420:~$ echo $PATH
/home/olej/.sdkman/candidates/kotlin/current/bin:/home/olej/.bin:/home/olej/.cargo/bin:/home/olej/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

Код: Выделить всё

olej@R420:~$ which miredo
/usr/local/sbin/miredo

Код: Выделить всё

olej@R420:~$ miredo -V
Miredo: Teredo IPv6 tunneling software 1.3.0 (x86_64-pc-linux-gnu)
Configured with: ./configure 
Written by Remi Denis-Courmont.

Copyright (C) 2004-2006 Remi Denis-Courmont
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
Запуск:

Код: Выделить всё

root@R420:/etc/ld.so.conf.d# miredo -f
miredo[1389336]: Starting...
miredo[1389337]:  packet passed to maintenance procedure
miredo[1389337]: New Teredo address/MTU
miredo[1389337]: Teredo pseudo-tunnel started
miredo[1389337]:  (address: 2001:0:d911:c0d9:876:1a12:3ee3:4e8a, MTU: 1280)
miredo[1389337]: Internal IPv4 address: 192.168.1.14
miredo[1389337]: Connecting <unknown>: NOT trusted, NOT valid, 0 pings, 0 bubbles
miredo[1389337]: 2001:67c:1562::23: ping returned 0
miredo[1389337]: Connecting 0.0.0.0: NOT trusted, NOT valid, 1 pings, 0 bubbles
miredo[1389337]: 2001:67c:1562::23: ping returned 1
miredo[1389337]: Connecting 0.0.0.0: NOT trusted, NOT valid, 1 pings, 0 bubbles
miredo[1389337]: 2001:67c:1562::23: ping returned 1
miredo[1389337]:  bubble sent
miredo[1389337]:  bubble sent
miredo[1389337]:  bubble sent
miredo[1389337]:  packet passed to maintenance procedure
miredo[1389337]:  packet passed to maintenance procedure
miredo[1389337]:  packet passed to maintenance procedure
miredo[1389337]: Connecting <unknown>: NOT trusted, NOT valid, 0 pings, 0 bubbles
miredo[1389337]: 2001:67c:174:101:0:65:ff02:131: ping returned 0
miredo[1389337]:  bubble sent
miredo[1389337]:  bubble sent
miredo[1389337]:  bubble sent
miredo[1389337]:  packet passed to maintenance procedure
...
Что это всё значит я не знаю ... да и знать не хочу... :lol: Но:

Код: Выделить всё

olej@R420:~/2023/own.BOOKs/Tools_Linux$ ps -A | grep miredo
1389336 pts/11   00:00:00 miredo
1389337 pts/11   00:00:00 miredo
1389338 pts/11   00:00:00 miredo-privproc

Код: Выделить всё

olej@R420:~/2023/own.BOOKs/Tools_Linux$ ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 90:b1:1c:54:3a:46 brd ff:ff:ff:ff:ff:ff
    altname enp2s0f0
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 90:b1:1c:54:3a:47 brd ff:ff:ff:ff:ff:ff
    altname enp2s0f1
7: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 53049 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 500
    link/none
12018: teredo: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qdisc fq_codel state UNKNOWN mode DEFAULT group default qlen 500
    link/none

Код: Выделить всё

olej@R420:~/2023/own.BOOKs/Tools_Linux$ ip a s dev teredo
12018: teredo: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qdisc fq_codel state UNKNOWN group default qlen 500
    link/none
    inet6 2001:0:d911:c0d9:876:1a12:3ee3:4e8a/32 scope global
       valid_lft forever preferred_lft forever
    inet6 fe80::ffff:ffff:ffff/64 scope link
       valid_lft forever preferred_lft forever
    inet6 fe80::fd2e:e430:dbb5:bba4/64 scope link stable-privacy
       valid_lft forever preferred_lft forever
 
Это работает уже вновь собранный IPv6 :!:

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 09 июн 2023, 00:22

Olej писал(а):
08 июн 2023, 23:55
Это работает уже вновь собранный IPv6
И к тому, как хорошо различаются IPv6 сети Yggdrasil 200::/7 и нативный IPv6 miredo 2000::/32 - разные сети :!:

Код: Выделить всё

olej@R420:~$ ip -6 a s
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 state UNKNOWN qlen 1000
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::13f5:9fe2:6393:bf4a/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 state UP qlen 1000
    inet6 fe80::9bac:3791:1b79:7237/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
7: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 53049 state UNKNOWN qlen 500
    inet6 21d:8a7c:aafa:f346:8115:14aa:9ca4:cd7f/7 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::28a8:33b0:2c86:7774/64 scope link stable-privacy 
       valid_lft forever preferred_lft forever
12018: teredo: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 state UNKNOWN qlen 500
    inet6 2001:0:d911:c0d9:876:1a12:3ee3:4e8a/32 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::ffff:ffff:ffff/64 scope link 
       valid_lft forever preferred_lft forever
    inet6 fe80::fd2e:e430:dbb5:bba4/64 scope link stable-privacy 
       valid_lft forever preferred_lft forever

Код: Выделить всё

olej@R420:~/2023/own.BOOKs/Tools_Linux$ ping -6 -c3 ygg.linux-ru.lib 
PING ygg.linux-ru.lib(221:58c9:9a6:99be:f3d:c1ac:2b5b:9771 (221:58c9:9a6:99be:f3d:c1ac:2b5b:9771)) 56 data bytes
64 bytes from 221:58c9:9a6:99be:f3d:c1ac:2b5b:9771 (221:58c9:9a6:99be:f3d:c1ac:2b5b:9771): icmp_seq=1 ttl=64 time=505 ms
64 bytes from 221:58c9:9a6:99be:f3d:c1ac:2b5b:9771 (221:58c9:9a6:99be:f3d:c1ac:2b5b:9771): icmp_seq=2 ttl=64 time=129 ms
64 bytes from 221:58c9:9a6:99be:f3d:c1ac:2b5b:9771 (221:58c9:9a6:99be:f3d:c1ac:2b5b:9771): icmp_seq=3 ttl=64 time=124 ms

--- ygg.linux-ru.lib ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 123.574/252.318/504.525/178.350 ms

Код: Выделить всё

olej@R420:~/2023/own.BOOKs/Tools_Linux$ ping -6 -c3 reader.ipv6.xsnews.nl
PING reader.ipv6.xsnews.nl(reader.xsnews.nl (2001:67c:174:101:0:65:ff02:131)) 56 data bytes
64 bytes from reader.xsnews.nl (2001:67c:174:101:0:65:ff02:131): icmp_seq=1 ttl=57 time=117 ms
64 bytes from reader.xsnews.nl (2001:67c:174:101:0:65:ff02:131): icmp_seq=2 ttl=57 time=59.5 ms
64 bytes from reader.xsnews.nl (2001:67c:174:101:0:65:ff02:131): icmp_seq=3 ttl=57 time=125 ms

--- reader.ipv6.xsnews.nl ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 59.452/100.313/124.902/29.092 ms

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 09 июн 2023, 13:25

Olej писал(а):
08 июн 2023, 17:28
Всё это можно собрать по-быстренькому:
Olej писал(а):
08 июн 2023, 17:38
Это позволяет использовать в RPM дистрибутивах, где в репозиториях этого нет.

Код: Выделить всё

[olej@xenix miredo]$ lsb_release -a
LSB Version:   :core-4.1-amd64:core-4.1-noarch
Distributor ID:     Fedora
Description:   Fedora release 38 (Thirty Eight)
Release:  38
Codename: ThirtyEight

Код: Выделить всё

[olej@xenix ~]$ dnf list miredo
Последняя проверка окончания срока действия метаданных: 0:12:59 назад, Пт 09 июн 2023 13:11:12.
Ошибка: Совпадений среди пакетов не найдено
RedHat & Ko - парни серьёзные, и они самодеятельностью не занимаются :lol:

Код: Выделить всё

[olej@xenix IPv6]$ git clone https://gitlab.com/rindeal-ns/mirrors/miredo.git
Клонирование в «miredo»...
remote: Enumerating objects: 11397, done.
remote: Total 11397 (delta 0), reused 0 (delta 0), pack-reused 11397
Получение объектов: 100% (11397/11397), 2.25 МиБ | 539.00 КиБ/с, готово.
Определение изменений: 100% (8638/8638), готово.

Код: Выделить всё

[olej@xenix IPv6]$ cd miredo/

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 09 июн 2023, 13:30

Olej писал(а):
08 июн 2023, 17:38
Во-вторых - лёгкость и простота сборки из исходников, нужно отметить...

Код: Выделить всё

[olej@xenix miredo]$ ./autogen.sh
+ test -f doc/miredo.8-in
+ true
+ echo 'Autoreconf in /home/olej/2023/IPv6/miredo ...'
Autoreconf in /home/olej/2023/IPv6/miredo ...
+ autoreconf -sfi
Can't exec "autopoint": Нет такого файла или каталога at /usr/share/autoconf/Autom4te/FileUtils.pm line 293.
autoreconf: error: autopoint failed with exit status: 2
Перехвалил :oops:

Код: Выделить всё

[olej@xenix ~]$ dnf list autoconf
Установленные пакеты
autoconf.noarch                                                                    2.71-5.fc38                                                                    @fedora
Не то...

Код: Выделить всё

[olej@xenix ~]$ dnf provides autopoint
gettext-devel-0.21.1-2.fc38.i686 : Development files for gettext
Репозиторий        : fedora
Совпадения с:
Имя файла   : /usr/bin/autopoint

gettext-devel-0.21.1-2.fc38.x86_64 : Development files for gettext
Репозиторий        : fedora
Совпадения с:
Имя файла   : /usr/bin/autopoint

Код: Выделить всё

[olej@xenix ~]$ sudo dnf install gettext-devel
...
Установлен:
  gettext-common-devel-0.21.1-2.fc38.noarch                                              gettext-devel-0.21.1-2.fc38.x86_64

Выполнено!

Код: Выделить всё

[olej@xenix miredo]$ ./autogen.sh
+ test -f doc/miredo.8-in
+ true
+ echo 'Autoreconf in /home/olej/2023/IPv6/miredo ...'
Autoreconf in /home/olej/2023/IPv6/miredo ...
+ autoreconf -sfi
Copying file ABOUT-NLS
Creating directory admin
Copying file admin/config.rpath
Copying file m4/codeset.m4
Copying file m4/extern-inline.m4
Copying file m4/fcntl-o.m4
Copying file m4/gettext.m4
Copying file m4/glibc2.m4
Copying file m4/glibc21.m4
Copying file m4/iconv.m4
Copying file m4/intdiv0.m4
Copying file m4/intl.m4
Copying file m4/intldir.m4
Copying file m4/intlmacosx.m4
Copying file m4/intmax.m4
Copying file m4/inttypes-pri.m4
Copying file m4/inttypes_h.m4
Copying file m4/lcmessage.m4
Copying file m4/lib-ld.m4
Copying file m4/lib-link.m4
Copying file m4/lib-prefix.m4
Copying file m4/lock.m4
Copying file m4/longlong.m4
Copying file m4/nls.m4
Copying file m4/po.m4
Copying file m4/printf-posix.m4
Copying file m4/progtest.m4
Copying file m4/size_max.m4
Copying file m4/stdint_h.m4
Copying file m4/threadlib.m4
Copying file m4/uintmax_t.m4
Copying file m4/visibility.m4
Copying file m4/wchar_t.m4
Copying file m4/wint_t.m4
Copying file m4/xsize.m4
Copying file po/Makefile.in.in
Copying file po/Makevars.template
Copying file po/Rules-quot
Copying file po/boldquot.sed
Copying file po/en@boldquot.header
Copying file po/en@quot.header
Copying file po/insert-header.sin
Copying file po/quot.sed
Copying file po/remove-potcdate.sin
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'admin'.
libtoolize: linking file 'admin/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: linking file 'm4/libtool.m4'
libtoolize: linking file 'm4/ltoptions.m4'
libtoolize: linking file 'm4/ltsugar.m4'
libtoolize: linking file 'm4/ltversion.m4'
libtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:43: warning: The macro `AC_PROG_CC_C99' is obsolete.
configure.ac:43: You should run autoupdate.
./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from...
configure.ac:43: the top level
configure.ac:47: installing 'admin/ar-lib'
configure.ac:43: installing 'admin/compile'
configure.ac:37: installing 'admin/config.guess'
configure.ac:37: installing 'admin/config.sub'
configure.ac:52: installing 'admin/install-sh'
configure.ac:52: installing 'admin/missing'
compat/Makefile.am:20: warning: noinst_LTLIBRARIES multiply defined in condition TRUE ...
Makefile.am:50:   'compat/Makefile.am' included from here
Makefile.am:38: ... 'noinst_LTLIBRARIES' previously defined here
doc/Makefile.am:35: warning: sed_verbose_$(V: non-POSIX recursive variable expansion
Makefile.am:51:   'doc/Makefile.am' included from here
doc/Makefile.am:36: warning: sed_verbose_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
Makefile.am:51:   'doc/Makefile.am' included from here
misc/Makefile.am:24: warning: cat_verbose_$(V: non-POSIX recursive variable expansion
Makefile.am:52:   'misc/Makefile.am' included from here
misc/Makefile.am:25: warning: cat_verbose_$(AM_DEFAULT_VERBOSITY: non-POSIX recursive variable expansion
Makefile.am:52:   'misc/Makefile.am' included from here
Makefile.am: installing './INSTALL'
Makefile.am: installing 'admin/depcomp'
parallel-tests: installing 'admin/test-driver'
+ unlink po/Makevars.template
+ for d in /usr /usr/local /opt/gettext /opt/local /usr/pkg "$HOME"
+ test -f /usr/share/gettext/gettext.h
+ cp -f -- /usr/share/gettext/gettext.h include/gettext.h
+ for d in /usr /usr/local /opt/gettext /opt/local /usr/pkg "$HOME"
+ test -f /usr/local/share/gettext/gettext.h
+ for d in /usr /usr/local /opt/gettext /opt/local /usr/pkg "$HOME"
+ test -f /opt/gettext/share/gettext/gettext.h
+ for d in /usr /usr/local /opt/gettext /opt/local /usr/pkg "$HOME"
+ test -f /opt/local/share/gettext/gettext.h
+ for d in /usr /usr/local /opt/gettext /opt/local /usr/pkg "$HOME"
+ test -f /usr/pkg/share/gettext/gettext.h
+ for d in /usr /usr/local /opt/gettext /opt/local /usr/pkg "$HOME"
+ test -f /home/olej/share/gettext/gettext.h
+ set +x

Type `./configure' to configure the package for your system
(type `./configure -- help' for help).
Then you can use the usual `make', `make install', etc.
Оно :!: ;-)

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 09 июн 2023, 13:32

Код: Выделить всё

[olej@xenix miredo]$ ./configure
configure: checking system...
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
configure: checking required programs...
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for ar... ar
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for file... file
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking whether make supports nested variables... (cached) yes
configure: checking required libraries...
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for ld used by gcc... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking how to run the C preprocessor... gcc -E
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for clock_gettime in -lrt... yes
checking for library containing socket... none required
checking for library containing inet_ntop... none required
checking for res_init in -lresolv... no
checking which hook scripts to use... iproute
checking for pthread_create in -lpthread... yes
configure: checking header files...
checking whether to enable assertions... yes
checking for libintl.h... yes
checking for net/if_tun.h... no
checking for net/tun/if_tun.h... no
checking for net/if_var.h... no
configure: checking target characteristics...
checking if gcc accepts -Wall... yes
checking if gcc accepts -Wextra... yes
checking if gcc accepts -Wundef... yes
checking if gcc accepts -Winit-self... yes
checking if gcc accepts -Wpointer-arith... yes
checking if gcc accepts -Wbad-function-cast... yes
checking if gcc accepts -Wcast-align... yes
checking if gcc accepts -Wwrite-strings... yes
checking if gcc accepts -Waggregate-return... yes
checking if gcc accepts -Wstrict-prototypes... yes
checking if gcc accepts -Wold-style-definition... yes
checking if gcc accepts -Wmissing-prototypes... yes
checking if gcc accepts -Wmissing-noreturn... yes
checking if gcc accepts -Wpacked... yes
checking if gcc accepts -Wnested-externs... yes
checking if gcc accepts -Wredundant-decls... yes
checking if gcc accepts -Wvolatile-register-var... yes
checking if gcc accepts -Wshadow... yes
checking if gcc accepts -Wlogical-op... yes
checking whether byte ordering is bigendian... no
checking if struct sockaddr has a sa_len member... no
checking for clockid_t... yes
configure: checking library functions...
checking for getopt.h... yes
checking for library containing getopt_long... none required
checking for devname_r... no
checking for kldload... no
checking for clearenv... yes
checking for strlcpy... no
checking for clock_gettime... yes
checking for clock_nanosleep... yes
checking for fdatasync... yes
configure: checking optional features...
checking for sys/capability.h... no
checking for Judy.h... no
checking for tdestroy... yes
checking whether to build for test coverage... no
checking whether to include Teredo client support... yes
checking user to run as... nobody
configure: writing results...
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating Doxyfile
config.status: creating config.h
config.status: executing libtool commands
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
Olej писал(а):
09 июн 2023, 13:30
Оно
Тоже...

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 09 июн 2023, 13:35

Olej писал(а):
09 июн 2023, 13:32
Оно

Код: Выделить всё

[olej@xenix miredo]$ make
make  all-recursive
make[1]: вход в каталог «/home/olej/2023/IPv6/miredo»
Making all in po
make[2]: вход в каталог «/home/olej/2023/IPv6/miredo/po»
test ! -f ./miredo.pot || \
  test -z "en.gmo en_GB.gmo fr.gmo zh_CN.gmo" || make en.gmo en_GB.gmo fr.gmo zh_CN.gmo
make[3]: вход в каталог «/home/olej/2023/IPv6/miredo/po»
rm -f en.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en.gmo en.po
en.po: 15 переведённых сообщений, 58 непереведённых сообщений.
rm -f en_GB.gmo && /usr/bin/msgfmt -c --statistics --verbose -o en_GB.gmo en_GB.po
en_GB.po: 27 переведённых сообщений, 46 непереведённых сообщений.
rm -f fr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.po
fr.po: 73 переведённых сообщения.
rm -f zh_CN.gmo && /usr/bin/msgfmt -c --statistics --verbose -o zh_CN.gmo zh_CN.po
zh_CN.po: 73 переведённых сообщения.
make[3]: выход из каталога «/home/olej/2023/IPv6/miredo/po»
touch stamp-po
make[2]: выход из каталога «/home/olej/2023/IPv6/miredo/po»
make[2]: вход в каталог «/home/olej/2023/IPv6/miredo»
  CC       libteredo/mire.o
  CC       libteredo/security.lo
  CC       libteredo/md5.lo
  CC       libteredo/packets.lo
  CC       libteredo/peerlist.lo
  CC       libteredo/clock.lo
  CC       libteredo/stub.lo
  CC       libteredo/relay.lo
  CC       libteredo/maintain.lo
  CC       libteredo/discovery.lo
  CC       libteredo/teredo.lo
  CC       libteredo/v4global.lo
  CCLD     libteredo-common.la
  CC       compat/dummy.lo
  CC       compat/strlcpy.lo
  CCLD     libcompat.la
  CCLD     libteredo.la
  CCLD     teredo-mire
  CC       src/privproc.o
  CCLD     miredo-privproc
  CC       src/relayd.o
  CC       libtun6/tun6.lo
  CCLD     libtun6.la
  CC       src/miredo.lo
  CC       src/conf.lo
  CC       src/main.lo
src/main.c:139:1: warning: 'error_errno' defined but not used [-Wunused-function]
  139 | error_errno (const char *str)
      | ^~~~~~~~~~~
  CCLD     libmiredo.la
  CCLD     miredo
  CC       src/serverd.o
  CC       libteredo/server.lo
  CCLD     libteredo-server.la
  CCLD     miredo-server
  CC       src/checkconf.o
  CCLD     miredo-checkconf
  CAT      client-hook
  SED      doc/miredo.8
  SED      doc/miredo-server.8
  SED      doc/miredo-checkconf.8
  SED      misc/miredo.conf
  SED      misc/miredo-server.conf
  SED      misc/miredo.service
  SED      misc/miredo-server.service
make[2]: выход из каталога «/home/olej/2023/IPv6/miredo»
make[1]: выход из каталога «/home/olej/2023/IPv6/miredo»

Код: Выделить всё

[olej@xenix miredo]$ sudo make install
[sudo] пароль для olej: 
Making install in po
make[1]: вход в каталог «/home/olej/2023/IPv6/miredo/po»
installing en.gmo as /usr/local/share/locale/en/LC_MESSAGES/miredo.mo
installing en_GB.gmo as /usr/local/share/locale/en_GB/LC_MESSAGES/miredo.mo
installing fr.gmo as /usr/local/share/locale/fr/LC_MESSAGES/miredo.mo
installing zh_CN.gmo as /usr/local/share/locale/zh_CN/LC_MESSAGES/miredo.mo
if test "miredo" = "gettext-tools"; then \
  /usr/bin/mkdir -p /usr/local/share/gettext/po; \
  for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot   Makevars.template; do \
    /usr/bin/install -c -m 644 ./$file \
		    /usr/local/share/gettext/po/$file; \
  done; \
  for file in Makevars; do \
    rm -f /usr/local/share/gettext/po/$file; \
  done; \
else \
  : ; \
fi
make[1]: выход из каталога «/home/olej/2023/IPv6/miredo/po»
make[1]: вход в каталог «/home/olej/2023/IPv6/miredo»
make[2]: вход в каталог «/home/olej/2023/IPv6/miredo»
 /usr/bin/mkdir -p '/usr/local/lib'
 /bin/sh ./libtool   --mode=install /usr/bin/install -c   libtun6.la libteredo.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libtun6.so.2.0.0 /usr/local/lib/libtun6.so.2.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libtun6.so.2.0.0 libtun6.so.2 || { rm -f libtun6.so.2 && ln -s libtun6.so.2.0.0 libtun6.so.2; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libtun6.so.2.0.0 libtun6.so || { rm -f libtun6.so && ln -s libtun6.so.2.0.0 libtun6.so; }; })
libtool: install: /usr/bin/install -c .libs/libtun6.lai /usr/local/lib/libtun6.la
libtool: install: /usr/bin/install -c .libs/libteredo.so.6.0.0 /usr/local/lib/libteredo.so.6.0.0
libtool: install: (cd /usr/local/lib && { ln -s -f libteredo.so.6.0.0 libteredo.so.6 || { rm -f libteredo.so.6 && ln -s libteredo.so.6.0.0 libteredo.so.6; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libteredo.so.6.0.0 libteredo.so || { rm -f libteredo.so && ln -s libteredo.so.6.0.0 libteredo.so; }; })
libtool: install: /usr/bin/install -c .libs/libteredo.lai /usr/local/lib/libteredo.la
libtool: install: /usr/bin/install -c .libs/libtun6.a /usr/local/lib/libtun6.a
libtool: install: chmod 644 /usr/local/lib/libtun6.a
libtool: install: ranlib /usr/local/lib/libtun6.a
libtool: install: /usr/bin/install -c .libs/libteredo.a /usr/local/lib/libteredo.a
libtool: install: chmod 644 /usr/local/lib/libteredo.a
libtool: install: ranlib /usr/local/lib/libteredo.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/var/lib/snapd/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /usr/bin/mkdir -p '/usr/local/bin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c teredo-mire '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/teredo-mire /usr/local/bin/teredo-mire
/bin/sh /home/olej/2023/IPv6/miredo/admin/install-sh -d "/usr/local/var/run"
 /usr/bin/mkdir -p '/usr/local/libexec/miredo'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c miredo-privproc '/usr/local/libexec/miredo'
libtool: install: /usr/bin/install -c .libs/miredo-privproc /usr/local/libexec/miredo/miredo-privproc
 /usr/bin/mkdir -p '/usr/local/sbin'
  /bin/sh ./libtool   --mode=install /usr/bin/install -c miredo miredo-server miredo-checkconf '/usr/local/sbin'
libtool: install: /usr/bin/install -c .libs/miredo /usr/local/sbin/miredo
libtool: install: /usr/bin/install -c miredo-server /usr/local/sbin/miredo-server
libtool: install: /usr/bin/install -c miredo-checkconf /usr/local/sbin/miredo-checkconf
 /usr/bin/mkdir -p '/usr/local/etc/miredo'
 /usr/bin/install -c client-hook '/usr/local/etc/miredo'
 /usr/bin/mkdir -p '/usr/local/share/doc/miredo/examples'
 /usr/bin/install -c -m 644 misc/miredo.conf misc/miredo-server.conf '/usr/local/share/doc/miredo/examples'
 /usr/bin/mkdir -p '/usr/local/include/libteredo'
 /usr/bin/install -c -m 644 libteredo/teredo.h libteredo/teredo-udp.h libteredo/tunnel.h '/usr/local/include/libteredo'
 /usr/bin/mkdir -p '/usr/local/include/libtun6'
 /usr/bin/install -c -m 644 libtun6/tun6.h '/usr/local/include/libtun6'
 /usr/bin/mkdir -p '/usr/local/share/man/man1'
 /usr/bin/install -c -m 644 doc/teredo-mire.1 '/usr/local/share/man/man1'
 /usr/bin/mkdir -p '/usr/local/share/man/man5'
 /usr/bin/install -c -m 644 doc/miredo.conf.5 doc/miredo-server.conf.5 '/usr/local/share/man/man5'
 /usr/bin/mkdir -p '/usr/local/share/man/man8'
 /usr/bin/install -c -m 644 doc/miredo.8 doc/miredo-server.8 doc/miredo-checkconf.8 '/usr/local/share/man/man8'
 /usr/bin/mkdir -p '/usr/local/lib/systemd/system'
 /usr/bin/install -c -m 644 misc/miredo.service misc/miredo-server.service '/usr/local/lib/systemd/system'
make  install-data-hook
make[3]: вход в каталог «/home/olej/2023/IPv6/miredo»
************************
* Miredo configuration *
************************
 
An example configuration file has been installed at:
  /usr/local/share/doc/miredo/examples/miredo.conf
 
No pre-existing configuration file for Miredo
could be found, so the example as been copied as
  /usr/local/etc/miredo/miredo.conf too.
 
Please take time to review the settings and adjust them
if necessary. Once finished, save the file as:
  /usr/local/etc/miredo/miredo.conf and run miredo (as root).
make[3]: выход из каталога «/home/olej/2023/IPv6/miredo»
make[2]: выход из каталога «/home/olej/2023/IPv6/miredo»
make[1]: выход из каталога «/home/olej/2023/IPv6/miredo»

Код: Выделить всё

[olej@xenix miredo]$ which miredo
/usr/local/sbin/miredo

Код: Выделить всё

[olej@xenix miredo]$ miredo -V
Miredo: Teredo IPv6 tunneling software 1.3.0 (x86_64-pc-linux-gnu)
Configured with: ./configure 
Written by Remi Denis-Courmont.

Copyright (C) 2004-2006 Remi Denis-Courmont
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
Yes :!: :lol:

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 09 июн 2023, 13:43

Код: Выделить всё

[olej@xenix ~]$ tree /usr/local/etc/miredo/
/usr/local/etc/miredo/
├── client-hook
└── miredo.conf

1 directory, 2 files
Вот это тот конфиг который нам нужен.

Код: Выделить всё

[olej@xenix ~]$ ping -c3 teredo.iks-jena.de
PING teredo.iks-jena.de (217.17.192.217) 56(84) bytes of data.
64 bytes from teredo.iks-jena.de (217.17.192.217): icmp_seq=1 ttl=54 time=46.9 ms
64 bytes from teredo.iks-jena.de (217.17.192.217): icmp_seq=2 ttl=54 time=46.2 ms
64 bytes from teredo.iks-jena.de (217.17.192.217): icmp_seq=3 ttl=54 time=46.1 ms

--- teredo.iks-jena.de ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 46.132/46.414/46.920/0.358 ms

Код: Выделить всё

[root@xenix miredo]# grep -v ^# miredo.conf | grep -v ^$
InterfaceName	teredo
ServerAddress teredo.iks-jena.de

Аватара пользователя
Olej
Писатель
Сообщения: 21338
Зарегистрирован: 24 сен 2011, 14:22
Откуда: Харьков
Контактная информация:

Miredo - нативный IPv6

Непрочитанное сообщение Olej » 09 июн 2023, 13:48

Olej писал(а):
09 июн 2023, 13:43
конфиг который нам нужен.

Код: Выделить всё

[root@xenix miredo]# miredo -f
miredo[22641]: Starting...
miredo[22642]:  packet passed to maintenance procedure
miredo[22642]: New Teredo address/MTU
miredo[22642]: Teredo pseudo-tunnel started
miredo[22642]:  (address: 2001:0:d911:c0d9:34a1:7fd1:3ee3:4e8a, MTU: 1280)
miredo[22642]: Internal IPv4 address: 192.168.1.20
miredo[22642]:  packet passed to maintenance procedure
miredo[22642]:  packet passed to maintenance procedure
...

Код: Выделить всё

[olej@xenix ~]$ ip a s dev teredo
4: teredo: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1280 qdisc fq_codel state UNKNOWN group default qlen 500
    link/none 
    inet6 2001:0:d911:c0d9:34a1:7fd1:3ee3:4e8a/32 scope global 
       valid_lft forever preferred_lft forever
    inet6 fe80::ffff:ffff:ffff/64 scope link 
       valid_lft forever preferred_lft forever
    inet6 fe80::b3e3:7a24:ae08:7880/64 scope link stable-privacy 
       valid_lft forever preferred_lft forever

Код: Выделить всё

[olej@xenix ~]$ ping -6 -c3 reader.ipv6.xsnews.nl -Iteredo
PING reader.ipv6.xsnews.nl(reader.xsnews.nl (2001:67c:174:101:0:65:ff02:131)) from 2001:0:d911:c0d9:34a1:7fd1:3ee3:4e8a teredo: 56 data bytes
64 bytes from reader.xsnews.nl (2001:67c:174:101:0:65:ff02:131): icmp_seq=1 ttl=57 time=46.4 ms
64 bytes from reader.xsnews.nl (2001:67c:174:101:0:65:ff02:131): icmp_seq=2 ttl=57 time=45.1 ms
64 bytes from reader.xsnews.nl (2001:67c:174:101:0:65:ff02:131): icmp_seq=3 ttl=57 time=43.9 ms

--- reader.ipv6.xsnews.nl ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 43.928/45.134/46.422/1.019 ms
Всё :!:
Вопрос закрыт. :-P

Ответить

Вернуться в «Сети»

Кто сейчас на конференции

Сейчас этот форум просматривают: нет зарегистрированных пользователей и 14 гостей