pfSense Forum

pfSense English Support => Post a bounty => Expired/Withdrawn Bounties => Topic started by: rpsmith on December 28, 2010, 01:15:21 pm

Title: allow hyphen characters in Firewall Alias names
Post by: rpsmith on December 28, 2010, 01:15:21 pm
Would like to be able to use the hyphen character (-) in alias names. This would help when migrating from m0n0wall to pfsense as m0n0wall already allows hyphens.

Roy...
Title: Re: allow hyphen characters in Firewall Alias names
Post by: submicron on December 28, 2010, 03:32:59 pm
As you are posting a bounty, how much are you willing to pay the developer who implements this fix for you?
Title: Re: allow hyphen characters in Firewall Alias names
Post by: rpsmith on December 28, 2010, 03:39:17 pm
I'm willing to negotiate that based on feedback from folks willing and able to implement the changes.  Any idea how much time this would take?

Roy...
Title: Re: allow hyphen characters in Firewall Alias names
Post by: jimp on January 03, 2011, 12:11:06 pm
This is not likely to be possible. It's a limitation of pf, not pfSense:

From http://www.openbsd.org/faq/pf/macros.html :
Quote
Macro names must start with a letter and may contain letters, digits, and underscores. Macro names cannot be reserved words such as pass, out, or queue.

m0n0wall uses ipfilter, not pf.
Title: Re: allow hyphen characters in Firewall Alias names
Post by: rpsmith on January 03, 2011, 12:22:19 pm
Thanks jimp !

I would have never guessed it was a pf limitation   :)

Roy...
Title: Re: allow hyphen characters in Firewall Alias names
Post by: databeestje on February 26, 2011, 06:12:57 am
short of renaming the hyphen underwater  and crossing fingers that it works as intended.
I believe it also affects port ranges.