In some environments, traffic to specific websites may fail or become intermittently inaccessible when Intrusion Detection and Prevention (IDP) is enabled on the SRX device.
The issue is typically caused by TCP reassembly failures inside the IDP engine, resulting in packet drops. Traffic usually starts working again after the IDP policy is disabled.
root@SRX-FW# run show security idp counters packet | no-more node0: -------------------------------------------------------------------------- IDP counters: IDP counter type Value Processed packets 3898 Dropped packets 45 Dropped ICMP packets 0 Dropped TCP packets 45 Dropped UDP packets 0 Dropped Other packets 0 Dropped by IDP Policy 0 Dropped by Error 45 >>>>>HERE Dropped sessions 0
[Time-stamps]:CID-1:THREAD_ID-01:LSYS_ID-00:RT: plugin name junos-jdpi. action JSF_SESSION_ACTION_NONE, stbuf 0x0 [Time-stamps]:CID-1:THREAD_ID-01:LSYS_ID-00:RT:PKT-PROC for plugin junos-jdpi jbuf 0xd1d159d80, sess jsf flags 0x0, rc 0 [Time-stamps]:CID-1:THREAD_ID-01:LSYS_ID-00:RT: plugin name junos-dynapp. action JSF_SESSION_ACTION_NONE, stbuf 0x0 [Time-stamps]:CID-1:THREAD_ID-01:LSYS_ID-00:RT:PKT-PROC for plugin junos-dynapp jbuf 0xd1d159d80, sess jsf flags 0x0, rc 7 [Time-stamps]:CID-1:THREAD_ID-01:LSYS_ID-00:RT: plugin name junos-dpi-stream. action JSF_SESSION_ACTION_IGNORE, stbuf 0x0 [Time-stamps]:CID-1:THREAD_ID-01:LSYS_ID-00:RT: plugin name junos-idp. action JSF_SESSION_ACTION_NONE, stbuf 0x0 [Time-stamps]:CID-1:THREAD_ID-01:LSYS_ID-00:RT:PKT-PROC for plugin junos-idp jbuf 0xd1d159d80, sess jsf flags 0x0, rc 8 >>>> It goes to IDP Module for packet processing [Time-stamps]:CID-1:THREAD_ID-01:LSYS_ID-00:RT:flow_proc_rc: -1. >>>>>>>>>>DropKey flow markers:
PKT-PROC for plugin junos-idp rc 8
flow_proc_rc: -1
Workaround:
"set security idp sensor-configuration re-assembler action-on-reassembly-failure ignore"