Project

General

Profile

Actions

Bug #14661

closed

``dpinger`` can unintentionally choose an IPv6 VIP for a monitoring source

Added by Hannes Scherbichler almost 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Gateway Monitoring
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:
amd64

Description

Hello,

We have a pfSense cluster running with CARP and IPv6.
We noticed, that dpinger uses the CARP IP address as source address, on IPv6 only, with IPv4 dpinger uses the IP address from the interface and works as expected.
The backup node is not able to ping the desired gateways.


Files

2023-08-08_14-49-23.png (130 KB) 2023-08-08_14-49-23.png ifconfig and dpinger Hannes Scherbichler, 08/08/2023 01:00 PM
Actions #1

Updated by Jim Pingle almost 2 years ago

  • Subject changed from Dpinger uses CARP IP with IPv6 to ``dpinger`` can unintentionally choose an IPv6 VIP for a monitoring source
  • Category changed from CARP to Gateway Monitoring
  • Status changed from New to Feedback

I can't reproduce this here, dpinger is using the interface IPv6 address as expected. In the dpinger command line and also confirmed by packet capture.

That said, there are other cases where this has happened unpredictably (making it difficult to reproduce). See #14646 for a recent example, and #14392 which may also be similar.

It's worth checking the code around there to see if it may be using similar methods which might need adjusting.

It would help to know a couple things, though:

1. If you look at the process list (ps uxaww | grep dpinger) -- does the dpinger command for your IPv6 gateway show it using the VIP or the interface address?
2. If you look at Diagnostics > States and filter on the monitor IP address, what does the state look like? Does it show any NAT involved?
3. Do you have any NPt, outbound NAT, 1:1 NAT, or other NAT rules which may be causing the outbound ICMP6 traffic to be translated to the CARP VIP?

Actions #2

Updated by Hannes Scherbichler almost 2 years ago

In that screenshot you can see that dpinger is using the CARP IP on a IPv6 gateway.
And this happens with all IPv6 gateways.

Actions #3

Updated by Jim Pingle almost 2 years ago

  • Status changed from Feedback to New
Actions #4

Updated by Hannes Scherbichler about 1 year ago

Seems to be resolved in 2.7.2

Actions #5

Updated by Jim Pingle about 1 year ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF