|Not to be contentious.......simply for the sake of accuracy.......the maximum segment length of Cat5/6 cable is 100 meters. This translates to around 330 feet.|
However, I've found you can start experiencing issues with attenuation at about 85 to 90% of the max. If your run is 300' on the nose, it should be ok.............should be. You would definitely want to test and certify it when you're done running it.
Nobody uses hub's anymore. I don't even think they make them any more. What you would use to boost the signal is either a switch or repeater.
If it were me, I'd terminate the long run as soon as it entered the other building (200' away) and put a switch there. Then I'd pull a separate run to wherever you need it inside the building. This negates the issue of cable length and the requirement for a repeater in the line.
It matters not how straight the gate,
How charged with punishments the scroll,
I am the master of my fate;
I am the captain of my soul.