A ruby script to generate the boilerplate for a dual-stack VyOS zone based firewall.
Zones:
- PRIVATE: contains the LAN and WAN modem admin interface
- PUBLIC: The Internet - contains the PPPoE interface
| Name | Ensemble Area | EID | |
|---|---|---|---|
| Aberdeen | Aberdeen | C19A | |
| Ayr | Ayr | C19B | |
| BBC National DAB | UK | CE15 | |
| Berks & N Hants | Berks & N Hants | C1AD | |
| Birmingham | Birmingham | C183 | |
| Bournemouth | Bournemouth | C19D | |
| Bradfrd&Huddersf | Bradford and Huddersfield | C1A0 | |
| Bristol | Bristol | C18C | |
| Cambridge | Cambridge | C1AF |
| #!/usr/bin/env ruby | |
| # | |
| # A little script to read Radioplayer Service Information XML files from a directory and | |
| # write one per row to a CSV file | |
| # | |
| # Input: radioplayer/*.xml | |
| # Output: radioplayer_services.csv | |
| # | |
| require 'csv' |
| #!/usr/bin/env ruby | |
| # | |
| # Script to normalise an audio file's loudness using ffmpeg | |
| # | |
| # Usage: normalise-loudness.rb <input.wav> <output.wav> | |
| # | |
| # License: https://unlicense.org/ | |
| # | |
| # Requires the 'json' ruby gem: | |
| # |
| v=0 | |
| o=- 1558990217032832 0 IN IP4 10.108.65.172 | |
| s=AES67-stream (on hasseb-AoE-87-AA) streamed by "hasseb" | |
| t=0 0 | |
| a=clock-domain:PTPv2 0 | |
| a=recvonly | |
| m=audio 5004 RTP/AVP 98 | |
| c=IN IP4 239.7.76.49/255 | |
| a=rtpmap:98 L24/48000/2 | |
| a=sync-time:0 |
| Scheme name: | |
| amss | |
| Status: | |
| Provisional | |
| Applications/protocols that use this scheme name: | |
| RadioDNS bearer URI for AM Signalling System (AMSS) | |
| Contact: |
| apt remove --purge wireless-tools wpasupplicant wireless-regdb hostapd hostap-utils iw | |
| apt remove --purge nocatsplash ebtables rpcbind | |
| apt remove --purge libglib1.2ldbl libiw30 libtirpc1 pcmciautils | |
| apt remove --purge libnl-3-200 libnl-genl-3-200 libnl-route-3-200 | |
| apt install ppp pppoe iproute | |
| apt install mtr-tiny |
| # | |
| # Automatically generated file; DO NOT EDIT. | |
| # Linux/x86 4.19.12 Kernel Configuration | |
| # | |
| # | |
| # Compiler: gcc-4.9.real (Debian 4.9.2-10+deb8u2) 4.9.2 | |
| # | |
| CONFIG_CC_IS_GCC=y | |
| CONFIG_GCC_VERSION=40902 |
| #!/bin/bash | |
| if [ ! -f "Makefile" ]; then | |
| echo "Makefile missing, This script needs to be executed inside the vyos-kernel package directory" | |
| exit 1 | |
| fi | |
| if grep -Fxq "KBUILD_OUTPUT" Makefile; then | |
| echo "Wrong Makefile?, This script needs to be executed inside the vyos-kernel package directory" | |
| exit 1 | |
| fi |