From owner-freebsd-questions@freebsd.org Wed Feb 5 21:21:27 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 34E3B22F332 for ; Wed, 5 Feb 2020 21:21:27 +0000 (UTC) (envelope-from hamdi20193d@gmail.com) Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) (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 48CZHp2dtHz4Byf for ; Wed, 5 Feb 2020 21:21:26 +0000 (UTC) (envelope-from hamdi20193d@gmail.com) Received: by mail-vs1-xe2d.google.com with SMTP id p14so2366188vsq.6 for ; Wed, 05 Feb 2020 13:21:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=ZflksjEnyhTZa+EzfreYaWGFV4N2ixiQBmxM/lDyfos=; b=lOdEMI6I5Xg2yPqGA2LE69Wod0lMSdkzdInK1QAT6l3AnbY0bBi5AUJSZWik1HKHLo FbKNA82mVSx6GMs6hb4KHwq063F75j5l9xvizX3wRpLpRtpBd1zWnk+8I1tyGlMqOEOc 6wLEvYRKLQlgWZmm54wVeVEISrYwSBIW0ZckDLrGMFwIodR6WTkRHESqR1s5SRFikVxQ fBQkLVUSxfBf1/Qj56/qfMUgKxxDXCqzse5Ekzh256n25LI14rzBdELy6d3VR3/luqtr 8TT6Bz5HeFPkCg0noPn5S9ulEDftCIuwJODvawhVFxX3K+gADVr0LyHg+/C/sYnvZUQa R+eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ZflksjEnyhTZa+EzfreYaWGFV4N2ixiQBmxM/lDyfos=; b=I+3KEySzE1D409AntES5H1A2891UIY/9KVqvrxGfkg9GlDLHEYK51Rm/L2aPvqOLjh yGO4dn2CeoguDFNDPvpCaB622KM6od2UtvrktNXg5vP6ukwXgBGgst7YIf74Qefh46hk YVkY2g0zX0jhYhEPkB0CD2dYp56kWZ+0EJyRCizjWltbIdOQOgMKV+sdo6y6GfTyU7uI nIthhdMM1h24lE41LtWK5sauNVielPy+mIx/QGu7T12X2cc0JmZ1htekJ64kx4paYJ7n SrmcB2N1M1vSy/uc+bjQofQgOYI264zwyUg2zWQ0ybvlW4Loyj8nrJPsKKhAstovkpA8 NhoQ== X-Gm-Message-State: APjAAAXuMJOy+6uY6hEFFH6HwKNG2OeNxfgkbQQR1GgbQHXNZrPUvBBk PciAwMxZrLZyf32Q/ss0c2x90HfbLwCt5mTPCW2xsOaf X-Google-Smtp-Source: APXvYqzKa6UMKSNc1mFBtqyAhjPByJ8Ky9IKQmy84wWR2dY9aSGluTfN3PT88MGouCeKkLIRtKRGu9UgKs+8jzBaw6c= X-Received: by 2002:a05:6102:485:: with SMTP id n5mr22581148vsa.149.1580937685018; Wed, 05 Feb 2020 13:21:25 -0800 (PST) MIME-Version: 1.0 From: Andreas X Date: Thu, 6 Feb 2020 00:21:10 +0300 Message-ID: Subject: ipfw for udp on FreeBSD 12.1? To: freebsd-questions@freebsd.org X-Rspamd-Queue-Id: 48CZHp2dtHz4Byf X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=lOdEMI6I; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of hamdi20193d@gmail.com designates 2607:f8b0:4864:20::e2d as permitted sender) smtp.mailfrom=hamdi20193d@gmail.com X-Spamd-Result: default: False [-1.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; URI_COUNT_ODD(1.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.54), ipnet: 2607:f8b0::/32(-1.98), asn: 15169(-1.74), country: US(-0.05)]; SUBJECT_ENDS_QUESTION(1.00)[]; 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)[]; TO_MATCH_ENVRCPT_ALL(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)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_IN_DNSWL_NONE(0.00)[d.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]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset="UTF-8" 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: Wed, 05 Feb 2020 21:21:27 -0000 Hello. I use ipfw with options such as: firewall_type="workstation" and firewall_myservices="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 ipfw doesn't has any settings as I heard and "firewall_myservices" only supports TCP ports. Any idea how to manage that issue? The internet has a lot of tutorials for adding "firewall_myservices_tcp" "firewall_myservices_udp" support, none of them worked for 12.1 And, anyone got any idea why FreeBSD 10 supports such tags for IPFW, but 12.1 not? https://svnweb.freebsd.org/base/head/etc/rc.firewall?view=markup&pathrev=273201