url-feed
Syntax
url-feed name { interval interval; no-autoupdate; proxy-profile proxy-profile; routing-instance routing-instance; url url; }
Hierarchy Level
[edit logical-systems name security utm custom-objects], [edit logical-systems name tenants name security utm custom-objects], [edit security utm custom-objects], [edit tenants name security utm custom-objects]
Description
Configure URL feed object. The URL feed object reduces your effort to add multiple URLs into a single URL pattern. The URL feed enables you to create a URL pattern automatically.
To create a URL pattern automatically, you need to create a URL feed file on the HTTP server. You should add the URLs that need to be added in the URL pattern to this file. When you configure the URL feed on your security device, the system downloads the file from the HTTP server and creates a URL pattern as follows:
The system validates the list of URLs based on the existing validation criteria used for URL pattern.
The system creates a URL pattern with
_feed
as suffix to the URL feed name.For example, if the URL feed name is
juniper
, then the system creates the URL pattern name asjuniper_feed
.The system adds only the URLs that have a valid syntax and ignores the URLs with invalid syntax.
The system periodically downloads the file from the HTTP server based on the
update-interval
time you configure. There may be five minutes delay in the timer functionality.The system maintains a hash to check for any updates to the URL list in the downloaded file. The system skips the file validation and URL pattern updates if the hash matches with the previous file.
The system does not automatically download the file and update the URL pattern if you configure
no-autoupdate
.
Limitations of URL Feed
-
Files on the HTTP server should be in plain text format.
-
File should contain only one URL in one line.
-
Number of URLs in a file should not exceed the limit of the corresponding platform. See Table 1.
-
The URL length should not be more than 249 characters.
-
The URL should not have invalid syntax.
-
Deletion of a URL feed does not delete corresponding URL pattern and corresponding custom URL category.
-
The system prioritizes the URL pattern that created automatically using URL feed over the URL pattern that you created manually using CLI.
-
The file size should not be more than 512 KB.
Platforms |
Number of URLs Supported |
---|---|
cSRX |
1000 |
vSRX |
1000 |
SRX300, SRX320, SRX340, SRX345, and SRX380 |
1000 |
SRX1500, SRX1600,SRX4200, SRX4600, and SPC3 |
1000 |
SRX5400, SRX5600, and SRX5800 |
1500 |
Options
url-feed name |
Configure the name of the URL feed object |
interval |
Interval in hours for auto-updating list
|
no-autoupdate |
Disable automatic update for URL feed pattern |
proxy-profile |
Proxy profile |
routing-instance |
Routing instance name |
url |
Configure the HTTPS server file URL that contains the list of URLs |
Required Privilege Level
security—To view this statement in the configuration.
security-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 23.4R1.