• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 591.8k 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 Jun 1, 2015, 12:52 PM

    The bandwith comsumed depends on the handling of the firewall…

    It sounds odd, but its not a bandwith attack and the reply vs. no reply from the FW is the difference between 30mbit and 7-8mbit traffic.

    Its hard to explain but when I see the traffic graphs its very different when the FW loses packets and when it survives.

    1 Reply Last reply Reply Quote 0
    • F
      firewalluser
      last edited by Jun 1, 2015, 1:14 PM

      @Harvy66:

      @almabes:

      Supermule's attacks would overwhelm my available bandwidth and the box would be unreachable.

      Orerwhelming bandwidth is the expected situation, we're concerned about overwhelming the CPU for a fairly high end CPU and a small amount of traffic.

      Exactly, its quite possible there might be too code expected to run when considering the workload Snort has to do when SM tested it with snort running.

      Nothing can be done by a fw when the bandwith is tested to the max provided the fw can handle the bandwith in the first place which is going to be different due to different hw in use including differences in cpu's, bus speeds of the mb, nic's used etc etc. Thats a lot of variables to check.

      Add in additional packages and services that its expected to run and before long you end up with something like a MS Small Business Server which is expected to handle quite alot of work on one box and then users wonder why networks grind to a halt when everyone logs in at the same time in the morning.

      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
      • S
        Supermule Banned
        last edited by Jun 1, 2015, 1:32 PM

        Snort is not the issue since it didnt matter if it was there or not.

        I wanted Snort on the testbox because its nice and I wanted to test it to see if it did somthing bad/good in regards to the overall load on the box.

        When one core hits 100% its gone….

        1 Reply Last reply Reply Quote 0
        • F
          firewalluser
          last edited by Jun 1, 2015, 3:29 PM

          Well lots of possibilities but imo until we can get Dtrace working on a pfsense machine its going to be guess work for now.

          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
          • S
            Supermule Banned
            last edited by Jun 1, 2015, 5:36 PM Jun 1, 2015, 4:24 PM

            EDIT: Rant over…

            1 Reply Last reply Reply Quote 0
            • F
              firewalluser
              last edited by Jun 1, 2015, 4:27 PM

              Any reason why?

              Perhaps they feel Dtrace is not the best tool for the job?
              Maybe too busy in the short term?
              Some other reason?

              It still doesnt stop us from having a go though does it?

              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 Jun 1, 2015, 4:49 PM

                @Supermule:

                Yes and the dev's dont want to help at all.

                Devs have helped.

                1 Reply Last reply Reply Quote 0
                • A
                  almabes
                  last edited by Jun 1, 2015, 5:11 PM

                  @tim.mcmanus:

                  @Supermule:

                  Yes and the dev's dont want to help at all.

                  Devs have helped.

                  I agree with Tim, here.  I  started a conversation with the Devs last week.  Not going into it completely on this thread though. 
                  Long and the short of it was:

                  A) We have a mismatch of problem and solution (DoS attack and Stateful packet filtering device)
                  B) We need to recreate the problem on FreeBSD 10.1-RELEASE.  (Something I am working on with Supermule)
                  C) DTrace will help locate the issue, and the quickest way to get it going is on a stock FreeBSD box.

                  The message from devs was also educational as to the architecture of BSD in general, and FreeBSD specifically.

                  When we isolate the issue, I will release documentation.  Keep your pants on.  If you can help with tracing or logging, or configuring pf then help me.  It'll help the community get the desired results (pfSense more resistant to nefarious scripts) much quicker.

                  1 Reply Last reply Reply Quote 0
                  • S
                    Supermule Banned
                    last edited by Jun 1, 2015, 7:43 PM

                    https://forum.pfsense.org/index.php?topic=24337.0

                    Very interesting thread!

                    Do we have any that have something else than em driver nics on the boxes?

                    1 Reply Last reply Reply Quote 0
                    • T
                      tim.mcmanus
                      last edited by Jun 1, 2015, 8:06 PM

                      @Supermule:

                      https://forum.pfsense.org/index.php?topic=24337.0

                      Very interesting thread!

                      Do we have any that have something else than em driver nics on the boxes?

                      So it's a driver and an OS issue, you don't say?  ;D

                      1 Reply Last reply Reply Quote 0
                      • S
                        Supermule Banned
                        last edited by Jun 1, 2015, 8:36 PM

                        We dont know yet since we have tuned the damn thing hence a lot of numbers dont add up in the default settings in pfsense.

                        So we are working on it :D

                        1 Reply Last reply Reply Quote 0
                        • T
                          tim.mcmanus
                          last edited by Jun 1, 2015, 8:38 PM

                          I do think the last link you posted was excellent with a lot of good discussion, and it might be worth testing non-em boxes.  All of my interfaces are em's, so I won't be able to help.

                          1 Reply Last reply Reply Quote 0
                          • F
                            firewalluser
                            last edited by Jun 1, 2015, 10:25 PM

                            I've got a usb2 10/100 plugable.com usb nic currently on my wan interface which I can swap with a gigabit usb3 plugable.com usb nic if need be as well as a sole onboard intel nic built into my little Intel D847 dual core celeron with 8Gb of ram and 30Gb msata ssd, so I can test all 3 formats to see how the different network drivers work on the same system by reassigning the wan interface. Avg CPU load is between 30-40% since installing the latest version of snort on it the other day so it should fall over quite quickly without any system tuning if this thread is anything to go by.

                            I can do it tomorrow later on in the morning as have appointments first thing as I've now found about about dangling states which was holding me up.

                            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 Jun 1, 2015, 10:43 PM

                              @firewalluser:

                              I've got a usb2 10/100 plugable.com usb nic currently on my wan interface which I can swap with a gigabit usb3 plugable.com usb nic if need be as well as a sole onboard intel nic built into my little Intel D847 dual core celeron with 8Gb of ram and 30Gb msata ssd, so I can test all 3 formats to see how the different network drivers work on the same system by reassigning the wan interface. Avg CPU load is between 30-40% since installing the latest version of snort on it the other day so it should fall over quite quickly without any system tuning if this thread is anything to go by.

                              I can do it tomorrow later on in the morning as have appointments first thing as I've now found about about dangling states which was holding me up.

                              Make sure you know exactly which drivers are loading up to support the interface.  Some commands to run in FreeBSD to help:

                              
                              pciconf -lv
                              
                              

                              That will list the interfaces and classify them for you.  Also go to /var/log/dmesg.boot to see your last boot log.  You'll see a section in there that will look something like this:

                              
                              em0: <intel(r) 1000="" pro="" network="" connection="" 7.4.2="">port 0xf060-0xf07f mem 0xf7c00000-0xf7c1ffff,0xf7c38000-0xf7c38fff irq 20 at device 25.0 on pci0
                              em0: Using an MSI interrupt
                              ehci0: <intel panther="" point="" usb="" 2.0="" controller="">mem 0xf7c37000-0xf7c373ff irq 16 at device 26.0 on pci0
                              usbus1: EHCI version 1.0
                              usbus1 on ehci0
                              hdac0: <intel panther="" point="" hda="" controller="">mem 0xf7c30000-0xf7c33fff irq 22 at device 27.0 on pci0
                              pcib1: <acpi pci-pci="" bridge="">irq 16 at device 28.0 on pci0
                              pci1: <acpi pci="" bus="">on pcib1
                              em1: <intel(r) 1000="" pro="" network="" connection="" 7.4.2="">port 0xe000-0xe01f mem 0xf7bc0000-0xf7bdffff,0xf7b00000-0xf7b7ffff,0xf7be0000-0xf7be3fff irq 16 at device 0.0 on pci1
                              em1: Using MSIX interrupts with 3 vectors
                              pcib2: <acpi pci-pci="" bridge="">irq 16 at device 28.4 on pci0
                              pci2: <acpi pci="" bus="">on pcib2
                              em2: <intel(r) 1000="" pro="" network="" connection="" 7.4.2="">port 0xd000-0xd01f mem 0xf7ac0000-0xf7adffff,0xf7a00000-0xf7a7ffff,0xf7ae0000-0xf7ae3fff irq 16 at device 0.0 on pci2
                              em2: Using MSIX interrupts with 3 vectors
                              pcib3: <acpi pci-pci="" bridge="">irq 18 at device 28.6 on pci0
                              pci3: <acpi pci="" bus="">on pcib3
                              em3: <intel(r) 1000="" pro="" network="" connection="" 7.4.2="">port 0xc000-0xc01f mem 0xf7900000-0xf791ffff,0xf7920000-0xf7923fff irq 18 at device 0.0 on pci3
                              em3: Using MSIX interrupts with 3 vectors</intel(r)></acpi></acpi></intel(r)></acpi></acpi></intel(r)></acpi></acpi></intel></intel></intel(r)> 
                              

                              And of course the ever popular ifconfig.

                              FreeBSD loads NIC drivers (I think) from the kernel, so it might take some hunting to determine which ones are being used.

                              1 Reply Last reply Reply Quote 0
                              • F
                                fsansfil
                                last edited by Jun 1, 2015, 11:19 PM

                                Who can hit me with the attack? There are few scenarios I would like to see how they respond. Can someone PM or email with available timezone so we could try a few of them ?

                                F.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  almabes
                                  last edited by Jun 2, 2015, 3:17 AM

                                  @fsansfil:

                                  Who can hit me with the attack? There are few scenarios I would like to see how they respond. Can someone PM or email with available timezone so we could try a few of them ?

                                  F.

                                  Supermule can execute the attack.  He's UTC + 1.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Supermule Banned
                                    last edited by Jun 2, 2015, 5:24 AM

                                    My skype name is: kontaktnetsupply

                                    Its a lot easier that way :)

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      firewalluser
                                      last edited by Jun 2, 2015, 7:22 AM

                                      Just be aware everything you give out over Skype will be investigated by MS as per the Skyper agreement before you installed Skype, which means any web addresses, private ip addresses will see at least the Bing bot turning up at.

                                      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
                                      • S
                                        Supermule Banned
                                        last edited by Jun 2, 2015, 7:27 AM

                                        I know mate.

                                        :)

                                        Exactly the reason why I removed my webcam and microphone :D

                                        The material shared over skype has nothing valuable in it.

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          firewalluser
                                          last edited by Jun 2, 2015, 9:04 AM

                                          @tim.mcmanus:

                                          Make sure you know exactly which drivers are loading up to support the interface.  Some commands to run in FreeBSD to help:

                                          
                                          [b]pciconf -lv[/b]
                                          
                                          

                                          em0@pci0:0:25:0: class=0x020000 card=0x20448086 chip=0x15038086 rev=0x04 hdr=0x00
                                              class      = network
                                              subclass  = ethernet

                                          The usb nics are not visible only the USB hubs they are plugged into.

                                          That will list the interfaces and classify them for you.  Also go to /var/log/dmesg.boot to see your last boot log.  You'll see a section in there that will look something like this:

                                          Motherboard nic
                                          em0: <intel(r) 1000="" pro="" network="" connection="" 7.4.2="">port 0xf080-0xf09f mem 0xf7c00000-0xf7c1ffff,0xf7c29000-0xf7c29fff irq 20 at device 25.0 on pci0
                                          em0: Using an MSI interrupt

                                          Usb nics ue0 to ue3 same as below have not plugged in the gigabit ones yet.

                                          ukphy0: <generic ieee="" 802.3u="" media="" interface="">PHY 16 on miibus0
                                          ukphy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
                                          ue0: <usb ethernet="">on axe0

                                          And of course the ever popular ifconfig.

                                          FreeBSD loads NIC drivers (I think) from the kernel, so it might take some hunting to determine which ones are being used.

                                          em0: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
                                          options=4209b <rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic,vlan_hwtso>ether
                                          inet6 em0 prefixlen 64 scopeid 0x1
                                          inet 192.168.37.1 netmask 0xffffff00 broadcast 192.168.37.255
                                          nd6 options=21 <performnud,auto_linklocal>media: Ethernet autoselect (1000baseT <full-duplex>)
                                          status: active
                                          ue0: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
                                          options=80008 <vlan_mtu,linkstate>ether
                                          inet6 ue0 prefixlen 64 scopeid 0x6
                                          inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255
                                          nd6 options=21 <performnud,auto_linklocal>media: Ethernet autoselect (100baseTX <full-duplex>)
                                          status: active
                                          ue1: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
                                          options=80008 <vlan_mtu,linkstate>ether
                                          inet6 ue1 prefixlen 64 scopeid 0x7
                                          inet 192.168.60.1 netmask 0xffffff00 broadcast 192.168.60.255
                                          nd6 options=21 <performnud,auto_linklocal>media: Ethernet autoselect (100baseTX <full-duplex>)
                                          status: active
                                          ue2: flags=8843 <up,broadcast,running,simplex,multicast>metric 0 mtu 1500
                                          options=80008 <vlan_mtu,linkstate>ether
                                          inet6 ue2 prefixlen 64 scopeid 0x8
                                          nd6 options=21 <performnud,auto_linklocal>media: Ethernet autoselect (100baseTX <full-duplex>)
                                          status: active
                                          ue3: flags=8943 <up,broadcast,running,promisc,simplex,multicast>metric 0 mtu 1500
                                          options=80008 <vlan_mtu,linkstate>ether
                                          inet6 ue3 prefixlen 64 scopeid 0x9
                                          inet 192.168.50.50 netmask 0xffffff00 broadcast 192.168.50.255
                                          nd6 options=21 <performnud,auto_linklocal>media: Ethernet autoselect (100baseTX <full-duplex>)
                                          status: active

                                          If you need any other info let me know.

                                          Supermule if you want to hit me up, my ip is currently 92.29.124.124, VMware is recording the dashboard so traffic graphs for the interfaces, system activity and Status: System logs: Firewall (Dynamic View), with packet capture running on wan. Current CPUP load is 41 as if with nothing really happening other than those browser windows running along with snort so off to make a cup of tea.  ;)</full-duplex></performnud,auto_linklocal></vlan_mtu,linkstate></up,broadcast,running,promisc,simplex,multicast></full-duplex></performnud,auto_linklocal></vlan_mtu,linkstate></up,broadcast,running,simplex,multicast></full-duplex></performnud,auto_linklocal></vlan_mtu,linkstate></up,broadcast,running,promisc,simplex,multicast></full-duplex></performnud,auto_linklocal></vlan_mtu,linkstate></up,broadcast,running,promisc,simplex,multicast></full-duplex></performnud,auto_linklocal></rxcsum,txcsum,vlan_mtu,vlan_hwtagging,vlan_hwcsum,wol_magic,vlan_hwtso></up,broadcast,running,promisc,simplex,multicast></usb></generic></intel(r)>

                                          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
                                          494 out of 737
                                          • First post
                                            494/737
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received