Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Rob Carlson <rcarlson@kitchenandassociates.com>
To: Netfilter User Mailing List <netfilter@lists.netfilter.org>
Subject: IPset ports question.
Date: Mon, 18 Jul 2005 14:42:59 -0400	[thread overview]
Message-ID: <42DBF833.9020505@kitchenandassociates.com> (raw)

Is there a way to bind an IPSet hash to a port, 
and if so, what is the syntax?

I had a rule for a CIDR block that I bound to a 
port set and then was able to reject incoming 
traffic from that CIDR block addressed to specific 
ports and that worked very well.  Now I would like 
to be able to take an iphash and a nethash 
(currently blocking all traffic) and reject 
traffic from the hashed addresses going 
specifically to port 22 and 25 only.

Thanks for any help.
-- 
Rob Carlson, Systems and Network Administrator
Kitchen & Associates Architectural Services, PA
Architecture - Planning - Interior Design
856.854.1880






             reply	other threads:[~2005-07-18 18:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-18 18:42 Rob Carlson [this message]
2005-07-19  8:42 ` IPset ports question Jozsef Kadlecsik
2005-07-19 19:13   ` Rob Carlson
2005-07-19 20:09     ` Jozsef Kadlecsik
2005-07-19 20:58       ` Rob Carlson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42DBF833.9020505@kitchenandassociates.com \
    --to=rcarlson@kitchenandassociates.com \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox