All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: dwh@linuxprogrammer.org
Cc: git@vger.kernel.org
Subject: Re: pkt-line and LF terminated lines of data
Date: Thu, 29 Apr 2021 12:16:14 +0900	[thread overview]
Message-ID: <xmqq1rataigx.fsf@gitster.g> (raw)
In-Reply-To: <20210428222219.GA982@localhost> (dwh@linuxprogrammer.org's message of "Wed, 28 Apr 2021 15:22:19 -0700")

dwh@linuxprogrammer.org writes:

> What am I missing? What should be added to this documentation that gives
> more detail on when/why/how a pkt-line would be determined to be
> non-binary and the LF stripping would occur?

There is (unfortunately) none.  What payload each packet carries is
determined by the protocol, so a man-in-the-middle who is observing
a protocol exchange without any knowledge of the protocol that runs
on top of the pkt-line layer by definition would not be able to tell
which packet is binary (as it is unaware of what exchange is made).


      parent reply	other threads:[~2021-04-29  3:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-28 22:22 pkt-line and LF terminated lines of data dwh
2021-04-29  0:12 ` Ævar Arnfjörð Bjarmason
2021-04-29  2:08   ` brian m. carlson
2021-04-29  3:16 ` Junio C Hamano [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xmqq1rataigx.fsf@gitster.g \
    --to=gitster@pobox.com \
    --cc=dwh@linuxprogrammer.org \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.