|
|||
pf rules - list syntax
Reading the pf manual, I see benefit is reducing the number of line items using lists and macros.
But, I am confused about the syntax as it is presented two different ways. Specifically, one example shows a list as { 192.168.0.1, 10.5.32.6 } - notice the comma seperates the values in the list. Another example demonstrates a list as { 22 80 } or {ssh udp } - notice no comma seperating these values. SO... my question is are commas necessary or optional. And, if they are needed, then is it correct to infer they are only needed when seperating IP addresses and not ports or services. |
|
|||
Optional; most people just find it easier to read.. but both are valid, a space will suffice.
|
Tags |
pf, pf lists, pf lists syntax |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
perl expression syntax | qsecofr | Programming | 3 | 16th February 2009 12:56 PM |
C/C++ Syntax highlighting in emacs | rex | FreeBSD General | 1 | 12th October 2008 03:21 AM |
Syntax Highlighting | JMJ_coder | Programming | 17 | 22nd June 2008 02:24 PM |
I need help with make.conf syntax | troberts | FreeBSD Ports and Packages | 4 | 1st June 2008 03:58 AM |
Vi type syntax applications | corey_james | Off-Topic | 9 | 28th May 2008 04:15 PM |