Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
anonsurf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
packages
tools
anonsurf
Commits
71cee279
Commit
71cee279
authored
Nov 21, 2020
by
dmknght
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
syntax error on new iptables version
parent
dafa0707
Pipeline
#1477
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
daemon/anondaemon
daemon/anondaemon
+2
-1
nimsrc/anonsurf/cores/refresher.nim
nimsrc/anonsurf/cores/refresher.nim
+1
-0
No files found.
daemon/anondaemon
View file @
71cee279
...
...
@@ -152,7 +152,8 @@ function start {
# Allow loopback output
/usr/sbin/iptables
-A
OUTPUT
-d
127.0.0.1/32
-o
lo
-j
ACCEPT
/usr/sbin/iptables
-A
INPUT
-d
127.0.0.1/32
-o
lo
-j
ACCEPT
# iptables 1.8.5 can't use -o with input
# /usr/sbin/iptables -A INPUT -d 127.0.0.1/32 -o lo -j ACCEPT
# Tor transproxy magic
/usr/sbin/iptables
-A
OUTPUT
-d
127.0.0.1/32
-p
tcp
-m
tcp
--dport
$TOR_PORT
--tcp-flags
FIN,SYN,RST,ACK SYN
-j
ACCEPT
...
...
nimsrc/anonsurf/cores/refresher.nim
View file @
71cee279
...
...
@@ -69,6 +69,7 @@ proc updateDetail*(args: DetailObjs, myStatus: Status) =
szErr
+=
1
if
szErr
==
0
:
# ACtivated green
args
.
lblPorts
.
setMarkup
(
"Ports: <b><span background=
\"
#333333
\"
foreground=
\"
#00FF00
\"
>Activated</span></b>"
)
elif
szErr
==
3
:
# Give error msg with red color
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment