Commit Graph

422 Commits

Author SHA1 Message Date
oxapentane - 46f3c8cf66
dvb-api: cross origin 2022-09-15 21:05:59 +02:00
oxapentane - d0d834f643
move pub files to /var/lib/pub-files 2022-09-15 19:46:05 +02:00
oxapentane - 0883ba78cf
update dump-csv service 2022-09-15 19:30:38 +02:00
oxapentane - 50351f1c68
add chemnitz mobile box 2022-09-15 19:04:52 +02:00
Tassilo - e007da7184
add nginx for data-accumulator 2022-09-14 22:53:45 +02:00
oxapentane - 728dce2876
move disk-module to dump-dvb.nix 2022-09-10 15:50:09 +02:00
Tassilo - 7ce3ce624e
getting tracy ready 2022-09-08 19:14:39 +02:00
Tassilo - a29b721fcc
fixed graph json location 2022-09-07 23:15:45 +02:00
Tassilo - beda761327
fixed endpoint in nginx 2022-09-07 22:51:18 +02:00
Tassilo - 6ceaef6b09
fixed directory name 2022-09-07 22:30:57 +02:00
Tassilo - 5e4fa14b1f
nginx endpoints 2022-09-07 22:13:52 +02:00
Tassilo - 64441acb75
removed postgres setup command 2022-09-07 20:16:20 +02:00
Tassilo - 4619b92fe0
add nixos options docs 2022-09-04 15:06:02 +02:00
Markus Schmidl ebc0b3be6c fix grafana database user 2022-09-04 00:53:10 +02:00
Tassilo - abcf90e433
using nice options docs 2022-09-03 22:14:43 +02:00
oxapentane - ef8d6d8bf1
csv-dump: remove temp file explicitly 2022-09-03 21:24:01 +02:00
Markus Schmidl ff8b2650bc use diesel for database migrations 2022-09-03 21:01:23 +02:00
Tassilo - d104792061
updating options 2022-09-03 00:25:10 +02:00
oxapentane - dcd3ff4931
change motd 2022-08-30 22:06:45 +02:00
Tassilo - e5e29f78ac
updating dump-dvb.nix 2022-08-30 21:18:56 +02:00
oxapentane - 59df08a5e8
install debugging tools by default 2022-08-30 19:39:44 +02:00
oxapentane - 1fb49e2b8b
nixpkgs-fmt 2022-08-24 18:48:33 +02:00
oxapentane - d073065f25
fix naming 2022-08-24 18:47:03 +02:00
Tassilo - bfac698865
configuration of mobile-box 2022-08-23 20:04:06 +02:00
oxapentane - 78874ef6cf
add networking tools 2022-08-22 23:34:36 +02:00
oxapentane - 3e8d2f6067
rework traffic-stop-box system generator, add new rpi3 station 2022-08-22 18:51:00 +02:00
oxapentane - 0ea00c4aa0
wireguard server is non-reusable config, move to hosts 2022-08-22 17:17:58 +02:00
Markus Schmidl f8d1b4a764 do not copy /nix/store/.links 2022-08-21 13:46:18 +02:00
Markus Schmidl 3de81e5f4a add make-disk-module.nix from nixpkgs 2022-08-21 13:40:11 +02:00
Markus Schmidl ae0b7cb444 nix config cleanup 2022-08-20 22:41:19 +02:00
oxapentane - 69d810d2a2
update csv file option 2022-08-20 15:54:29 +02:00
Tassilo - 91968ff314
setup creating script for raw_telegram table 2022-08-20 14:43:08 +02:00
Tassilo - 0f700b5c60
set offline flag to true for mobile box 2022-08-18 14:41:35 +02:00
Tassilo - 42ec654fb9
mobile box now sets offline for data-accumulator 2022-08-17 20:09:30 +02:00
oxapentane - 3989ea65db
open firewall port for the wartrammer 2022-08-17 17:44:37 +02:00
oxapentane - 4adffbed30
make csv-dump result world-readable 2022-08-08 02:11:36 +02:00
oxapentane - 9a27c1d817
dump telegrams to csv hourly 2022-08-08 02:03:17 +02:00
Tassilo - 3318da2fa8
adding location for graph.json 2022-07-28 22:50:35 +02:00
Tassilo - aa5100de52
trying to fix nginx paths 2022-07-28 22:49:00 +02:00
Tassilo - d2b6d19e72
add autoindex for testing 2022-07-28 22:36:56 +02:00
Tassilo - 3c4131c795
moved options 2022-07-28 22:32:08 +02:00
Tassilo - 897e716693
add config for serving stops.json 2022-07-28 21:11:34 +02:00
Markus Schmidl 475af0c4b6 traffic-stop-box-1: update config 2022-07-27 19:07:46 +02:00
Markus Schmidl c09d48e12b traffic-stop-box-{0,1,2}: put token into secrets 2022-07-26 15:16:44 +02:00
Markus Schmidl e345e84e27 update IF of barkhausenbau radio station 2022-07-25 20:09:32 +02:00
Markus Schmidl a2e693bfb6 add rf, if and bb config to traffic-stop-boxes 2022-07-21 18:32:01 +02:00
Markus Schmidl 986535c23f data-hoarder: add api. to nginx 2022-07-19 16:06:40 +02:00
Markus Schmidl 3dc6324e16 data-hoarder: use initialScript for postgres. add readonly grafana user for telegrams 2022-07-18 21:38:23 +02:00
oxapentane - ed20f38c7f
update motd 2022-07-13 22:56:38 +02:00
Tassilo - 9f0828e43f
fixed settings 2022-07-13 21:24:00 +02:00
oxapentane - cfcadbc494
add click, clicky-bunty frontend 2022-07-13 19:50:19 +02:00
oxapentane - 32ee1e709e
make clicky-bunty and data-accumulator wait for postgres 2022-07-13 18:19:46 +02:00
oxapentane - e6aca4492b
fix clicky-bunti port 2022-07-13 17:01:38 +02:00
oxapentane - 36e7908773
remove dead code 2022-07-11 13:57:07 +02:00
oxapentane - 216406fd18
move telegram-decoder config to nix store 2022-07-11 13:53:55 +02:00
oxapentane - 2a544e20d6
set authTokenFile explicitly 2022-07-10 23:23:11 +02:00
oxapentane - dd0f6ff5d3
remove testing password 2022-07-10 22:49:29 +02:00
oxapentane - 6f490a4161
also you need an api service, as we found out 2022-07-10 22:29:10 +02:00
oxapentane - ec8f9b3061
you actually need postegres aparently 2022-07-10 22:15:50 +02:00
oxapentane - d0faa8923a
Merge branch 'another-refactor' 2022-07-10 22:06:36 +02:00
oxapentane - b5dccc02be
YOLO, lOL 2022-07-10 21:55:04 +02:00
oxapentane - dab0cec2a0
new trafic-stop-box config format for zw and mobile 2022-07-10 20:34:06 +02:00
oxapentane - 96aa02baca
rollover clicky-bunty and data-accumulator to dump-dvb.nix 2022-07-10 15:32:55 +02:00
Tassilo - b2e3a8f018
add owner to table r09_telegrams 2022-07-09 23:24:04 +02:00
Tassilo - 58913d2235 Merge branch 'master' of github.com:dump-dvb/traffic-stop-box 2022-07-09 23:23:29 +02:00
Tassilo - 6322758b56
add owner to table r09_telegrams 2022-07-09 23:23:18 +02:00
Tassilo - cba92c5d30
different user creates database 2022-07-09 23:12:10 +02:00
Tassilo - 93e4f0bf05
changed type of database 2022-07-09 22:15:00 +02:00
Tassilo - a999d14ea8
unit for creating the table 2022-07-09 19:26:35 +02:00
oxapentane - a08d4f0a20
move funnel to dump-dvb.nix 2022-07-09 19:10:09 +02:00
Tassilo - d0a4b862bc
env variables 2022-07-09 18:55:28 +02:00
Markus Schmidl e238f28ea8 data-hoarder: add wireguard-client marenz 2022-07-09 17:34:57 +02:00
Tassilo - 7107a79365
changed to correct password 2022-07-09 17:03:28 +02:00
Tassilo - 8acc3f865f
add env variable 2022-07-09 16:41:49 +02:00
oxapentane - ca17247ffc
move ssh options to base, json file to dump-dvb.nix 2022-07-08 17:59:38 +02:00
oxapentane - d2d6be6cf5
use new options 2022-07-07 15:57:15 +02:00
oxapentane - 0d9a9cc3b3
start yeeting out stuff from data-hoarder 2022-07-07 15:55:50 +02:00
oxapentane - 7b2ce3e674
YOLO, LOL 2022-07-06 21:30:00 +02:00
oxapentane - d66c37dff8
influx: yeet 2022-07-06 21:05:40 +02:00
oxapentane - 3a53450a27
ssh.nix: fix input 2022-07-06 21:05:37 +02:00
oxapentane - 4d2f54371f
options for binary cache and ssh 2022-07-06 21:05:33 +02:00
Tassilo - c6be041220
consistent port numbers 2022-07-02 00:31:56 +02:00
Tassilo - d5be85351e Merge branch 'master' of github.com:dump-dvb/traffic-stop-box 2022-07-02 00:22:01 +02:00
Tassilo - f4d0d808f2
changed port of funnel 2022-07-02 00:21:55 +02:00
oxapentane - 62b9aa6cbd
Remove dead code (#10)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2022-06-27 20:59:16 +02:00
oxapentane - fba2235af3
dos2unix. CLRF is not your friend 2022-06-27 19:38:16 +02:00
Tassilo - 4130f8b950
fixed typo 2022-06-26 00:25:20 +02:00
Tassilo - 49d039b288
split dvb api into two seperate services 2022-06-26 00:01:56 +02:00
Tassilo - da3fba5042
fixed servers 2022-06-14 13:52:53 +02:00
Tassilo - 788181e15e
add port to server 2022-06-14 13:40:36 +02:00
Markus Schmidl b85926a2df add home for gnuradio 2022-06-13 13:05:06 +02:00
oxapentane - 3562fbe7d2
remove mobile-box-rpi4 image from hydra 2022-06-12 21:40:40 +02:00
oxapentane - 37da0317cc
rename services.dump-dvb -> dump-dvb.services
Now all the config options are attrset dump-dvb
2022-06-12 18:33:22 +02:00
Tassilo - 17ebc20a2b
set group read permission 2022-06-11 01:58:50 +02:00
Tassilo - 3f9e49dfef
set as main group 2022-06-11 01:53:34 +02:00
Tassilo - 0a18702dc3
removed owner for sec 2022-06-11 01:42:35 +02:00
Tassilo - 9a3bf8a568
group owned postgres password 2022-06-11 01:37:41 +02:00
Tassilo - 756e8e8f7e
new env variables for data-accumulator 2022-06-11 01:19:12 +02:00
oxapentane - 280dc15420
refactor gnuradio and telegram-decoder options (#9)
Create user-stop-box for dell wyse, first steps to rpi4 image.

Refactor parameters passed to gnuradio and telegram-decoder into proper
options, make configs stateful (so users can edit them). Rearrage files
a bit.
2022-06-09 20:11:05 +02:00
oxapentane - 5f9a992ee7
add user-deliverable traffic-stop-box image 2022-06-08 22:15:02 +02:00
Tassilo - ee66544d7d
fixed env var for clicky-bunty 2022-06-07 20:30:41 +02:00
Markus Schmidl b596df77d9 shrink size of vim and locales 2022-06-06 19:46:15 +02:00
Markus Schmidl 550f9d0f78 fix mobile box 2022-06-05 14:29:39 +02:00
Markus Schmidl f105fb5b05 fix mobile box 2022-06-05 14:26:38 +02:00
Markus Schmidl 06fc516174
nix flake update 2022-06-05 12:51:46 +02:00
Markus Schmidl c96275bd9e update gnuradio 2022-06-05 03:36:24 +02:00
Markus Schmidl 57dbd6ab23 nix flake update and update radio-conf 2022-06-05 03:33:27 +02:00
oxapentane - 4bbd7657cf
website: fix TLD in redirect 2022-06-04 19:28:54 +02:00
oxapentane - 214f7247e1
dump-csv: only dump past hour of telegrams 2022-06-02 18:05:56 +02:00
Tassilo - 9bae5d2210
fixed typo 2022-06-01 19:11:50 +02:00
Tassilo - a9e43b43d1
enable ssl 2022-06-01 18:59:16 +02:00
Tassilo - 646ec8dd8e
flake update 2022-06-01 15:43:54 +02:00
Tassilo - 67829bdc8e
new version of clicky-bunty 2022-05-31 22:06:04 +02:00
Tassilo - c804f16034
removed key wg-seckey-staging 2022-05-31 21:38:51 +02:00
Tassilo - b3c37b6f71
moved staging keys into seperate file 2022-05-31 21:29:48 +02:00
Tassilo - d6451b9385
fixed env variables for clicky-bunty 2022-05-31 21:12:42 +02:00
Tassilo - 1a22e2a62a
changed permissions in sops 2022-05-31 19:31:57 +02:00
oxapentane - 44e046a2aa
Secret Management via Sops (#6)
* sops: init

* add my gpg keys

* sops: add @revol-xut key

* add gpg pub key

* update gpg keys

* .sops.yaml: add marenz

* sops: add secrets for traffix-stop-box-3 and 4

* build sops-install-secrets on hydra

* sops: add keys for traffic-stop-box-{3,4}

Co-authored-by: revol-xut <revol-xut@protonmail.com>
Co-authored-by: Markus Schmidl <markus.schmidl@mailbox.tu-dresden.de>
2022-05-31 18:56:43 +02:00
oxapentane - f4e26baa45
base.nix: add nix-serve.hq.c3d2.de as a binary cache 2022-05-29 21:43:32 +02:00
Tassilo - 821bb2f8dd
add env variable 2022-05-29 21:42:44 +02:00
Markus Schmidl bd874af210 fix paths 2022-05-29 03:44:56 +02:00
Markus Schmidl e6cf74f307 Move modules 2022-05-29 03:44:56 +02:00
Tassilo - 0e3f2991d4
flake update and postgres setup 2022-05-29 01:52:48 +02:00
Tassilo - b8f1edfb0a
set postgres port 2022-05-29 01:27:36 +02:00
Tassilo - c127deda49
finished merging 2022-05-29 00:16:18 +02:00
Tassilo - b5b70bb2d2
add env variables 2022-05-28 23:20:45 +02:00
Tassilo - b33d36c4d5
add clicky-bunty-server 2022-05-28 23:11:31 +02:00
oxapentane - d777425a9c
nixpkgs-fmt 2022-05-28 21:24:15 +02:00
oxapentane - 84dc40aff8
mobile-box: fix wifi interface name 2022-05-27 21:48:41 +02:00
oxapentane - 23057b9c49
influx: restart always 2022-05-26 14:29:11 +02:00
Astro 9f873d11c8 modules/file_sharing: compress dump-csv telegrams and make readable 2022-05-26 02:46:31 +02:00
Astro 3949bbdcfd modules/file_sharing: fix dump-csv script 2022-05-26 02:15:17 +02:00
oxapentane - f49806c26d
website: redirect to docs 2022-05-23 17:15:58 +02:00
Astro 500a66e78b modules/file_sharing: add hourly influxdb dump 2022-05-22 13:08:04 +02:00
Tassilo - 13b4b4e43c
daemon should kill itself 2022-05-20 14:34:56 +02:00
Tassilo - 70f7cd01d9
merging stuff 2022-05-20 01:06:16 +02:00
Tassilo - 55219f110e
deployment of wartrammer 40k 2022-05-20 00:57:48 +02:00
oxapentane - 56f56720d8
typo 2022-05-19 22:09:46 +02:00
oxapentane - 9541735b95
fix buildCores 2022-05-19 21:39:41 +02:00
Tassilo - 576a5e2c63
some config for mobile box 2022-05-19 21:36:57 +02:00
oxapentane - 2359cc29dd
data-accumulator: remove preexec 2022-05-18 00:33:23 +02:00
Tassilo - c40e5789e5
data-accumulator should now wait for influx 2022-05-18 00:31:20 +02:00
Tassilo - 0091539438
newest server stack 2022-05-18 00:20:29 +02:00
Tassilo - f3d73defe6
data-accumulator now waits for influx 2022-05-16 22:53:28 +02:00
Tassilo - c45532f5d1
fixed data-accumulator 2022-05-15 23:39:43 +02:00
Tassilo - 078301c511
add new wg key for staging 2022-05-15 22:25:15 +02:00
Tassilo - e66569205d
adjusted env variables for mobile boxes 2022-05-15 21:39:42 +02:00
Tassilo - 9c3f89d6c0
add staging server as target for data 2022-05-15 17:21:36 +02:00
Tassilo - 54128df01a
removed useless file 2022-05-15 17:13:34 +02:00
Tassilo - 1dea555750
added frequency config for the two unused boxes 2022-05-15 17:11:36 +02:00
Tassilo - 5c374686ec
add staging maschine to wireguard 2022-05-15 17:07:08 +02:00
root d3dd1ee174 make receiver arguments configurable 2022-05-15 15:18:33 +02:00
Tassilo - b3ad62d5f4 Merge branch 'master' of github.com:dump-dvb/traffic-stop-box 2022-05-15 13:18:48 +02:00
Tassilo - 2b3a79fd36
staging specific frontend 2022-05-15 13:18:32 +02:00
oxapentane - 4d90743f11
remove CSP 2022-05-15 12:50:42 +02:00
Astro ef197ee38b modules/grafana: fix build 2022-05-14 22:48:07 +02:00
Tassilo - e753ef4dd5
add staging system 2022-05-14 21:48:51 +02:00
Tassilo - be6312b84f
limiting buildCores 2022-05-14 15:41:34 +02:00
oxapentane - f3537ee7b4
nginx: add HSTS, Permissions Policy and HCSP 2022-05-13 22:50:40 +02:00
oxapentane - a6602f815b
better nginx defaults 2022-05-13 20:19:32 +02:00
oxapentane - 0525429e83
better TLS config and add security headers 2022-05-13 19:42:30 +02:00
Tassilo - 805df6e67c
newest version of dvb api 2022-05-12 20:04:06 +02:00
Tassilo - a3d0d5dfe2
newest server with influx 2022-05-11 20:26:32 +02:00
Tassilo - ad64c4de00
working server setup 2022-05-11 01:31:25 +02:00
Tassilo - 999892ccc8
newest version of decode-server 2022-05-10 22:45:00 +02:00
Tassilo - 1d9bfd9743
propagates stops version now down stream 2022-05-10 10:55:09 +02:00
Tassilo - 4c80a651ab
resolved merge conflicts updated flake 2022-05-09 16:51:03 +02:00
Tassilo - 9a37a249ab
redirect to https 2022-05-09 16:50:23 +02:00
root ffc8291094 Add autoping on wireguard up 2022-05-08 22:44:10 +02:00
Tassilo - 16cea9dd3c
adding snapshotting for data 2022-05-08 14:12:31 +02:00
Tassilo - 2ca93eb2e8
adding mobile box as seperate system 2022-05-07 23:11:09 +02:00
Tassilo - dbc17e047a
enable ssl on file sharing 2022-05-07 19:50:52 +02:00
Tassilo - 328396ceef
problems with mobile-box config 2022-05-07 08:32:10 +02:00
Tassilo - decf58c808
added wifi hotspot 2022-05-06 22:06:50 +02:00
Tassilo - ac4532108b
adding mobile box 2022-05-06 21:56:41 +02:00
Tassilo - 4574181a2d Merge branch 'master' of github.com:dump-dvb/traffic-stop-box 2022-05-06 20:27:05 +02:00
Tassilo - e171bfced6
adding download endpoint 2022-05-06 20:26:49 +02:00
Markus Schmidl 498cce7a62
Update wireguard_server.nix 2022-05-06 18:36:09 +02:00
Markus Schmidl 7c5d0e2cea
Update wireguard_server.nix 2022-05-06 18:29:30 +02:00
Markus Schmidl 7b09f68033
Update wireguard_server.nix 2022-05-06 18:20:46 +02:00
Markus Schmidl 0dfa0fb10a
Update wireguard_server.nix 2022-05-06 18:09:59 +02:00
Markus Schmidl 0f463bfd31
Update wireguard_server.nix 2022-05-05 23:16:35 +02:00
Markus Schmidl 16f3de3762
Change to new binary cache 2022-05-05 22:58:33 +02:00
Tassilo - 1d5692c1ef
nix flake update 2022-05-05 19:27:52 +02:00
Astro 9b9829994f add astro ssh key 2022-05-03 03:43:14 +02:00
Tassilo - 7b0207371d
adding ftp for data downloads 2022-05-02 17:40:08 +02:00
Tassilo - fc1441eb75
fixed website 2022-05-02 13:11:00 +02:00
Tassilo - 3f1b82ab43
add basic map site 2022-05-02 12:46:29 +02:00
Tassilo - 9df92cfc62
add basic map site 2022-05-02 12:38:16 +02:00
oxapentane - 4133f4348f
gnuradio.nix: update systemd config 2022-05-01 14:01:43 +02:00
Tassilo - d18c599064
adding dvb-api 2022-05-01 13:52:41 +02:00
Markus Schmidl 8d04def59c change data-accumulator listen ip to 0.0.0.0 2022-05-01 00:59:30 +02:00
oxapentane - 76bacee0f4
add second key for oxa 2022-05-01 00:08:00 +02:00
Markus Schmidl 5702d26534 add more files for rpi4b 2022-04-30 23:41:33 +02:00
Tassilo - 852d1ebd24
fixed url 2022-04-29 23:31:21 +02:00
Tassilo - a0badb31a6
data-accumulator is now only reacheable from wireguard 2022-04-29 23:18:33 +02:00
Tassilo - c25d1c256d
smarter path generation 2022-04-29 22:50:11 +02:00
root 6296208712 add binary cache 2022-04-29 15:21:17 +02:00
Tassilo - e502960028
squeezed more storage out of the box 2022-04-28 20:01:49 +02:00
Tassilo - 67f645d7a9
updated flake and fixed command 2022-04-28 19:44:07 +02:00
Tassilo - 851956510a
changed ip of traffic-stop-box-0 in wireguard conf server 2022-04-28 14:47:27 +02:00
Tassilo - d3ad6b1d0c
overhauled system deployment 2022-04-28 14:43:40 +02:00
root 4e75e65e60 update flake.nix 2022-04-27 17:43:34 +02:00
oxapentane - 82395dd97d
integration of production testing changes(tm) 2022-04-25 16:28:23 +02:00
oxapentane - d434df993e
add wireguard client config for traffic-stop-box 2022-04-25 16:16:57 +02:00
oxapentane - 0c70973a71
add wireguard client config for traffic-stop-box 2022-04-25 15:27:03 +02:00
Tassilo - 8de7b556c4
add nginx conf 2022-04-24 22:33:03 +02:00
Tassilo - ca4095fdc5
add modules for data-accumulator 2022-04-24 22:22:59 +02:00
root dbe9aaa444 fix systemd units 2022-04-24 16:09:27 +02:00
Tassilo - dee66334af
fix forking and Exec 2022-04-23 19:20:12 +02:00
root 2c605ce1db fix capabilities 2022-04-23 19:04:57 +02:00
Tassilo - f4282c695e
renamed systemd unit 2022-04-23 18:51:46 +02:00
Tassilo - c97e934c7b
updated security policy for gnuradio 2022-04-23 18:41:26 +02:00
Tassilo - 2d0f0d67d1
renamed file and fixed systemd unit 2022-04-23 18:29:22 +02:00
Tassilo - 10a7169806
add systemd unit for telegram decode 2022-04-23 18:19:36 +02:00
Tassilo - 7298701207
updated flake with working gnuradio decoder 2022-04-23 18:12:10 +02:00
Tassilo - 2656a37cd2
added basic unit for radio decode 2022-04-23 17:30:05 +02:00
Tassilo - 568095b228
renamed custom gnuradio 2022-04-23 14:12:35 +02:00
Tassilo - f20f04156d
turned password auth off 2022-04-23 13:49:25 +02:00
Tassilo - 7883766f78
add ssh keys 2022-04-23 13:41:36 +02:00
Tassilo - b7a123cc0f
running configuration 2022-04-23 04:18:12 +02:00
Tassilo - 2096838417
basic config 2022-04-23 03:01:58 +02:00