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

    MSN can recieve files even though everything is blocked?

    General pfSense Questions
    6
    18
    7.4k
    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.
    • S
      sullrich
      last edited by

      Good question.  You can answer this yourself if you enable logging on the port 80 rule and test again..

      1 Reply Last reply Reply Quote 0
      • H
        hoba
        last edited by

        Do you have miniupnp enabled?

        1 Reply Last reply Reply Quote 0
        • J
          Johnny_B
          last edited by

          I don't have miniupnp no.

          The problem is that I don't have a Windows machine myself, and I don't have a MSN account. I REALLY don't wanna break my MS free record :P

          1 Reply Last reply Reply Quote 0
          • D
            databeestje
            last edited by

            This is what is considered NAT hole punching and affects almost all routers.
            Try the modulate state option in the firewall rules screen.

            1 Reply Last reply Reply Quote 0
            • Y
              yoda715
              last edited by

              Here are some good explanations on NAT hole punching.

              http://snyke.net/blog/2006/01/24/nat-hole-punching-explained/
              http://en.wikipedia.org/wiki/UDP_hole_punching

              That said, I believe you can solve your problem by enabling advanced outbound NAT. What this will do is disable all the autogenerated outbound NATs, and use the NAT's you create. You will need to create an outbound NAT for each service that you want to allow outbound. I.E. http, dns, etc traffic will each need their own outbound NAT.

              This may or may not solve your problem since MSN Messenger is a sly little devil ;).

              The only other option is to install the Snort package and filter the IM clients category and set Snort to automatically block any detected traffic.

              1 Reply Last reply Reply Quote 0
              • J
                Johnny_B
                last edited by

                I only thought NAT hole punching worked with UDP and not TCP?

                1 Reply Last reply Reply Quote 0
                • Y
                  yoda715
                  last edited by

                  It works with both

                  1 Reply Last reply Reply Quote 0
                  • J
                    Johnny_B
                    last edited by

                    @sdale:

                    It works with both

                    I've read it works with Linux with TCP, but I didn't thought *BSD suffered from this. Is it possible to do this in pf?

                    What is this "modulate state"? I don't get the description fra the man page to good.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Johnny_B
                      last edited by

                      I've enabled NAT Outbound and setup rules for the ones I want to enable. But I can't see how this would do any difference? I must enable port 80 because I need the www to work.

                      Anyone?

                      1 Reply Last reply Reply Quote 0
                      • S
                        sai
                        last edited by

                        http://doc.pfsense.org/index.php/How_Do_I_block_Instant_Messengers might help

                        1 Reply Last reply Reply Quote 0
                        • J
                          Johnny_B
                          last edited by

                          @sai:

                          http://doc.pfsense.org/index.php/How_Do_I_block_Instant_Messengers might help

                          I'm not interessed in blocking MSN. Only the file transfer side of it.

                          1 Reply Last reply Reply Quote 0
                          • H
                            hoba
                            last edited by

                            Not sure if the imspector package can do this but it's not yet ready anyway afaik. Check it out once it is done.

                            1 Reply Last reply Reply Quote 0
                            • Y
                              yoda715
                              last edited by

                              You can also install Snort to detect and block file transfers for MSN messenger.

                              1 Reply Last reply Reply Quote 0
                              • J
                                Johnny_B
                                last edited by

                                @sdale:

                                You can also install Snort to detect and block file transfers for MSN messenger.

                                Installed Snort and got it working. But I couldn't see rules for MSN filetransfers… In what category is it hiding?

                                1 Reply Last reply Reply Quote 0
                                • Y
                                  yoda715
                                  last edited by

                                  Its under the chat.rules

                                  1 Reply Last reply Reply Quote 0
                                  • J
                                    Johnny_B
                                    last edited by

                                    @sdale:

                                    Its under the chat.rules

                                    I saw that one, but that is outbound and not on port 80 :/ I'll take TCPView:

                                    http://www.microsoft.com/technet/sysinternals/utilities/TcpView.mspx

                                    To one of the students computer and look myself. Since I don't have neither Windows nor MSN :P

                                    1 Reply Last reply Reply Quote 0
                                    • Y
                                      yoda715
                                      last edited by

                                      You can edit the snort rule to detect file transfers on any port. The only problem with using snort to block file transfers is if someone initiates a file transfer, snort will block that IP from having ANY contact to your network. So basically it will cut off the file transfer and any further IM traffic to that IP for an hour.

                                      1 Reply Last reply Reply Quote 0
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.