aboutsummaryrefslogtreecommitdiff
path: root/contrib/mandoc/mansearch.c
diff options
context:
space:
mode:
authorDamir Bikmuhametov <boco@ufanet.ru>2025-06-26 17:26:14 +0000
committerKristof Provost <kp@FreeBSD.org>2025-07-12 07:50:55 +0000
commit57c652dfa1c08a361e29b7edb7fe05b63ffae235 (patch)
tree80dc37605921cacd502ad350a83be186fb248b1f /contrib/mandoc/mansearch.c
parent778f5aaa890fdc16b8d6d708af1b94d9af467f76 (diff)
pf: fix ICMP ECHO handling of ID conflictsstable/13
After applying FreeBSD-SA-24:05.pf, a problem with ICMP ECHO passing through PF NAT was raised: two or more Windows workstations cannot ping the same destination address at the same time. More precisely, only one workstation pings normally, while the pings of the others are rejected by the packet filter. The thing is that Windows always uses the same ICMP ID (1). Therefore, the state is created only for the workstation that started pinging earlier. In the pf_get_sport() function, we compare *nport with the ICMP_ECHO constant, while icmptype (virtual_type actually) is passed in the pd->ndport parameter. MFC after: 2 weeks Reviewed by: kp (cherry picked from commit e7abf8829d8d496a8753946f67fb2016851b4f7c)
Diffstat (limited to 'contrib/mandoc/mansearch.c')
0 files changed, 0 insertions, 0 deletions