Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
how to run a script to detect a specific port activity on the network and trigger an URL action ?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2021-01-14
08:44 AM
2021-01-14
08:44 AM
how to run a script to detect a specific port activity on the network and trigger an URL action ?
Dear
I would like to run a scrit like hereunder on the router :
#!/bin/sh
while true;
do tcpdump -i br0 -n -c 1 'src host 192.168.xx.xx and dst port 443'; curl -k 'https://jeedom.viewdns.net/core/api/jeeApi.php?apikey=xxxxxxxxxxxxxxx&type=cmd&id=xxxx'; sleep 140;
done
Basically I want to detect a specific activity on the network (tcpdump) and trigger an action (curl) if this activity is detected. It looks that some routers can do this, is there a way to achieve this with Orbi ?
Thanks for your support.
John
Model: RBR20|Orbi AC2200 Tri-band WiFi Router
Message 1 of 1
Announcements
• What is the difference between WiFi 6 and WiFi 7?
• Yes! WiFi 7 is backwards compatible with other Wifi devices? Learn more