From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 3278C2C167 for ; Thu, 18 Apr 2019 14:34:41 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nVsBYaZrsXAU for ; Thu, 18 Apr 2019 14:34:41 -0400 (EDT) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id E75162C171 for ; Thu, 18 Apr 2019 14:34:40 -0400 (EDT) Subject: [tarantool-patches] Re: [PATCH 1/4] swim: move sockaddr_in checkers to swim_proto.h References: <1e3490a96e2daec7906def26f31265d995966204.1555530516.git.v.shpilevoy@tarantool.org> <77eb864c-bb05-4f6d-ec96-b784421b83d8@tarantool.org> <20190418151641.GC13022@chai> <5554cf76-e1e1-6bde-1aaf-2ee856752523@tarantool.org> <20190418160235.GA6442@chai> From: Vladislav Shpilevoy Message-ID: <4f0027d8-781e-7b51-be60-b0c15bc0ad10@tarantool.org> Date: Thu, 18 Apr 2019 21:34:39 +0300 MIME-Version: 1.0 In-Reply-To: <20190418160235.GA6442@chai> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org, Konstantin Osipov Added a comment and pushed into the master. On 18/04/2019 19:02, Konstantin Osipov wrote: > * Vladislav Shpilevoy [19/04/18 18:27]: >> It's mainly against malicious and bad-formatter packets. Since >> the protocol will be public, it can happen that custom drivers >> will send bad packets. > > This definitely needs a comment. Besides, it's a bad address then, > not empty address, and such messages should be simply rejected. > > -- > Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 > http://tarantool.io - www.twitter.com/kostja_osipov >