Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Danny
MVP Platinum
MVP Platinum

Special characters and umlauts in SmartConsole

I asked AI Copilot regarding the current best practice for special characters and umlauts in SmartConsole.
It answers that it is still common best practice to stick to english and standard ASCII characters.
So I searched the cpm database for a special character 'ß' and found several entries as shown below.
How to deal with this? I would like to replace them. Does Check Point provide a script for this task?

[Expert@mgmt:0]# $FWDIR/scripts/search_postgres.sh -r -k -s ß
Searching for "ß" in cpm postgres  |

 schemaname |      tablename       |   columnname   |  rowctid
------------+----------------------+----------------+-----------
 public     | abstractauditlogbase | instructions   | (92,4)
 public     | accessctrlrule_data  | comments       | (1,2)
 public     | accessctrlrule_data  | comments       | (117,3)
 public     | accessctrlrule_data  | comments       | (609,2)
 public     | dleobjectderef_data  | blobonlyinfo   | (825,5)
 public     | dleobjectderef_data  | fwset          | (825,5)
 public     | dleobjectderef_data  | objectoverview | (825,5)
 public     | dleobjectderef_data  | tsdata         | (2584,4)
 public     | dleobjectderef_data  | varfields      | (2584,4)
 (9 rows)


umlauts.png

13 Replies
Lesley
MVP Gold
MVP Gold

I would try CPM doctor script if you have it, otherwise TAC can share it. I would expect a check there for this stuff. 

CPM doctor will give the next step most of the time a SK, sometimes internal SK

-------
Please press "Accept as Solution" if my post solved it 🙂
the_rock
MVP Platinum
MVP Platinum

Good idea Lesley.

Best,
Andy
0 Kudos
Danny
MVP Platinum
MVP Platinum

@Lesley : Good point. I got the latest CPM Doctor tool from TAC and the check "✔️ Network Objects Contains Non-Ascii Characters" is passed successfully, even though there are many special characters in this management database.

Interestingly CPM Doctor mentioned to be aware of sk161294, regarding whitespaces or newlines at the beginning or end of rule names which may cause Management HA sync issues. Good to know, I instantly applied the suggested fixes.

0 Kudos
Lesley
MVP Gold
MVP Gold

White space issues are common. What is the reason you ask this question btw? For knowledge or is there an issue? If cpm doctor does not complain and there are no issues I would leave it 🙂 you want to remove the special characters?

 

-------
Please press "Accept as Solution" if my post solved it 🙂
0 Kudos
Danny
MVP Platinum
MVP Platinum

I want to avoid future issues and always keep a firewall at best practice configuration. The only issue I'm aware of the the moment are long publishing times.

0 Kudos
the_rock
MVP Platinum
MVP Platinum

Lets see if someone might know...

Best,
Andy
0 Kudos
Danny
MVP Platinum
MVP Platinum

While there doesn't seem to be a conversion script yet, I created a SmartTask to avoid adding more Non-ASCII characters within changes.

the_rock
MVP Platinum
MVP Platinum

GENIUS!

Best,
Andy
0 Kudos
Lesley
MVP Gold
MVP Gold

Check, I have no lab access now, but maybe with GUIdbedit you can search for the special characters to get a hint what objects are using them? 

-------
Please press "Accept as Solution" if my post solved it 🙂
0 Kudos
HeikoAnkenbrand
MVP Platinum
MVP Platinum

Hi @Danny,

In this sk40179, the prohibited words and characters are included that must not be used at Check Point.

What are the characters and reserved words forbidden for use in Check Point Security Gateway and Sec... 

Special characters should be supported from version R80 onwards.

SK131473 is also very interesting:
Naming of network objects on R80.x Security Management server 

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
0 Kudos
Danny
MVP Platinum
MVP Platinum

@HeikoAnkenbrand : These SK's are very well known and they speak the same language as AI Copilot. Best practice is to use standard English ASCII characters.

0 Kudos
HeikoAnkenbrand
MVP Platinum
MVP Platinum

@Danny As you said, I would also only use English characters. But in principle, other characters are also allowed according to the SK.

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
0 Kudos
Danny
MVP Platinum
MVP Platinum

@HeikoAnkenbrand : Allowed doesn't mean best practice. Even sk131473 has some exceptions at the end.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events