Locked Why does NAT44 EI (Endpoint-Independence) not have code that free LRU (Least Recently Used) sessions


Kyusik Shin
 

Why does NAT44 EI (Endpoint-Independence) not have code that free LRU (Least Recently Used) sessions
when sessions reach the max_translations_per_thread, while ED (Endpoint-Dependency) does.

nat44_ed_in2out.c


nat44_ei_in2out.c


filvarga
 

There is a difference in implementation of EI and ED. First of all ED is more supported because it is used more. Secondly if you dive deeper into the code you can see there is a difference between EI and ED session handling and lookups. EI code is outdated.

Best regards,
Filip Varga


št 9. 3. 2023 o 6:26 <banaconda.shin@...> napísal(a):

Why does NAT44 EI (Endpoint-Independence) not have code that free LRU (Least Recently Used) sessions
when sessions reach the max_translations_per_thread, while ED (Endpoint-Dependency) does.

nat44_ed_in2out.c


nat44_ei_in2out.c




Kyusik Shin
 

Thank you so much, Filip, for your helpful response!

Your explanation was clear and informative, and I really appreciate your taking the time to provide such a detailed answer.

Best regards,
Kyusik Shin