[Bug 242044] pf can't load rules with newline at end.

2019-11-23 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242044

Kristof Provost  changed:

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |Works As Intended

--- Comment #3 from Kristof Provost  ---
Does your pfctl not warn about this?

On CURRENT and on 11.3 pfctl produces this error message for me:
> pf_no_endl.conf:2: syntax error
> pfctl: Syntax error in config file: pf rules not loaded

Given that I don't consider this to be a bug. That's a malformed pf.conf which
the code is appropriately rejecting and warning about.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


[Bug 242044] pf can't load rules with newline at end.

2019-11-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242044

--- Comment #2 from sasamotik...@gmail.com ---
Created attachment 209352
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209352=edit
pf failed config

Example of not working rules.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


[Bug 242044] pf can't load rules with newline at end.

2019-11-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242044

Kristof Provost  changed:

   What|Removed |Added

 CC||k...@freebsd.org

--- Comment #1 from Kristof Provost  ---
Can you attach an example failing pf.conf file?

If I understand you correctly you're saying that a ruleset which doesn't have
an endline on the last line does not work.
I wouldn't consider that to be a bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"


[Bug 242044] pf can't load rules with newline at end.

2019-11-17 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242044

Mark Linimon  changed:

   What|Removed |Added

   Assignee|b...@freebsd.org|p...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"