{"batchcomplete":"","continue":{"lecontinue":"20180611212405|1683","continue":"-||"},"query":{"logevents":[{"logid":1693,"ns":0,"title":"Nftables","pageid":258,"logpage":258,"revid":1868,"params":{},"type":"create","action":"create","user":"Scott","timestamp":"2026-07-02T22:49:24Z","comment":"Created page with \"= nftables Cheat Sheet =  Config: <code>/etc/nftables.conf</code> \u00b7 table <code>inet filter</code> \u00b7 chains <code>input</code> / <code>forward</code> / <code>output</code>  Input policy is '''drop'''; SSH allowed only from <code>$ssh_nets_v4</code>.  Out-of-band rescue: IPMI/BMC console (H5Viewer or Serial-over-LAN).  == Everyday commands ==  <syntaxhighlight lang=\"bash\"> # Syntax-check the config WITHOUT applying (always do this first) sudo nft -c -f /etc/nftables.con...\""},{"logid":1692,"ns":0,"title":"Fail2ban","pageid":257,"logpage":257,"revid":1867,"params":{},"type":"create","action":"create","user":"Scott","timestamp":"2026-07-02T22:48:10Z","comment":"Created page with \"= fail2ban Cheat Sheet =  Config: <code>/etc/fail2ban/jail.local</code> (jails) \u00b7 <code>/etc/fail2ban/fail2ban.local</code> (daemon)  Backend: '''systemd journal''' (not log files) \u00b7 Ban action: '''nftables'''  Jail: <code>sshd</code> \u00b7 maxretry 4 \u00b7 findtime 10m \u00b7 bantime 1h  Bans trigger on '''auth failures''', not connection counts.  == Status & inspection ==  <syntaxhighlight lang=\"bash\"> # Daemon alive? sudo systemctl status fail2ban sudo fail2ban-client ping...\""},{"logid":1691,"ns":0,"title":"Firewall config 2026","pageid":256,"logpage":256,"revid":1864,"params":{},"type":"create","action":"create","user":"Scott","timestamp":"2026-07-02T22:31:45Z","comment":"Created page with \"# fail2ban Cheat Sheet  Config: `/etc/fail2ban/jail.local` (jails) \u00b7 `/etc/fail2ban/fail2ban.local` (daemon) Backend: **systemd journal** (not log files) \u00b7 Ban action: **nftables** Jail: `sshd` \u00b7 maxretry 4 \u00b7 findtime 10m \u00b7 bantime 1h Bans trigger on **auth failures**, not connection counts.  ---  ## Status & inspection  ```bash # Daemon alive? sudo systemctl status fail2ban sudo fail2ban-client ping                 # should answer \"pong\"  # Which jails are running?...\""},{"logid":1690,"ns":0,"title":"Openclaw","pageid":255,"logpage":255,"revid":1857,"params":{},"type":"create","action":"create","user":"Scott","timestamp":"2026-04-15T19:34:38Z","comment":"Created page with \"== Managing Models == current models: * openai-codex/gpt-5.4 * anthropic/claude-opus-4-6  switch model:  <pre> openclaw config set agents.defaults.model.primary openai-codex/gpt-5.4 openclaw config set agents.defaults.heartbeat.model openai-codex/gpt-5.4 openclaw gateway restart </pre> <pre> openclaw config set agents.defaults.model.primary anthropic/claude-opus-4-6 openclaw config set agents.defaults.heartbeat.model anthropic/claude-sonnet-4-6 openclaw gateway restart <...\""},{"logid":1689,"ns":0,"title":"Python Cryptography Tools","pageid":254,"logpage":254,"revid":1819,"params":{},"type":"create","action":"create","user":"Scott","timestamp":"2024-02-08T23:17:57Z","comment":"Created page with \"== Encoding == Integers can be '''encoded''' as either binary, decimal, hexadecimal, or Base64 (among others). <pre> >>> bin(95616) '0b10111010110000000' >>> hex(95616) '0x17580' >>> import base64 >>> base64.b64encode(95616) ... TypeError: a bytes-like object is required, not 'int' </pre>\""},{"logid":1688,"ns":0,"title":"Cowboy cookies","pageid":253,"logpage":253,"revid":1794,"params":{},"type":"create","action":"create","user":"Scott","timestamp":"2021-04-14T17:45:55Z","comment":"Created page with \"== Ingredients == * 1.5 cups flour * 1 tsp baking soda * 1 tsp salt * 1 cup (two sticks, or 8oz) butter * 3/4 cup brown sugar * 3/4 cup white sugar * 2 eggs * 2 tsp vanilla *...\""},{"logid":1687,"ns":0,"title":"How to set up a VPS","pageid":157,"logpage":157,"params":{"curid":1691,"previd":1690,"auto":""},"type":"patrol","action":"autopatrol","user":"Scott","timestamp":"2018-08-21T18:48:42Z","comment":""},{"logid":1686,"ns":0,"title":"How to set up a VPS","pageid":157,"logpage":157,"params":{"curid":1690,"previd":1689,"auto":""},"type":"patrol","action":"autopatrol","user":"Scott","timestamp":"2018-08-21T18:47:11Z","comment":""},{"logid":1685,"ns":0,"title":"How to set up a VPS","pageid":157,"logpage":157,"params":{"curid":1689,"previd":1560,"auto":""},"type":"patrol","action":"autopatrol","user":"Scott","timestamp":"2018-08-21T17:37:29Z","comment":""},{"logid":1684,"ns":0,"title":"Mysql","pageid":128,"logpage":128,"params":{"curid":1688,"previd":1670,"auto":""},"type":"patrol","action":"autopatrol","user":"Scott","timestamp":"2018-07-05T17:35:47Z","comment":""}]}}