Bug#618655: tftpd-hpa coflicts with portsentry (cannot bind tp UDP-port 69)
Package: tftpd-hpa Version: 5.0-22 Severity: normal The Package won't install when portsentry is running and controlling UDP-Port 69. The normal /etc/init.d/ -startscript fails and thus the installation breaks. It may also be a problem of portsentry although the normal tftpd cooperates with the existing portsentry. Because I don't know better, I took port 69 out of the UDP_PORTS= -list in /etc/portsentry/portsentry.conf . My tftpd-hpa startscript is only modified to locate the problem. Ciao, BHA -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores) Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages tftpd-hpa depends on: ii adduser 3.112+nmu2 add and remove users and groups ii cdebconf [debconf-2.0]0.153 Debian Configuration Management Sy ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra tftpd-hpa recommends no packages. Versions of packages tftpd-hpa suggests: ii syslinux-common 2:4.03+dfsg-12 collection of boot loaders (common -- Configuration Files: /etc/init.d/tftpd-hpa changed: PATH="/sbin:/bin:/usr/sbin:/usr/bin" DAEMON="/usr/sbin/in.tftpd" test -x "${DAEMON}" || exit 0 NAME="in.tftpd" DESC="HPA's tftpd" PIDFILE="/var/run/tftpd-hpa.pid" DEFAULTS="/etc/default/tftpd-hpa" if [ -r "${DEFAULTS}" ] then . "${DEFAULTS}" fi set -e . /lib/lsb/init-functions do_start() { # Ensure --secure and multiple server directories are not used at the # same time if [ "$(echo ${TFTP_DIRECTORY} | wc -w)" -ge 2 ] && \ echo ${TFTP_OPTIONS} | grep -qs secure then echo echo "When --secure is specified, exactly one directory can be specified." echo "Please correct your /etc/default/tftpd-hpa." exit 1 fi # Ensure server directories are existing for _DIRECTORY in ${TFTP_DIRECTORY} do if [ ! -d "${_DIRECTORY}" ] then echo "${_DIRECTORY} missing, aborting." exit 1 fi done echo "now start-stop-daemon --start --quiet --oknodo --exec ${DAEMON} -- --listen --user ${TFTP_USERNAME} --address ${TFTP_ADDRESS} ${TFTP_OPTIONS} ${TFTP_DIRECTORY} " start-stop-daemon --start --quiet --oknodo --exec ${DAEMON} -- \ --listen --user ${TFTP_USERNAME} --address ${TFTP_ADDRESS} \ ${TFTP_OPTIONS} ${TFTP_DIRECTORY} } do_stop () { start-stop-daemon --stop --quiet --oknodo --name ${NAME} } do_reload () { start-stop-daemon --stop --quiet --oknodo --name ${NAME} --signal 1 } case "${1}" in start) log_daemon_msg "Starting ${DESC}" "${NAME} " do_start log_end_msg ${?} ;; stop) log_daemon_msg "Stopping ${DESC}" "${NAME} " do_stop log_end_msg ${?} ;; restart|force-reload) log_daemon_msg "Restarting ${DESC}" "${NAME} " do_stop sleep 1 do_start log_end_msg ${?} ;; status) status_of_proc ${DAEMON} ${NAME} ;; *) echo "Usage: ${0} {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac exit 0 -- debconf information: tftpd-hpa/address: 0.0.0.0:69 tftpd-hpa/directory: /srv/tftp tftpd-hpa/username: tftp tftpd-hpa/options: --secure -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#618653: portsentry conflicts with tftpd-hpa (occupies UDP-port 69) As a quick hack I, took the 69 out of the UDP_PORTS= -list in /etc/portsentry/portsentry.conf., Maybe this is more a problem of t
Package: portsentry Version: 1.2-12 Severity: normal Please type your report here. The text will be wrapped to be max 79 chars long per line. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores) Locale: LANG=, LC_CTYPE= (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages portsentry depends on: ii cdebconf [debconf-2.0]0.153 Debian Configuration Management Sy ii debconf [debconf-2.0] 1.5.38 Debian configuration management sy ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib ii libfile-temp-perl 0.22-1 Perl module to create a temporary ii net-tools 1.60-23The NET-3 networking toolkit ii perl-modules [libfile-temp-pe 5.10.1-17 Core Perl modules ii procps1:3.2.8-10 /proc file system utilities Versions of packages portsentry recommends: ii tcpd 7.6.q-19 Wietse Venema's TCP wrapper utilit Versions of packages portsentry suggests: pn logcheck (no description available) -- Configuration Files: /etc/portsentry/portsentry.conf changed: TCP_PORTS="1,11,15,79,111,119,143,540,635,1080,1524,2000,5742,6667,12345,12346,20034,27665,31337,32771,32772,32773,32774,40421,49724,54320" UDP_PORTS="1,7,9,161,162,513,635,640,641,700,37444,34555,31335,32770,32771,32772,32773,32774,31337,54321" ADVANCED_PORTS_TCP="1024" ADVANCED_PORTS_UDP="1024" ADVANCED_EXCLUDE_TCP="113,139" ADVANCED_EXCLUDE_UDP="520,138,137,67" IGNORE_FILE="/etc/portsentry/portsentry.ignore" HISTORY_FILE="/var/lib/portsentry/portsentry.history" BLOCKED_FILE="/var/lib/portsentry/portsentry.blocked" RESOLVE_HOST = "0" BLOCK_UDP="0" BLOCK_TCP="0" KILL_ROUTE="/sbin/route add -host $TARGET$ reject" KILL_HOSTS_DENY="ALL: $TARGET$ : DENY" SCAN_TRIGGER="0" -- debconf information: * portsentry/warn_no_block: portsentry/startup_conf_obsolete: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org