It is a typical mains input filter consisting of a common mode choke and some capacitors.
The resistance between input and output should be very low, between the input or output terminals it should be around 680k because of the built in discharge resistor.
If the resistance between input and output is much higher, the common mode choke is probably damaged (overheated because of too much current?).