SFTP support for subsecond times

Hans Petter Jansson hpj at hpjansson.org
Wed Jul 19 01:57:15 AEST 2023


On Sun, 2023-07-16 at 17:26 +0200, Daja / Dahya / Mark Dominik Bürkle
wrote:
> using "synchronized" subsecond timestamps imho only makes sense with
> synchronized time (ntp) through that ssh tunnel, too.
> and with this assumption a "full VPN ssh usage" instead of "only
> filesystem timestamps" [maybe trying with target systems without
> subsecond timestamps?] seems impractical to me. or at least "...
> [sry, didnt have internet to send,
> incomplete but readable imho.]

I don't want to put words in Antonio's mouth, but what he pointed out
seems to me to be this:

- sftp strips the low-order bits from timestamps.
- This is arguably a bug.
- It's fixable with a small patch.
- The fix is both backwards-compatible and standards-compatible.
- He'd be willing to implement it.

I think his analysis is correct.

The ensuing discussion about backups, file servers, tunnels etc. is
hardly relevant.

-- 
Hans Petter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mindrot.org/pipermail/openssh-unix-dev/attachments/20230718/5c92c5b5/attachment.asc>


More information about the openssh-unix-dev mailing list