Re: How to enable encryption

Tsuyoshi Nagata <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Fujitsu ltd
Message-ID <[email protected]>
Hi, Steve
 Here is the part of net-snmp.spec file from fedora 10.
You can specify these options in common.

Tsuyoshi.


%configure \
    --enable-static --enable-shared                     \
    --with-cflags="$RPM_OPT_FLAGS -D_RPM_4_4_COMPAT"    \
    --with-ldflags="$LDFLAGS -lcrypto -lsensors"                        \
    --with-sys-location="Unknown"                       \
    --with-logfile="/var/log/snmpd.log"                 \
    --with-persistent-directory="/var/net-snmp"         \
    --with-mib-modules="$MIBS"                          \
%if %{tcp_wrappers}
    --with-libwrap=%{_libdir}                           \
%endif
    --sysconfdir=%{_sysconfdir}                         \
    --enable-ipv6                                       \
    --enable-ucd-snmp-compatibility                     \
    --with-openssl                                      \
    --with-pic                                          \
    --enable-embedded-perl                              \
    --enable-mfd-rewrites                               \
    --enable-local-smux                                 \
    --with-sys-contact="root@localhost" <<EOF

EOF
#exit 0

make %{?smp_mflags}

Steve Miller :
> 
> I am getting Encrytion not enable error from my snmpd. I used pretty much the default options from configure to generate the makefiles.  I was under the impression that encryption shoud be on by default??  Any help is appreciated.
> thx
> Steve
> 
> 
> 
>       
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.