Detection of CAN bus signal direction
I've done this on single-ended signals by placing a small resistor in series with the data line. Use a differential scope probe or differential amplifier across the resistor to determine the direction of current flow.

For a differential signal this is more complex, although I suppose you could get away with only watching CANH or CANL instead of both bits.