Puree chillies, garlic, ginger and fish sauce in a blender. Place the puree, sugar and vinegar into a stainless steel saucepan, add the tomatoes and slowly bring to a boil, stirring occasionally. Cook gently for 30-40 minutes, stirring every now and then to prevent sticking. When cooked, pour into warm, sterilized jars and store in the fridge.