Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * Documentation: https://help.ubuntu.com
- * Management: https://landscape.canonical.com
- root@tcadmin:~# ufw help
- root@tcadmin:~# wget https://downloads.tcadmin.net/installer/tcadmin-2-bi.noarch.deb;dpkg -i tcadmin-2-bi.noarch.deb
- --2021-02-12 05:40:59-- https://downloads.tcadmin.net/installer/tcadmin-2-bi.noarch.deb
- Resolving downloads.tcadmin.net (downloads.tcadmin.net)... 185.93.1.241
- Connecting to downloads.tcadmin.net (downloads.tcadmin.net)|185.93.1.241|:443... connected.
- HTTP request sent, awaiting response... 200 OK
- Length: 92734118 (88M) [application/vnd.debian.binary-package]
- Saving to: ‘tcadmin-2-bi.noarch.deb.1’
- tcadmin-2-bi.noarch.deb.1 100%[=====================================================================================================================>] 88.44M 98.7MB/s in 0.9s
- 2021-02-12 05:41:00 (98.7 MB/s) - ‘tcadmin-2-bi.noarch.deb.1’ saved [92734118/92734118]
- (Reading database ... 126155 files and directories currently installed.)
- Preparing to unpack tcadmin-2-bi.noarch.deb ...
- The TCAdmin Monitor has been stopped
- The TCAdmin Monitor service has been uninstalled successfully
- The TCAdmin Service Manager is stopped
- The TCAdmin Service Manager service has been uninstalled successfully
- useradd: user 'tcadmin' already exists
- Unpacking tcadmin (2-1) over (2-1) ...
- iptables: Bad rule (does a matching rule exist in that chain?).
- iptables: Bad rule (does a matching rule exist in that chain?).
- iptables: Bad rule (does a matching rule exist in that chain?).
- iptables: Bad rule (does a matching rule exist in that chain?).
- iptables: Bad rule (does a matching rule exist in that chain?).
- Setting up tcadmin (2-1) ...
- chown: invalid user: ‘tcadmin’
- # Generated by iptables-save v1.8.4 on Fri Feb 12 05:41:15 2021
- *filter
- :INPUT DROP [0:0]
- :FORWARD DROP [0:0]
- :OUTPUT ACCEPT [0:0]
- :ufw-after-forward - [0:0]
- :ufw-after-input - [0:0]
- :ufw-after-logging-forward - [0:0]
- :ufw-after-logging-input - [0:0]
- :ufw-after-logging-output - [0:0]
- :ufw-after-output - [0:0]
- :ufw-before-forward - [0:0]
- :ufw-before-input - [0:0]
- :ufw-before-logging-forward - [0:0]
- :ufw-before-logging-input - [0:0]
- :ufw-before-logging-output - [0:0]
- :ufw-before-output - [0:0]
- :ufw-logging-allow - [0:0]
- :ufw-logging-deny - [0:0]
- :ufw-not-local - [0:0]
- :ufw-reject-forward - [0:0]
- :ufw-reject-input - [0:0]
- :ufw-reject-output - [0:0]
- :ufw-skip-to-policy-forward - [0:0]
- :ufw-skip-to-policy-input - [0:0]
- :ufw-skip-to-policy-output - [0:0]
- :ufw-track-forward - [0:0]
- :ufw-track-input - [0:0]
- :ufw-track-output - [0:0]
- :ufw-user-forward - [0:0]
- :ufw-user-input - [0:0]
- :ufw-user-limit - [0:0]
- :ufw-user-limit-accept - [0:0]
- :ufw-user-logging-forward - [0:0]
- :ufw-user-logging-input - [0:0]
- :ufw-user-logging-output - [0:0]
- :ufw-user-output - [0:0]
- -A INPUT -p tcp -m tcp --dport 5000:5100 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 8821 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 8891 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 8890 -j ACCEPT
- -A INPUT -p tcp -m tcp --dport 8880 -j ACCEPT
- -A INPUT -j ufw-before-logging-input
- -A INPUT -j ufw-before-input
- -A INPUT -j ufw-after-input
- -A INPUT -j ufw-after-logging-input
- -A INPUT -j ufw-reject-input
- -A INPUT -j ufw-track-input
- -A FORWARD -j ufw-before-logging-forward
- -A FORWARD -j ufw-before-forward
- -A FORWARD -j ufw-after-forward
- -A FORWARD -j ufw-after-logging-forward
- -A FORWARD -j ufw-reject-forward
- -A FORWARD -j ufw-track-forward
- -A OUTPUT -j ufw-before-logging-output
- -A OUTPUT -j ufw-before-output
- -A OUTPUT -j ufw-after-output
- -A OUTPUT -j ufw-after-logging-output
- -A OUTPUT -j ufw-reject-output
- -A OUTPUT -j ufw-track-output
- -A ufw-after-input -p udp -m udp --dport 137 -j ufw-skip-to-policy-input
- -A ufw-after-input -p udp -m udp --dport 138 -j ufw-skip-to-policy-input
- -A ufw-after-input -p tcp -m tcp --dport 139 -j ufw-skip-to-policy-input
- -A ufw-after-input -p tcp -m tcp --dport 445 -j ufw-skip-to-policy-input
- -A ufw-after-input -p udp -m udp --dport 67 -j ufw-skip-to-policy-input
- -A ufw-after-input -p udp -m udp --dport 68 -j ufw-skip-to-policy-input
- -A ufw-after-input -m addrtype --dst-type BROADCAST -j ufw-skip-to-policy-input
- -A ufw-after-logging-forward -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
- -A ufw-after-logging-input -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
- -A ufw-before-forward -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
- -A ufw-before-forward -p icmp -m icmp --icmp-type 3 -j ACCEPT
- -A ufw-before-forward -p icmp -m icmp --icmp-type 11 -j ACCEPT
- -A ufw-before-forward -p icmp -m icmp --icmp-type 12 -j ACCEPT
- -A ufw-before-forward -p icmp -m icmp --icmp-type 8 -j ACCEPT
- -A ufw-before-forward -j ufw-user-forward
- -A ufw-before-input -i lo -j ACCEPT
- -A ufw-before-input -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
- -A ufw-before-input -m conntrack --ctstate INVALID -j ufw-logging-deny
- -A ufw-before-input -m conntrack --ctstate INVALID -j DROP
- -A ufw-before-input -p icmp -m icmp --icmp-type 3 -j ACCEPT
- -A ufw-before-input -p icmp -m icmp --icmp-type 11 -j ACCEPT
- -A ufw-before-input -p icmp -m icmp --icmp-type 12 -j ACCEPT
- -A ufw-before-input -p icmp -m icmp --icmp-type 8 -j ACCEPT
- -A ufw-before-input -p udp -m udp --sport 67 --dport 68 -j ACCEPT
- -A ufw-before-input -j ufw-not-local
- -A ufw-before-input -d 224.0.0.251/32 -p udp -m udp --dport 5353 -j ACCEPT
- -A ufw-before-input -d 239.255.255.250/32 -p udp -m udp --dport 1900 -j ACCEPT
- -A ufw-before-input -j ufw-user-input
- -A ufw-before-output -o lo -j ACCEPT
- -A ufw-before-output -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
- -A ufw-before-output -j ufw-user-output
- -A ufw-logging-allow -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
- -A ufw-logging-deny -m conntrack --ctstate INVALID -m limit --limit 3/min --limit-burst 10 -j RETURN
- -A ufw-logging-deny -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
- -A ufw-not-local -m addrtype --dst-type LOCAL -j RETURN
- -A ufw-not-local -m addrtype --dst-type MULTICAST -j RETURN
- -A ufw-not-local -m addrtype --dst-type BROADCAST -j RETURN
- -A ufw-not-local -m limit --limit 3/min --limit-burst 10 -j ufw-logging-deny
- -A ufw-not-local -j DROP
- -A ufw-skip-to-policy-forward -j DROP
- -A ufw-skip-to-policy-input -j DROP
- -A ufw-skip-to-policy-output -j ACCEPT
- -A ufw-track-output -p tcp -m conntrack --ctstate NEW -j ACCEPT
- -A ufw-track-output -p udp -m conntrack --ctstate NEW -j ACCEPT
- -A ufw-user-input -p tcp -m tcp --dport 22 -m comment --comment "\'dapp_OpenSSH\'" -j ACCEPT
- -A ufw-user-input -p tcp -m tcp --dport 3306 -j ACCEPT
- -A ufw-user-input -p udp -m udp --dport 3306 -j ACCEPT
- -A ufw-user-input -p tcp -m tcp --dport 8880 -j ACCEPT
- -A ufw-user-input -p udp -m udp --dport 8880 -j ACCEPT
- -A ufw-user-limit -m limit --limit 3/min -j LOG --log-prefix "[UFW LIMIT BLOCK] "
- -A ufw-user-limit -j REJECT --reject-with icmp-port-unreachable
- -A ufw-user-limit-accept -j ACCEPT
- COMMIT
- # Completed on Fri Feb 12 05:41:15 2021
- Unhandled Exception:
- System.ArgumentException: invalid username
- Parameter name: user
- at Mono.Unix.UnixUserInfo..ctor (System.String user) [0x00034] in <97ee56d4e0644027bc13259277d0bcbc>:0
- at j.a () [0x000a2] in <0d09be099f2848bf704a59ce0eef9f3c>:0
- at k.ilpBa () [0x0010f] in <0d09be099f2848bf704a59ce0eef9f3c>:0
- at h.a (System.String[] a) [0x00444] in <0d09be099f2848bf704a59ce0eef9f3c>:0
- [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: invalid username
- Parameter name: user
- at Mono.Unix.UnixUserInfo..ctor (System.String user) [0x00034] in <97ee56d4e0644027bc13259277d0bcbc>:0
- at j.a () [0x000a2] in <0d09be099f2848bf704a59ce0eef9f3c>:0
- at k.ilpBa () [0x0010f] in <0d09be099f2848bf704a59ce0eef9f3c>:0
- at h.a (System.String[] a) [0x00444] in <0d09be099f2848bf704a59ce0eef9f3c>:0
- The TCAdmin Service Manager service has been installed successfully
- The TCAdmin Monitor has been started
- The TCAdmin Service Manager has been started
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement