Date: Tue, 12 Jul 2016 16:23:18 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 211038] security/xinetd: Broken with dgram udp services (e.g. tftpd, tftp-proxy) Message-ID: <bug-211038-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211038 Bug ID: 211038 Summary: security/xinetd: Broken with dgram udp services (e.g. tftpd, tftp-proxy) Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: sem@FreeBSD.org Reporter: garga@FreeBSD.org Assignee: sem@FreeBSD.org Flags: maintainer-feedback?(sem@FreeBSD.org) xinetd is not working on FreeBSD 10.3 and 12.0-CURRENT with dgram UDP servi= ces like tftp server or tftp-proxy. Sample config: service tftp { disable =3D no port =3D 69 socket_time =3D dgram protocol =3D udp wait =3D yes user =3D root group =3D wheel server =3D /usr/libexec/tftpd server_args =3D -d 15 -l -s /tftpboot } xinetd logs: 16/7/12@12:36:10: DEBUG: 15844 {main_loop} select returned 1 16/7/12@12:36:10: DEBUG: 15844 {svc_suspend} Suspended service tftp 16/7/12@12:36:10: DEBUG: 15844 {server_start} Starting service tftp 16/7/12@12:36:10: DEBUG: 15844 {main_loop} active_services =3D 0 16/7/12@12:36:10: DEBUG: 15845 {exec_server} duping 0 16/7/12@12:36:10: DEBUG: 15844 {main_loop} active_services =3D 0 16/7/12@12:36:10: DEBUG: 15844 {main_loop} select returned 1 16/7/12@12:36:10: DEBUG: 15844 {check_pipe} Got signal 20 (Child exited) 16/7/12@12:36:10: DEBUG: 15844 {child_exit} waitpid returned =3D 15845 16/7/12@12:36:10: DEBUG: 15844 {server_end} tftp server 15845 exited 16/7/12@12:36:10: DEBUG: 15844 {drain} UDP socket should be empty 16/7/12@12:36:10: DEBUG: 15844 {svc_resume} Resumed service tftp 16/7/12@12:36:10: DEBUG: 15844 {child_exit} waitpid returned =3D -1 16/7/12@12:36:10: DEBUG: 15844 {main_loop} active_services =3D 1 tftpd logs: Jul 12 12:36:10 tp tftpd[15845]: recvfrom: Resource temporarily unavailable tftp-proxy logs: Jul 11 17:12:39 test-ce-23-amd64 tftp-proxy[38884]: setsockopt(IP_RECVDSTAD= DR): Protocol not available It was first reported on pfSense, then I reproduced it on stock FreeBSD as well. Ref: https://redmine.pfsense.org/issues/6315 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211038-13>