[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#597135: nstx is hardcoded to start on port 53, it should be configurable

Package: nstx
Version: 1.1-beta6-5
Severity: normal
Tags: upstream

>From the source code:

    169:    sock.sin_port = htons(53);
    190:    sock.sin_port = htons(53);
    198:                  "listening on UDP-Port 53 on %s\n",
    204:          fprintf(stderr, "Permission denied binding port 53. You generally "
    213:    fprintf(stderr, "listening on 53/UDP\n");

I have a setup where I want to run a *real* DNS server on port 53, but
selectively forward things to nstx with iptables depending on the
remote host.

That's not possible without patching the source.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-rc4-Avar-Akbar+ (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nstx depends on:
ii  adduser                       3.112      add and remove users and groups
ii  libc6                         2.11.2-5   Embedded GNU C Library: Shared lib

nstx recommends no packages.

nstx suggests no packages.

-- Configuration Files:
/etc/default/nstx changed [not included]

-- no debconf information

Reply to: