]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
ctdb-scripts: Move connection tracking to 10.interface
authorMartin Schwenke <mschwenke@ddn.com>
Mon, 23 Oct 2023 03:05:21 +0000 (14:05 +1100)
committerJule Anger <janger@samba.org>
Mon, 25 Nov 2024 12:39:11 +0000 (12:39 +0000)
This should really be done for all connections to public IP addresses.
Leave the port number there for now - this is just the first step.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15320
RN: Update CTDB to track all TCP connections to public IP addresses

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jerry Heyman <jheyman@ddn.com>
(cherry picked from commit 9683bb3ac2bbdf0e83c3be3681f9d1c8ee7cc327)

ctdb/config/events/legacy/10.interface.script
ctdb/config/events/legacy/60.nfs.script

index 96b89af71960be40145712541c86688cc934bffe..d7d830bf133443e5b3930cd3ef93d82da3a03928 100755 (executable)
@@ -265,6 +265,8 @@ ipreallocated)
 
 monitor)
        monitor_interfaces || exit 1
+
+       update_tickles 2049
        ;;
 esac
 
index b7ae0746be56ccd22455be37fa1884ea02019818..d7d30229172d4b307cd23da37a420cff212d208d 100755 (executable)
@@ -289,7 +289,6 @@ monitor)
                exit $?
        fi
 
-       update_tickles 2049
        nfs_update_lock_info
 
        nfs_check_services