Advertisement
carlosdorelli

Untitled

Feb 11th, 2021
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.93 KB | None | 0 0
  1. * Documentation: https://help.ubuntu.com
  2. * Management: https://landscape.canonical.com
  3. root@tcadmin:~# ufw help
  4. root@tcadmin:~# wget https://downloads.tcadmin.net/installer/tcadmin-2-bi.noarch.deb;dpkg -i tcadmin-2-bi.noarch.deb
  5. --2021-02-12 05:40:59-- https://downloads.tcadmin.net/installer/tcadmin-2-bi.noarch.deb
  6. Resolving downloads.tcadmin.net (downloads.tcadmin.net)... 185.93.1.241
  7. Connecting to downloads.tcadmin.net (downloads.tcadmin.net)|185.93.1.241|:443... connected.
  8. HTTP request sent, awaiting response... 200 OK
  9. Length: 92734118 (88M) [application/vnd.debian.binary-package]
  10. Saving to: ‘tcadmin-2-bi.noarch.deb.1’
  11.  
  12. tcadmin-2-bi.noarch.deb.1 100%[=====================================================================================================================>] 88.44M 98.7MB/s in 0.9s
  13.  
  14. 2021-02-12 05:41:00 (98.7 MB/s) - ‘tcadmin-2-bi.noarch.deb.1’ saved [92734118/92734118]
  15.  
  16. (Reading database ... 126155 files and directories currently installed.)
  17. Preparing to unpack tcadmin-2-bi.noarch.deb ...
  18. The TCAdmin Monitor has been stopped
  19. The TCAdmin Monitor service has been uninstalled successfully
  20. The TCAdmin Service Manager is stopped
  21. The TCAdmin Service Manager service has been uninstalled successfully
  22. useradd: user 'tcadmin' already exists
  23. Unpacking tcadmin (2-1) over (2-1) ...
  24. iptables: Bad rule (does a matching rule exist in that chain?).
  25. iptables: Bad rule (does a matching rule exist in that chain?).
  26. iptables: Bad rule (does a matching rule exist in that chain?).
  27. iptables: Bad rule (does a matching rule exist in that chain?).
  28. iptables: Bad rule (does a matching rule exist in that chain?).
  29. Setting up tcadmin (2-1) ...
  30. chown: invalid user: ‘tcadmin’
  31. # Generated by iptables-save v1.8.4 on Fri Feb 12 05:41:15 2021
  32. *filter
  33. :INPUT DROP [0:0]
  34. :FORWARD DROP [0:0]
  35. :OUTPUT ACCEPT [0:0]
  36. :ufw-after-forward - [0:0]
  37. :ufw-after-input - [0:0]
  38. :ufw-after-logging-forward - [0:0]
  39. :ufw-after-logging-input - [0:0]
  40. :ufw-after-logging-output - [0:0]
  41. :ufw-after-output - [0:0]
  42. :ufw-before-forward - [0:0]
  43. :ufw-before-input - [0:0]
  44. :ufw-before-logging-forward - [0:0]
  45. :ufw-before-logging-input - [0:0]
  46. :ufw-before-logging-output - [0:0]
  47. :ufw-before-output - [0:0]
  48. :ufw-logging-allow - [0:0]
  49. :ufw-logging-deny - [0:0]
  50. :ufw-not-local - [0:0]
  51. :ufw-reject-forward - [0:0]
  52. :ufw-reject-input - [0:0]
  53. :ufw-reject-output - [0:0]
  54. :ufw-skip-to-policy-forward - [0:0]
  55. :ufw-skip-to-policy-input - [0:0]
  56. :ufw-skip-to-policy-output - [0:0]
  57. :ufw-track-forward - [0:0]
  58. :ufw-track-input - [0:0]
  59. :ufw-track-output - [0:0]
  60. :ufw-user-forward - [0:0]
  61. :ufw-user-input - [0:0]
  62. :ufw-user-limit - [0:0]
  63. :ufw-user-limit-accept - [0:0]
  64. :ufw-user-logging-forward - [0:0]
  65. :ufw-user-logging-input - [0:0]
  66. :ufw-user-logging-output - [0:0]
  67. :ufw-user-output - [0:0]
  68. -A INPUT -p tcp -m tcp --dport 5000:5100 -j ACCEPT
  69. -A INPUT -p tcp -m tcp --dport 8821 -j ACCEPT
  70. -A INPUT -p tcp -m tcp --dport 8891 -j ACCEPT
  71. -A INPUT -p tcp -m tcp --dport 8890 -j ACCEPT
  72. -A INPUT -p tcp -m tcp --dport 8880 -j ACCEPT
  73. -A INPUT -j ufw-before-logging-input
  74. -A INPUT -j ufw-before-input
  75. -A INPUT -j ufw-after-input
  76. -A INPUT -j ufw-after-logging-input
  77. -A INPUT -j ufw-reject-input
  78. -A INPUT -j ufw-track-input
  79. -A FORWARD -j ufw-before-logging-forward
  80. -A FORWARD -j ufw-before-forward
  81. -A FORWARD -j ufw-after-forward
  82. -A FORWARD -j ufw-after-logging-forward
  83. -A FORWARD -j ufw-reject-forward
  84. -A FORWARD -j ufw-track-forward
  85. -A OUTPUT -j ufw-before-logging-output
  86. -A OUTPUT -j ufw-before-output
  87. -A OUTPUT -j ufw-after-output
  88. -A OUTPUT -j ufw-after-logging-output
  89. -A OUTPUT -j ufw-reject-output
  90. -A OUTPUT -j ufw-track-output
  91. -A ufw-after-input -p udp -m udp --dport 137 -j ufw-skip-to-policy-input
  92. -A ufw-after-input -p udp -m udp --dport 138 -j ufw-skip-to-policy-input
  93. -A ufw-after-input -p tcp -m tcp --dport 139 -j ufw-skip-to-policy-input
  94. -A ufw-after-input -p tcp -m tcp --dport 445 -j ufw-skip-to-policy-input
  95. -A ufw-after-input -p udp -m udp --dport 67 -j ufw-skip-to-policy-input
  96. -A ufw-after-input -p udp -m udp --dport 68 -j ufw-skip-to-policy-input
  97. -A ufw-after-input -m addrtype --dst-type BROADCAST -j ufw-skip-to-policy-input
  98. -A ufw-after-logging-forward -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
  99. -A ufw-after-logging-input -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
  100. -A ufw-before-forward -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  101. -A ufw-before-forward -p icmp -m icmp --icmp-type 3 -j ACCEPT
  102. -A ufw-before-forward -p icmp -m icmp --icmp-type 11 -j ACCEPT
  103. -A ufw-before-forward -p icmp -m icmp --icmp-type 12 -j ACCEPT
  104. -A ufw-before-forward -p icmp -m icmp --icmp-type 8 -j ACCEPT
  105. -A ufw-before-forward -j ufw-user-forward
  106. -A ufw-before-input -i lo -j ACCEPT
  107. -A ufw-before-input -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  108. -A ufw-before-input -m conntrack --ctstate INVALID -j ufw-logging-deny
  109. -A ufw-before-input -m conntrack --ctstate INVALID -j DROP
  110. -A ufw-before-input -p icmp -m icmp --icmp-type 3 -j ACCEPT
  111. -A ufw-before-input -p icmp -m icmp --icmp-type 11 -j ACCEPT
  112. -A ufw-before-input -p icmp -m icmp --icmp-type 12 -j ACCEPT
  113. -A ufw-before-input -p icmp -m icmp --icmp-type 8 -j ACCEPT
  114. -A ufw-before-input -p udp -m udp --sport 67 --dport 68 -j ACCEPT
  115. -A ufw-before-input -j ufw-not-local
  116. -A ufw-before-input -d 224.0.0.251/32 -p udp -m udp --dport 5353 -j ACCEPT
  117. -A ufw-before-input -d 239.255.255.250/32 -p udp -m udp --dport 1900 -j ACCEPT
  118. -A ufw-before-input -j ufw-user-input
  119. -A ufw-before-output -o lo -j ACCEPT
  120. -A ufw-before-output -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
  121. -A ufw-before-output -j ufw-user-output
  122. -A ufw-logging-allow -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW ALLOW] "
  123. -A ufw-logging-deny -m conntrack --ctstate INVALID -m limit --limit 3/min --limit-burst 10 -j RETURN
  124. -A ufw-logging-deny -m limit --limit 3/min --limit-burst 10 -j LOG --log-prefix "[UFW BLOCK] "
  125. -A ufw-not-local -m addrtype --dst-type LOCAL -j RETURN
  126. -A ufw-not-local -m addrtype --dst-type MULTICAST -j RETURN
  127. -A ufw-not-local -m addrtype --dst-type BROADCAST -j RETURN
  128. -A ufw-not-local -m limit --limit 3/min --limit-burst 10 -j ufw-logging-deny
  129. -A ufw-not-local -j DROP
  130. -A ufw-skip-to-policy-forward -j DROP
  131. -A ufw-skip-to-policy-input -j DROP
  132. -A ufw-skip-to-policy-output -j ACCEPT
  133. -A ufw-track-output -p tcp -m conntrack --ctstate NEW -j ACCEPT
  134. -A ufw-track-output -p udp -m conntrack --ctstate NEW -j ACCEPT
  135. -A ufw-user-input -p tcp -m tcp --dport 22 -m comment --comment "\'dapp_OpenSSH\'" -j ACCEPT
  136. -A ufw-user-input -p tcp -m tcp --dport 3306 -j ACCEPT
  137. -A ufw-user-input -p udp -m udp --dport 3306 -j ACCEPT
  138. -A ufw-user-input -p tcp -m tcp --dport 8880 -j ACCEPT
  139. -A ufw-user-input -p udp -m udp --dport 8880 -j ACCEPT
  140. -A ufw-user-limit -m limit --limit 3/min -j LOG --log-prefix "[UFW LIMIT BLOCK] "
  141. -A ufw-user-limit -j REJECT --reject-with icmp-port-unreachable
  142. -A ufw-user-limit-accept -j ACCEPT
  143. COMMIT
  144. # Completed on Fri Feb 12 05:41:15 2021
  145.  
  146. Unhandled Exception:
  147. System.ArgumentException: invalid username
  148. Parameter name: user
  149. at Mono.Unix.UnixUserInfo..ctor (System.String user) [0x00034] in <97ee56d4e0644027bc13259277d0bcbc>:0
  150. at j.a () [0x000a2] in <0d09be099f2848bf704a59ce0eef9f3c>:0
  151. at k.ilpBa () [0x0010f] in <0d09be099f2848bf704a59ce0eef9f3c>:0
  152. at h.a (System.String[] a) [0x00444] in <0d09be099f2848bf704a59ce0eef9f3c>:0
  153. [ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: invalid username
  154. Parameter name: user
  155. at Mono.Unix.UnixUserInfo..ctor (System.String user) [0x00034] in <97ee56d4e0644027bc13259277d0bcbc>:0
  156. at j.a () [0x000a2] in <0d09be099f2848bf704a59ce0eef9f3c>:0
  157. at k.ilpBa () [0x0010f] in <0d09be099f2848bf704a59ce0eef9f3c>:0
  158. at h.a (System.String[] a) [0x00444] in <0d09be099f2848bf704a59ce0eef9f3c>:0
  159. The TCAdmin Service Manager service has been installed successfully
  160. The TCAdmin Monitor has been started
  161. The TCAdmin Service Manager has been started
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement