331 Commits

Author SHA1 Message Date
Yuhui Xu
fd3e7b8379 Merge pull request #13 from xddxdd/lantian-dev
Add build notes from #11
2021-04-01 22:54:41 +08:00
Lan Tian
8765189deb general: add build notes from #11 2021-04-01 22:47:08 +08:00
Yuhui Xu
492942cce1 Merge pull request #12 from AluisioASG/domainless
frontend: make domain optional
2021-04-01 22:43:13 +08:00
Aluísio Augusto Silva Gonçalves
f81a5308ae frontend: make domain optional
Making the domain optional allows usage of bare hostnames for
the servers (e.g. when they're statically configured) and even
IP addresses if someone is so inclined (although presentation
might suffer in this case).
2021-03-31 16:44:44 -03:00
Lan Tian
5b5a09ccbd frontend: clamp telegram api response to 4096 chars 2021-03-31 22:43:46 +08:00
Lan Tian
dc4d7e6532 general: update makefiles for project 2021-03-15 00:49:13 +08:00
Lan Tian
28a7d2a53f general: fix incorrect name for pushed docker images 2021-03-06 21:41:44 +08:00
Lan Tian
4413f1032f general: try to fix multiarch build 2021-03-06 21:21:42 +08:00
Lan Tian
007b66e036 Revert "general: remove build for all arch but amd64"
This reverts commit 1c3d9ec594.
2021-03-06 20:52:04 +08:00
Lan Tian
3f612d2e76 proxy: fix plain traceroute not executed 2021-02-28 23:09:11 +08:00
Lan Tian
f49f8bac5e proxy: support arbitraty traceroute arguments 2021-02-27 16:42:42 +08:00
Lan Tian
f6ddc5761b frontend: remove unnecessary URL escapes 2021-02-27 15:24:21 +08:00
Lan Tian
1c3d9ec594 general: remove build for all arch but amd64 2021-01-18 23:13:25 +08:00
Lan Tian
6cc0c617b4 frontend: add API for server list 2021-01-17 16:16:41 +08:00
Lan Tian
e2cc580da3 frontend: add CORS header to API 2021-01-17 12:45:20 +08:00
Lan Tian
472cec74b0 general: update README.md 2021-01-17 12:37:22 +08:00
Lan Tian
da2c3d9aed frontend: add API 2021-01-17 12:35:29 +08:00
Lan Tian
aa76bc3de7 ci: try fix test error 2021-01-17 02:39:17 +08:00
Lan Tian
a984095282 frontend: add tests against XSS 2021-01-17 02:21:23 +08:00
Lan Tian
1baf325149 frontend: move redirect logic to HTML 2021-01-17 01:33:14 +08:00
Lan Tian
72946e1113 frontend: filter output to prevent XSS 2021-01-17 01:14:49 +08:00
Lan Tian
90e5012840 proxy: filter input to prevent XSS 2021-01-15 01:22:39 +08:00
Lan Tian
8d5eb56199 Fix building Docker image for arm and i386 2021-01-15 01:00:54 +08:00
Lan Tian
8d0618fed9 Update CircleCI config 2021-01-15 00:41:38 +08:00
Yuhui Xu
f8ea511d44 Merge pull request #8 from sesa-me/burble.dn42-templates
Add static file bundling and HTML templating
2021-01-14 23:01:43 +08:00
Yuhui Xu
b99eb60c30 Merge pull request #9 from xddxdd/circleci-project-setup
Circleci project setup
2021-01-14 00:02:18 +08:00
Yuhui Xu
9f934ca53c Updated config.yml 2021-01-13 23:58:44 +08:00
Yuhui Xu
ee7cc1675b Add .circleci/config.yml 2021-01-13 23:37:32 +08:00
Simon Marsh
f4b6955343 Add utility functions for filtering results and rename templates 2021-01-12 10:21:03 +00:00
Simon Marsh
78ce724171 Fix bindata build step and parameterize docker build 2021-01-12 10:21:02 +00:00
Simon Marsh
6179c688be - Use bindata to package static file content in to the frontend binary
- Add golang templates to move HTML rendering out of the go code where possible
- Add an endpoint for serving static files
- Add URL escaping for servers and targets
2021-01-11 15:00:05 +00:00
Lan Tian
8d0e210572 Fix #7 2021-01-11 22:24:15 +08:00
Lan Tian
26c51176e4 proxy: add back ipv6 endpoints for compatibility with original project 2020-11-20 21:58:44 +08:00
Yuhui Xu
5cf2ac57b8 Merge pull request #6 from petabyteboy/master
preserve leading spaces
2020-11-19 23:22:00 +08:00
Milan Pässler
75bc63ffa7 preserve leading spaces 2020-11-18 19:27:46 +01:00
Lan Tian
438c6a1f82 general: fix travis multiarch 2020-11-09 01:37:09 +08:00
Lan Tian
b98d783739 general: use stable debian to build docker image 2020-11-09 01:23:58 +08:00
Lan Tian
5000ad1bbf general: add s390x & ppc64le 2020-11-07 20:24:37 +08:00
Lan Tian
538699ccd2 proxy: scratch-based docker image 2020-11-07 20:20:42 +08:00
Lan Tian
9e77de6b46 frontend: scratch-based docker image 2020-11-07 20:06:07 +08:00
Lan Tian
c15942cc32 proxy: fix regex formatting error 2020-10-30 23:33:56 +08:00
Lan Tian
3bcfc3d36c Remove BIRDv1 support 2020-10-30 23:10:03 +08:00
Lan Tian
79431effb2 proxy: fix handling when allowedIP is empty 2020-10-28 00:00:26 +08:00
Lan Tian
cdfb18e87a general: update travis.yml 2020-10-27 23:18:02 +08:00
Lan Tian
06dbe57ab2 proxy: fix IP limit handling 2020-10-27 23:09:55 +08:00
Lan Tian
0216365551 frontend: improve robustness handling errors 2020-10-27 22:59:11 +08:00
Yuhui Xu
5f7cc934b9 Merge pull request #5 from BrendanHalley/master
Add source IP filtering/allow list feature to proxy
2020-10-26 00:34:39 +08:00
Brendan Halley
1bd656256f Add source IP filtering/allow list feature 2020-10-25 12:58:11 +11:00
Lan Tian
254b967159 proxy: show output instead of errcode when repeated trying 2020-09-20 00:31:15 +08:00
Lan Tian
1a8c7b6e6b proxy: output errors of all attempts when failing 2020-09-19 17:54:10 +08:00