I'm trying to create a new application signature for the game Fallout 76, which uses the UDP port 3000 F-SBID( --name "game.fallout76"; --protocol udp; --dest_port=3000;) But get an error saying "Failed to save changes" when I click OK. Why?
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
Is it supposed to be dst_port, not dest_port?
It's 'dst-port'.
Opps. It should be dst_port, but even after changing that, it still gives the same error
OK, I've got it working.
First, the option "attack_id" is needed. Value between 1000 and 9999.
Then, I masked the quotation marks in the name (as per CLI).
Then, it must be "--dst_port 3000", that is, no equal sign between option and value.
So,
config ips custom
edit "test"
set signature "F-SBID( --attack_id 1666; --name \"game.fallout76\"; --protocol udp; --dst_port 3000;)"
set comment ''
next
end
How did I find out?
diag debug enable
diag debug cli 7 Then, enter the lines and type "next". Syntax check is done at this moment.
For example,
Error:
Line 1 offset 68 option "dst_port=3000" value ""
protocol udp; --dst_port=3000;)
unknown option:dst_port=3000
parse custom rule error
object set operator error, -2 discard the setting
Command fail. Return code 1
It's not an IPS rule though, it needs to be a custom application control rule.
I figured it out :)
config application custom
edit "Fallout 76"
set comment ''
set signature "F-SBID(--name \"game.fallout76\"; --protocol udp; --dst_port 3000:3001;)"
set category 8
set protocol UDP
set technology Client-Server
set vendor Other
next
end
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1688 | |
1087 | |
752 | |
446 | |
227 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.