Unix Technical Forum

Re: [patch] pfctl: allow multiple tags in "tagged" statement

This is a discussion on Re: [patch] pfctl: allow multiple tags in "tagged" statement within the mailing.openbsd.tech forums, part of the OpenBSD category; --> * Daniel Hartmeier (daniel@benzedrine.cx) wrote: > > which matches every packet. So you might want to add > > ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:33 AM
Pierre-Yves Ritschard
 
Posts: n/a
Default Re: [patch] pfctl: allow multiple tags in "tagged" statement

* Daniel Hartmeier (daniel@benzedrine.cx) wrote:
>
> which matches every packet. So you might want to add
>
> | not matchtag {
> filter_opts.match_tags = $2;
> filter_opts.match_tag_not = $1;
> if ($1 && $2->tail != $2) {
> yyerror("tag list negation matches all");
> YYERROR;
> }
> }
>
> or at least explain it in the man page


Hi, sorry for the delay, I broke my arm.
Good point regarding negation, I fixed it and also modified the man page
anyway to reflect the code change.

If it is deemed necessary similar changes can be done for nat-rules and
rdr-rules.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com