Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
server-monitor
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
server-monitor
Commits
45919bd7
There was a problem fetching the pipeline stages.
Commit
45919bd7
authored
2 years ago
by
Recolic K
Browse files
Options
Downloads
Patches
Plain Diff
u
parent
44763d65
No related branches found
No related tags found
No related merge requests found
Pipeline
#901
failed with stage
in 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
datafile_gen_daemon_conf.py
+1
-1
1 addition, 1 deletion
datafile_gen_daemon_conf.py
do.bash
+8
-13
8 additions, 13 deletions
do.bash
with
9 additions
and
14 deletions
datafile_gen_daemon_conf.py
+
1
−
1
View file @
45919bd7
...
@@ -4,7 +4,7 @@ tests = [
...
@@ -4,7 +4,7 @@ tests = [
(
'
./do.bash rproxy
'
,
'
Reverse Proxy (China FRP)
'
),
(
'
./do.bash rproxy
'
,
'
Reverse Proxy (China FRP)
'
),
(
'
./do.bash drive
'
,
'
Drive
'
),
(
'
./do.bash drive
'
,
'
Drive
'
),
(
'
./do.bash v-tw
'
,
'
Project V taiwan
'
),
(
'
./do.bash v-tw
'
,
'
Project V taiwan
'
),
(
'
./do.bash frp-
hk
'
,
'
Reverse Proxy (
HongKong
FRP)
'
),
(
'
./do.bash frp-
sg
'
,
'
Reverse Proxy (
Singapore
FRP)
'
),
(
'
./do.bash ss-iplc
'
,
'
Shadowsocks IPLC
'
),
# Both CNIP and JPIP, requires linode to be working.
(
'
./do.bash ss-iplc
'
,
'
Shadowsocks IPLC
'
),
# Both CNIP and JPIP, requires linode to be working.
(
'
./do.bash ss-us12
'
,
'
ShadowSocks US-12
'
),
(
'
./do.bash ss-us12
'
,
'
ShadowSocks US-12
'
),
(
'
./do.bash ss-hk2
'
,
'
ShadowSocks HK-2
'
),
(
'
./do.bash ss-hk2
'
,
'
ShadowSocks HK-2
'
),
...
...
This diff is collapsed.
Click to expand it.
do.bash
+
8
−
13
View file @
45919bd7
...
@@ -44,36 +44,31 @@ function do_test () {
...
@@ -44,36 +44,31 @@ function do_test () {
return
$RETURN_CODE_SERVICE_CLOSE
return
$RETURN_CODE_SERVICE_CLOSE
curl https://git.recolic.net/vr/test404
-vv
2>&1 |
grep
404
||
return
$?
curl https://git.recolic.net/vr/test404
-vv
2>&1 |
grep
404
||
return
$?
;;
;;
frp-
hk
)
frp-
sg
)
test_tcp proxy.recolic.net 30999
||
return
$?
test_tcp proxy.recolic.net 30999
||
return
$?
;;
;;
ss-us12
)
ss-us12
)
return
$RETURN_CODE_SERVICE_CLOSE
test_tcp base.us12.recolic.net 25551
||
return
$?
test_tcp base.us12.recolic.net 25551
||
return
$?
;;
;;
ss-hk2
)
ss-hk2
)
return
$RETURN_CODE_SERVICE_CLOSE
test_tcp base.hk2.recolic.net 25551
||
return
$?
test_tcp base.hk2.recolic.net 25551
||
return
$?
;;
;;
ss-iplc
)
ss-iplc
)
return
$RETURN_CODE_SERVICE_CLOSE
test_tcp base.cnjp1.recolic.net 25551
||
return
$?
test_tcp base.cnjp1.recolic.net 25551
||
return
$?
test_tcp base.cnjp1.recolic.net 25552
||
return
$?
test_tcp base.cnjp1.recolic.net 25552
||
return
$?
;;
;;
ovpn-tw
)
ovpn-tw
)
# it's impossible to detect openvpn easily without ta.key and client-certificate
# because my server is using udp + tls-auth.
# There's also something running at another port to obfuse the obfused traffic again
# to fight against GFT deep-learning VPN detection.
# So I can do nothing.....
# NO icmp required because of traffic obfused as raw IP packet.
# test_icmp base.tw1.recolic.net || return $?
return
$RETURN_CODE_SERVICE_CLOSE
return
$RETURN_CODE_SERVICE_CLOSE
;;
;;
www
)
www
)
test_icmp recolic.net
&&
test_icmp recolic.net
&&
test_icmp www.recolic.net
&&
test_icmp www.recolic.net
&&
curl
-s
https://recolic.net/
|
grep
'Powered by'
||
return
$?
curl
-s
"
https://recolic.net/
api/echo.php?KEEPALIVE"
|
grep
KEEPALIVE
||
return
$?
curl
-s
https://www.recolic.net/
|
grep
'Powered by'
||
return
$?
curl
-s
"
https://www.recolic.net/
api/echo.php?KEEPALIVE"
|
grep
KEEPALIVE
||
return
$?
curl
-s
-L
http://recolic.net/
|
grep
'Powered by'
||
return
$?
curl
-s
-L
"
http://
www.
recolic.net/
api/echo.php?KEEPALIVE"
|
grep
KEEPALIVE
||
return
$?
;;
;;
mail
)
mail
)
test_icmp smtp.recolic.net
&&
test_icmp smtp.recolic.net
&&
...
@@ -173,7 +168,7 @@ if [[ "$1" = all ]]; then
...
@@ -173,7 +168,7 @@ if [[ "$1" = all ]]; then
do_test_twice rproxy
&&
do_test_twice rproxy
&&
do_test_twice drive
&&
do_test_twice drive
&&
do_test_twice v-tw
&&
do_test_twice v-tw
&&
do_test_twice frp-
hk
&&
do_test_twice frp-
sg
&&
do_test_twice ss-us12
&&
do_test_twice ss-us12
&&
do_test_twice ss-hk2
&&
do_test_twice ss-hk2
&&
do_test_twice ss-iplc
&&
do_test_twice ss-iplc
&&
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment