• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Better logging & RPC Traffic

Scheduled Pinned Locked Moved General pfSense Questions
25 Posts 4 Posters 6.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    jimp Rebel Alliance Developer Netgate
    last edited by May 28, 2013, 12:11 PM

    Set all of your rules to log, see what turns up between those two PCs in the logs, pass or block.

    Try to get a packet capture of the traffic on both sides, see what portions of the traffic show up on either side, if at all.

    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

    Need help fast? Netgate Global Support!

    Do not Chat/PM for help!

    1 Reply Last reply Reply Quote 0
    • B Offline
      boomam
      last edited by May 28, 2013, 3:32 PM

      @jimp:

      Set all of your rules to log, see what turns up between those two PCs in the logs, pass or block.

      Try to get a packet capture of the traffic on both sides, see what portions of the traffic show up on either side, if at all.

      Already done all that.
      Its hard to get it to capture RPC traffic as the ports are random each time.
      Assuming that the traffic would be seen in the "allow" rule as previously mentioned, i would assume it would show in a log.

      1 Reply Last reply Reply Quote 0
      • J Offline
        jimp Rebel Alliance Developer Netgate
        last edited by May 28, 2013, 7:11 PM

        It's not difficult to capture if you filter by IP and not port. No matter what port was being sent, it would still be from the same source IP to the same destination IP.

        Yes, if your allow rules all log, and your block rules all log, then any traffic seen by the firewall would be logged (pass or block) - if you never see traffic hit the firewall then it wasn't sent to the firewall.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • B Offline
          boomam
          last edited by May 29, 2013, 2:14 PM May 29, 2013, 2:09 PM

          Running a packet capture on the remote Pf on its LAN interface, filtering on the computer im testing from.
          The test to see if traffic is going across is a ping to a computer on the main site.
          ICMP Packets are showing, now to test other protocols…

          1 Reply Last reply Reply Quote 0
          • B Offline
            boomam
            last edited by May 29, 2013, 2:38 PM May 29, 2013, 2:19 PM

            I can see lots of traffic from the test source to the test destination, ranging along a large variety of ports!
            I'll do the same test on the primary PF now too…

            ##EDIT##
            On the primary PF, i can see the traffic coming in over the OpenVPN interface.

            Is there a way to show what in the capture is blocked? Or allowed?

            The MSDTC test program shows that the test works from Primary server to remote server, but not remote to primary.

            1 Reply Last reply Reply Quote 0
            • J Offline
              jimp Rebel Alliance Developer Netgate
              last edited by May 29, 2013, 4:15 PM

              A packet capture can't know what was passed or blocked, it only shows packets received on the wire.

              The firewall log would show passes/blocks provided that you have your firewall rules all set to log (including the default deny rule controlled by the checkbox on the log settings tab)

              Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • J Offline
                jimp Rebel Alliance Developer Netgate
                last edited by May 29, 2013, 4:16 PM

                This may help:
                http://support.microsoft.com/kb/224196

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • B Offline
                  boomam
                  last edited by May 29, 2013, 4:22 PM

                  Thanks but ive read that link before, no help.

                  The following shows that 135 & "random high TCP ports" are used for cert services. Unfortunately im not sure how i'd go about setting them to specific ports.
                  http://technet.microsoft.com/en-us/library/cc875824.aspx

                  This:
                  http://social.technet.microsoft.com/wiki/contents/articles/1559.how-to-configure-a-static-dcom-port-for-ad-cs.aspx
                  Seems to imply that i can force the ports to certain numbers…i'll try it in a test lab, see if it breaks anything.

                  I suppose at that point if ive got it on a specific port range and that range is allowed both LAN side and OpenVPN side on BOTH PFs, then that's PF out of the equation then isnt it?

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    jimp Rebel Alliance Developer Netgate
                    last edited by May 29, 2013, 4:25 PM

                    Yes, it would appear to be the case.

                    Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                    Need help fast? Netgate Global Support!

                    Do not Chat/PM for help!

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      boomam
                      last edited by Jul 5, 2013, 10:45 AM

                      As an update:

                      I THINK ive resolved this….wasnt PfSense causing this at all, it was TMG.

                      "strict RPC compliance" was on. Turn it off, and thus far, works fine, as well as fixing a few other minor issues which i assume use RPC or DCOM.

                      Im still testing but it'll be hilarious if a protocol that MS products rely on to work, is "broken" by a MS product too. :p

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        This community forum collects and processes your personal information.
                        consent.not_received