network from scratch

[email protected] Sun, 30 Oct 2022 12:37:34 +0000
Newsgroups gmane.network.gnunet.general
Message-ID <[email protected]>
Following
doc/handbook/html/users/configuration.html#configuring-the-friend-to-friend-f2f-mode,
here's what I am trying to do:

1. Start peer A
2. Start peer B.
3. B connects to HTTP hostlist service, gets info for peer A.
4. B makes p2p connection to A.


What happens instead:

A only gives B a single peer; Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0


---

Configuration excerpt:

[hostlist]
SERVERS =
OPTIONS = -p

[topology]
FRIENDS-ONLY = YES
FRIENDS = .../friends.txt
MINIMUM-FRIENDS = 1

# peer A
[hostlist]
SERVERS =
OPTIONS = -p

# peer B
[hostlist]
SERVERS = http://localhost:8080
#OPTIONS = -b


I tried feeding the output of gnunet-dht-hello into gnunet-dht-hello
<peer> on both peers, but it did not help. That was just a wild stab, and I can't see
any other obvious likely ways of manually instructing a peer connection.


Three questions:

- how to explicitly connect to a known host?
- is it expected behavior that the peer running the hostlist should not
  peer on information about itself? Shouldn't there at least be an
  option for that?
- is it right that you always get peer
  Y924NSHMMZ1N1SQCE5TXF93ED6S6JY311K0QT86G9WJC68F6XVZ0 no matter what?


thanks,
l
my_gnunet_bugreport.log (text/plain, 2.4 KB)
    INFO:    gnunet-bugreport 0.11.0
    INFO:    
    INFO:    Please submit the following
    INFO:    information with your bug report:
    =========================================
    INFO:    OS             : Linux
    INFO:    OS RELEASE     : 6.0.1-arch2-1
    INFO:    HARDWARE       : x86_64
    INFO:    awk            : Found
    INFO:    gcc            : gcc (GCC) 12.2.0
    INFO:    cc             : cc (GCC) 12.2.0
    INFO:    c++            : c++ (GCC) 12.2.0
    INFO:    clang          : clang version 14.0.6
    INFO:    clang++        : clang version 14.0.6
    WARNING: make           : Not Found (unexpected result)
/home/lash/src/build/gnunet/0.18.0/build/bin/gnunet-bugreport: line 135: type: gmake: not found
    INFO:    gmake          : 
    INFO:    autoconf       : 2.71
    INFO:    automake       : 1.16.5
    INFO:    libtool        : 2.4.7-dirty
    INFO:    libextractor   : 1.11
/home/lash/src/build/gnunet/0.18.0/build/bin/gnunet-bugreport: line 223: type: gnunetd: not found
/home/lash/src/build/gnunet/0.18.0/build/bin/gnunet-bugreport: line 225: gnunetd: command not found
    INFO:    GNUnet 0.8     : Not Found (good)
    INFO:    GNUnet         : 0.18.0-18-g3cf47c04e
    INFO:    git commit     : 3cf47c04e2de3e3f275398f4dbc223fdaeea6aff
    INFO:    libgcrypt      : 1.10.1-unknown
    INFO:    mysql          : 10.9.3
    INFO:    pkgconf        : 1.8.0
    INFO:    pkg-config     : 1.8.0
    INFO:    glib2          : 2.74.0
    INFO:    GTK2           : 2.24.33
    INFO:    GTK3           : 3.24.34
    INFO:    GTK4           : 
dpkg-query: package 'libgmp-dev' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
    ERROR:   GMP            : dpkg: libgmp-dev not installed
dpkg-query: package 'libunistring-dev' is not installed and no information is available
Use dpkg --info (= dpkg-deb --info) to examine archive files.
    ERROR:   libunistring   : dpkg: libunistring3-dev not installed
    INFO:    GNU gettext    : 0.21.1
    INFO:    gettext        : Found
    INFO:    libcurl        : 7.85.0
/home/lash/src/build/gnunet/0.18.0/build/bin/gnunet-bugreport: line 436: type: gnurl-config: not found
    INFO:    libgnurl       : found
    INFO:    libmicrohttpd  : 97500
    INFO:    GNU GLPK       : 5.0
    INFO:    GnuTLS         : Not found
    =========================================
    INFO:    Bug report saved in ./my_gnunet_bugreport.log
signature.asc (application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE-----

iQEzBAABCAAdFiEEWahEpISsESU9Oj6dzcvSTdHQ4AEFAmNecAsACgkQzcvSTdHQ
4AG4eQf/Y52nABPeYZs6+Xc9pWkoxeKCMCdPQnMrm7BHnHicDIT+F7X5ZV4HH2jP
pEJk/qE7ZHt6rh0KUhY3ea7XehijVPxXYuIznPCdZ/1Uj4qlNOx63MdkcleIdM4D
/zDC1xvemdhA77Ks4iCg059+vST9VHMmQpC6U7Vo72J1KLIECDP76IRp0eoNPRfE
3yHwGmLAKCYcGWUOGSXyjmod0DCjWEP4QHPBUR7OQQROFLJknwtqVTRIBJkXOH67
4QNBVc5RVa5S24lDNlQfbAJ5NFK42u5HcyF4wcOff0MUN3CQpUKMNnq2qyZoAIJQ
vlFyfo/RiFdAmfz6o//xfo/+1GweWg==
=JcIX
-----END PGP SIGNATURE-----