From nobody Sat Jun 26 19:38:54 2021 X-Original-To: freebsd-pf@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 876E011E4C17 for ; Sat, 26 Jun 2021 19:39:07 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: from mail-vs1-xe2d.google.com (mail-vs1-xe2d.google.com [IPv6:2607:f8b0:4864:20::e2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GC41k64mHz3Q4k for ; Sat, 26 Jun 2021 19:39:06 +0000 (UTC) (envelope-from ozkan.kirik@gmail.com) Received: by mail-vs1-xe2d.google.com with SMTP id 68so7505502vsu.6 for ; Sat, 26 Jun 2021 12:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=gg+vo9RNd+RBiHxLX+RtDLRxSZ/8fc0opCoWGf1tX44=; b=tl3l+qHj+frU8xtyAZdwpqHCUPeVD3ZJl6eCl5OrRBPNOrYc2j++72239v0ITWRTCa OB2kEIgcySng0Q2LOANhISmxOlB3BImnyDEyJCuir4HAAcKSLtmNbWh4erL83GYg9E0g SWaKvWpscYQpMCd1orQ8RDHnQ7SeEzvq7xF5E7BBUpe6aDiP9Ua/G2XfHY+n1u5o0SEH 3E4OI4PvCd3o1QHeY1Yc5d2sYSBt5A48IKohzWwNm5XgEh8CB95QcTXg3VkjcRfxecIL 0aeR0FL1q8rDE631JJ4k7rlyPD7G1Iu84RkDZtqwBYSojAfFKvtEiqUce1N/EqmEEBjC pQrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=gg+vo9RNd+RBiHxLX+RtDLRxSZ/8fc0opCoWGf1tX44=; b=HM7CIaSENgTVu+QIemjN81ovdEBioZGcGlBw7g5JAwYYuD0Xym8+pHX241EOAVEvdH StvFDacm4PoHTgNfUFNxZLzIKt4663aCmtusV55MjlckTOulMn/31g1MpLiQJfTNQwL4 SubvllSa2wa97EbvWN8xuYh9JecHryvFTm1coQir+5ivtKNuJRKoqmrJV5t0gHXWGY70 69F/1iye9Sq5Qn3sYzN7esEHc0mM9JqyubW3QfCCe0PktpnI+OaSRFFCQcJVFk0v5+VC 7Y8vp8eBmIAQrI4gwRTw035hSCt9IB5TOvvadjE8wD+Pz6dNHQSUH6GhcuA1wjn3jerT ox4g== X-Gm-Message-State: AOAM533xjmF1W6npnDeOL4OUZa+1St3AVPOkH3GlxxHGk3cnCNw9WnvD /1BfNUM2H8v7Ml71RE8jUEFAXc2T/YnkLgP8OfqXyW4A X-Google-Smtp-Source: ABdhPJxlRsPhnTKrQC4Bs9bSh9ROPCsculO+k4BNpT5X03mpaDrZeUXX8olgFRUYInnBPFkqbMZwIIl0uZBucnKv/V0= X-Received: by 2002:a67:ea17:: with SMTP id g23mr13591512vso.55.1624736345323; Sat, 26 Jun 2021 12:39:05 -0700 (PDT) List-Id: Technical discussion and general questions about packet filter (pf) List-Archive: https://lists.freebsd.org/archives/freebsd-pf List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-pf@freebsd.org X-BeenThere: freebsd-pf@freebsd.org MIME-Version: 1.0 From: =?UTF-8?B?w5Z6a2FuIEtJUklL?= Date: Sat, 26 Jun 2021 22:38:54 +0300 Message-ID: Subject: pfctl -P -ss -vv -- sometimes eats cpu and becomes unkillable To: freebsd-pf@freebsd.org Content-Type: multipart/alternative; boundary="000000000000b77de905c5b068f0" X-Rspamd-Queue-Id: 4GC41k64mHz3Q4k X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=tl3l+qHj; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ozkankirik@gmail.com designates 2607:f8b0:4864:20::e2d as permitted sender) smtp.mailfrom=ozkankirik@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-0.996]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::e2d:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-pf@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::e2d:from:127.0.2.255]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::e2d:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-pf] X-ThisMailContainsUnwantedMimeParts: Y --000000000000b77de905c5b068f0 Content-Type: text/plain; charset="UTF-8" Hi, pfctl -P -ss -vv command cannot finish and eats %100 of single core cpu when number of states is over 50.000. Even killall -9 pfctl doesn't help. process cannot be killed. I'm using FreeBSD stable/12 that pulled at 2021-06-05. State policy is configured as floating. I don't know if it matters switching to if-bound. Do you have any suggestions to overcome this problem? Regards, --000000000000b77de905c5b068f0--