Re: deprecating Postel's principle- considered harmful

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wed, 8 May 2019 at 05:17, Joe Touch <touch@xxxxxxxxxxxxxx> wrote:


On May 7, 2019, at 1:29 PM, Barry Leiba <barryleiba@xxxxxxxxxxxx> wrote:

It just erroneously blames Postel for sloppy implementations.

Blaming the principle isn't the same as blaming Postel; the point here
isn't so much that "Postel was wrong" as it is that there are many
consequences of adhering to that principle that Jon didn't anticipate.

I’ve already noted this in earlier versions of this thread, but to restate:

Protocols are, by definition, a set of rules - rules for BOTH sender and receiver - that enable communication (sharing of state) [Shannon/Weaver]. 

The point of the Postel Principle is to stay INSIDE the lines as a sender, and allow right up to the lines for the receiver.

It is about interpreting the (often unavoidable) aspects of protocol that are ambiguous.

*NONE* of it is about tolerating bugs or errors, nor is it about allowing arbitrary behavior for senders. 


Sure about that?

From RFC 760:

That is, it should be careful to send well-formed datagrams, but should accept any datagram that it can interpret (e.g., not object to technical errors where the meaning is still clear).

The parenthetical example is explicitly stating that a datagram with a technical error should still be accepted.

Now, I entirely agree that shouldn't be the case, but nevertheless it is what was originally postulated by Postel. Luckily, alongside Kings, Presidents and Voting, we also reject Sacred Texts and Prophets, so we're free to say "this rule didn't work out".

I think the principle Postel postulated has a lot of use, but it needs a narrower and more cautious rewording. The simplistic wording we tend to lean on is far from the only wording - there are various rephrasings, some good, some bad, over the years. RFC 1958 contains, in my opinion, one of the worst of these, and Martin is quite right to criticise it.

RFC 1122, in section 1.2.2, has quite a good discussion of the principle, and is worth re-examining before you declare the whole thing simply Wrong.
 
It can’t be - again, protocols are rules. Take away the rules and you take away the ability to communicate.

Joe




[Index of Archives]     [IETF Annoucements]     [IETF]     [IP Storage]     [Yosemite News]     [Linux SCTP]     [Linux Newbies]     [Mhonarc]     [Fedora Users]

  Powered by Linux