From owner-freebsd-ipfw@freebsd.org Mon Sep 28 02:35:26 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 962CEA0ADC8 for ; Mon, 28 Sep 2015 02:35:26 +0000 (UTC) (envelope-from lsrz2006@sina.com) Received: from smtp2911-211.mail.sina.com.cn (mail2-186.sinamail.sina.com.cn [60.28.2.186]) by mx1.freebsd.org (Postfix) with SMTP id 9386CE61 for ; Mon, 28 Sep 2015 02:35:16 +0000 (UTC) (envelope-from lsrz2006@sina.com) Received: from unknown (HELO webmail.sinamail.sina.com.cn)([172.16.201.48]) by sina.com with SMTP 28 Sep 2015 10:34:28 +0800 (CST) X-Sender: lsrz2006@sina.com X-SMAIL-MID: 8799909062291 Received: by webmail.sinamail.sina.com.cn (Postfix, from userid 80) id 011A447814F; Mon, 28 Sep 2015 10:34:28 +0800 (CST) Date: Mon, 28 Sep 2015 10:34:27 +0800 Received: from lsrz2006@sina.com([221.2.101.123]) by m0.mail.sina.com.cn via HTTP; Mon, 28 Sep 2015 10:34:27 +0800 (CST) Reply-To: lsrz2006@sina.com From: To: "freebsd-ipfw" Subject: proxy_rule is missing in kernel nat? MIME-Version: 1.0 X-Priority: 3 X-MessageID: 5608a73325f77789 X-Originating-IP: [172.16.201.48] X-Mailer: Sina WebMail 4.0 Message-Id: <20150928023428.011A447814F@webmail.sinamail.sina.com.cn> Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 02:35:26 -0000 DQogICAgICAgICAgICAgICAgICAgIA0KICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAg ICAgICAgICAgICAgIA0KICAgICAgICAgICAgICAgICAgICANCiAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAJDQogICAgICAgICAgICAgICAgICAgICAgICBJIGhhZCB1c2lu ZyBuYXRkIGZvciBhIHByb3h5IGZvciBhIHdoaWxlIHRpbWUsIHVzaW5nIHRoZSBjb21tYW5kOgpu YXRkIC1wIDMzMzMgLXByb3h5X29ubHkgLXByb3h5X3J1bGUgInNlcnZlciAxOTIuMTY4LjYuNiBw cm90byB0Y3AiCgpidXQgd2hlbiBJIHVzZSB0aGlzIGluIGtlcm5lbCBuYXQgY29uZmlnLCBJIGdl dCBhIGVycm9yIGluZm9tYXRpb246CgojIGlwZncgbmF0IDIwIGNvbmZpZyBwcm94eV9vbmx5IHBy b3h5X3J1bGUgc2VydmVyIDE5Mi4xNjguNi42aXBmdzogdW5yZWNvZ25pc2VkIG9wdGlvbiBgYHBy b3h5X3J1bGUnJwpJJ2QgcmVhZGVkIHRoZSBzcmMgY29kZSBpbiAvdXNyL3NyYy9zYmluL2lwZncg YW5kIGNhbid0IGZpbmQgdGhlIExpYkFsaWFzUHJveHlSdWxlKCkgZnVuY3Rpb24gd2hpY2ggaXMg aW4gdGhlIG5hdGQuYy4KRG9lcyBJIGhhdmUgYSBtaXN0YWtlPwoNCiAgICAgICAgICAgICAgICAg ICAgICAgIA== From owner-freebsd-ipfw@freebsd.org Mon Sep 28 08:32:14 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E40B9D0783 for ; Mon, 28 Sep 2015 08:32:14 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward15j.cmail.yandex.net (forward15j.cmail.yandex.net [IPv6:2a02:6b8:0:1630::b5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 423731079 for ; Mon, 28 Sep 2015 08:32:14 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward15j.cmail.yandex.net (Yandex) with ESMTP id 35E3E20E4F; Mon, 28 Sep 2015 11:32:02 +0300 (MSK) Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id CDDAA16A1054; Mon, 28 Sep 2015 11:32:01 +0300 (MSK) Received: by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id PyVpWayEBv-W1Madth2; Mon, 28 Sep 2015 11:32:01 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1443429121; bh=UH7Dm4mImcT4+OdZXp8BsNriVFFvlOoJqtiJ7KkFk5k=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type; b=T10m7Y2PLiiTzDfmQg8c4mtSLuUwdKMevt5gCWXQmIhlvgcGT1HJtLEkj4zxfm77U R00znhBMAflBBOvxpHbCS1F5VYFgv4WCrOEDokic47JF3KfaLqjUAkbFCh4qXVfLoN Diu7HdLw2IOdAZGjslpcNfiHl68Cf3f1F/FvMmIQ= Authentication-Results: smtp12.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-ForeignMX: US Message-ID: <5608FAC2.5070104@yandex.ru> Date: Mon, 28 Sep 2015 11:30:58 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: lsrz2006@sina.com, freebsd-ipfw Subject: Re: proxy_rule is missing in kernel nat? References: <20150928023428.011A447814F@webmail.sinamail.sina.com.cn> In-Reply-To: <20150928023428.011A447814F@webmail.sinamail.sina.com.cn> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="55tB5duHROnqmnEgPX1Eej8DPAW9Vwa2o" X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2015 08:32:14 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --55tB5duHROnqmnEgPX1Eej8DPAW9Vwa2o Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 28.09.2015 05:34, lsrz2006@sina.com wrote: > I had using natd for a proxy for a while time, = using the command: > natd -p 3333 -proxy_only -proxy_rule "server 192.168.6.6 proto tcp" >=20 > but when I use this in kernel nat config, I get a error infomation: >=20 > # ipfw nat 20 config proxy_only proxy_rule server 192.168.6.6ipfw: unre= cognised option ``proxy_rule'' > I'd readed the src code in /usr/src/sbin/ipfw and can't find the LibAli= asProxyRule() function which is in the natd.c. > Does I have a mistake? Hi, it looks like proxy_rule was forgotten when it was ported. --=20 WBR, Andrey V. Elsukov --55tB5duHROnqmnEgPX1Eej8DPAW9Vwa2o Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWCPrHAAoJEAHF6gQQyKF65YIIAIhFaG4XzBlz6Ju9xQ+yotnV essGt/j1CySudEUZc/RQ96muKPscvd9twHB0nGJV5ZFRfAQ//Fau+gFqN52hAi0b r0EWLIm5WxqvwyD2DA8zDuPUeljh8JKWKrwMJ+bA6FEu0ezVxoGMsObC8L0+xB+Y tA5lrBDn4qMLQ9ZIw8b+KqgqRjMa92swSqd2YxM5EzAazWxe0aPTpjzdFXWwdgNL NNAVX7zbbYbmfDGCh424PcrPGma0viVzrmgdzleq2CRh4xl1/gWYie9qZVx4srfr PltnV1xc3GcVylvBvwBfmrCS7+HWAuxwrIORamvUY/6R+VG9RRw9ob2wUm01Yb4= =bq58 -----END PGP SIGNATURE----- --55tB5duHROnqmnEgPX1Eej8DPAW9Vwa2o-- From owner-freebsd-ipfw@freebsd.org Wed Sep 30 23:09:36 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91B32A0CC82 for ; Wed, 30 Sep 2015 23:09:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E00815FB for ; Wed, 30 Sep 2015 23:09:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t8UN9as3052005 for ; Wed, 30 Sep 2015 23:09:36 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ipfw@FreeBSD.org Subject: [Bug 203459] [ipfw] [patch] userspace/kernel mismatch on checking length of src-ip/dst-ip address lists Date: Wed, 30 Sep 2015 23:09:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ipfw@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Sep 2015 23:09:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203459 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-ipfw@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-ipfw@freebsd.org Thu Oct 1 13:21:43 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 236D9A0CB9E for ; Thu, 1 Oct 2015 13:21:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D98A1A37 for ; Thu, 1 Oct 2015 13:21:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t91DLgci033703 for ; Thu, 1 Oct 2015 13:21:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ipfw@FreeBSD.org Subject: [Bug 203459] [ipfw] [patch] userspace/kernel mismatch on checking length of src-ip/dst-ip address lists Date: Thu, 01 Oct 2015 13:21:43 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: melifaro@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: melifaro@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2015 13:21:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203459 Alexander V. Chernikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |melifaro@FreeBSD.org Assignee|freebsd-ipfw@FreeBSD.org |melifaro@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-ipfw@freebsd.org Fri Oct 2 04:01:02 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 32C4AA0D241 for ; Fri, 2 Oct 2015 04:01:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1EF3313CD for ; Fri, 2 Oct 2015 04:01:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t92411we046989 for ; Fri, 2 Oct 2015 04:01:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ipfw@FreeBSD.org Subject: [Bug 203494] ipfw segfaults when nat parameters missing like "ipfw add nat" Date: Fri, 02 Oct 2015 04:01:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ipfw@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Oct 2015 04:01:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203494 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-ipfw@FreeBSD.org Keywords| |patch -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-ipfw@freebsd.org Sat Oct 3 03:02:30 2015 Return-Path: Delivered-To: freebsd-ipfw@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C80DCA0F32A for ; Sat, 3 Oct 2015 03:02:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9FF1D1410 for ; Sat, 3 Oct 2015 03:02:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t9332UWM071255 for ; Sat, 3 Oct 2015 03:02:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ipfw@FreeBSD.org Subject: [Bug 203494] ipfw segfaults when nat parameters missing like "ipfw add nat" Date: Sat, 03 Oct 2015 03:02:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-RELEASE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ae@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ae@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Oct 2015 03:02:30 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203494 Andrey V. Elsukov changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-ipfw@FreeBSD.org |ae@FreeBSD.org CC| |ae@FreeBSD.org -- You are receiving this mail because: You are the assignee for the bug.