<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>44829</bug_id>
          
          <creation_ts>2023-01-07 11:13:58 +0300</creation_ts>
          <short_desc>Отсутствует модуль xt_owner</short_desc>
          <delta_ts>2023-01-27 03:53:49 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>kernel-image-rt</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Konstantin">alert.juror768</reporter>
          <assigned_to name="Vitaly Chikunov">vt</assigned_to>
          <cc>kernelbot</cc>
    
    <cc>obidinog</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>219742</commentid>
    <comment_count>0</comment_count>
    <who name="Konstantin">alert.juror768</who>
    <bug_when>2023-01-07 11:13:58 +0300</bug_when>
    <thetext>Добрый день!
В ядре отсутствует модуль для iptables xt_owner.ko из-за чего не получается использовать правила фильтрации по userid:
Лог применения правил iptables:
янв 07 11:28:19 homepc network[5283]: iptables v1.8.7 (legacy): Couldn&apos;t load match `owner&apos;:No such file or directory
янв 07 11:28:19 homepc network[5283]: Try `iptables -h&apos; or &apos;iptables --help&apos; for more information.
янв 07 11:28:19 homepc network[4991]: ERROR: /etc/net/scripts/config-fw: /sbin/iptables -t filter -A OUTPUT -m owner --uid-owner 500 -m tcp -p tcp --dport 20 -j ACCEPT

~# find /lib/modules/5.10.158-rt-alt1.rt77 -name &apos;*owner*&apos;
~#

В стандартном ядре такой модуль есть:
~# find /lib/modules/5.10.156-std-def-alt1 -name &apos;*owner*&apos;
/lib/modules/5.10.156-std-def-alt1/kernel/net/netfilter/xt_owner.ko
~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220398</commentid>
    <comment_count>1</comment_count>
    <who name="obidinog@basealt.ru">obidinog</who>
    <bug_when>2023-01-20 15:10:26 +0300</bug_when>
    <thetext>Модуль отсутствует в ядре kernel-image-rt-5.10.162-alt1.rt78

$ rpm -qf /lib/modules/5.10.162-rt-alt1.rt78/kernel/net/netfilter/xt_owner.ko
ошибка: файл /lib/modules/5.10.162-rt-alt1.rt78/kernel/net/netfilter/xt_owner.ko: Нет такого файла или каталога


Модуль присутствует в ядрах 6.1.7-un-def-alt1 и 5.15.89-std-def-alt1

$ rpm -qf /lib/modules/6.1.7-un-def-alt1/kernel/net/netfilter/xt_owner.ko
kernel-image-un-def-6.1.7-alt1.x86_64

$ rpm -qf /lib/modules/5.15.89-std-def-alt1/kernel/net/netfilter/xt_owner.ko
kernel-image-std-def-5.15.89-alt1.x86_64</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220411</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2023-01-20 16:05:29 +0300</bug_when>
    <thetext>Хорошо, включим.
Если не секрет для каких задач вы используете rt ядро?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>220790</commentid>
    <comment_count>3</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2023-01-27 03:53:49 +0300</bug_when>
    <thetext>kernel-image-rt-5.10.162-alt1.rt79 -&gt; sisyphus:

 Thu Jan 26 2023 Kernel Bot &lt;kernelbot@altlinux&gt; 5.10.162-alt1.rt79
 - v5.10.162-rt79 (2023-01-26).
 - Enable xtables modules (ALT#44829).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>