Commit Graph

98 Commits

Author SHA1 Message Date
Jamil
f84df97c86 Update install script to support Ubuntu 22.04 (#733) 2022-06-18 10:52:46 -04:00
Jamil
38072974a8 Update install.sh
More descriptive distro check
2022-06-01 11:10:28 -07:00
Jamil
500faf813a Bump all runtimes; use simpler version function for app version (#634) 2022-05-19 07:38:16 -07:00
Jamil
0d7939527d Fix kernelCheck order (#555) 2022-04-26 10:39:25 -07:00
Jamil
3d9f970b86 Add support for CentOS derivatives (#552)
Fixes #550
2022-04-22 09:18:24 -07:00
Jamil
2c5078e63f Add WireGuard preshared-keys to devices (#542)
* Add PSK support

* Add HTTP registered application name

* Better kernel check message

* Does order matter\?
2022-04-15 09:56:56 -07:00
Jamil
0c26b75825 Fix minor issues in install script (#536)
* Fix minor issues in install script

* Check for Linux
2022-04-11 14:24:08 -07:00
Jamil
923b6bd015 Match on Ubuntu 20.04 or 21.04 (#531)
Fixes #523
2022-04-08 14:02:31 -07:00
hieultan
d07386d7e3 Fix escape character error (#526) 2022-04-07 05:23:18 -07:00
Jamil
4fa5bedf1b 500/fix redirect local auth (#509)
* Allow config of ext url; show this after create-admin

* Use opts for ueberauth

* weird nil error

* get_env vs fetch_env

* Use integer

* Try new external_url thingo

* Fix callback_url

* Fix path suffix

* Fix markdownlint hiccup

* fix create admin

* Differentiate phoenix_port

* cron note; installscript fix; minor fqdn fixes

* Send full node obj to app_env

* Add db pass to config file
2022-04-05 14:43:00 -07:00
Jamil
cf774532dc Use public_ip for fqdn in install (#508)
* Use public_ip for fqdn in install

* Fix missing operand
2022-03-18 15:46:14 -05:00
Mark Percival
1bbc83bbcd Detect kernel module on install (#504) 2022-03-15 16:57:09 -05:00
Jamil
60f34ce6d9 add install bash script (#459)
* issue-187: getting some POC in for feedback 🐼

* updating install script

* install condition for dep|rpm 🐉 🔧

* ci checks looks like whitespace :ruby: :police:

* linter hrm maybe I run that locally

* :retab and match file extensions with neiborhing scripts

* using hostnamectl data to help determine which release to download

* self review

* testing on ubuntu reveals some logic to fix

* not sure if wireguard is on any of these images using this find process

* changes based on testing feedback

* using curl over wget to download the package

* applying changes from the test branch

* updating kernel check logic

* removing debugging code

* adding -r option when displaying kernal info

* Add install script polish (#493)

* Add install script polish

* don't remove firewall table

Co-authored-by: Debian <admin@ip-172-31-5-138.us-west-2.compute.internal>
Co-authored-by: Rob Ortiz <rob@dragonwrench.com>
Co-authored-by: Ubuntu <ubuntu@ip-172-31-1-124.us-west-2.compute.internal>
Co-authored-by: Rob Ortiz <robert.ortiz@gmail.com>
Co-authored-by: Rob Ortiz <robert.a.ortiz@gmail.com>
2022-03-04 10:38:25 -08:00
Jamil
a91c2db887 0.3.0 (#465)
* Found endpoint empty bug

* Fix use_site_ bugs

* Generate private keys client-side instead of on the Firezone server (#451)

* Rename events; add crypto lib

* seemingly working keygen

* Checkpoint

* Remove private key from devices; make tests pass

* Refactor auth to use simplified new router helper

* Fix js bundle

* Refactor event listeners into their own file

* Refactor settings

* Fix JS

* Working live views in unprivileged sections

* Rough draft working

* Checkpoint before fixing tests

* Tests passing

* Max devices per user configuration option (#471)

* Max tunnels per user configuration option

* Clean up remaining tunnel references

* Replace local auth system with Ueberauth / Guardian (#475)

* Checkpoint working authentication

* Working admin and unprivileged auth using Guardian

* Remove Sessions cruft

* More cleanup

* load new secrets

* Remove firezone tmp dirs

* Okta and Google Oauth (#485)

* working oauth!

* Remove keycloak; working google

* Ensure nil to_s

* Passing tests

* Add compile-time prod config

* Fix live_view typo

* Revert key_ttl to vpn_session_duration

* print logs after first configure

* Use get_env/1 for fetching optional config vars

* Disable telemetry from config

* miss the to_s

* Fix sign in page

* add tunnel admin guide

* auth path

* Fix tests

* Device editing no more (#491)
2022-03-04 09:32:13 -08:00
Jamil Bou Kheir
5a019cd57e Use telemetry_id file 2022-02-05 13:44:16 -08:00
Jamil Bou Kheir
c435eafa70 Remove unneeded script 2021-12-15 18:01:52 -08:00
Jamil Bou Kheir
e2bab17efb Add git_sha script 2021-12-15 14:06:01 -08:00
Jamil Bou Kheir
42776313f5 Fix version population during prod build 2021-11-15 17:07:10 -08:00
Jamil Bou Kheir
b362afe7a2 Suppress omnibus load error 2021-11-05 12:52:24 -07:00
Jamil Bou Kheir
bdb86b3f9f Use Omnibus to generate semver 2021-11-04 10:28:42 -07:00
Jamil Bou Kheir
f1d36a378c Fix openSUSE uninstall 2021-10-14 08:16:22 -07:00
Jamil Bou Kheir
cff0b7e488 Fix uninstall script 2021-10-07 21:38:36 +00:00
Jamil Bou Kheir
4b26038154 Fix teardown command 2021-10-05 14:36:21 -07:00
Jamil Bou Kheir
9f0009da96 Teardown recipe 2021-10-05 11:42:45 -07:00
Jamil Bou Kheir
b779e7618a Use shell conditionals appropriately 2021-09-27 13:20:28 -07:00
Jamil Bou Kheir
07b0594269 Keep going 2021-09-26 14:48:30 -07:00
Jamil Bou Kheir
fe02faa91e install/uninstall better instructions 2021-09-23 23:36:40 -07:00
Jamil Bou Kheir
aac1f2ea4c Functional test and more cleanup 2021-09-16 20:39:04 +00:00
Jamil Bou Kheir
a8df3b7a3f Avoid bash 2021-09-12 22:15:10 +00:00
Jamil Bou Kheir
f432685d87 Add ExDoc, remove old packaging system 2021-09-09 20:57:48 +00:00
Jamil Bou Kheir
99bd1a795a Checkpoint before move to Omnibus 2021-08-04 07:39:36 -07:00
Jamil Bou Kheir
2a0f22914f Update location of functional test 2021-08-03 17:01:28 -07:00
Jamil Bou Kheir
107306649f use synced folder 2021-07-30 19:22:17 +00:00
Jamil Bou Kheir
2df8dfd498 share dir 2021-07-30 18:50:01 +00:00
Jamil Bou Kheir
001933797c Fix slash 2021-07-30 11:20:09 -07:00
Jamil Bou Kheir
d642b3fb90 Use Vagrant > Docker 2021-07-30 10:53:24 -07:00
Jamil Bou Kheir
bfd1995cfd Fix unpack script 2021-07-30 00:50:47 +00:00
Jamil Bou Kheir
e2d363506a use installation script for install 2021-07-29 16:06:52 -07:00
Jamil Bou Kheir
5388dbc9ad Checkpoint before ripping out all this shit 2021-07-29 20:36:10 +00:00
Jamil Bou Kheir
c421088547 inline all macro scripts 2021-07-29 02:01:11 +00:00
Jamil Bou Kheir
3ca569753b Inline postinst and postrm to debug 2021-07-29 01:33:08 +00:00
Jamil Bou Kheir
4d4ccc073d Fix centos7 2021-07-28 23:02:18 +00:00
Jamil Bou Kheir
7d54af0e0a Fix postgresql required version 2021-07-28 15:32:32 -07:00
Jamil Bou Kheir
4648daa09a Minor tweaks to get local builds working for debugging 2021-07-28 19:14:47 +00:00
Jamil Bou Kheir
15c54c0383 wtf selinux 2021-07-27 17:36:37 -07:00
Jamil
a97e350ee5 Remove typo
Should work now!
2021-07-27 12:03:05 -07:00
Jamil Bou Kheir
aeeccf2fb9 why password prompt 2021-07-27 11:00:40 -07:00
Jamil Bou Kheir
efd0d51960 test psql access 2021-07-27 00:15:58 -07:00
Jamil Bou Kheir
26f8969415 weird postgres auth issues 2021-07-26 23:30:42 -07:00
Jamil Bou Kheir
a05403a2d1 Fix pipe 2021-07-26 22:59:02 -07:00