9front - general discussion about 9front
 help / color / mirror / Atom feed
* tls boot
@ 2016-05-20 16:10 stanley lieber
  2016-05-20 16:37 ` [9front] " cinap_lenrek
  0 siblings, 1 reply; 6+ messages in thread
From: stanley lieber @ 2016-05-20 16:10 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 61 bytes --]

Latest 9pc64 and system binaries. See attached photo.

sl

[-- Attachment #2: IMG_20160520_120858.jpg --]
[-- Type: image/jpeg, Size: 1551670 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] tls boot
  2016-05-20 16:10 tls boot stanley lieber
@ 2016-05-20 16:37 ` cinap_lenrek
  2016-05-20 17:29   ` stanley lieber
  2016-05-21  3:37   ` sl
  0 siblings, 2 replies; 6+ messages in thread
From: cinap_lenrek @ 2016-05-20 16:37 UTC (permalink / raw)
  To: 9front

this looks like the connection was hung up (end of file?), check
on a terminal if the service actually works.

on the server, you have the listen script /rc/bin/service/tcp17020
which after setting up the encrypted connection, relays the data
to the file service like this:

term% cat /rc/bin/service/tcp17020
#!/bin/rc
exec tlssrv -A /bin/aux/trampoline 'net!$fs!9fs'

so, make sure this works:

9fs 'net!$fs!9fs'

maybe your fileserver is not listening, or ndb doesnt have a fs=
attribute for the host or the ipnet.

if that works, you can test tls like this:

tlsclient -D -a 'tcp!$fs!t9fs'

you should get something like:

tlsclient:  tls reports send HFinished
8e014f107891c0c5bc9dacd1

tlsclient:  tls reports recv HFinished
584b5dd27ac07df2f8d0b74d

ps: your screenshot is truncated again.

--
cinap


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] tls boot
  2016-05-20 16:37 ` [9front] " cinap_lenrek
@ 2016-05-20 17:29   ` stanley lieber
  2016-05-20 19:02     ` cinap_lenrek
  2016-05-21  3:37   ` sl
  1 sibling, 1 reply; 6+ messages in thread
From: stanley lieber @ 2016-05-20 17:29 UTC (permalink / raw)
  To: 9front

> tlsclient -D -a 'tcp!$fs!t9fs'

I can't testy until tonight, but I bet my common file does not have t9fs.

sl



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] tls boot
  2016-05-20 17:29   ` stanley lieber
@ 2016-05-20 19:02     ` cinap_lenrek
  2016-05-20 19:10       ` stanley lieber
  0 siblings, 1 reply; 6+ messages in thread
From: cinap_lenrek @ 2016-05-20 19:02 UTC (permalink / raw)
  To: 9front

then hardcode 17020 :)

this is not the reason your boot fails tho as bootrc uses
the numeric port directly as theres no ndb/cs or ndb
while bootstraping.

--
cinap


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] tls boot
  2016-05-20 19:02     ` cinap_lenrek
@ 2016-05-20 19:10       ` stanley lieber
  0 siblings, 0 replies; 6+ messages in thread
From: stanley lieber @ 2016-05-20 19:10 UTC (permalink / raw)
  To: 9front

> this is not the reason your boot fails tho as bootrc uses
> the numeric port directly as theres no ndb/cs or ndb
> while bootstraping.

Something probably botched in my sysupdate, then. I only had five minutes test. Presently, no Plan 9 to hand.

sl



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] tls boot
  2016-05-20 16:37 ` [9front] " cinap_lenrek
  2016-05-20 17:29   ` stanley lieber
@ 2016-05-21  3:37   ` sl
  1 sibling, 0 replies; 6+ messages in thread
From: sl @ 2016-05-21  3:37 UTC (permalink / raw)
  To: 9front

> so, make sure this works:
> 
> 9fs 'net!$fs!9fs'

	; 9fs 'net!$fs!9fs'
	srv: dial net!$fs!9fs: cs: can't translate address: dns: resource does not exist; negrcode


> if that works, you can test tls like this:
> 
> tlsclient -D -a 'tcp!$fs!t9fs'

	; tlsclient -D -a 'tcp!$fs!t9fs'
	tlsclient: dial tcp!$fs!t9fs: cs: can't translate service

Setting an fs= for my ipnet and copying the latest /sys/lib/dist/ndb/common
to /lib/ndb/ caused everything to work.


> ps: your screenshot is truncated again.

Again, sent directly from my phone. I haven't yet had a chance to investigate
the cause.

sl


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-21  3:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 16:10 tls boot stanley lieber
2016-05-20 16:37 ` [9front] " cinap_lenrek
2016-05-20 17:29   ` stanley lieber
2016-05-20 19:02     ` cinap_lenrek
2016-05-20 19:10       ` stanley lieber
2016-05-21  3:37   ` sl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).