Owen
60d8831399
Rename hybrid to managed
2025-08-21 14:19:21 -07:00
Owen
77796e8a75
Adjust again for uncertian config
2025-08-20 17:48:55 -07:00
Owen
825bff5d60
Badger & traefik working now?
2025-08-14 21:48:14 -07:00
Owen
22545cac8b
Basic verify session breakout
2025-08-12 13:40:59 -07:00
T Aviss
481714f095
Fix for issues with binding ports other than 80/443
...
server/routers/badger/verifySession.ts : verifyResourceSession() updated code behind "cleanHost" var to a regex which strips the trailing :port for any port (rather than a string match for 80/443)
src/app/auth/resource/[resourceId]/page.tsx : ResourceAuthPage() added a secondary match for serverResourceHost and redirectHost that accounts for ports
server/routers/badger/exchangeSession.ts : Updated exchangeSession() to use the same "cleanHost" type var (with port-stripping) as in verifyResourceSession(), replaced references to "host" with "cleanHost"
2025-07-30 22:16:46 -07:00
miloschwartz
717dfae26c
look for ipv6 in brackets and fix cors headers in install config
2025-06-04 15:56:16 -04:00
Milo Schwartz
6fc6f325a7
Merge pull request #807 from pyrho/feat/auth-header
...
send user data to badger when authenticated
2025-06-04 12:17:23 -04:00
miloschwartz
2cca561e51
support postgresql as database option
2025-06-04 12:02:07 -04:00
Damien Rajon
c5e37c1608
send user data to badger when authenticated
2025-05-30 20:37:21 +02:00
miloschwartz
0e65f8c921
check resource id on verify access token
2025-04-06 13:08:55 -04:00
miloschwartz
6cc4bc2645
add pass access token in headers
2025-04-05 22:36:51 -04:00
miloschwartz
fefb07e14c
move schema.ts to module
2025-03-23 17:11:48 -04:00
miloschwartz
f2a14e6a36
append timestamp to cookie name to prevent redirect loops
2025-03-21 21:38:36 -04:00
Owen
33ff2fbf3b
Allow matching parts of words in path
...
Resolves #228
2025-03-08 11:43:47 -05:00
miloschwartz
adef93623d
more visual enhancements and use expires instead of max age in cookies
2025-03-02 15:50:03 -05:00
miloschwartz
e82df67063
Merge branch 'dev' into multi-domain
2025-02-26 21:26:20 -05:00
miloschwartz
e4789c6b08
always check rules even if auth is disabled
2025-02-24 22:52:38 -05:00
Owen
7bf820a4bf
Clean off ports for 80 and 443 hosts
2025-02-15 17:48:27 -05:00
Milo Schwartz
fdf1dfdeba
rules server validation, enabled toggle, fix wildcard
2025-02-11 23:59:13 -05:00
Owen
3c99fbb1ef
Seperate ip and cidr
2025-02-10 21:06:37 -05:00
Owen
4bce210ff5
Be more lenient with leading and trailing slashes
2025-02-09 22:03:18 -05:00
Owen
bbc1a9eac4
Format
2025-02-09 22:00:02 -05:00
Owen
5e92aebd20
Drop first
2025-02-09 21:56:39 -05:00
Owen
34e3fe690d
Fix check on string
2025-02-09 11:33:40 -05:00
Owen
874c67345e
Adjust rule processing
2025-02-09 10:50:43 -05:00
Owen
42434ca832
Add validation
2025-02-08 17:54:01 -05:00
Owen
da3c8823f8
rename to resource rules and add api endpoints
2025-02-08 17:07:21 -05:00
Owen
2f49be69fe
Initial pass at rules
2025-02-06 21:42:18 -05:00
Milo Schwartz
f40d91ff9e
remove secure_cookies option from config
2025-01-30 21:53:42 -05:00
Owen Schwartz
0e04e82b88
Squashed commit of the following:
...
commit c276d2193da5dbe7af5197bdf7e2bcce6f87b0cf
Author: Owen Schwartz <owen@txv.io>
Date: Tue Jan 28 22:06:04 2025 -0500
Okay actually now
commit 9afdc0aadc3f4fb4e811930bacff70a9e17eab9f
Author: Owen Schwartz <owen@txv.io>
Date: Tue Jan 28 21:58:44 2025 -0500
Migrations working finally
commit a7336b3b2466fe74d650b9c253ecadbe1eff749d
Merge: e7c7203 fdb1ab4
Author: Owen Schwartz <owen@txv.io>
Date: Mon Jan 27 22:19:15 2025 -0500
Merge branch 'dev' into tcp-udp-traffic
commit e7c7203330b1b08e570048b10ef314b55068e466
Author: Owen Schwartz <owen@txv.io>
Date: Mon Jan 27 22:18:09 2025 -0500
Working on migration
commit a4704dfd44b10647257c7c7054c0dae806d315bb
Author: Owen Schwartz <owen@txv.io>
Date: Mon Jan 27 21:40:52 2025 -0500
Add flag to allow raw resources
commit d74f7a57ed11e2a6bf1a7e0c28c29fb07eb573a0
Merge: 6817788 d791b9b
Author: Owen Schwartz <owen@txv.io>
Date: Mon Jan 27 21:28:50 2025 -0500
Merge branch 'tcp-udp-traffic' of https://github.com/fosrl/pangolin into tcp-udp-traffic
commit 68177882781b54ef30b62cca7dee8bbed7c5a2fa
Author: Owen Schwartz <owen@txv.io>
Date: Mon Jan 27 21:28:32 2025 -0500
Get everything working
commit d791b9b47f9f6ca050d6edfd1d674438f8562d99
Author: Milo Schwartz <mschwartz10612@gmail.com>
Date: Mon Jan 27 17:46:19 2025 -0500
fix orgId check in verifyAdmin
commit 6ac30afd7a449a126190d311bd98d7f1048f73a4
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 23:19:33 2025 -0500
Trying to figure out traefik...
commit 9886b42272882f8bb6baff2efdbe26cee7cac2b6
Merge: 786e67e 85e9129
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 21:53:32 2025 -0500
Merge branch 'tcp-udp-traffic' of https://github.com/fosrl/pangolin into tcp-udp-traffic
commit 786e67eadd6df1ee8df24e77aed20c1f1fc9ca67
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 21:51:37 2025 -0500
Bug fixing
commit 85e9129ae313b2e4a460a8bc53a0af9f9fbbafb2
Author: Milo Schwartz <mschwartz10612@gmail.com>
Date: Sun Jan 26 18:35:24 2025 -0500
rethrow errors in migration and remove permanent redirect
commit bd82699505fc7510c27f72cd80ea0ce815d8c5ef
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 17:49:12 2025 -0500
Fix merge issue
commit 933dbf3a02b1f19fd1f627410b2407fdf05cd9bf
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 17:46:13 2025 -0500
Add sql to update resources and targets
commit f19437bad847c8dbf57fddd2c48cd17bab20ddb0
Merge: 58980eb 9f1f291
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 17:19:51 2025 -0500
Merge branch 'dev' into tcp-udp-traffic
commit 58980ebb64d1040b4d224c76beb38c2254f3c5d9
Merge: 1de682a d284d36
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 17:10:09 2025 -0500
Merge branch 'dev' into tcp-udp-traffic
commit 1de682a9f6039f40e05c8901c7381a94b0d018ed
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 17:08:29 2025 -0500
Working on migrations
commit dc853d2bc02b11997be5c3c7ea789402716fb4c2
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 16:56:49 2025 -0500
Finish config of resource pages
commit 37c681c08d7ab73d2cad41e7ef1dbe3a8852e1f2
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 16:07:25 2025 -0500
Finish up table
commit 461c6650bbea0d7439cc042971ec13fdb52a7431
Author: Owen Schwartz <owen@txv.io>
Date: Sun Jan 26 15:54:46 2025 -0500
Working toward having dual resource types
commit f0894663627375e16ce6994370cb30b298efc2dc
Author: Owen Schwartz <owen@txv.io>
Date: Sat Jan 25 22:31:25 2025 -0500
Add qutoes
commit edc535b79b94c2e65b290cd90a69fe17d27245e9
Author: Owen Schwartz <owen@txv.io>
Date: Sat Jan 25 22:28:45 2025 -0500
Add readTimeout to allow long file uploads
commit 194892fa14b505bd7c2b31873dc13d4b8996c0e1
Author: Owen Schwartz <owen@txv.io>
Date: Sat Jan 25 20:37:34 2025 -0500
Rework traefik config generation
commit ad3f896b5333e4706d610c3198f29dcd67610365
Author: Owen Schwartz <owen@txv.io>
Date: Sat Jan 25 13:01:47 2025 -0500
Add proxy port to api
commit ca6013b2ffda0924a696ec3141825a54a4e5297d
Author: Owen Schwartz <owen@txv.io>
Date: Sat Jan 25 12:58:01 2025 -0500
Add migration
commit 2258d76cb3a49d3db7f05f76d8b8a9f1c248b5e4
Author: Owen Schwartz <owen@txv.io>
Date: Sat Jan 25 12:55:02 2025 -0500
Add new proxy port
2025-01-28 22:26:45 -05:00
Milo Schwartz
0bd8217d9e
add failed auth logging
2025-01-27 22:43:32 -05:00
Milo Schwartz
9f1f2910e4
refactor auth to work cross domain and with http resources closes #100
2025-01-26 14:42:02 -05:00
Milo Schwartz
f5fda5d8ea
allow access token in resource url
2025-01-11 19:47:07 -05:00
Milo Schwartz
c3d19454f7
allow resource redirect if host is same
2025-01-10 00:13:51 -05:00
Milo Schwartz
6c813186b8
verify redirects are safe before redirecting
2025-01-09 23:26:07 -05:00
Milo Schwartz
235e91294e
remove base_url
from config ( #13 )
...
* add example config dir, logos, and update CONTRIBUTING.md
* update dockerignore
* split base_url into dashboard_url and base_domain
* Remove unessicary ports
* Allow anything for the ip
* Update docker tags
* Complex regex for domains/ips
* update gitignore
---------
Co-authored-by: Owen Schwartz <owen@txv.io>
2025-01-07 22:41:35 -05:00
Milo Schwartz
3b4a993704
refactor and reorganize
2025-01-01 21:41:31 -05:00
Milo Schwartz
9732098799
make config class and separate migrations script
2025-01-01 17:50:12 -05:00
Milo Schwartz
ce5df3b0b9
fix issues from test deploy
2024-12-21 21:01:12 -05:00
Milo Schwartz
72dc02ff2e
access token endpoints and other backend support
2024-12-18 23:14:26 -05:00
Milo Schwartz
998fab6d0a
add otp flow to resource auth portal
2024-12-15 17:47:07 -05:00
Milo Schwartz
500a81aa42
fix rendering issues on resource unauthorized
2024-11-29 22:53:45 -05:00
Milo Schwartz
c2cbd7e1a1
fix minor auth issues and set NODE_ENV to solve react email bug
2024-11-27 14:35:38 -05:00
Milo Schwartz
8178dd1525
set resource session as base domain cookie
2024-11-27 00:07:40 -05:00
Milo Schwartz
ce2bfcddd5
lighten dark background, add more info to resources table
2024-11-24 22:34:11 -05:00
Milo Schwartz
4e7fa0f2d9
add logging for verifySession
2024-11-24 14:28:23 -05:00
Milo Schwartz
d7c4bc43a4
set resource session cookie in proxy via param
2024-11-23 23:31:22 -05:00
Milo Schwartz
78b23a8956
added resource auth status cards and moved login to reusable login form
2024-11-23 17:56:21 -05:00
Milo Schwartz
0b3ca5f999
basic auth portal save
2024-11-23 16:36:07 -05:00
Milo Schwartz
5388c5d5b4
disable eslint - new colors, and slimmer buttons/inputs??
2024-11-22 22:16:09 -05:00