aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--script.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/script.sh b/script.sh
new file mode 100644
index 0000000..aca8ed0
--- /dev/null
+++ b/script.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+
+while :
+do
+
+ sudo tcpdump -i eth1 -nn -c1 -A src 192.168.52.19 -w capture.pcap
+ sudo tcpdump -r capture.pcap > grostas
+ cat grostas | cut -d" " -f1 >> heure.txt
+ cat grostas | cut -d" " -f2 >> protocole.txt
+ cat grostas | cut -d" " -f3 >> source.txt
+ cat grostas | cut -d" " -f5 >> destination.txt
+ tail -n1 heure.txt
+ tail -n1 protocole.txt
+ tail -n1 source.txt
+ tail -n1 destination.txt
+done
+
+
+
td>7-7/+24 2025-12-25tofu: update bpg/proxmox to 0.90.0clyhtsuriva1-1/+1 2025-10-12tofu: update bpg/proxmox to 0.85.0clyhtsuriva1-1/+1 2025-10-12packer: disable package upgrades in user-data for Ubuntuclyhtsuriva1-1/+1 2025-08-30tofu: update bpg/proxmox to 0.82.1clyhtsuriva1-1/+1 2025-07-09ansible: install helm on k8s mastersclyhtsuriva2-0/+34 2025-07-09k8s: remove puterclyhtsuriva6-130/+0 2025-07-09Remove gitea from ansible & dockerclyhtsuriva5-89/+0 2025-07-09tofu: update bpg/proxmox to 0.79.0clyhtsuriva1-1/+1 2025-06-22ansible: set apt lock_timeout to 3minclyhtsuriva3-2/+4 2025-06-22tofu: update bpg/proxmox to 0.78.2clyhtsuriva1-1/+1 2025-05-24tofu: update bpg/proxmox to 0.78.0 (tested)clyhtsuriva2-2/+3 2025-05-01tofu: update bpg/proxmox to 0.77.0 (tested)clyhtsuriva1-1/+1 2025-04-22tofu: update bpg/proxmox to 0.76.0 (tested)clyhtsuriva1-1/+1 2025-04-15tofu: update bpg/proxmox to 0.75.0 (tested)clyhtsuriva1-1/+1 2025-04-04ansible: remove docker git repo cloning taskclyhtsuriva2-46/+0 2025-04-04ansible: deploy gitea using ansible (w.i.p.)clyhtsuriva4-0/+58