Guest User

Untitled

a guest
Jan 22nd, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. Mac-mini-6:~ User$ sudo pfctl -vnf /etc/pf.conf
  2.  
  3. pfctl: Use of -f option, could result in flushing of rules
  4. present in the main ruleset added by the system at startup.
  5. See /etc/pf.conf for further details.
  6.  
  7. scrub-anchor "/*" all fragment reassemble
  8. nat-anchor "/*" all
  9. rdr-anchor "/*" all
  10. anchor "/*" all
  11. anchor "/*" all
  12. dummynet-anchor "/*" all
  13.  
  14. Loading anchor com.apple from /etc/pf.anchors/com.apple
  15. anchor "/*" all
  16. anchor "/*" all
  17.  
  18. Loading anchor plex-ssdp.block from /etc/pf.anchors/plex-ssdp.block
  19. block drop out quick on en0 proto udp from any to any port = 1900
  20. block drop out quick on en1 proto udp from any to any port = 1900
  21.  
  22.  
  23. Mac-mini-6:~ User$ sudo pfctl -vnf /etc/pf.anchors/plex-ssdp.block
  24. pfctl: Use of -f option, could result in flushing of rules
  25. present in the main ruleset added by the system at startup.
  26. See /etc/pf.conf for further details.
  27.  
  28. block drop out quick on en0 proto udp from any to any port = 1900
  29. block drop out quick on en1 proto udp from any to any port = 1900
  30.  
  31. $sudo tcpdump -n -s0 port 1900 and udp
  32. IP 192.168.2.11.53952 > 239.255.255.250.1900: UDP, length 101
  33.  
  34. Mac-mini-6:~ User$ sudo pfctl -vvv -s all
  35. No ALTQ support in kernel
  36. ALTQ related functions disabled
  37. TRANSLATION RULES:
  38. @0 nat-anchor "com.apple/*" all
  39. [ Owner : nil Priority : 0 ]
  40. [ Evaluations: 46275 Packets: 0 Bytes: 0 States: 0 ]
  41. [ Inserted: uid 0 pid 511 ]
  42. @0 rdr-anchor "com.apple/*" all
  43. [ Owner : nil Priority : 0 ]
  44. [ Evaluations: 105227 Packets: 0 Bytes: 0 States: 0 ]
  45. [ Inserted: uid 0 pid 511 ]
  46.  
  47. FILTER RULES:
  48. @0 scrub-anchor "com.apple/*" all fragment reassemble
  49. [ Owner : nil Priority : 0 ]
  50. [ Evaluations: 180874 Packets: 0 Bytes: 0 States: 0 ]
  51. [ Inserted: uid 0 pid 511 ]
  52. @0 anchor "com.apple/*" all
  53. [ Owner : nil Priority : 0 ]
  54. [ Evaluations: 105266 Packets: 0 Bytes: 0 States: 0 ]
  55. [ Inserted: uid 0 pid 511 ]
  56. @1 anchor "plex-ssdp.block/*" all
  57. [ Owner : nil Priority : 0 ]
  58. [ Evaluations: 105266 Packets: 0 Bytes: 0 States: 0 ]
  59. [ Inserted: uid 0 pid 511 ]
  60.  
  61. DUMMYNET RULES:
  62. @0 dummynet-anchor "com.apple/*" all
  63. [ Owner : nil Priority : 0 ]
  64. [ Evaluations: 0 Packets: 0 Bytes: 0 States: 0 ]
  65. [ Inserted: uid 0 pid 511 ]
  66.  
  67. INFO:
  68. Status: Enabled for 0 days 03:42:26 Debug: Urgent
  69.  
  70. listening on pktap, link-type PKTAP (Apple DLT_PKTAP), capture size 262144 bytes
  71. 12:07:51.775753 IP 192.168.2.11.53952 > 239.255.255.250.1900: UDP, length 101
  72. 12:07:51.782263 IP 192.168.2.12.1900 > 192.168.2.11.53952: UDP, length 289
  73. 12:07:51.783203 IP 192.168.2.15.1900 > 192.168.2.11.53952: UDP, length 289
  74. 12:07:51.783207 IP 192.168.2.3.1900 > 192.168.2.11.53952: UDP, length 247
  75. 12:07:51.783208 IP 192.168.2.6.1900 > 192.168.2.11.53952: UDP, length 447
  76. 12:07:51.783209 IP 192.168.2.3.1900 > 192.168.2.11.53952: UDP, length 251
  77. 12:07:51.783210 IP 192.168.2.6.1900 > 192.168.2.11.53952: UDP, length 449
  78. 12:07:51.783211 IP 192.168.2.15.1900 > 192.168.2.11.53952: UDP, length 275
  79. 12:07:51.783211 IP 192.168.2.12.1900 > 192.168.2.11.53952: UDP, length 275
  80. 12:07:51.783212 IP 192.168.2.16.1900 > 192.168.2.11.53952: UDP, length 272
  81. 12:07:51.783213 IP 192.168.2.12.1900 > 192.168.2.11.53952: UDP, length 287
  82. 12:07:51.784444 IP 192.168.2.15.1900 > 192.168.2.11.53952: UDP, length 287
Add Comment
Please, Sign In to add comment