KadNode icon indicating copy to clipboard operation
KadNode copied to clipboard

Announce with own CA certs

Open NnAsUnKnOwn opened this issue 2 years ago • 4 comments

Hello Friends

I'm not sure if i'm doing wrong trying adding domains or subdomains with --announce on server side, the domain declared in create-cert.sh works fine but the announced domains don't.

Server Side (With Pub IP & 6881 open)

./create-cert.sh dominio.cl

$ kadnode --tls-server-cert /dominio.cl.crt,/dominio.cl.key --peerfile /peers.txt --peer bttracker.debian.org --announce xx.dominio.cl

$ kadnode list announcements
Announcements:
 query: dominio.cl
  id: 11aac6ed902d6ccfc196b22926abc9ce99d3b90d
  port: 6881
  refresh: in 11 min
  lifetime: entire runtime
 query: xx.dominio.cl
  id: a519ec1a01284a2b8856d540ee4661b9b12e8b16
  port: 6881
  refresh: in 11 min
  lifetime: entire runtime

Client Side (Behind ADSL) :

KadNode v2.3.0 ( bob cmd debug dns lpd natpmp nss tls upnp )

$ kadnode --tls-client-cert rootCA.pem --peer pubip --peer bttracker.debian.org --peerfile peers.txt --verbosity quiet

at this moment i can only open http://dominio.cl.p2p on the browser but not http://xx.dominio.cl.p2p

$ kadnode-ctl lookup dominio.cl
$ kadnode-ctl lookup xx.dominio.cl

$ kadnode list searches

Result buckets:
 query: 'dominio.cl'
  id: 11aac6ed902d6ccfc196b22926abc9ce99d3b90d
  done: false
  auth: tls
  started: 4m ago
   addr: PUBIP:6881
    state: AGAIN
  Found 1 results.
 query: 'xx.dominio.cl'
  id: a519ec1a01284a2b8856d540ee4661b9b12e8b16
  done: false
  auth: tls
  started: 30m ago
   addr: PUBIP:6881
    state: FAILED
  Found 1 results.

NnAsUnKnOwn avatar Nov 07 '21 19:11 NnAsUnKnOwn

hi there. This should work, but maybe there is a bug. Can you also try the current git master? Maybe this is a bug that has been fixed already.

I will try this kind of scenario as soon as I have time.

mwarning avatar Nov 10 '21 20:11 mwarning

hi there. This should work, but maybe there is a bug. Can you also try the current git master? Maybe this is a bug that has been fixed already.

I will try this kind of scenario as soon as I have time.

i forgot to comment that the server side has version KadNode v2.2.5 ( bob cmd dns lpd tls ) on openwrt linux container, i dont know how to upgrade in that environment. The client side has the lastest master branch from git

NnAsUnKnOwn avatar Nov 11 '21 02:11 NnAsUnKnOwn

hi, sorry. I forgot about this issue. hopefully I have time next week.

mwarning avatar Dec 08 '21 13:12 mwarning

hi, sorry. I forgot about this issue. hopefully I have time next week.

thanks friend

NnAsUnKnOwn avatar Dec 10 '21 17:12 NnAsUnKnOwn