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

    Figure out users uploads

    General pfSense Questions
    5
    19
    5.0k
    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.
    • N
      nutt318
      last edited by

      Thank you for explaining that, I think I figure out it out now. But somehow I'm still seeing open states even though I cleared them to this IP range. I've search for this IP and noticed a lot of machines are going to this IP and I cannot figure out what it is.


      1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator
        last edited by

        If you cleared states after you have put in that block.  Are you sure that your lan net is correct… You might want to replace the lan net source with any.

        If your trying to figure out what it is, look on a machine that is creating the connection and what binary is creating it. If windows simple enough to do with netstat -anb to see what process is creating the connection.  On linux box netstat -p should should you the pid of the what is making the connections.

        Do a sniff to see what is contained in the traffic.

        You sure the connections are not going down say that sprinttunnel interface or from dmz?  You sure the outbound connections are hitting the lan interface?

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        1 Reply Last reply Reply Quote 0
        • N
          nutt318
          last edited by

          I've changed it to Any and it looks from watching the traffic graph that it is still not being affected. The machine in question is a Mac Pro desktop and when ever the user is on the machine during working hours theres a lot of uploading from their IP. I've gone to the machine once physically to double check that it is the correct IP and it is, so I know I've got the right person. Anyways here is the BandwidthD graph from just today, there is a lot of upload and it needs to stop. The user says there not doing anything and I cant see anything running on the machine that would cause this.

          I know that the user is on the LAN connection, the Sprint is a Tunnel VPN to another network and the DMZ is a seperate network for some DEV servers in the server room.

          When you say sniff, should I just run a packet capture on their IP from within pfSense or are you suggesting another way?

          Thanks for all the help!

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            lot of upload - there is one tiny little spike between 9 and 10 am this morning..  Today is the 14th.

            You can sniff right on pfsense for the traffic from their IP.. No reason to go to their machine unless the traffic would not be going to pfsense, ie lan to lan traffic.  But if what your worried about is internet then pfsense has to see it - right ;)

            And that graph is showing you the traffic from their ip to a specific destination?  Or all your traffic to a specific dst.  I don't see any current traffic on that graph.

            If you blocked it on pfsense (correctly) and cleared the states, then its not possible for the traffic to be getting past pfsense.

            You stated their were A lot of machines
            "noticed a lot of machines are going to this IP"

            So do you have only this one mac client generating traffic to these networks your trying to block?  Or more than 1 lan clients?  Mac  you can do the same thing, not sure if you can see processes involved with netstat version on OS X, but you should be able to use the lsof command for this.

            You really should be interested in finding what is making the connection on the box(es) – maybe its legit, maybe its not?  on the couple of ips you listed that were to port 80, you would think http - but they respond with not http sort of data when you do a wget to them on that port.  And I show the  78.141.179.17 being owned by

            organisation:    ORG-EdPe1-RIPE
            org-name:        Entreprise des Postes et Telecommunications
            org-type:        LIR
            address:        Entreprise des P&T
                            2, rue Emile Bian
                            2999 Luxembourg
                            Luxembourg

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 0
            • N
              nutt318
              last edited by

              Well its basically just 1 user that is consistantly showing around 4-5gb of upload a day. From the time stamps its only when the user is at work, not like something is running while he is at home.

              My main goal is to find out if this traffic is legit or not, so if I do a packet capture, how long do I let it run for; besides wireshark are there any other tools to actually tell what is going on?

              1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator
                last edited by

                you can do the capture on pfsense, and sure use wireshark to look at the capture.  Let it run for say 100 packets with the destination netblock in the host field..  if your saying his moving that about of traffic should only take a couple of seconds to get the packets.

                But would really look to see what process on his box is creating the connections.  lsof should be able to tell you that on his machine.  Once you no what process is doing it, you can stop it at the source of the problem.

                4-5gb a day on the upload side??  Yeah I would be really curious about that as well.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • stephenw10S
                  stephenw10 Netgate Administrator
                  last edited by

                  @johnpoz:

                  lsof should be able to tell you that on his machine.

                  Nice, fact learnt for today!  :)

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • N
                    nutt318
                    last edited by

                    So after running a packet capture and looking at it in Wireshark is there a way I can tell what destination or IP is cosuming the most bandwidth?

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      sure you can look at the wireshark stats under converstations

                      example - quick 2 second capture on my workbox

                      converstations.jpg
                      converstations.jpg_thumb

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • N
                        nutt318
                        last edited by

                        perfect, thank you!

                        Well it looks like i've found out the souce on where the traffic was going. It is our email hosting provider, which is strange to me. Now I need to check with the user and see if something is stuck trying to send in their outbox.

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          really?  Must be one huge email, or maybe they are infected sending spam?  Or maybe it keeps trying to send same email and failing?

                          Once you figure out please post, got me curious ;)

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                          1 Reply Last reply Reply Quote 0
                          • stephenw10S
                            stephenw10 Netgate Administrator
                            last edited by

                            My money's on spam.  ;)
                            Though you might expect the provider to have notified you.

                            Steve

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