Wind River Support Network


LIN9-3134 : dhcp: dhcpd opening additional random ports

Created: Feb 7, 2017    Updated: Dec 3, 2018
Resolved Date: Feb 8, 2017
Previous ID: LIN5-22422
Found In Version:
Fix Version:
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace


Steps to reproduce: 

1) setup with: 
 --machines=intel-x86-64 --kernel=standard --dl-layers 

2) . ./environment-setup-x86_64-wrlinuxsdk-linux 

3) . ./oe-init-build-env build_test 

4) build
bitbake wrlinux-image-glibc-std

5) start the target and check the netstat output:
netstat -ulpn | fgrep dhcp

When configuring dhcpd service we see additional port that is open, which is not really needed. 

It may cause security issues under unknown circumstances, especially that it was fixed by the community in later version of ISC DHCP. 

The additional opened port is probably related to DDNS which is not needed and not configured in the dhcpd.conf. 
See this for refercence:

Steps to Reproduce

1. configure a wrlinux 5 project based on 

--enable-board=intel-xeon-core --enable-build=production --enable-kernel=cgl --enable-rootfs=glibc_cgl --enable-jobs=88 --enable-parallel-pkgbuilds=88 --enable-reconfig --with-layer=wr-dpdk,rcfl --with-template=feature/openssl101e,feature/dpdk-1.7 --enable-bootimage=, --without-layer=, --without-template=wr-cgp/cgp/templates/feature/cgp-full/template.conf,wr-cgp/cgp/templates/feature/cgp-full/,wr-dpdk/templates/default/template.conf,wr-dpdk/templates/default/ --enable-doc-pages=target --enable-addons=wr-rcfl --with-rcpl-version=0038

2. build & boot

3. check the netstat output

netstat -ulpn | fgrep dhc

Other Downloads

Live chat