Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

content-size

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
content-size (block | log-and-permit);

Hierarchy Level

content_copy zoom_out_map
[edit security utm default-configuration]
[edit security utm feature-profile anti-virus juniper-express-engine profile profile-name fallback-options]
[edit security utm feature-profile anti-virus kaspersky-lab-engine profile profile-name fallback-options]

Description

If the content size exceeds a set limit, the content is either passed or blocked. The default action is log-and-permit.

Note:

When you configure the content-size value, keep in mind that in certain cases, content size is available in the protocol headers, so the max-content-size fallback is applied before a scan request is sent. However, in many cases, content size is not provided in the protocol headers. In these cases, the TCP payload is sent to the antivirus scanner and accumulates until the end of the payload. If the accumulated payload exceeds the maximum content size value, then max-content-size fallback is applied. The default fallback action is log and permit, so you may want to change this option to block, in which case such a packet is dropped and a block message is sent to the client.

Options

  • block—Log the error and deny the traffic

  • log-and-permit—Log the error and permit the traffic

Required Privilege Level

security—To view this statement in the configuration.

security-control—To add this statement to the configuration.

Release Information

The Express and Kaspersky antivirus feature is not supported from Junos OS Release 15.1X49-D10 onwards. For previous releases, Statement introduced in Junos OS Release 9.5.

The [edit security utm default-configuration] hierarchy level is introduced in Junos OS Release 18.2R1.

footer-navigation