Re: how to use the ktls

2020-02-03 Thread Benjamin Kaduk
On Mon, Feb 03, 2020 at 10:49:38PM +, Rick Macklem wrote: > Benjamin Kaduk wrote: > >On Tue, Jan 28, 2020 at 11:01:31PM +, Rick Macklem wrote: > >> John Baldwin wrote: > >> [stuff snipped] > >> >I don't know yet. :-/ With the TOE-based TLS I had been testing with, > >> >this doesn't > >>

Re: how to use the ktls

2020-02-03 Thread Rick Macklem
Benjamin Kaduk wrote: >On Tue, Jan 28, 2020 at 11:01:31PM +, Rick Macklem wrote: >> John Baldwin wrote: >> [stuff snipped] >> >I don't know yet. :-/ With the TOE-based TLS I had been testing with, this >> >doesn't >> >happen because the NIC blocks the data until it gets the key and then it's

Re: how to use the ktls

2020-01-30 Thread Benjamin Kaduk
On Tue, Jan 28, 2020 at 11:01:31PM +, Rick Macklem wrote: > John Baldwin wrote: > [stuff snipped] > >I don't know yet. :-/ With the TOE-based TLS I had been testing with, this > >doesn't > >happen because the NIC blocks the data until it gets the key and then it's > >always > >available via

Re: how to use the ktls

2020-01-28 Thread Rick Macklem
John Baldwin wrote: [stuff snipped] >I don't know yet. :-/ With the TOE-based TLS I had been testing with, this >doesn't >happen because the NIC blocks the data until it gets the key and then it's >always >available via KTLS. With software-based KTLS for RX (which I'm going to start >working

Re: how to use the ktls

2020-01-27 Thread Julian Elischer
On 1/9/20 2:53 PM, Rick Macklem wrote: John Baldwin wrote: On 1/7/20 3:02 PM, Rick Macklem wrote: Someone once told me they were working on a netgraph node that did TLS encapsulation of a stream. I can not remember who it was, but I do remember they were dubious about being allowed to

Re: how to use the ktls

2020-01-27 Thread Rick Macklem
John Baldwin wrote: >On 1/26/20 8:08 PM, Rick Macklem wrote: >> John Baldwin wrote: >> [stuff snipped] >>> Hmmm, this might be a fair bit of work indeed. >>> >>> Right now KTLS only works for transmit (though I have some WIP for receive). >>> >>> KTLS does assumes that the initial handshake and

Re: how to use the ktls

2020-01-27 Thread Freddie Cash
On Mon, Jan 27, 2020 at 8:40 AM Freddie Cash wrote: > On Sun, Jan 26, 2020 at 12:08 PM Rick Macklem > wrote: > >> Oh, and for anyone out there... >> What is the easiest freebie way to test signed certificates? >> (I currently am using a self-signed certificate, but I need to test the >> "real"

Re: how to use the ktls

2020-01-27 Thread Freddie Cash
On Sun, Jan 26, 2020 at 12:08 PM Rick Macklem wrote: > Oh, and for anyone out there... > What is the easiest freebie way to test signed certificates? > (I currently am using a self-signed certificate, but I need to test the > "real" version > at some point soon.) > Let's Encrypt is what you

Re: how to use the ktls

2020-01-27 Thread John Baldwin
On 1/26/20 8:08 PM, Rick Macklem wrote: John Baldwin wrote: [stuff snipped] Hmmm, this might be a fair bit of work indeed. Right now KTLS only works for transmit (though I have some WIP for receive). KTLS does assumes that the initial handshake and key negotiation is handled by OpenSSL.

Re: how to use the ktls

2020-01-26 Thread Rick Macklem
John Baldwin wrote: [stuff snipped] >Hmmm, this might be a fair bit of work indeed. > >Right now KTLS only works for transmit (though I have some WIP for receive). > >KTLS does assumes that the initial handshake and key negotiation is handled by >OpenSSL. OpenSSL uses custom setockopt() calls to

Re: how to use the ktls

2020-01-13 Thread Rick Macklem
John Baldwin wrote: >On 1/12/20 8:23 PM, Benjamin Kaduk wrote: >> On Thu, Jan 09, 2020 at 10:53:38PM +, Rick Macklem wrote: >>> John Baldwin wrote: On 1/7/20 3:02 PM, Rick Macklem wrote: > Hi, > > Now that I've completed NFSv4.2 I'm on to the next project, which is >

Re: how to use the ktls

2020-01-13 Thread John Baldwin
On 1/12/20 8:23 PM, Benjamin Kaduk wrote: > On Thu, Jan 09, 2020 at 10:53:38PM +, Rick Macklem wrote: >> John Baldwin wrote: >>> On 1/7/20 3:02 PM, Rick Macklem wrote: Hi, Now that I've completed NFSv4.2 I'm on to the next project, which is making NFS work over TLS.

Re: how to use the ktls

2020-01-12 Thread Benjamin Kaduk
On Thu, Jan 09, 2020 at 10:53:38PM +, Rick Macklem wrote: > John Baldwin wrote: > >On 1/7/20 3:02 PM, Rick Macklem wrote: > >> Hi, > >> > >> Now that I've completed NFSv4.2 I'm on to the next project, which is > >> making NFS > >> work over TLS. > >> Of course, I know absolutely nothing about

Re: how to use the ktls

2020-01-09 Thread Rick Macklem
John Baldwin wrote: >On 1/7/20 3:02 PM, Rick Macklem wrote: >> Hi, >> >> Now that I've completed NFSv4.2 I'm on to the next project, which is making >> NFS >> work over TLS. >> Of course, I know absolutely nothing about TLS, which will make this an >> interesting >> exercise for me. >> I did

Re: how to use the ktls

2020-01-08 Thread John Baldwin
On 1/7/20 3:02 PM, Rick Macklem wrote: > Hi, > > Now that I've completed NFSv4.2 I'm on to the next project, which is making > NFS > work over TLS. > Of course, I know absolutely nothing about TLS, which will make this an > interesting > exercise for me. > I did find simple server code in the

how to use the ktls

2020-01-07 Thread Rick Macklem
Hi, Now that I've completed NFSv4.2 I'm on to the next project, which is making NFS work over TLS. Of course, I know absolutely nothing about TLS, which will make this an interesting exercise for me. I did find simple server code in the OpenSSL doc. which at least gives me a starting point for