gdb tips and tricks
Debugging a Shared Library with GDB Enter “set stop-on-solib-events 1” on the gdb command line. gdb will halt when the parent program tries to access a shared library.
Debugging a Shared Library with GDB Enter “set stop-on-solib-events 1” on the gdb command line. gdb will halt when the parent program tries to access a shared library.
Enable v3, disable v1 and v2c Need to use v3 only and disable v1 and v2c. In /etc/snmp/snmpd.conf delete or comment the community names that are used for v1 and v2c (for example): rocommunity public 127.0.0.1 Your default community names may not exactly be called “public” Restart the snmpd daemon. # /etc/init.d/snmpd restart Verify that[…]
This is a work in progress. Tasked with migrating from existing SNMP to v3
A customer wants to deploy firewall rules as a .deb package. The first pass assumes that ufw is already installed. The second pass will not make this assumption and check if ufw is installed. If it is, just install firewall rules. If not installed, install ufw from .deb package (not remotely) and install firewall rules.[…]