Hi,

Fix for TCP expire issue https://gerrit.fd.io/r/#/c/14207/

Matus


From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of xuliang
Sent: Monday, August 13, 2018 6:32 AM
To: vpp-dev@lists.fd.io
Cc: mocan <mo...@ucloud.cn>; wenxu <we...@ucloud.cn>; 'houzhiyuan' 
<zhiyuan....@ucloud.cn>
Subject: [vpp-dev] NAT64 TCP Session never expire

Hi Dear VPP,

   I did some testing on the Stateful NAT64 feature last week and found that 
the tcp session never times out.

   I checked the source code and found :
   a. because nat64_tcp_session_set_state has not been called, 
nat64_db_st_entry_t.tcp_state == 0 (CLOSED)
   b. calling nat64_session_reset_timeout, the nat64_db_st_entry_t.expire never 
be set

   I think it's BUG, right ?

  Other question about multiple thread. There is BIB and session DB per thread 
in nat64_main_t. How to ensure that IPv6 and IPv4 packets of the same session 
are processed by the same thread?

________________________________
徐亮 | Leo.Xu
网络架构部
Tel:              021-55509888
Mobile:       18049731937
Email:             leo...@ucloud.cn<mailto:leo...@ucloud.cn>
Homepage:    www.ucloud.cn<http://www.ucloud.cn/>
Address:      上海市杨浦区隆昌路619号城市概念创业园区10号楼B座
UCloud-专业云计算服务商 | 上海 ・ 北京 ・ 深圳・ 广州 ・ 成都・ 杭州
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#10141): https://lists.fd.io/g/vpp-dev/message/10141
Mute This Topic: https://lists.fd.io/mt/24502088/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub  [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-
  • [... xuliang
    • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io
    • ... Matus Fabian -X (matfabia - PANTHEON TECHNOLOGIES@Cisco) via Lists.Fd.Io

Reply via email to