当前位置:网站首页>FortiGate firewall filters the specified session and cleans it up
FortiGate firewall filters the specified session and cleans it up
2022-06-30 04:15:00 【Call me a little match】
This article mainly introduces how to set session filtering conditions through the command line , The corresponding filtering session details and clearing sessions are displayed .
FG600D3918701304 # diagnose sys session filter( Set filter conditions )
vd Index of virtual domain. -1 matches all.
sintf Source interface.
dintf Destination interface.
src Source IP address.
nsrc NAT'd source ip address
dst Destination IP address.
proto Protocol number.
sport Source port.
nport NAT'd source port
dport Destination port.
policy Policy ID.
expire expire
duration duration
proto-state Protocol state.
session-state1 Session state1.
session-state2 Session state2.
clear Clear session filter.
negate Inverse filter.
FG600D3918701304 # diagnose sys session filter src 10.10.10.1( Set filter condition as source address 10.10.10.1)
FG600D3918701304 # diagnose sys session list( List the sessions that match the filter criteria )
session info: proto=17 proto_state=01 duration=18 expire=161 timeout=0 flags=00000000 sockflag=00000000 sockport=7900 av_idx=0 use=6
origin-shaper=
reply-shaper=
per_ip_shaper=
ha_id=0 policy_dir=0 tunnel=/ helper=dns-udp vlan_cos=0/255
state=redir log local may_dirty nlb none
statistic(bytes/packets/allow_err): org=55/1/1 reply=71/1/1 tuples=3
tx speed(Bps/kbps): 2/0 rx speed(Bps/kbps): 3/0
orgin->sink: org pre->post, reply pre->post dev=18->54/54->18 gwy=113.102.128.1/10.10.10.1
hook=post dir=org act=snat 10.10.10.1:54831->223.5.5.5:53(113.102.131.230:54831)
hook=pre dir=reply act=dnat 223.5.5.5:53->113.102.131.230:54831(10.10.10.1:54831)
hook=post dir=reply act=noop 223.5.5.5:53->10.10.10.1:54831(0.0.0.0:0)
misc=0 policy_id=47 auth_info=0 chk_client_info=0 vd=0
serial=012ee90e tos=40/40 app_list=0 app=0 url_cat=0
dd_type=0 dd_mode=0
npu_state=0x040400
no_ofld_reason: redir-to-av non-npu-intf
session info: proto=17 proto_state=01 duration=9 expire=170 timeout=0 flags=00000000 sockflag=00000000 sockport=7900 av_idx=0 use=6
origin-shaper=
reply-shaper=
per_ip_shaper=
ha_id=0 policy_dir=0 tunnel=/ helper=dns-udp vlan_cos=0/255
state=redir log local may_dirty nlb none
statistic(bytes/packets/allow_err): org=71/1/1 reply=148/1/1 tuples=3
tx speed(Bps/kbps): 7/0 rx speed(Bps/kbps): 15/0
orgin->sink: org pre->post, reply pre->post dev=18->54/54->18 gwy=113.102.128.1/10.10.10.1
hook=post dir=org act=snat 10.10.10.1:56119->223.5.5.5:53(113.102.131.230:56119)
hook=pre dir=reply act=dnat 223.5.5.5:53->113.102.131.230:56119(10.10.10.1:56119)
hook=post dir=reply act=noop 223.5.5.5:53->10.10.10.1:56119(0.0.0.0:0)
misc=0 policy_id=47 auth_info=0 chk_client_info=0 vd=0
serial=012eedd7 tos=40/40 app_list=0 app=0 url_cat=0
dd_type=0 dd_mode=0
npu_state=0x040400
no_ofld_reason: redir-to-av non-npu-intf
......
FG600D3918701304 # diagnose sys session clear( Clear all sessions that match the filter criteria )
FG600D3918701304 # diagnose sys session list( View all sessions that match the filter criteria again )
total session 0( Session is 0)
FG600D3918701304 # diagnose sys session filter clear( Clear the set filter conditions )

边栏推荐
- About manipulator on Intelligent Vision Group
- JS file block to Base64 text
- [fuzzy neural network prediction] water quality prediction based on fuzzy neural network, including Matlab source code
- How to solve the problem of link hyperlinks when trying to link the database?
- 数据链路层详解
- JS reflect
- When easycvr deploys a server cluster, what is the reason why one is online and the other is offline?
- El upload Upload file (Manual upload, Automatic upload, upload progress)
- AI落地的新范式,就“藏”在下一场软件基础设施的重大升级里
- base64.c
猜你喜欢

Redis cache avalanche, breakdown and penetration

How to use FME to create your own functional software

The jupyter notebook kernel hangs up frequently and needs to be restarted

在大厂外包呆了三年,颠覆了我的认知!

You know AI, database and computer system

Radiant energy, irradiance and radiance

lego_ Reading and summary of loam code

MySQL DDL change

Simple theoretical derivation of SVM (notes)

I get n offers in two months. I don't have any difficult interviewers here
随机推荐
Unity échappe à l'entrée de caractères lors de l'entrée de chaînes dans l'éditeur
Huawei cloud native - data development and datafactory
DBT product initial experience
【WEBRTC】ADM: rtc_include_internal_audio_device 触发 RTC_DCHECK(adm) 断言
01 backpack, dynamic planning
【图像融合】基于交叉双边滤波器和加权平均实现多焦点和多光谱图像融合附matlab代码
idea灰屏问题
第十二天 进阶编程技术
Find the interface and add parameters to the form
JS generator
Unity 在编辑器中输入字符串时,转义字符的输入
SQL server2005中SUM函数中条件筛选(IF)语法报错
Myrpc version 1
(03). Net Maui actual combat basic control
在大厂外包呆了三年,颠覆了我的认知!
Splicing strings with custom functions
Thinkphp5 implements import function
Pytorch Profiler+ Tensorboard + VS Code
Jour 9 Gestion des scripts et des ressources
JS reflect