Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Announce with own CA certs #111

Open
NnAsUnKnOwn opened this issue Nov 7, 2021 · 4 comments
Open

Announce with own CA certs #111

NnAsUnKnOwn opened this issue Nov 7, 2021 · 4 comments

Comments

@NnAsUnKnOwn
Copy link

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.
@mwarning
Copy link
Owner

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.

@NnAsUnKnOwn
Copy link
Author

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

@mwarning
Copy link
Owner

mwarning commented Dec 8, 2021

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

@NnAsUnKnOwn
Copy link
Author

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

thanks friend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants