Re: delete pf states by exact flow info and speed it up

2017-04-23 Thread Alexandr Nedvedicky
Hello, On Sun, Apr 23, 2017 at 12:18:07AM +0200, Hiltjo Posthuma wrote: > On Sat, Apr 22, 2017 at 08:14:06AM +0900, YASUOKA Masahiko wrote: > > On Fri, 21 Apr 2017 13:52:51 +0900 (JST) > > YASUOKA Masahiko wrote: > > > +int > > > +pfctl_parse_host(char *str, struct

Re: delete pf states by exact flow info and speed it up

2017-04-23 Thread YASUOKA Masahiko
On Sun, 23 Apr 2017 00:18:07 +0200 Hiltjo Posthuma wrote: > On Sat, Apr 22, 2017 at 08:14:06AM +0900, YASUOKA Masahiko wrote: >> On Fri, 21 Apr 2017 13:52:51 +0900 (JST) >> YASUOKA Masahiko wrote: >> > +int >> > +pfctl_parse_host(char *str, struct

Re: delete pf states by exact flow info and speed it up

2017-04-22 Thread Hiltjo Posthuma
On Sat, Apr 22, 2017 at 08:14:06AM +0900, YASUOKA Masahiko wrote: > On Fri, 21 Apr 2017 13:52:51 +0900 (JST) > YASUOKA Masahiko wrote: > > +int > > +pfctl_parse_host(char *str, struct pf_rule_addr *addr) > > +{ > (snip) > > + if ((sbs = strchr(s, '[')) != NULL || (sbe =

Re: delete pf states by exact flow info and speed it up

2017-04-21 Thread Alexandr Nedvedicky
On Sat, Apr 22, 2017 at 08:14:06AM +0900, YASUOKA Masahiko wrote: > On Fri, 21 Apr 2017 13:52:51 +0900 (JST) > YASUOKA Masahiko wrote: > > +int > > +pfctl_parse_host(char *str, struct pf_rule_addr *addr) > > +{ > (snip) > > + if ((sbs = strchr(s, '[')) != NULL || (sbe =

Re: delete pf states by exact flow info and speed it up

2017-04-21 Thread YASUOKA Masahiko
On Fri, 21 Apr 2017 13:52:51 +0900 (JST) YASUOKA Masahiko wrote: > +int > +pfctl_parse_host(char *str, struct pf_rule_addr *addr) > +{ (snip) > + if ((sbs = strchr(s, '[')) != NULL || (sbe = strrchr(s, ']')) != NULL) { > + hints.ai_family = AF_INET6; > +

Re: delete pf states by exact flow info and speed it up

2017-04-20 Thread YASUOKA Masahiko
Hi, On Fri, 21 Apr 2017 00:27:04 +0200 Alexandr Nedvedicky wrote: > I finally got to your patch. I'm fine with your to extend pfctl kill > operation. > > I've found just few nits in your change. > > 1) your manpage diff should include one more change below:

Re: delete pf states by exact flow info and speed it up

2017-04-20 Thread Alexandr Nedvedicky
Hello, I finally got to your patch. I'm fine with your to extend pfctl kill operation. I've found just few nits in your change. 1) your manpage diff should include one more change below: 8<---8<---8<--8< diff -r c435e977886a -r