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

    At times WiFi calling and sending SMS doesn't work?

    Scheduled Pinned Locked Moved Firewalling
    55 Posts 8 Posters 13.2k Views 10 Watching
    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.
    • JKnottJ Offline
      JKnott @Derelict
      last edited by

      @Derelict said in At times WiFi calling and sending SMS doesn't work?:

      You'll have to filter on the phone IP address, not MAC address.

      MAC filtering works fine, provided a router isn't in the way. I frequently filter on MACs.

      @JKnott The Diagnostics > Packet capture page DOES NOT support filtering on MAC address. Had you continued reading you would have seen me say that everything could be captured and subsequently filtered by MAC address in wireshark.

      It does here. From the text below the host address box:
      "This value is either the Source or Destination IP address, subnet in CIDR notation, or MAC address.
      Matching can be negated by preceding the value with "!". Multiple IP addresses or CIDR subnets may be specified. Comma (",") separated values perform a boolean "AND". Separating with a pipe ("|") performs a boolean "OR".
      MAC addresses must be entered in colon-separated format, such as xx:xx:xx:xx:xx:xx or a partial address consisting of one (xx), two (xx:xx), or four (xx:xx:xx:xx) segments."

      That sure looks like it can capture MAC addresses to me.

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

      1 Reply Last reply Reply Quote 1
      • DerelictD Offline
        Derelict LAYER 8 Netgate
        last edited by Derelict

        Lol. I do this all day every day and have never used that.

        Ahh. Added in 2.4.0. Cool.

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        JKnottJ 1 Reply Last reply Reply Quote 0
        • JKnottJ Offline
          JKnott @JKnott
          last edited by

          @JKnott said in At times WiFi calling and sending SMS doesn't work?:

          I'll have to look again tomorrow.

          I just did that. I captured my phone's traffic, using a Wireshark MAC filter. Like you, I see the ESP protocol listed for the WiFi calling packets. However, you can see at the left, ">" that you can click on to reveal more info. Going down through that info, I can see a VLAN ID 1, priority 3, so they're giving priority to the calls.
          Then further down, I see UDP and UDP Encapsulation of IPSec Packets and so on through the rest of the frame.

          Bottom line, WiFi calling, along with VoLTE, use UDP to encapsulate IPSec, as I mentioned above.

          BTW, another thing I see is some NAT keep alive packets.

          So, you have to compare when it works with when it doesn't to see if there are any differences.

          Also, it would be helpful if you attached the actual packet capture files, rather than a screen capture, so that we can see what's actually happening.

          Incidentally, one reason for using UDP is that it makes it easy to move calls between the cell and WiFi networks. If it wasn't used, the IPSec connection would break when moving between networks.

          PfSense running on Qotom mini PC
          i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
          UniFi AC-Lite access point

          I haven't lost my mind. It's around here...somewhere...

          1 Reply Last reply Reply Quote 0
          • JKnottJ Offline
            JKnott @Derelict
            last edited by

            @Derelict said in At times WiFi calling and sending SMS doesn't work?:

            Lol. I do this all day every day and have never used that.

            Ahh. Added in 2.4.0. Cool.

            It would be nice if they added MAC addresses to firewall rules. With IPv6, it's pretty much needed with privacy addresses.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            1 Reply Last reply Reply Quote 0
            • DerelictD Offline
              Derelict LAYER 8 Netgate
              last edited by

              pf doesn't support filtering on MAC addresses at all.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              JKnottJ 1 Reply Last reply Reply Quote 0
              • JKnottJ Offline
                JKnott @Derelict
                last edited by

                @Derelict said in At times WiFi calling and sending SMS doesn't work?:

                pf doesn't support filtering on MAC addresses at all.

                Yep, that's the problem. IPTables, as used on Linux, does.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                DerelictD 1 Reply Last reply Reply Quote 0
                • DerelictD Offline
                  Derelict LAYER 8 Netgate @JKnott
                  last edited by Derelict

                  @JKnott said in At times WiFi calling and sending SMS doesn't work?:

                  @Derelict said in At times WiFi calling and sending SMS doesn't work?:

                  pf doesn't support filtering on MAC addresses at all.

                  Yep, that's the problem. IPTables, as used on Linux, does.

                  Yes, as everyone is aware.

                  I do not personally think moving to layer 2 filtering is the correct solution to filtering outbound sourced from IPv6 privacy addresses. Trusted and untrusted segments makes more sense to me. Especially since, as you are obviously aware, MAC addresses can be easily spoofed so no real security is gained there.

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • J Offline
                    JohnnyBeGood
                    last edited by johnpoz

                    @JKnott said in At times WiFi calling and sending SMS doesn't work?:

                    It would be nice if they added MAC addresses to firewall rules. With IPv6, it's pretty much needed with privacy addresses.

                    Ok, so I tried to compare when I can dial and when I can't but could not see any difference and what is interesting when its working I do not see ESP protocol.
                    Other screenshot of pfTop is when I i'm on the call it creates connection to .233
                    When I can't make call over the Wi-Fi I turn it off place the call and it goes through after that when I turrn Wi-Fi on call goes through.

                    Can someone please compare packet_capture.zip logs?
                    packet_capture.zip

                    pfTop.JPG

                    I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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

                      compare what zips?

                      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 25.07 | Lab VMs 2.8, 25.07

                      1 Reply Last reply Reply Quote 0
                      • J Offline
                        JohnnyBeGood
                        last edited by

                        Attached file to the post. Forum software makes it not that visible.

                        d58cf831-af9d-474d-a468-fef5c925b2af-image.png

                        I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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

                          I fixed that for you ;)

                          zipslocaTion.png

                          In the one you say doesn't work see ESP out to
                          OrgName: Cellco Partnership DBA Verizon Wireless

                          No responses.

                          But in the one you say works, don't see any ESP.. I would guess you missed capturing the actual data.

                          I see some talk to samsung something, and google - nothing other in that so called working sniff. Like your call actually went out over cell vs wifi.

                          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 25.07 | Lab VMs 2.8, 25.07

                          1 Reply Last reply Reply Quote 0
                          • DerelictD Offline
                            Derelict LAYER 8 Netgate
                            last edited by

                            UDP/4500 is performing the same functionality as ESP. It is known as NAT Traversal, or NAT-T.

                            I would totally expect that for an IPsec client like wifi calling behind a NAT router. It's the same as those micro-cells. They IPsec to home base and all comms are over that too.

                            Chattanooga, Tennessee, USA
                            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                            Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                              Pretty sure your talking to the OP there Derelict.. I am quite aware of what ESP and Port 4500 are ;)

                              My point was there is only 443 traffic in his so called working pcap, and non of it was to what could be a wifi calling system either.. So either his sniff missed when the call was placed, or it didn't go over wifi like he thinks it did.

                              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 25.07 | Lab VMs 2.8, 25.07

                              1 Reply Last reply Reply Quote 0
                              • DerelictD Offline
                                Derelict LAYER 8 Netgate
                                last edited by

                                @JohnnyBeGood said in At times WiFi calling and sending SMS doesn't work?:

                                when its working I do not see ESP protocol.

                                Yeah, just commenting on that ^

                                Chattanooga, Tennessee, USA
                                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                                Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

                                  Yeah there was no ESP or NAT-T anything, NO anything really when he says it works - a https session to google and one to like *.push.samsungsomething.. Only thing I could make out in the cert - the hello didn't contain actual sni.

                                  Where sure isn't he making a wifi call

                                  So he either missed the traffic with his sniff, or his phone used cell to make the call.

                                  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 25.07 | Lab VMs 2.8, 25.07

                                  1 Reply Last reply Reply Quote 0
                                  • JKnottJ Offline
                                    JKnott
                                    last edited by

                                    I have attached a capture of a WiFi call, so the OP can see what he should be looking for. It contains both the NAT keepalive and actual IPSec traffic, which is identified by ESP, but is in fact a UDP packet encapsulating ESP.

                                    WiFicall.pcapng

                                    PfSense running on Qotom mini PC
                                    i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                                    UniFi AC-Lite access point

                                    I haven't lost my mind. It's around here...somewhere...

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

                                      ^ exactly there is 2 way communication there ;) Kind of a given for any sort of call to be going on...

                                      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 25.07 | Lab VMs 2.8, 25.07

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        JohnnyBeGood
                                        last edited by

                                        @johnpoz said in At times WiFi calling and sending SMS doesn't work?:

                                        Where sure isn't he making a wifi call

                                        Here's the video I made showing what I was doing https://youtu.be/q-iVQqJ_wA0
                                        Am I doing something wrong?

                                        I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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

                                          Not going to watch a video... If you can not post a sniff showing traffic then no traffic is happening..

                                          Your sniff showing when a call worked had ZERO traffic in that could be a call.

                                          Your call showing when didn't work showed some traffic hitting the lan, so sniff on the wan did it go out? If goes out and no answer - that has zero to do with pfsense.

                                          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 25.07 | Lab VMs 2.8, 25.07

                                          J 1 Reply Last reply Reply Quote 0
                                          • J Offline
                                            JohnnyBeGood @johnpoz
                                            last edited by

                                            packetcapture (4).zip @johnpoz said in At times WiFi calling and sending SMS doesn't work?:

                                            Not going to watch a video... If you can not post a sniff showing traffic then no traffic is happening..
                                            Your sniff showing when a call worked had ZERO traffic in that could be a call.
                                            Your call showing when didn't work showed some traffic hitting the lan, so sniff on the wan did it go out? If goes out and no answer - that has zero to do with pfsense.

                                            Attached is the packet capture as shown in the video.
                                            Call was never answered. "Calling" on the phone screen and silence as it was trying to place the call.

                                            I'm willing to post whatever is needed in order to get to the bottom of this.

                                            packetcapture (4).zip

                                            I like to fill my tub up with water, then turn the shower on and act like I'm in a submarine that's been hit!

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