Comments (4)
自架版并不是私有版,主要场景是自架提供公共服务。正因此,官方目前没有类似功能的开发计划,欢迎PR。
from pushdeer.
需要自架本质上是为了私有,期望推送的消息只经过自己的服务器。 如果在自己的公共服务器上架设又没有任何防护极容易被攻击,例如里面的wechatLogin调用了微信的public api,如果这个接口被攻击下游微信的接口必然受影响,很可能微信会将公共服务器拉黑
另外如果被攻击也没有有效的手段拦截,别人的ip可能是动态的,就只能关闭pushdeer服务
加一重防护即可以满足私有需求又可以一定程度保障安全
from pushdeer.
我同意你的看法,除了限制用户注册,甚至还可加上付费接口进行收费。只是我们目前计划表上没有这个功能。这是一个由社区驱动的开源项目,如果你发现无法满足你的需求,完全可以自己或者雇人二次开发。
即使作为普通用户,你也可以在docker外层去做防护,比如ip限制,或者直接把注册接口的URL禁止掉。
from pushdeer.
目前用这种方式实现,没次新设备注册需要手动注释location /push/login/ 后面计划可以考虑一下:比如 开启/关闭 login功能,或者生成临时授权注册码
location /push/login/ {
deny all;
}
location /push/ {
proxy_set_header X-Forwarded-For $remote_addr;
proxy_set_header X-Real-IP $remote_addr;
proxy_pass http://127.0.0.1:8800/;
}
from pushdeer.
Related Issues (20)
- 搭建的时候出错,请问怎么办? HOT 1
- [建议] 添加Google FCM支持和Android自架客户端
- [Bug] 自己搭建的服务,请求https://api.sandbox.push.apple.com异常报错remote error: tls: expired certificate","t HOT 1
- [Bug]Post方式发送markdown消息时,如何换行? HOT 1
- [Bug]
- #107接入Huawei Push
- DeerESP 方案一 似乎已被下架无法购买 HOT 2
- 有没有适用于WordPress的PushDeer插件?
- [功能] 如何导出已接收到的消息 HOT 1
- [Bug]自架版App登录报错 HOT 2
- ios登录显示错误信息500[Bug] HOT 1
- [Bug] 部署失败 Segmentation fault (core dumped) HOT 2
- [issues]
- 华为出超级push了
- 通过自架服务器ipv6地址获得公网访问
- ios PushDeer 自建版 没有消息提醒 打开app才刷新新消息 HOT 8
- urllib3版本问题
- 自架服务器 HOT 2
- [兼容性]Arm版的服务好像用不了这个docker ,可以做一下适配吗 ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pushdeer.