Advanced Search
Search Results
534 total results found
Debug SSLVPN Authentication Issues
(20215-07-25) diagnose debug reset diagnose debug application sslvpn -1 diagnose debug application fnbamd -1 diagnose debug console timestamp enable diagnose debug enable Possibly useful: diagnose vpn ssl debug-filter src-addr4 <user_public_IP> diagnose debu...
Adding Disk To A LVM Partition
(2015-07-14) Problem Filesystem in LVM is full. Solution Obtain more disk (physical, virtual, whatever). Install in VM/system. Use fdisk to partition the new disk (assumed to be sdb in this example). Set the new partition to be of type 8e. Create a new PV on t...
Strip comments and blank lines from file
(2019-02-15) Problem Wordy config files that are all comments and whitespace. We want to see the actual configuration. Solution # sed -e 's/#.*$//g' -e '/^s*$/d' < FILE (Source: a Stack Overflow post I can't find right now.)
.bashrc
(2025-08-31) # .bashrc # User specific aliases and functions #if [ "$DOTBASHRC" ]; then # exit #fi #export DOTBASHRC="1" alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' alias git-pull-master='git fetch upstream ; git merge upstream/master ; git push' ...
.bash_profile
(2025-08-31) # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ]; then . ~/.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin export PATH
.inputrc
(2025-08-31) # Smart History Completion "\M-[A":history-search-backward "\M-[B":history-search-forward
.perltidyrc
(2025-08-31) -bl # braces on new lines -pt=2 # tight bracket spacing -bt=2 # tight bracket spacing -sbt=2 # tight bracket spacing -noll # don't outdent long lines -l=0 # no limit on line length -nbbc # no blanks before comments -nbbb # no blanks befo...
.screenrc
(2025-08-31) # Status line hardstatus alwayslastline #hardstatus string '%H %{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}' hardstatus string '%H %{= kG}%c:%s%{-}%{= KW}%50> %n:%t' # scrollback depth defscrollback 10000 # detach on...
.vimrc
(2025-08-31) " Dave's .vimrc " History: " 020522 - updated with comments " 091001 - added status line " " our shell for running things set shell=/bin/bash " set the visual bell to nothing to silence the beeping set vb t_vb= " this usually saves more troub...
davem.sh
(2025-08-31) # # /etc/profile.d/davem.sh # # Bash Customizations I like because I'm picky # from dave@xdroop.com # # I do it this way because when I'm working with a system I tend to end up # either using 'root' or some service account and I want my custo...
Fortiguard Communication
(2025-09-04) Current authoritative vendor guide is here: https://community.fortinet.com/t5/FortiGate/Troubleshooting-Tip-Unable-to-connect-to-FortiGuard-servers/ta-p/226149 Test DNS lookup and basic connectivity: execute ping service.fortiguard.net execute pin...
TCP Global Parameters
(2025-10-28) Show Windows TCP Parameters: C:\Windows\System32>netsh int tcp sho glo Querying active state... TCP Global Parameters ---------------------------------------------- Receive-Side Scaling State : enabled Receive Window Auto-Tuning Level ...
Netstat
(2025-10-28) Show netstat counters -- including discards, which can be very interesting C:\Windows\System32>netstat -e Interface Statistics Received Sent Bytes 3991197869 3681541088 Unicast packet...
Commands
VPN information show vpn-sessiondb l2l show crypto isakmp sa show crypto ipsec sa Diagnostics mode -- ie ASA cli system support diagnostic-cli Cpature traffic capture MYCAP interface outside match ip host 1.2.3.4 host 5.6.7.8 show capture MYCAP capture MYCAP...
Port-Group
(2025-11-03) Physical ports are collected into groups called port-groups. All ports in a port-group operate at the same speed. In the example below, note that port-groups 1/1/7 through 1/1/10 only have a single port in their group. # show port-group SwitchC-Mg...
Using SNMP to trigger a configuration copy
(2025-11-27) MIB: https://mibs.observium.org/mib/CISCO-CONFIG-COPY-MIB/ (just in case I find the copious spare time to figure out how this works)
CLI Fetch Firewall Configurations
(2025-12-16) diag test deploymanager reloadconf <oid> You can get all the firewalls information in a fortimanager like this: diag dvm device list ...this will include the device oid.
Packet Capture
(2026-01-26) v7.2.10 Creating the capture profile config system sniffer-profile edit <profile_name> set filter {<string> | none} set max-pkt-count <1-maximum> set max-pkt-len <64-1534> set switch-interface <switch_interface_...