212 Commits

Author SHA1 Message Date
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
f4b6955343
Add utility functions for filtering results and rename templates 2021-01-12 10:21:03 +00:00
78ce724171
Fix bindata build step and parameterize docker build 2021-01-12 10:21:02 +00:00
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
Arnie97
7f5ea89a14
fix navbar for mobile devices 2020-08-16 21:20:23 +08:00
Lan Tian
437587b90a
frontend: disallow search engine crawling 2020-08-15 20:26:16 +08:00
Arnie97
2a928f71ae
fix: show fractions of a second in the correct column 2020-08-02 14:49:38 +08:00
Arnie97
7b1dc6718d
frontend: support rebranding 2020-08-02 14:49:10 +08:00
Arnie97
6e4bbd6410
frontend: replace non-standard xhtml mix with html5 2020-08-02 14:48:58 +08:00
Arnie97
20b1233ec8
frontend: apply go fmt 2020-08-02 14:48:47 +08:00
Lan Tian
f661e878c4
proxy: improve linux fallback logic 2020-08-01 22:23:09 +08:00
Lan Tian
8e74ca0ce7
proxy: also display message on exec error 2020-08-01 22:20:33 +08:00
Lan Tian
862e2aca7a
frontend: fix telegram bot responding to non-commands 2020-07-10 20:56:37 +08:00
Lan Tian
9fc5076681
frontend: fix empty result bug 2020-07-10 00:12:02 +08:00
Lan Tian
c617ae4e0a
frontend: for DN42, filter more weird whois prefixes 2020-07-10 00:10:36 +08:00
Lan Tian
f2fbfed412
frontend: for DN42 also filter whois lines beginning with space 2020-07-10 00:03:19 +08:00
Lan Tian
fc098c7d50
frontend: improve empty result handling 2020-06-29 15:04:32 +08:00
Lan Tian
47d7168718
frontend: fix empty response handling 2020-06-29 13:50:56 +08:00
Lan Tian
86d25bfd8f
add GPLv3 license file 2020-06-29 13:48:34 +08:00
Lan Tian
721b3f6cc7
frontend: cleanup telegram replies 2020-06-29 13:44:48 +08:00
Yuhui Xu
df18bd153c
Merge pull request #4 from chn-lee-yumi/master
Fix link error from ASN to Whois page
2020-06-21 02:13:57 +08:00
YumiLee
bed9fefef2
修复AS跳转到whois时的bug 2020-06-21 00:55:00 +08:00
Lan Tian
442e0df3a6
proxy: add http logging 2020-06-01 23:26:33 +08:00