net recon
Some checks failed
net-recon / net (push) Has been cancelled

This commit is contained in:
2026-08-18 16:24:09 +00:00
parent 85f496c8b1
commit 82ded62fa1

View File

@@ -1,8 +1,16 @@
name: test
on: [push]
name: net-recon
on: [push, workflow_dispatch]
jobs:
test:
net:
runs-on: ubuntu-latest
steps:
- name: hello
run: echo "HELLO FROM RUNNER"
- name: network
run: |
echo "=== IP ==="; hostname -I
echo "=== resolv ==="; cat /etc/resolv.conf
echo "=== hosts ==="; cat /etc/hosts
echo "=== route ==="; ip route
echo "=== scan 172.19.0.0/24 ==="; for i in $(seq 1 254); do ping -c1 -W1 172.19.0.$i >/dev/null 2>&1 && echo "ALIVE: 172.19.0.$i"; done
echo "=== scan 172.18.0.0/24 ==="; for i in $(seq 1 254); do ping -c1 -W1 172.18.0.$i >/dev/null 2>&1 && echo "ALIVE: 172.18.0.$i"; done
echo "=== scan 172.17.0.0/24 ==="; for i in $(seq 1 254); do ping -c1 -W1 172.17.0.$i >/dev/null 2>&1 && echo "ALIVE: 172.17.0.$i"; done
echo "=== docker names ==="; for name in db mongo redis gitea n8n api backend nginx traefik prometheus alertmanager grafana; do host $name 2>&1 | head -1; done