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 pf_rule_addr *addr)
> > > +{
>
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 pf_rule_addr *addr)
>> > +{
>> (snip)
>> > + if
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 = strrchr(s, ']')) != NULL)
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 = strrchr(s, ']')) != NULL)
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;
> + *(sbs++) = *sbe
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:
> 8<---8<---
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 40aa0af6
Hi,
I'd like to add "key" modifier to "pfctl -k" to delete pf states, like
below:
# pfctl -k key -k 'tcp 10.0.0.1:80 <- 10.0.0.101:32123'
This deletion will be very fast if the RB tree of pf state table is
used to find the state. The diff also includes the diff for that part
(DIOCKILLSTATES o