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

    What is the biggest attack in GBPS you stopped

    Scheduled Pinned Locked Moved General pfSense Questions
    737 Posts 33 Posters 712.6k 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.
    • S
      Supermule Banned
      last edited by

      Waiting for the update to come. I will update and report back.

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

        @peterclark4:

        @Supermule:

        https://lists.freebsd.org/pipermail/freebsd-announce/2015-July/001655.html

        Latest update.

        Does this need to be included in 2.2.4 before it is released?

        You beat me to it. This thread is the first thing I thought about when I saw this in G+

        https://www.freebsd.org/security/advisories/FreeBSD-SA-15:13.tcp.asc

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

          Supermule, is this directly related to what you've been digging into?

          1 Reply Last reply Reply Quote 0
          • S
            Supermule Banned
            last edited by

            Could very well be.

            1 Reply Last reply Reply Quote 0
            • T
              tim.mcmanus
              last edited by

              So you haven't tested it?  It's more of a definite maybe that this resolves the issue?

              1 Reply Last reply Reply Quote 0
              • S
                Supermule Banned
                last edited by

                Not yet.

                @tim.mcmanus:

                So you haven't tested it?  It's more of a definite maybe that this resolves the issue?

                1 Reply Last reply Reply Quote 0
                • F
                  firewalluser
                  last edited by

                  @Supermule:

                  https://lists.freebsd.org/pipermail/freebsd-announce/2015-July/001655.html

                  Latest update.

                  I suppose another question to ask, is how did we miss this on our own machines, and what can we do to avoid such problems from occurring again?

                  Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

                  Asch Conformity, mainly the blind leading the blind.

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

                    Supermule didn't miss it. Well, possibly. If it turns out to be the same issue.

                    1 Reply Last reply Reply Quote 0
                    • F
                      firewalluser
                      last edited by

                      Spotted the behavior but nothing outputted from pfsense to observe though.

                      Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

                      Asch Conformity, mainly the blind leading the blind.

                      1 Reply Last reply Reply Quote 0
                      • T
                        tim.mcmanus
                        last edited by

                        @firewalluser:

                        Spotted the behavior but nothing outputted from pfsense to observe though.

                        Because it's not a pfSense issue.  This is an FreeBSD network driver issue.

                        1 Reply Last reply Reply Quote 0
                        • F
                          firewalluser
                          last edited by

                          So there is nothing we can do then as this is just like a HW failure of sorts then?

                          Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

                          Asch Conformity, mainly the blind leading the blind.

                          1 Reply Last reply Reply Quote 0
                          • T
                            tim.mcmanus
                            last edited by

                            @firewalluser:

                            So there is nothing we can do then as this is just like a HW failure of sorts then?

                            Yes and no.

                            If you can code and want to help recode the FreeBSD network drivers, they could use the help.  They've acknowledged that there will be more improvements in the networking layer in v11.

                            Because pfSense is built on top of FreeBSD, it's only as good as the underlying operating system code.  So bugs/deficiencies in the OS code affect the applications running on it.  So we can't expect the pfSense team to fix a problem that's not in pfSense, and they are at the mercy of the FreeBSD code releases.  I know they regularly collaborate with the FreeBSD team, but they don't run that project.

                            So it's not hardware per se, there are two layers of code that are maintained by two separate projects.

                            Here are the two threads Supoermule opened up on the FreeBSD forums before they started ignoring him:

                            https://forums.freebsd.org/threads/dos-and-ddos-attacks.51899/

                            https://forums.freebsd.org/threads/freebsd-pf-and-syn-ack-flooding.51921/

                            With any software project, you need to provide very detailed information to the developers so they can ascertain what the root cause may be as well as any code you're using to trigger the issue.  While Supermule provides a lot of data, it's not data the developers or forum users found useful, similar to what's in this thread.

                            So it's possible the revised FreeBSD code resolves something, but until it's tested against this use case appropriately (on bare metal) it's only a guess as best that it resolves this use case.

                            1 Reply Last reply Reply Quote 0
                            • C
                              cmb
                              last edited by

                              @Supermule:

                              https://lists.freebsd.org/pipermail/freebsd-announce/2015-July/001655.html

                              Latest update.

                              That has no relation to things people have been attempting here. It only applies to sessions the system itself answers (and gets all the way to LAST_ACK state, which never happens in any of these tests). No applicability with things it's routing, or NATing, or blocking, or passing but not able to complete a TCP handshake much less get to LAST_ACK.

                              2.2.4 snapshots have had the patch since the first build after its release, yesterday morning. Release is coming hopefully tomorrow, though not because of that specifically, as it's non-applicable for the vast majority of use cases.

                              Note the credit to Netflix? Probably something they ran into by coincidence on their FreeBSD CDN boxes (when you're pumping 20-40 Gbps out of a single server across a huge number of connections, you tend to run into any possible TCP bugs), then found the associated potential security impact.

                              1 Reply Last reply Reply Quote 0
                              • jdillardJ
                                jdillard
                                last edited by

                                @cmb:

                                Note the credit to Netflix? Probably something they ran into by coincidence on their FreeBSD CDN boxes (when you're pumping 20-40 Gbps out of a single server across a huge number of connections, you tend to run into any possible TCP bugs), then found the associated potential security impact.

                                As an aside, you can watch Gleb Smirnoff talk about why Netflix decided to use NGINX and FreeBSD to build their own CDN: https://www.youtube.com/watch?v=KP_bKvXkoC4

                                1 Reply Last reply Reply Quote 0
                                • KOMK
                                  KOM
                                  last edited by

                                  So we can't expect the pfSense team to fix a problem that's not in pfSense, and they are at the mercy of the FreeBSD code releases.

                                  While we can't expect them to, they certainly have fixed some FreeBSD bugs and submitted the patches upstream, which were accepted for inclusion by the FreeBSD team.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Supermule Banned
                                    last edited by

                                    Exactly. But nothing….

                                    Let wait and see if it works.

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

                                      Why would it?

                                      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
                                      • T
                                        tim.mcmanus
                                        last edited by

                                        @Supermule:

                                        Exactly. But nothing….

                                        Let wait and see if it works.

                                        1 Reply Last reply Reply Quote 0
                                        • ivorI
                                          ivor
                                          last edited by

                                          @tim.mcmanus:

                                          Here are the two threads Supoermule opened up on the FreeBSD forums before they started ignoring him:

                                          https://forums.freebsd.org/threads/dos-and-ddos-attacks.51899/

                                          https://forums.freebsd.org/threads/freebsd-pf-and-syn-ack-flooding.51921/

                                          I don't see their response as ignoring https://forums.freebsd.org/threads/freebsd-pf-and-syn-ack-flooding.51921/#post-291316

                                          Need help fast? Our support is available 24/7 https://www.netgate.com/support/

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            firewalluser
                                            last edited by

                                            @tim.mcmanus:

                                            Because pfSense is built on top of FreeBSD, it's only as good as the underlying operating system code.  So bugs/deficiencies in the OS code affect the applications running on it. 
                                            Snip

                                            I understand all of this.

                                            So it's possible the revised FreeBSD code resolves something, but until it's tested against this use case appropriately (on bare metal) it's only a guess as best that it resolves this use case.

                                            The point I'm angling at, is this, unless we have better logging facilities for all and any output from freeBSD and the pfsense elements sat on top, we wont be able to spot the problems will we?

                                            Or am I missing something?

                                            Capitalism, currently The World's best Entertainment Control System and YOU cant buy it! But you can buy this, or some of this or some of these

                                            Asch Conformity, mainly the blind leading the blind.

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