<html>
    <head>
      <base href="https://bugzilla.netfilter.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - iptables-save cannot display devgroup rule the right way?"
   href="https://bugzilla.netfilter.org/show_bug.cgi?id=985">985</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>iptables-save cannot display  devgroup rule the right way?
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>1.4.x
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>other
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P5
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>iptables
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>netfilter-buglog@lists.netfilter.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>axinchan@cnrouter.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>## version messages
root@JIKE-GATEWAY ~>iptables -V
iptables v1.4.21
root@JIKE-GATEWAY ~>uname -a
Linux JIKE-GATEWAY 3.10.10 #33 SMP Tue Oct 28 17:45:58 CST 2014 x86_64
GNU/Linux


### 1st test 
root@JIKE-GATEWAY ~>ip lin set dev eth0 group 100
root@JIKE-GATEWAY ~>ip lin set dev eth1 group 200
root@JIKE-GATEWAY ~>iptables -I FORWARD -m devgroup --src-group 100 -m devgroup
--dst-group 200 -j ACCEPT

root@JIKE-GATEWAY ~>iptables-save |grep devgroup
-A FORWARD -m devgroup --src-group 0x64 -m devgroup --dst-group 0x0/0x0 -j
ACCEPT

root@JIKE-GATEWAY ~>iptables -nvL |grep src-group
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0  
         src-group 0x64 dst-group 0x0/0x0

### dest-group 0x0/0x0 was not just as my set


### 2nd test
root@JIKE-GATEWAY ~>ip lin set dev eth3 group 300
root@JIKE-GATEWAY ~>ip lin set dev eth4 group 400
root@JIKE-GATEWAY ~>iptables -I FORWARD -m devgroup --src-group 300 --dst-group
400 -j ACCEPT


root@JIKE-GATEWAY ~>iptables-save |grep devgroup
-A FORWARD -m devgroup --src-group 0x12c --dst-group 0x12c -j ACCEPT

root@JIKE-GATEWAY ~>iptables -nvL |grep src-group
    0     0 ACCEPT     all  --  *      *       0.0.0.0/0            0.0.0.0/0  
         src-group 0x12c dst-group 0x12c

## again ,dst-group was wrong

i am not sure wether this is a bug? or i cann't use devgroup like this, or
something else?</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>