Afghan fighters attack military base