On Tue, Jun 20, 2006 at 04:07:25PM +0100, Constantine A. Murenin wrote:
> Hello,
> 
> I'm running an sshd on port 53 (domain) as there is some convenient
> wireless hot-spot that allows for both udp and tcp connection on this
> port without any authentication. :)
> 
> (Yes, there is not even a need for NSTX!)
> 
> How do I tell my named(8) to only listen on udp ports, and leave tcp
> ports for sshd(8)? Is this at all possible with named.conf alone? I've
> glanced through named.conf(5), but didn't find the desired option
> there...

It appears an interesting hack would be possible here, in the form of a
proxy that recognizes both DNS and SSH (which are both pretty easy to
recognize, IIRC), and proxies the connection to the proper daemon.

Of course, this is a cludge, too, but at least it's more elegant and not
as likely to break stuff. Someone might even have already written one,
but I think it's likely you'll have to do it yourself.

                Joachim

Reply via email to