Re: svn commit: r337536 - head/sbin/ipfw

2018-08-10 Thread Phil Shafer
>> +++ head/sbin/ipfw/ipfw2.c Thu Aug 9 12:46:30 2018(r337536) >> @@ -3271,9 +3271,11 @@ ipfw_delete(char *av[]) >> exitval = do_cmd(IP_FW_NAT_DEL, &i, sizeof i); >> if (exitval) { >> exitval = EX_UNAVAILABLE; >> -

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Andrey V. Elsukov
On 09.08.2018 20:32, Rodney W. Grimes wrote: > [ text/html is unsupported, treating like TEXT/PLAIN ] > Can you resend in none html format please? Yes, sorry, I was AFK and tried to send via mobile phone.. -f options means "force", with -f ipfw(8) will not ask any questions and forcibly execute t

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Rodney W. Grimes
[ text/html is unsupported, treating like TEXT/PLAIN ] Can you resend in none html format please? > 19:50, 9 ?? 2018 ??., "Rodney W. Grimes" > :-- Start of PGP > signed section.[ Charset UTF-8 unsupported, converting... ] />??On 09.08.2018 19:19, Rod

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Andrey V . Elsukov
___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Ian Lepore
On Thu, 2018-08-09 at 10:01 -0700, Rodney W. Grimes wrote: > > > > On Thu, 2018-08-09 at 09:49 -0700, Rodney W. Grimes wrote: > > > > > > -- Start of PGP signed section. > > > [ Charset UTF-8 unsupported, converting... ] > > > > > > > > > > > > On 09.08.2018 19:19, Rodney W. Grimes wrote: > > >

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Rodney W. Grimes
> On Thu, 2018-08-09 at 09:49 -0700, Rodney W. Grimes wrote: > > -- Start of PGP signed section. > > [ Charset UTF-8 unsupported, converting... ] > > > > > > On 09.08.2018 19:19, Rodney W. Grimes wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > table add/delete commands had the

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Ian Lepore
On Thu, 2018-08-09 at 09:49 -0700, Rodney W. Grimes wrote: > -- Start of PGP signed section. > [ Charset UTF-8 unsupported, converting... ] > > > > On 09.08.2018 19:19, Rodney W. Grimes wrote: > > > > > > > > > > > > > > > > > > > > > > > > table add/delete commands had the same behavior, "nat

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Rodney W. Grimes
-- Start of PGP signed section. [ Charset UTF-8 unsupported, converting... ] > On 09.08.2018 19:19, Rodney W. Grimes wrote: > table add/delete commands had the same behavior, "nat" already noted in > this list. What is the usage scenario do you use, where you need to fail > on bad de

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Andrey V. Elsukov
On 09.08.2018 19:19, Rodney W. Grimes wrote: table add/delete commands had the same behavior, "nat" already noted in this list. What is the usage scenario do you use, where you need to fail on bad delete? >>> >>> if [ ipfw delete ${1} ]; then >>> handle the missing rule >>> fi >>

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Rodney W. Grimes
> On 09.08.2018 18:48, Rodney W. Grimes wrote: > >>> This now means -q has 2 functions, silence most commands, > >>> and silently ignore errors on delete. > >>> > >>> That is a poor implementation of syntax and options. > >> > >> I think it makes "delete" command to have the same behavior as descri

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Andrey V. Elsukov
On 09.08.2018 18:48, Rodney W. Grimes wrote: >>> This now means -q has 2 functions, silence most commands, >>> and silently ignore errors on delete. >>> >>> That is a poor implementation of syntax and options. >> >> I think it makes "delete" command to have the same behavior as described >> for com

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Rodney W. Grimes
> On 09.08.2018 17:40, Rodney W. Grimes wrote: > >>> So now I can not code a quiet ipfw command that does fail when > >>> I give it a bad delete command :-(. > >> > >> Previously -q did not handled by delete command, so you can just use bad > >> "ipfw delete" without -q :) > > > > This now means -

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Andrey V. Elsukov
On 09.08.2018 17:40, Rodney W. Grimes wrote: >>> So now I can not code a quiet ipfw command that does fail when >>> I give it a bad delete command :-(. >> >> Previously -q did not handled by delete command, so you can just use bad >> "ipfw delete" without -q :) > > This now means -q has 2 function

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Rodney W. Grimes
-- Start of PGP signed section. [ Charset UTF-8 unsupported, converting... ] > On 09.08.2018 17:28, Rodney W. Grimes wrote: > >> Author: ae > >> Date: Thu Aug 9 12:46:30 2018 > >> New Revision: 337536 > >> URL: https://svnweb.freebsd.org/changeset/base/337536 > >> > >> Log: > >> If -q flag is sp

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Andrey V. Elsukov
On 09.08.2018 17:28, Rodney W. Grimes wrote: >> Author: ae >> Date: Thu Aug 9 12:46:30 2018 >> New Revision: 337536 >> URL: https://svnweb.freebsd.org/changeset/base/337536 >> >> Log: >> If -q flag is specified, do not complain when we are trying to delete >> nonexistent NAT instance or nonexi

Re: svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Rodney W. Grimes
> Author: ae > Date: Thu Aug 9 12:46:30 2018 > New Revision: 337536 > URL: https://svnweb.freebsd.org/changeset/base/337536 > > Log: > If -q flag is specified, do not complain when we are trying to delete > nonexistent NAT instance or nonexistent rule. It would probably be better to not over

svn commit: r337536 - head/sbin/ipfw

2018-08-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 9 12:46:30 2018 New Revision: 337536 URL: https://svnweb.freebsd.org/changeset/base/337536 Log: If -q flag is specified, do not complain when we are trying to delete nonexistent NAT instance or nonexistent rule. This allows execute batched `delete` commands and d