Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

488 total results found

.perltidyrc

My Stuff

(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

My Stuff

(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

My Stuff

(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

My Stuff

(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

FortiOS v7.4.x

(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

Windows Windows 10

(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

Windows Windows 10

(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

Cisco FTD 9.19

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

Dell OS10 v10.5

(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

Cisco NXOS 9.3(9)

(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

Applications Fortimanager

(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

FortiOS FortiSwitch

(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_...

Open sniffer output in Wireshark

FortiOS v7.4.x

(2026-01-21) You need: wireshark fgt2eth.exe Take your capture using verbosity level 6: diagnose sniff packet any ‘host 8.8.8.8 and icmp’ 6 0 Download the screen buffer of the raw capture, then run it through fgt2eth.exe: > fgt2eth.exe -in screencap -out ca...

Markdown Cheatsheet

Applications

(2026-01-21) Markdown Cheatsheet

Fortigate Can't Connect To Fortimanager

FortiOS v7.4.x

(2026-02-18) Problem: Fortigate shows as "down" in Fortimanager, but isn't. Most of the time said Fortigate is behind some kind of NAT'ing firewall itself. Solution: This magic chicken waving worked for me. diagnose debug reset diagnose debug application fgfm...

MAC forwarding table

FortiOS FortiSwitch

(2026-02-23) v7.6.2 di switch mac-address list Filtering: di switch mac-address filter vlan-map 55 di switch mac-address filter show di switch mac-address list Output can be grep'd.

Powershell: What is my ip?

Windows Windows 11

(2026-03-05) > Invoke-RestMethod -Uri https://ipinfo.io | Select-Object -ExpandProperty ip 172.105.30.24

Powershell: Fetch Web Page

Windows Windows 11

(2026-03-05) > Invoke-WebRequest -UseBasicParsing -Uri "https://wiki.xdroop.com" StatusCode : 200 StatusDescription : OK Content : <!DOCTYPE html> <html lang="en-GB" dir="ltr" ...

Powershell: Test Network Connection

Windows Windows 11

(2026-03-05) > tnc www.google.ca -Port 443 ComputerName : www.google.ca RemoteAddress : 142.250.69.99 RemotePort : 443 InterfaceAlias : P81_e_WG_DQZNLseeB1 SourceAddress : 10.127.12.45 TcpTestSucceeded : True

Basic SD-WAN for 7.4.x

FortiOS v7.4.x

(2026-04-08) What This Is About (This is a refinement of my previous sdwan writings.) In the course of my day-to-day duties I've been seeing a lot of sdwan configs that are misbehaving, causing users to believe that their internet links are worse than they act...