Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 289733

Summary: net-analyzer/nagios-nrpe does generating dh.h file (in ebuild) have any influence for securing nrpe?
Product: Gentoo Linux Reporter: Marcin Mirosław <bug>
Component: Current packagesAssignee: Gentoo Netmon project <netmon>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo, idl0r
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 410891    
Bug Blocks:    

Description Marcin Mirosław 2009-10-19 14:34:20 UTC
Lines from ebuild (they are before econf):
"# Generate the dh.h header file for better security (2005 Mar 20 eldad)
if useq ssl ; then
  openssl dhparam -C 512 | sed -n '1,/BEGIN DH PARAMETERS/p' | grep -v "BEGIN DH PARAMETERS" > "${S}"/src/dh.h
fi
"

grep dhparam from configure script:
$sslbin dhparam -C 512 | awk '/^-----/ {exit} {print}' > include/dh.h

Are those files (src/dh.h and incluede/dh/h) used both?
I suppose no:
rm src/dh.h & compile cleanly
but when i remove file include/dh.h (and only form include dir) make's failed.



Reproducible: Always
Comment 1 Marcin Mirosław 2010-02-25 16:11:35 UTC
Is there any progress with this bug?
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2012-06-07 00:10:37 UTC
Fixed in net-analyzer/nagios-nrpe-2.13. Thanks!
Comment 3 Marcin Mirosław 2012-06-07 08:06:54 UTC
Thanks!