Welcome, Guest. Please login or register.
Did you miss your activation email?
+  pfSense Forum
|-+  pfSense English Support» Post a bounty» Expired/Withdrawn Bounties» allow hyphen characters in Firewall Alias names
Username:
Password:
 
 

Pages: [1]   Go Down
  Print  
Author Topic: allow hyphen characters in Firewall Alias names  (Read 2898 times)
0 Members and 1 Guest are viewing this topic.
rpsmith
Full Member
***
Offline Offline

Posts: 234


View Profile
« on: December 28, 2010, 02: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...
Logged
submicron
Global Moderator
Hero Member
*****
Offline Offline

Posts: 741

I like pie!


View Profile WWW
« Reply #1 on: December 28, 2010, 04:32:59 pm »

As you are posting a bounty, how much are you willing to pay the developer who implements this fix for you?
Logged

I do not respond to PMs demanding help.
rpsmith
Full Member
***
Offline Offline

Posts: 234


View Profile
« Reply #2 on: December 28, 2010, 04: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...
Logged
jimp
Administrator
Hero Member
*****
Offline Offline

Posts: 12808



View Profile
« Reply #3 on: January 03, 2011, 01: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.
Logged

Need help fast? Commercial Support!

Co-Author of pfSense: The Definitive Guide. - Check the Doc Wiki for FAQs.

Do not PM for help!

Donate to the project | My Wish List
rpsmith
Full Member
***
Offline Offline

Posts: 234


View Profile
« Reply #4 on: January 03, 2011, 01:22:19 pm »

Thanks jimp !

I would have never guessed it was a pf limitation   Smiley

Roy...
Logged
databeestje
Administrator
Hero Member
*****
Offline Offline

Posts: 1048


It just might be your luck day, if you only knew.


View Profile
« Reply #5 on: February 26, 2011, 07:12:57 am »

short of renaming the hyphen underwater  and crossing fingers that it works as intended.
I believe it also affects port ranges.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

 

Page created in 0.031 seconds with 21 queries.