Skip to content

Commit 7d5deb4

Browse files
authored
Merge pull request #106 from netfoundry/v0.9.22-release-candidate
V0.9.22 release candidate
2 parents 833f5dd + cffd07f commit 7d5deb4

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. The format
55
---
66
###
77

8+
# [0.9.22] - 2025-8-5
9+
10+
- Fixed an issue where TCP rst received from tcp a server does not remove the ingress
11+
state when egressing the interface facing the client due to incorrect map lookup.
12+
This then caused the connection to be be cleaned up after idle time rather than immediately.
13+
14+
###
15+
816
# [0.9.21] - 2025-7-18
917

1018
- Refactored port_extension_key.pad to port_extension_key.type to differentiate ipv4 from ipv6

src/zfw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ char *direction_string;
278278
char *masq_interface;
279279
char check_alt[IF_NAMESIZE];
280280

281-
const char *argp_program_version = "0.9.21";
281+
const char *argp_program_version = "0.9.22";
282282
struct ring_buffer *ring_buffer;
283283

284284
__u32 if_list[MAX_IF_LIST_ENTRIES];

src/zfw_monitor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ char check_alt[IF_NAMESIZE];
9393
char doc[] = "zfw_monitor -- ebpf firewall monitor tool";
9494
const char *rb_map_path = "/sys/fs/bpf/tc/globals/rb_map";
9595
const char *tproxy_map_path = "/sys/fs/bpf/tc/globals/zt_tproxy_map";
96-
const char *argp_program_version = "0.9.21";
96+
const char *argp_program_version = "0.9.22";
9797
union bpf_attr rb_map;
9898
int rb_fd = -1;
9999

src/zfw_tc_outbound_track.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1286,7 +1286,7 @@ int bpf_sk_splice(struct __sk_buff *skb){
12861286
}
12871287
}
12881288
else if(tcph->rst){
1289-
del_tcp(tcp_state_key);
1289+
del_ingress_tcp(tcp_state_key);
12901290
tstate = get_ingress_tcp(tcp_state_key);
12911291
if(!tstate){
12921292
if(local_diag->verbose){

0 commit comments

Comments
 (0)