Advertisement
Gryph_The_Grey

ALL THE TRICKS

Jul 31st, 2020
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. THIS IS RADARCORE
  2. sudo lsof -i -P -n | grep LISTEN
  3.  
  4. cardano-n 2769 griff 15u IPv4 3522598 0t0 TCP 127.0.0.1:12788 (LISTEN)
  5. cardano-n 2769 griff 16u IPv4 3521826 0t0 TCP 127.0.0.1:12798 (LISTEN)
  6. cardano-n 2769 griff 24u IPv4 3521854 0t0 TCP *:5050 (LISTEN)
  7. cardano-n 2769 griff 25u IPv6 3522612 0t0 TCP *:5050 (LISTEN)
  8. grafana-s 8377 griff 10u IPv6 2621512 0t0 TCP *:3000 (LISTEN)
  9. grafana-s 8415 grafana 8u IPv6 2622846 0t0 TCP *:30000 (LISTEN)
  10. prometheu 9791 prometheus 5u IPv6 2014297 0t0 TCP *:9090 (LISTEN)
  11. prometheu 9806 prometheus 3u IPv6 2014430 0t0 TCP *:9100 (LISTEN)
  12. exim4 19511 Debian-exim 3u IPv4 39482 0t0 TCP 127.0.0.1:25 (LISTEN)
  13. exim4 19511 Debian-exim 4u IPv6 39483 0t0 TCP [::1]:25 (LISTEN)
  14. sshd 19702 root 3u IPv4 46266 0t0 TCP *:5555 (LISTEN)
  15. sshd 19702 root 4u IPv6 46268 0t0 TCP *:5555 (LISTEN)
  16.  
  17. griff@RadarCore:~$ netstat -tpn | grep ':5'
  18. (Not all processes could be identified, non-owned process info
  19. will not be shown, you would have to be root to see it all.)
  20. (37.187.117.197 is relay1 does not show in liveview) (5.196.69.123 is relay2 shows in live view)
  21. tcp 0 0 rada.rcore.ip:5050 37.187.117.197:40363 ESTABLISHED 2769/cardano-node (THIS IS RELAY1)
  22. tcp 0 0 rada.rcore.ip:5050 37.187.117.197:41745 ESTABLISHED 2769/cardano-node (THIS IS RELAY1)
  23. tcp 0 1 rada.rcore.ip:44289 160.153.136.3:5053 SYN_SENT 2769/cardano-node
  24. tcp 0 512 rada.rcore.ip:5555 ho.m.e.ip:9662 ESTABLISHED -
  25. tcp 0 0 rada.rcore.ip:52284 151.101.0.133:443 ESTABLISHED - (WHAT THE FUCK IS THIS?)
  26. tcp 0 0 rada.rcore.ip:5050 5.196.69.123:35195 ESTABLISHED 2769/cardano-node (THIS IS RELAY2)
  27. tcp 0 0 rada.rcore.ip:34659 37.187.117.197:5054 TIME_WAIT -
  28. tcp 0 192 rada.rcore.ip:42941 5.196.69.123:5055 ESTABLISHED 2769/cardano-node
  29. griff@RadarCore:~$ sudo ufw status verbose
  30. Status: active
  31. Logging: on (low)
  32. Default: deny (incoming), allow (outgoing), disabled (routed)
  33. New profiles: skip
  34.  
  35. To Action From
  36. -- ------ ----
  37. 5555 ALLOW IN ho.m.e.ip
  38. 5050 ALLOW IN 37.187.117.147
  39. 5050 ALLOW IN 5.196.69.123
  40. Anywhere ALLOW IN 37.187.117.197
  41.  
  42. FROM RELAY1
  43. sudo lsof -i -P -n | grep LISTEN
  44. sshd 538 root 3u IPv4 13969 0t0 TCP *:5555 (LISTEN)
  45. sshd 538 root 4u IPv6 13971 0t0 TCP *:5555 (LISTEN)
  46. exim4 772 Debian-exim 3u IPv4 14081 0t0 TCP 127.0.0.1:25 (LISTEN)
  47. exim4 772 Debian-exim 4u IPv6 14082 0t0 TCP [::1]:25 (LISTEN)
  48. cardano-n 2308 griff 15u IPv4 22713 0t0 TCP 127.0.0.1:12788 (LISTEN)
  49. cardano-n 2308 griff 17u IPv4 21736 0t0 TCP 127.0.0.1:12798 (LISTEN)
  50. cardano-n 2308 griff 24u IPv4 22726 0t0 TCP *:5054 (LISTEN)
  51. cardano-n 2328 griff 23u IPv4 22186 0t0 TCP *:5053 (LISTEN)
  52. griff@Relay1:~/badass1$ netstat -tpn | grep ':5'
  53. (Not all processes could be identified, non-owned process info
  54. will not be shown, you would have to be root to see it all.)
  55. tcp 0 0 37.187.117.197:5053 62.171.162.207:41183 TIME_WAIT - (zombie)
  56. tcp 13032 0 37.187.117.197:42967 bad.ass.core.ip:5050 ESTABLISHED 2308/cardano-node
  57. tcp 0 0 37.187.117.197:5053 62.171.162.207:41653 TIME_WAIT - (zombie)
  58. tcp 0 0 37.187.117.197:40363 rad.ar.core.ip:5050 ESTABLISHED 2308/cardano-node
  59. tcp 0 0 37.187.117.197:5053 18.132.81.255:45649 TIME_WAIT -(zombie)
  60. tcp 0 0 37.187.117.197:5054 62.171.162.207:37693 TIME_WAIT - (zombie)
  61. tcp 0 0 37.187.117.197:5053 18.132.81.255:36983 TIME_WAIT -(zombie)
  62. tcp 0 0 37.187.117.197:5053 18.132.81.255:35827 TIME_WAIT -(zombie)
  63. tcp 0 224 37.187.117.197:5555 ho.m.e.ip:55692 ESTABLISHED -
  64. tcp 0 0 37.187.117.197:38377 bad.ass.core.ip:5050 ESTABLISHED 2328/cardano-node
  65. tcp 0 0 37.187.117.197:41745 rad.ar.core.ip:5050 ESTABLISHED 2328/cardano-node
  66. tcp 0 0 37.187.117.197:5053 18.132.81.255:43767 TIME_WAIT -
  67. tcp 0 0 37.187.117.197:5053 18.132.81.255:35179 TIME_WAIT -
  68. griff@Relay1:~/badass1$ sudo ufw status verbose
  69. Status: active
  70. Logging: on (low)
  71. Default: deny (incoming), allow (outgoing), disabled (routed)
  72. New profiles: skip
  73.  
  74. To Action From
  75. -- ------ ----
  76. 5555 ALLOW IN ho.m.e.ip
  77. 5053:5054/tcp ALLOW IN Anywhere
  78. 5053:5054/udp ALLOW IN Anywhere
  79. 5555 ALLOW IN re.lay.2.ip (for scp)
  80. 5053:5054/tcp (v6) ALLOW IN Anywhere (v6)
  81. 5053:5054/udp (v6) ALLOW IN Anywhere (v6)
  82.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement