1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 11:51:57 +00:00
srs/trunk
Haibo Chen 67ccd589c1
Security: Enable CIDR for allow/deny play/publish (#2914)
* protocol/utility: add srs_ipv4_to_num

* protocol/utility: add srs_ipv4_within_mask

* protocol/utility: add srs_get_cidr_mask and CIDR_VALUES static struct

* protocol/utility: add srs_get_cidr_ipv4

* app/security: support cidr ip ranges in allow/deny rules

* conf: update security example with cidr ranges

* Security: Enable CIDR for allow/deny play/publish

* Security: Enable CIDR for allow/deny play/publish

* Security: Enable CIDR for allow/deny play/publish

* fix compile error on centos6

Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
2022-03-11 12:24:35 +08:00
..
3rdparty Replace deprecated String.prototype.substr() (#2948) 2022-03-07 08:02:27 +08:00
auto Squash: Bug fixed 2022-02-16 11:34:05 +08:00
conf Security: Enable CIDR for allow/deny play/publish (#2914) 2022-03-11 12:24:35 +08:00
doc Merge SRS 4.0 for bugfix. v5.0.25 2022-03-09 08:09:27 +08:00
etc/init.d Squash: Fix bugs 2022-01-13 18:26:28 +08:00
gdb ST: Support show coroutines. 2020-12-10 11:36:24 +08:00
ide/srs_clion Squash: Support RPM. Fix bugs. 2021-11-04 07:37:17 +08:00
modules Moduels: Refine the description 2021-04-21 11:18:35 +08:00
packaging/redhat Squash: Support RPM. Fix bugs. 2021-11-04 07:37:17 +08:00
research Replace deprecated String.prototype.substr() (#2948) 2022-03-07 08:02:27 +08:00
scripts Squash: Fix bugs 2022-01-13 18:26:28 +08:00
src Security: Enable CIDR for allow/deny play/publish (#2914) 2022-03-11 12:24:35 +08:00
usr/lib/systemd/system Squash: Support RPM. Fix bugs. 2021-11-04 07:37:17 +08:00
.gitignore Squash: Support github actions for CI 2021-08-15 21:51:50 +08:00
AUTHORS.md Merge 4.0release, update AUTHORS 2022-02-18 12:45:22 +08:00
AUTHORS.txt Update AUTHORS 2021-08-25 07:43:35 +08:00
configure Squash: Fix bugs 2022-01-13 18:26:28 +08:00
Dockerfile Squash: Fix bugs 2022-01-13 18:26:28 +08:00
Dockerfile.builds Build: Disable c++11 and c++14 for CentOS 6.0 2022-01-15 09:02:14 +08:00
Dockerfile.cov Squash: Support github actions for CI 2021-08-15 21:51:50 +08:00
Dockerfile.pkg Squash: Fix bugs 2022-01-13 18:26:28 +08:00
Dockerfile.test Squash: Merge 4.0.201 2021-12-04 10:43:04 +08:00