The white stuf should be marine sea going putty, which yes is pretty much an epoxy.
I am guessing you would also want to bolt the whip stut thru the hull, with at least a backer plate inside the hull??
I know TFH's even cross braces the whip strut to the rails.