Michael Parker
49b00fc48a
resolve issues with missing user in containers
...
This change resolves an issue in container where the user id is not found.
This will create a passwd file with a single line that is for the container user using the uid and gid of the pterodactyl user.
As an added security benefit this would also stop users being able to just use `/bin/bash` as it sets the users terminal to nologin by default and is configurable
example passwd file contents
`container❌ 999:999::/home/container:/usr/sbin/nologin`
2023-08-12 17:26:23 -04:00
Matthew Penner
438e5fdbe9
Update CHANGELOG.md
2023-07-24 22:48:10 -06:00
Matthew Penner
a866493d0a
go: update dependencies
2023-07-24 13:47:53 -06:00
Matthew Penner
c9d92f7bac
ci: ubuntu-22.04, go1.19.11, go1.20.6
2023-07-15 14:40:45 -06:00
Matthew Penner
aa8ffdfcf7
go: update dependencies
...
This updates the docker client to include the fix added with
https://github.com/moby/moby/pull/45962 which solves a breaking change
to Go due to CVE-2023-29406.
2023-07-15 14:38:31 -06:00
Matthew Penner
8d7e23f542
Update README.md
2023-06-28 20:25:06 -06:00
Matthew Penner
bd26d6eefd
Update README.md
2023-05-12 23:13:09 -06:00
Matthew Penner
9441d2a523
Update CHANGELOG.md
2023-05-10 13:28:00 -06:00
Matthew Penner
4d51de71c2
server(filesystem): fix test failure
2023-05-10 12:59:22 -06:00
Matthew Penner
4b66a222cd
ci: update go (1.19.7 -> 1.19.9, 1.20.2 -> 1.20.4)
2023-05-10 12:37:35 -06:00
Matthew Penner
b665c943a2
server(install): remove privileges from install container
2023-05-10 12:35:46 -06:00
Matthew Penner
a50e4ce9d1
go: update dependencies
2023-05-08 13:52:15 -06:00
Matthew Penner
c76d68bc96
Update README.md
2023-03-11 14:12:46 -07:00
Matthew Penner
02cb64e31b
Update CHANGELOG.md
2023-03-07 15:57:12 -07:00
Matthew Penner
639ad76be3
go: update dependencies
2023-03-07 15:36:35 -07:00
Matthew Penner
a373bf8eda
system: fix sink pool test
2023-03-07 15:36:20 -07:00
Matthew Penner
74b1c46b7f
server(filesystem): fix archive test
2023-03-07 15:29:29 -07:00
Matthew Penner
5424c6718e
ci: update to go 1.19 and 1.20
2023-03-07 15:20:49 -07:00
Matthew Penner
43b3496f00
server(filesystem): fix archiver path matching
...
Closes https://github.com/pterodactyl/panel/issues/4630
2023-03-07 15:19:09 -07:00
dependabot[bot]
38c69ebfda
build(deps): bump golang.org/x/net ( #163 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.0.0-20221004154528-8021a29435af to 0.7.0.
- [Release notes](https://github.com/golang/net/releases )
- [Commits](https://github.com/golang/net/commits/v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 19:54:18 -07:00
dependabot[bot]
234e11b28b
build(deps): bump golang.org/x/text from 0.3.7 to 0.3.8 ( #161 )
...
Bumps [golang.org/x/text](https://github.com/golang/text ) from 0.3.7 to 0.3.8.
- [Release notes](https://github.com/golang/text/releases )
- [Commits](https://github.com/golang/text/compare/v0.3.7...v0.3.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/text
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 13:08:10 -07:00
Jakob Schrettenbrunner
ec6d6d83ea
config: add option to disable panel config updates ( #162 )
2023-02-27 13:05:36 -07:00
Matthew Penner
4d9fee383f
Update CHANGELOG.md
2023-02-08 14:21:02 -07:00
Matthew Penner
429ac62dba
server(filesystem): Delete tweaks
2023-02-08 14:20:13 -07:00
Matthew Penner
020abec6f2
Update CHANGELOG.md
2023-02-07 19:15:11 -07:00
Matthew Penner
dac9685298
server(filesystem): SafePath tweaks
2023-02-07 19:14:35 -07:00
Matthew Penner
519d38f238
Update README.md
2023-02-06 11:00:25 -07:00
Matthew Penner
1d17233d6d
Update README.md
2023-02-06 10:25:20 -07:00
Matthew Penner
774c0af0b0
Update CHANGELOG.md
2023-01-30 18:33:30 -07:00
Alexander Trost
71fbd9271e
activity: fix ip validity check ( #159 )
2023-01-30 09:09:36 -07:00
Matthew Penner
2d640209e5
backup: fix restore erroring due to closed reader
2023-01-29 17:06:49 -07:00
Matthew Penner
304fd91283
Update CHANGELOG.md
2023-01-27 12:14:22 -07:00
Matthew Penner
18de96d7b8
activity: fix IP parsing, drop all columns with malformed ips
2023-01-24 14:36:18 -07:00
Matthew Penner
a36cab1783
router(transfer): throw error if server fails to stop
2023-01-24 12:36:02 -07:00
Matthew Penner
6e0c095bb8
router(transfer): decrease WaitForStop timeout
2023-01-24 12:34:05 -07:00
Matthew Penner
14eea3b1e4
router: close body once finished
2023-01-24 12:33:42 -07:00
Matthew Penner
1bc77dc969
system: close Docker client once finished
2023-01-24 12:33:20 -07:00
Matthew Penner
b8715d1d4f
ci: update push-artifact action
2023-01-24 12:32:55 -07:00
Matthew Penner
13d3490bcf
server(filesystem): fix Writefile being broken
2023-01-17 18:44:56 -07:00
Matthew Penner
e9b8b11fec
Ensure files are closed after they are done being used
2023-01-17 18:34:08 -07:00
Matthew Penner
43b7aa2536
sftp: disable insecure protocols
2023-01-17 11:50:06 -07:00
Matthew Penner
9b8b3c90fb
environment(docker): improve logging and stacks
2023-01-17 11:47:27 -07:00
Matthew Penner
e74d8e3501
ci: update go versions
2023-01-13 11:07:09 -07:00
Matthew Penner
4b3bd2ff47
ci(docker): fix latest tag
2022-12-04 18:37:53 -07:00
Matthew Penner
e652d2df84
ci: cleanup
2022-12-04 17:39:55 -07:00
Matthew Penner
e4d790ea40
ci: remove use of deprecated ::set-output
2022-12-04 17:29:36 -07:00
Matthew Penner
5641e45059
ci: overhaul workflows
2022-12-04 17:24:33 -07:00
Matthew Penner
9a718b699f
Update CHANGELOG.md
2022-12-04 15:23:29 -07:00
Matthew Penner
92efdb1981
remote: use POST for server tranfer status
2022-12-01 11:50:56 -07:00
Matthew Penner
43227bf24d
server(transfer): fix dead-lock while uploading archive
...
Previously we waited for both the request and multipart writer
to "complete", before handing any errors. This lead to a problem
where if the request returns before all the data has been read,
the upload would become stuck and keep the server in a transferring
state when the transfer should've been aborted.
Closes https://github.com/pterodactyl/panel/issues/4578
2022-11-29 14:04:27 -07:00