From owner-freebsd-questions@freebsd.org Fri Feb 7 06:07:30 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 38A5824437E for ; Fri, 7 Feb 2020 06:07:30 +0000 (UTC) (envelope-from hamdi20193d@gmail.com) Received: from mail-vs1-xe2a.google.com (mail-vs1-xe2a.google.com [IPv6:2607:f8b0:4864:20::e2a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48DPwK1KYrz49MH for ; Fri, 7 Feb 2020 06:07:28 +0000 (UTC) (envelope-from hamdi20193d@gmail.com) Received: by mail-vs1-xe2a.google.com with SMTP id r18so522514vso.5 for ; Thu, 06 Feb 2020 22:07:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CUpZakn/e6KUkQQFVjTx8Z39l6LnntByDoiGoUUVX6U=; b=MPYbPtQejgjNg8zQ84t9hchmOSbyC5fQvvFO85NIzFQYcOP+9rG/832hnANbi2q6LO Xmb2ZXYtK5o8vttVkc/U4fP/LF7TKS2FVc6eMhjWl0KkfN0Fo9fUipYki0MHmqWErwvK pzYmgCaCZvesX+rRo8fxVizLspHwUX6epZHdKNQ6cjlzoaFrfq/tMzvZLx5hikHINFJW gxDgaEUXgKG+SgOl1EpN3wx3IxF4+zphCZmwJ1PrLijQdpD/1C4RXL82vkcSpXwdey1Y wgumL36dCZKninvYx+92gD6Xx9H2enrStmkviCa/i5ip9h/ATsY3buiwpSpZLtzB4sFB PRmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CUpZakn/e6KUkQQFVjTx8Z39l6LnntByDoiGoUUVX6U=; b=ExVArj+oTX5LESixoComaE1BKkR99lNvqeRDiMx7D+n8K+RkFtbPROQDQMIRbb8vMQ VoouWW23+8Ohvc4vtFQlNG8iikFuxthheJiX4PQwc9OTABAiPVujJ0UxA3IT0oIK/VGR IzyMQNzRqIgXW9ZhFBluHQUUhm6R5f6tmViCWie1EBd0/GruYrG+PFoC3YJ6Hpj0CJKt ZcTMFg8BQ0suP715+VzlwEm6HuUEllNLTcwjW7Zs6sjXvahAPDPEQDNTSchi08xumPdk owWXbMGVhawQfPWofmQLG1Zd5nHUshvnIO2yAvRjLlYMskRwQKU4zqYoNr65J+VX18Lf IJdw== X-Gm-Message-State: APjAAAWyUbTKCU80ozeJDXCUvd5iUhbJTIFoK09TFS6X+knF4LS48PAV c+qM2mi7DvXjrzhVCNQJuMYEm1tc+STOM6lDz4zhZzBG X-Google-Smtp-Source: APXvYqzxrNaAY8X3h1yOMbTwsgWt1G9isobBWQrCDNHbjreAHpYrKRQEkePfjODJqrD0kaV78gXuqHZZfefp/O3J6Zg= X-Received: by 2002:a05:6102:485:: with SMTP id n5mr4027386vsa.149.1581055648219; Thu, 06 Feb 2020 22:07:28 -0800 (PST) MIME-Version: 1.0 References: <20200205232644.GA15914@geeks.org> In-Reply-To: <20200205232644.GA15914@geeks.org> From: Andreas X Date: Fri, 7 Feb 2020 09:07:19 +0300 Message-ID: Subject: Re: ipfw for udp on FreeBSD 12.1? To: Doug McIntyre Cc: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 48DPwK1KYrz49MH X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=MPYbPtQe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hamdi20193d@gmail.com designates 2607:f8b0:4864:20::e2a as permitted sender) smtp.mailfrom=hamdi20193d@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.67), ipnet: 2607:f8b0::/32(-1.97), asn: 15169(-1.74), country: US(-0.05)]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[a.2.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Feb 2020 06:07:30 -0000 Dear Doug, It was my bad! Indeed, I needed TCP, but thankfully at least I learned allowing UDP too, by my question here. Thank you all. P.S: What are those "It is only some of the experimental accelerated file transfer protocols that start playing with spraying UDP packets.", I'd love to learn/read more about them, if they offer much faster transfer speed - as FTP is terribly slow.. Always has been! Regards. Doug McIntyre , 6 =C5=9Eub 2020 Per, 02:27 tarihinde =C5= =9Funu yazd=C4=B1: > On Thu, Feb 06, 2020 at 12:21:10AM +0300, Andreas X wrote: > > I use ipfw with options such as: firewall_type=3D"workstation" and > > firewall_myservices=3D"21 22 80 443" for my server via rc.conf file. > > > > I need to add an UDP port range to allow, for vsftpd (PASV). However ip= fw > > doesn't has any settings as I heard and "firewall_myservices" only > supports > > TCP ports. Any idea how to manage that issue? > > Other than the answer about your UDP services.. > > Are you sure the vsftpd PASV mode requires UDP? That would be abnormal. > > Normally passive mode with vsftpd (or any FTP server) requires TCP, and > opening up the firewall to allow the range of TCP ports you have specifie= d > in the vspftd.conf file. > > It is only some of the experimental accelerated file transfer > protocols that start playing with spraying UDP packets. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >