# Iptables - ipset

**URL:** <https://forums.suse.com/t/iptables-ipset/24760>\
**Category:** SLES Networking\
**Created:** [November 14, 2013, 4:01am UTC](https://forums.suse.com/t/iptables-ipset/24760 "2013-11-14T04:01:53Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![scottrouseap](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@scottrouseap](https://forums.suse.com/u/scottrouseap)\
**Post date:** [November 14, 2013, 4:01am UTC](https://forums.suse.com/t/iptables-ipset/24760/1 "2013-11-14T04:01:53Z")

</div>

I have a SLES SP3 server that I am attempting to use ipset on.

I have made a simple testing ipset using the following:

```auto
ipset -N sftpext hash:ip
```

That works and I am able to add IP addresses to the ipset. However, I can’t use the set in an iptables rule

```auto
iptables -A INPUT -m set --match-set sftpext src -j ACCEPT
```

I get the following error:

```auto
iptables: No chain/target/match by that name
```

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [November 14, 2013, 6:27am UTC](https://forums.suse.com/t/iptables-ipset/24760/2 "2013-11-14T06:27:32Z")

</div>

Well, I have good news and bad news. The good news is that I can  
duplicate what you have reported trivially. The bad news, of course, is  
that I cannot find a way around it. The error seems to imply that  
NetFilter knows enough about what’s going on to try and find an ipset, but  
then it cannot for whatever reason.

Do you have an earlier version of SLES (11 SP2, or 10 SP-whatever) where  
this works? I’ve never used this option before so my experience is  
limited to what I’ve done in the last hour tinkering.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…

---

<div class="post-metadata">

**Author:** ![scottrouseap](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@scottrouseap](https://forums.suse.com/u/scottrouseap)\
**Post date:** [November 14, 2013, 3:15pm UTC](https://forums.suse.com/t/iptables-ipset/24760/3 "2013-11-14T15:15:07Z")

</div>

I do not have an earlier version at this time. I am sure that I could get my hands on one though. I did test this at home on my opensuse machines (I know not apples to apples, but it is a sanity check of my command syntax) and it worked fine. I will see if I can reproduce it in an older version.

---

<div class="post-metadata">

**Author:** ![scottrouseap](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@scottrouseap](https://forums.suse.com/u/scottrouseap)\
**Post date:** [November 14, 2013, 3:34pm UTC](https://forums.suse.com/t/iptables-ipset/24760/4 "2013-11-14T15:34:06Z")

</div>

I have filed a software defect report on this issue.

---

<div class="post-metadata">

**Author:** ![HvdHeuvel](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@HvdHeuvel](https://forums.suse.com/u/HvdHeuvel)\
**Post date:** [November 14, 2013, 7:26pm UTC](https://forums.suse.com/t/iptables-ipset/24760/5 "2013-11-14T19:26:33Z")

</div>

> [@scottrouseap;17476](#):
>
> I have filed a software defect report on this issue.

What is the defect number please ?

Thanks  
Hans

---

<div class="post-metadata">

**Author:** ![scottrouseap](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@scottrouseap](https://forums.suse.com/u/scottrouseap)\
**Post date:** [November 14, 2013, 7:54pm UTC](https://forums.suse.com/t/iptables-ipset/24760/6 "2013-11-14T19:54:16Z")

</div>

I don’t know what the defect number is. I just filed the report via the web form.

---

<div class="post-metadata">

**Author:** ![HvdHeuvel](https://avatars.discourse-cdn.com/v4/letter/h/3da27b/32.png) [@HvdHeuvel](https://forums.suse.com/u/HvdHeuvel)\
**Post date:** [November 19, 2013, 8:44am UTC](https://forums.suse.com/t/iptables-ipset/24760/7 "2013-11-19T08:44:32Z")

</div>

Hi Scott,

> [@scottrouseap;17479](#):
>
> I don’t know what the defect number is. I just filed the report via the web form.

I found your report.

Web based bug reports are not automatically turned into bugs, but first a service request is created for the team supporting the product the bug report was written for.  
They will need to confirm the bug report is indeed a bug and write the bug once confirmed.

In your case, this (internal) SR number is 10866573211 and I have assigned it.  
I do have some issues with high priority to work on first, but I will test this asap and let you know how this goes.

Please do ping me directly at “hvdheuvel\_at\_novell\_dot\_com” if you have anything to add to this report.

Thanks  
Hans

---

<div class="post-metadata">

**Author:** ![scottrouseap](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@scottrouseap](https://forums.suse.com/u/scottrouseap)\
**Post date:** [November 19, 2013, 9:42pm UTC](https://forums.suse.com/t/iptables-ipset/24760/8 "2013-11-19T21:42:52Z")

</div>

[QUOTE=HvdHeuvel;17538]Hi Scott,

I found your report.

Web based bug reports are not automatically turned into bugs, but first a service request is created for the team supporting the product the bug report was written for.  
They will need to confirm the bug report is indeed a bug and write the bug once confirmed.

In your case, this (internal) SR number is 10866573211 and I have assigned it.  
I do have some issues with high priority to work on first, but I will test this asap and let you know how this goes.

Please do ping me directly at “hvdheuvel\_at\_novell\_dot\_com” if you have anything to add to this report.

Thanks  
Hans[/QUOTE]

Thanks Hans I appreciate the assistance with this bug.
