X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from nm22-vm0.bullet.mail.ac4.yahoo.com (nm22-vm0.bullet.mail.ac4.yahoo.com [98.139.53.218]) by mail.alpinelinux.org (Postfix) with SMTP id F1532DC18D4 for ; Wed, 11 Apr 2012 14:04:01 +0000 (UTC) Received: from [98.139.52.193] by nm22.bullet.mail.ac4.yahoo.com with NNFMP; 11 Apr 2012 14:04:01 -0000 Received: from [98.139.52.129] by tm6.bullet.mail.ac4.yahoo.com with NNFMP; 11 Apr 2012 14:04:01 -0000 Received: from [127.0.0.1] by omp1012.mail.ac4.yahoo.com with NNFMP; 11 Apr 2012 14:04:01 -0000 X-Yahoo-Newman-Id: 407019.75986.bm@omp1012.mail.ac4.yahoo.com Received: (qmail 76146 invoked from network); 11 Apr 2012 14:04:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:In-Reply-To:Mime-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=h93zKgSQxsvRrlQL05aZW8TOGr/4hFn63AT7za9nrZTlm1N0DGATKgiSWsFNuG/TT58NDD9E1BRcQb44grTaxocghze5KNF0Y2NWCPKOnVm4TCsvstp9kkDt+EjZFy8c72tP5rwgcBkzM8tl3XOQylxns7U/pSvlrDZmYQztlz0= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1334153041; bh=fqraI6K8lDBqcQIjE0J3iZWOK+psOIAdN+2JVQPNTwI=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:In-Reply-To:Mime-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=DbSq2pTJYMRAUxXUid/YT1cz1CXFmynFWwZQxNsAdqrNOj2WvV/NUVnvkml3YKLzZQWy+k9b2b899iZITOdFRQ4lsrwmfUtmhHkYyrpvN2EWG36/wqFF5zK4GiMMdRv36oaT4SpeYtIY2C/ymjda+hj1gK+RQhiNfG2FFqd/XMk= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: P5bYcHQVM1nfNFLWahg55evbtJGYCwKsmaQrOBMHXkB04TW hQ3fi0i0gbUeEw4zSFR5AMC6AFzHC8rwsHLPuFMYbkk512ccLCjE_ktQ.IKO cu6K2OaA6aetM9NUdpqCGyZ32CyLeKfQfcShn1nvJ8xaW0SP_lkYPgNGTEuG LWA.LG7el3.TDJnwXDi9ecx9ZpQ55Y8fNLeQAjbpNWp3sfyp9kOvnrxc0qcD ShX.BYaNYlBlIp3F6s0StCxBCLa9TssG_ACuWcgnmtui3dM0mZT8rrMTx8i7 gAK_n4OLMOj9MWlYj_lHMS.za6z5y1xXlPjvPq3P_eSdBun0Yb1nhSLEbZsP IWa30LWMA6aTml9wOAA.7HVzfFZDF7T5pJ2Pg0.wGmigjSZKjcmzgWcokuZm NyWriurooLWRyxV0UKBNFr.ia6_XksehH8LfTHHKjjw-- X-Yahoo-SMTP: yftn8B6swBCikPiBJoMb7wL9KIpT Received: from [192.168.1.148] (ttrask01@71.65.232.37 with xymcookie) by smtp118-mob.biz.mail.ac4.yahoo.com with SMTP; 11 Apr 2012 07:04:01 -0700 PDT References: <4F6E1119.8080306@arcor.de> <1333732837.18993.YahooMailNeo@web130105.mail.mud.yahoo.com> <4F8589D0.3010002@arcor.de> In-Reply-To: <4F8589D0.3010002@arcor.de> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <6D2E9A25-1C97-4FED-B5D3-BC0123220404@yahoo.com> Cc: "alpine-devel@lists.alpinelinux.org" X-Mailer: iPad Mail (9B176) From: Ted Trask Subject: Re: [alpine-devel] [Patch] acf-iptables: fixing model Date: Wed, 11 Apr 2012 10:03:59 -0400 To: Der Tiger Ok, thanks for testing again. To make my life easier, can you send me an exa= mple of a statement that doesn't work? I'm definitely not an iptables expert= , so I'm not aware of all of the possibilities. Thanks. Ted On Apr 11, 2012, at 9:40 AM, Der Tiger wrote: > ReHi Ted, >=20 > The patch works nicely! So far I didn't encounter any more problems > entering and editing data in the existing fields of the iptables GUI form.= >=20 > Due to the complexity of the iptables configuration not all possible > options are represented in the form by dedicated field. For instance > port REDIRECT statements in the nat table are not handled, so far. > Unfortunately this causes the parameters to be thrown out, once the rule > is edited, because the is no field in the form to hold the data. >=20 > Therefore, I'd suggest to add an "Additional Options" field to the form, > that is filled with all unrecognised fractions of the rule string in > order to prevent those fractions from getting lost when the rule is saved.= >=20 > Regards, Tiger >=20 > Am 2012-04-06 19:20, schrieb Ted Trask: >> Thank you for the patch, and sorry for the long delay before properly >> responding. Unfortunately, the bugs you found were not the only ones >> present. I guess acf-iptables hadn't been tested in a while. Please >> see http://git.alpinelinux.org/cgit/acf-iptables/commit/?id=3Dce765fba9cf= 9fd1c4b1981ab137df35c4b662b04 >> for the changes I committed. Please try using the file >> http://git.alpinelinux.org/cgit/acf-iptables/tree/iptables-model.lua to >> make sure I fixed your reported problems. Once I hear back from you, >> I'll feel more confident in bumping the package version. >>=20 >> Ted >>=20 >> ------------------------------------------------------------------------ >> *From:* Der Tiger >> *To:* alpine-devel@lists.alpinelinux.org >> *Sent:* Saturday, March 24, 2012 2:23 PM >> *Subject:* [alpine-devel] [Patch] acf-iptables: fixing model >>=20 >> Hi, >>=20 >> There are two bugs causing the web interface to malfunction when either >> a protocol selection is negated using a exclamation mark (!) or a >> comment is entered in the appropriate field of the form. >>=20 >> PLEASE, make sure removing the escaping of the spec string does not >> cause problems with certain data entered in the form! So far, I had no >> troubles while testing, because the fields are checked in >> validate_rule(), anyway. >>=20 >> Regards, Tiger >>=20 >> --- /usr/share/acf/app/iptables/iptables-model.lua.orig >> +++ /usr/share/acf/app/iptables/iptables-model.lua >> @@ -147 +147 @@ >> - addparameter(rule.value.protocol.value, "-p") >> + addparameter(rule.value.protocol.value, "-p", true) >> @@ -520 +520 @@ >> - local cmd =3D path .. "iptables -t " .. >> format.escapespecialcharacters(rule.value.table.value) .. " -R " .. >> format.escapespecialcharacters(rule.value.chain.value) .. " " .. >> format.escapespecialcharacters(rule.value.position.value) .. " " .. >> format.escapespecialcharacters(spec) .. " 2>&1" >> + local cmd =3D path .. "iptables -t " .. >> format.escapespecialcharacters(rule.value.table.value) .. " -R " .. >> format.escapespecialcharacters(rule.value.chain.value) .. " " .. >> format.escapespecialcharacters(rule.value.position.value) .. " " .. spec >> .. " 2>&1" >>=20 >>=20 >>=20 >> --- >> Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org >> >> Help: alpine-devel+help@lists.alpinelinux.org >> >> --- >>=20 >>=20 >>=20 >=20 >=20 > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- >=20 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---