]> 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)
committerMartin Schwenke <martins@samba.org>
Wed, 6 Nov 2024 23:03:42 +0000 (23:03 +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.

Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jerry Heyman <jheyman@ddn.com>
ctdb/config/events/legacy/10.interface.script
ctdb/config/events/legacy/60.nfs.script

index 4b623bc3f5d2f91fad1c98597c7ebb0fd521958a..4535bcd4a8b75991e9650e5fb5870ef5748ae1fc 100755 (executable)
@@ -243,6 +243,8 @@ ipreallocated)
 
 monitor)
        monitor_interfaces || exit 1
+
+       update_tickles 2049
        ;;
 esac
 
index bc5be241f67c933380ef061a866d982488f19965..b797ada9370b6d239e187188cdd8546d157db29c 100755 (executable)
@@ -352,7 +352,6 @@ monitor)
                        exit $?
        fi
 
-       update_tickles 2049
        nfs_update_lock_info
 
        nfs_check_services