%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /backups/router/usr/local/opnsense/service/conf/actions.d/
Upload File :
Create Path :
Current File : //backups/router/usr/local/opnsense/service/conf/actions.d/actions_interface.conf

[reconfigure]
command:/usr/local/etc/rc.configure_interface
parameters:%s
type:script
message:Configuring interface %s
description:Periodic interface reset

[address]
command:/usr/local/sbin/pluginctl -46
parameters:%s
type:script_output
message:Reading primary IP addresses of %s

[newip]
command:/usr/local/etc/rc.newwanip
parameters:%s %s
type:script
message:New IPv4 on %s %s

[newipv6]
command:/usr/local/etc/rc.newwanipv6
parameters:%s %s
type:script
message:New IPv6 on %s %s

[linkup.start]
command:/usr/local/etc/rc.linkup
parameters:start %s
type:script
message:Linkup starting %s

[linkup.stop]
command:/usr/local/etc/rc.linkup
parameters:stop %s
type:script
message:Linkup stopping %s

[carp]
command:/usr/local/etc/rc.syshook carp
parameters:%s %s
type:script
message:Carp event on subsystem %s for type %s

[carp_set_status]
command:/usr/local/opnsense/scripts/interfaces/carp_set_status.php
parameters:%s
type:script_output
message:Carp set status %s

[update.carp.service_status]
command:/usr/local/sbin/carp_service_status
parameters:
type:script
message:update carp service status

[invoke.registration]
command:/usr/local/sbin/pluginctl -i
parameters:
type:script
message:invoke dynamic interface registration

[list.arp]
command:/usr/local/opnsense/scripts/interfaces/list_arp.py
parameters:%s %s
type:script_output
cache_ttl:30
message:request arp table

[remove.arp]
command:/usr/sbin/arp -d
parameters:%s 2> /dev/null; exit 0
type:script
message:remove arp entry for %s

[flush.arp]
command:arp -da
parameters:
type:script_output
message:flush arp table

[list.ndp]
command:/usr/local/opnsense/scripts/interfaces/list_ndp.py
parameters: %s
type:script_output
cache_ttl:30
message:request ndp table

[list.macdb]
command:/usr/local/opnsense/scripts/interfaces/list_macdb.py
parameters:
type:script_output
message:request mac table

[list.ifconfig]
command:/usr/local/sbin/pluginctl -D
parameters: %s
type:script_output
message:request ifconfig

[list.stats]
command:/usr/local/sbin/pluginctl -I
parameters: %s
type:script_output
message:request interface stats

[show.traffic]
command:/usr/local/opnsense/scripts/interfaces/traffic_stats.php
parameters:
type:script_output
message:request traffic stats

[stream.traffic]
command:/usr/local/opnsense/scripts/interfaces/traffic_stats.php
parameters:%s
type:stream_output
message:stream traffic stats

[show.top]
command:/usr/local/opnsense/scripts/interfaces/traffic_top.py
parameters: --interfaces %s
type:script_output
message:request traffic top hosts

[routes.list]
command:/usr/local/opnsense/scripts/routes/show_routes.py
parameters:%s %s
type:script_output
message:show system routing table

[routes.configure]
command:/usr/local/etc/rc.routing_configure
parameters:
type:script
message:reconfiguring routing

[routes.alarm]
command:/usr/local/bin/flock -n -E 0 -o /tmp/filter_reload_gateway.lock /usr/local/etc/rc.routing_configure alarm
parameters:
type:script
message:reconfiguring routing due to gateway alarm
description:Manual gateway switch

[route.del]
command: /usr/local/opnsense/scripts/routes/del_route.py
parameters: --destination %s --gateway %s
message: Remove route %s %s
type: script_output

[gateways.list]
command:/usr/local/opnsense/scripts/routes/gateways.php
parameters: %s
type:script_output
message:list gateways
cache_ttl:20

[gateways.status]
command:/usr/local/opnsense/scripts/routes/gateway_status.php
type:script_output
message:list gateway status

[vxlan.configure]
command: /usr/local/sbin/pluginctl -c vxlan
message: Reconfiguring VXLAN
type: script

[vlan.configure]
command: /usr/local/opnsense/scripts/interfaces/reconfigure_vlans.php
message: Reconfiguring vlan
type: script

[lagg.configure]
command: /usr/local/opnsense/scripts/interfaces/reconfigure_laggs.php
message: Reconfiguring laggs
type: script

[gif.configure]
command: /usr/local/opnsense/scripts/interfaces/reconfigure_gifs.php
message: Reconfiguring gif interfaces
type: script

[gre.configure]
command: /usr/local/opnsense/scripts/interfaces/reconfigure_gres.php
message: Reconfiguring gre interfaces
type: script

[loopback.configure]
command: /usr/local/sbin/pluginctl -c loopback
message: Reconfiguring loopbacks
type: script

[vip.configure]
command: /usr/local/opnsense/scripts/interfaces/reconfigure_vips.php
message: Reconfiguring Virtual IPs
type: script

[neighbor.configure]
command: /usr/local/opnsense/scripts/interfaces/reconfigure_neighbors.php
message: Reconfiguring Neighbors ARP/NDP
type: script

[pfsync.configure]
command: /usr/local/sbin/pluginctl -c pfsync
message: Reconfiguring pfsync configuration
type: script

[show.carp]
command:/usr/local/opnsense/scripts/interfaces/carp_global_status.php
parameters:
type:script_output
message:request global carp status

[show.protocol]
command:/usr/bin/netstat -s --libxo json
parameters:
type:script_output
message:request system-wide statistics for each network protocol

[show.interfaces]
command:/usr/bin/netstat -i -n -W -b -d --libxo json
parameters:
type:script_output
message:request network interface state

[show.sockets]
command:/usr/bin/netstat -a -n -W -R -x --libxo json
parameters:
type:script_output
message:request network socket stats

[dump.sockstat]
command:/usr/local/opnsense/scripts/interfaces/list_sockstat.py
parameters:
type:script_output
message:dump sockstat

[show.memory]
command:/usr/bin/netstat -m --libxo json
parameters:
type:script_output
message:Show statistics recorded by the memory management routines

[show.bpf]
command:/usr/bin/netstat -B --libxo json
parameters:
type:script_output
message:Show bpf(4) peers statistics

[show.netisr]
command:/usr/bin/netstat -Q --libxo json
parameters:
type:script_output
message:Show netisr(9) statistics

[capture.list]
command:/usr/local/opnsense/scripts/interfaces/capture.py list
parameters:
type:script_output
message:Show current captures

[capture.start]
command:/usr/local/opnsense/scripts/interfaces/capture.py
parameters: --job %s start
type:script_output
message:Start capture jobid %s

[capture.stop]
command:/usr/local/opnsense/scripts/interfaces/capture.py
parameters: --job %s stop
type:script_output
message:Stop capture jobid %s

[capture.remove]
command:/usr/local/opnsense/scripts/interfaces/capture.py
parameters: --job %s remove
type:script_output
message:Remove capture jobid %s

[capture.view]
command:/usr/local/opnsense/scripts/interfaces/capture.py
parameters: --job %s --detail %s view
type:script_output
message:View capture jobid %s (%s)

[capture.archive]
command:/usr/local/opnsense/scripts/interfaces/capture.py
parameters: --job %s archive
type:script_output
message:Create archive for capture jobid %s (%s)

[capture.macinfo]
command:/usr/local/opnsense/scripts/interfaces/macinfo.py
parameters: %s
type:script_output
message:fetch mac info for %s

[ping.list]
command:/usr/local/opnsense/scripts/interfaces/ping.py list
parameters:
type:script_output
message:Show current ping jobs

[ping.start]
command:/usr/local/opnsense/scripts/interfaces/ping.py
parameters: --job %s start
type:script_output
message:Start ping jobid %s

[ping.stop]
command:/usr/local/opnsense/scripts/interfaces/ping.py
parameters: --job %s stop
type:script_output
message:Stop ping jobid %s

[ping.remove]
command:/usr/local/opnsense/scripts/interfaces/ping.py
parameters: --job %s remove
type:script_output
message:Remove ping jobid %s

[ping.view]
command:/usr/local/opnsense/scripts/interfaces/ping.py
parameters: --job %s --detail %s view
type:script_output
message:View ping jobid %s (%s)

[traceroute]
command:/usr/local/opnsense/scripts/interfaces/traceroute.py
parameters: --domain %s --ipproto %s --source_address %s --protocol %s
type:script_output
message: traceroute %s

[portprobe]
command:/usr/local/opnsense/scripts/interfaces/portprobe.py
parameters: --hostname %s --port %s --ipproto %s --source_address %s --source_port %s --showtext %s
type:script_output
message: portprobe %s %s

Zerion Mini Shell 1.0