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

    Capturing traffic using tcpdump?

    General pfSense Questions
    3
    33
    2.5k
    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.
    • F
      furom @stephenw10
      last edited by

      @stephenw10 said in Capturing traffic using tcpdump?:

      If not as blocks in the firewall log then as a load of TCP retransmissions in the pcap.

      I don't see any of those either pror to or around the time of the outage. How big of a buffer are we talking about for spotify? Seconds, minutes? When unplugging WAN, it continues to play for a little while, but not very... Perhaps should just try again... :)

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

        No idea I don't use Spotify. It's probably configurable somewhere. I'd guess a few minutes.

        F 1 Reply Last reply Reply Quote 0
        • F
          furom @stephenw10
          last edited by

          @stephenw10 Well, from what I could find it seems to differ with available storage, so will be even harder I suppose

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

            @furom so what error is your client spewing exactly? Does it want you to be using some doh dns? Does it think your internet connection is down, ie doesn't have internet?

            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

            F 1 Reply Last reply Reply Quote 0
            • F
              furom @johnpoz
              last edited by furom

              @johnpoz said in Capturing traffic using tcpdump?:

              @furom so what error is your client spewing exactly? Does it want you to be using some doh dns? Does it think your internet connection is down, ie doesn't have internet?

              That is the thing... I can't see any errors at all... Occasional packets has zero length, but that is by no means aligned or proportional to the sound-cuts...

              Edit: I seem to have used the command wrong, or slightly. Using "-w" creates a binary file, unsure why one would want that. I did instead use ">" which produced a readable format. I suppose the binary could be used in wireshark etc perhaps...? But they seem pretty similar

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

                But presumably the client itself throws an error when it stops playing?

                F 1 Reply Last reply Reply Quote 0
                • F
                  furom @stephenw10
                  last edited by

                  @stephenw10 said in Capturing traffic using tcpdump?:

                  But presumably the client itself throws an error when it stops playing?

                  If I were to describe it, it's like the stream is paused, or volume lowered really. If I didn't know better (do I??) I could almost think someone had access to my control it... The client continues just fine after every occurrence. I know the Apple TV doesn't have a log, at least their support tells me that. Yesterday the frequency of their occurrence was a lot higher than before... Whatever that could mean.

                  My hope was to use the packet stream/capture as the "log", but yes, is immensely harder, if even possible.

                  Question is perhaps if there are any client that has a log that will show what is really going on between my client and the player - if that is what is relevant to look at...

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

                    Yes, I would approach this using a different client. Try using a desktop spotify client and make sure that still hits the issue first. That might at least have more debugging options asusming it does hit it. Of course if it doesn't that implies it's something with the appleTV or at least the way it runs spotify.

                    F 1 Reply Last reply Reply Quote 1
                    • F
                      furom @stephenw10
                      last edited by furom

                      @stephenw10 I will, if nothing else to possibly rule something out. As previously said, I don't really think this is either the player, nor Spotify even, as I have changed all of it.. but still, can't explain it

                      Edit: Installed the Spotify client and it just happened again. Have not had time to figure out if there are any logs yet, but issue remains

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

                        @furom so you installed spotify on your windows pc and your still having the issue - while not a big spotify user, I have my own music collection on my plex that I use.. My dead collection has way more than spotify does ;) heheh

                        dead.jpg

                        I count like only 162 on spotify ;) heheh

                        But be happy to fire it up and see if I can hear your issue..

                        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

                        F 2 Replies Last reply Reply Quote 1
                        • F
                          furom @johnpoz
                          last edited by

                          @johnpoz said

                          But be happy to fire it up and see if I can hear your issue..

                          Thanks, I would be really surprised if it is a general issue, but a test is much appriciated :)

                          1 Reply Last reply Reply Quote 0
                          • F
                            furom @johnpoz
                            last edited by

                            @johnpoz said in Capturing traffic using tcpdump?:

                            I count like only 162 on spotify ;) heheh

                            LOL! Well, that's 162 more than I knowingly have heard. You make me curious, have to switch to try it out... Anyone in particular I should start with? :)

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

                              @furom are you asking like the best album to start with in listening to the dead? That is a really interesting question to be honest... Hmmm?

                              What sort of music are you into currently?

                              What got me on the bus, was a friend of mine playing friend of the devil to be honest.. On his guitar - so not really the dead, so then listened to a few of their versions of it, and then from then on was hooked. Saw my first show in 89.. After that - man was I hooked.. One regret is didn't get into them earlier hehah

                              Give me a bit to think about it - don't want to steer you wrong.. And the type of music you currently enjoy could help in what might be best suited dead album/songs to get you started on your journey..

                              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

                              F 1 Reply Last reply Reply Quote 0
                              • F
                                furom @johnpoz
                                last edited by

                                @johnpoz said in Capturing traffic using tcpdump?:

                                @furom are you asking like the best album to start with in listening to the dead? That is a really interesting question to be honest... Hmmm?

                                What sort of music are you into currently?

                                Well, yeah? :) I listen to just about all good music, right now mostly country, but after having listened to the dead a few songs, more of that as well :) I also like jazz, Creedence, rock from different genres, all depending on how life goes atm...

                                What got me on the bus, was a friend of mine playing friend of the devil to be honest.. On his guitar - so not really the dead, so then listened to a few of their versions of it, and then from then on was hooked. Saw my first show in 89.. After that - man was I hooked.. One regret is didn't get into them earlier hehah

                                Give me a bit to think about it - don't want to steer you wrong.. And the type of music you currently enjoy could help in what might be best suited dead album/songs to get you started on your journey..

                                Nice! Looking forward to learn a bit more about them! Thanks! :)

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

                                  @furom you sound like a perfect candidate to get on the bus then ;)

                                  Ok gave it a bit of a think - ran through the set list.. Listen to some of them, and yeah this is often mentioned as one of the best shows ever...

                                  Found it on spotify

                                  https://open.spotify.com/album/3T9UKU0jMIyrRD0PtKXqPJ

                                  5/8/77 Live - If I could could go back and see any show, this would be for sure on my short list to see..

                                  Got some of my favs on there - are they best tracks of specific songs, maybe not - but there are some killers on there for sure..

                                  I love a good franklin's tower or scarlet begonias, both of which are on dicks pick 33 which is really good album from live show on 10/9/10/76 -- Again are they cleanest best possible version of the song.. That is why the dead is good, they never did same song the same way twice really.. There is always something a litter different in each performance that can make it stand out from other versions, etc..

                                  https://open.spotify.com/album/4sY292VqKmwyj1RYlhBFoA

                                  I never really got into country - but there are some country songs that I truely love, jazz has to be live to be enjoyed for me. And I do love me some CCR... And I don't know why but love me some Lenny Kravitz - saw him live few years back for the first time at a boubon and beyond show.. Just amazing show, even though the weather sucked and our RV got stuck in the mud in the parking lot, and had to cut the weekend short.. And also a fan of Reggae, I love all good music ;) I can really enjoy some of the classical stuff as well, Mississippi John Hurt have you ever heard of him? Some great stuff!! Some really old blues - and he could play some guitar that is for sure ;)

                                  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

                                  F 1 Reply Last reply Reply Quote 1
                                  • F
                                    furom @johnpoz
                                    last edited by

                                    @johnpoz said in Capturing traffic using tcpdump?:

                                    @furom you sound like a perfect candidate to get on the bus then ;)

                                    Ok gave it a bit of a think - ran through the set list.. Listen to some of them, and yeah this is often mentioned as one of the best shows ever...

                                    Found it on spotify

                                    https://open.spotify.com/album/3T9UKU0jMIyrRD0PtKXqPJ

                                    This is fun! :) I almost hear influences from Pink Floyd too

                                    5/8/77 Live - If I could could go back and see any show, this would be for sure on my short list to see..

                                    Got some of my favs on there - are they best tracks of specific songs, maybe not - but there are some killers on there for sure..

                                    I love a good franklin's tower or scarlet begonias, both of which are on dicks pick 33 which is really good album from live show on 10/9/10/76 -- Again are they cleanest best possible version of the song.. That is why the dead is good, they never did same song the same way twice really.. There is always something a litter different in each performance that can make it stand out from other versions, etc..

                                    But that just makes them all the more likable! It will be new things to expect when listening to new versions, which is way more interesting than the same-same that sometimes is the case. Music is an art form, when performed like this :)

                                    https://open.spotify.com/album/4sY292VqKmwyj1RYlhBFoA

                                    I never really got into country - but there are some country songs that I truely love, jazz has to be live to be enjoyed for me. And I do love me some CCR... And I don't know why but love me some Lenny Kravitz - saw him live few years back for the first time at a boubon and beyond show.. Just amazing show, even though the weather sucked and our RV got stuck in the mud in the parking lot, and had to cut the weekend short.. And also a fan of Reggae, I love all good music ;) I can really enjoy some of the classical stuff as well, Mississippi John Hurt have you ever heard of him?

                                    No, this is also something new! This was so totally unexpected, but so fun! I love finding new ways, and music! Will keep to the dead tonight, but will check out Mississippi John tomorrow.

                                    Some great stuff!! Some really old blues - and he could play some guitar that is for sure ;)

                                    I'm really curious, I like this kind of music, there's so many nuances to find, and I have only just scraped on the surface... :)

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

                                      @furom Hope you enjoy - it doesn't take much to get on the bus ;)

                                      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

                                      F 1 Reply Last reply Reply Quote 1
                                      • F
                                        furom @johnpoz
                                        last edited by

                                        @johnpoz said in Capturing traffic using tcpdump?:

                                        @furom Hope you enjoy - it doesn't take much to get on the bus ;)

                                        Totally! :) Been listening most of the day, and blended in some Baskery as well :)

                                        But for the outages... Could it be DNS...? I'm almost tempted to try DoH or DoT really again... Perhaps I will just to see if it makes any difference

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

                                          @furom last night must of spent 2 hours or more listening to all kinds of music off spotify - never noticed any sort of hiccups in sound at all.

                                          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

                                          F 1 Reply Last reply Reply Quote 1
                                          • F
                                            furom @johnpoz
                                            last edited by

                                            @johnpoz said in Capturing traffic using tcpdump?:

                                            @furom last night must of spent 2 hours or more listening to all kinds of music off spotify - never noticed any sort of hiccups in sound at all.

                                            I am actually starting to suspect it is some hardware issue somewhere, like a switch or so, but why only Spotify, or correction, my streamed music, is affected, is a deep, deep mystery... Anyways, thanks for testing!

                                            I will try to configure DoT just to see if it stops or has nothing to do with DNS, I guess it won't be a conclusive test, but if it stops, I'm happy :)

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