Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Stephen Satchell <list@satchell.net>
To: netfilter@lists.samba.org
Subject: --reject-with icmp-admin-prohibited
Date: Mon, 02 Feb 2004 02:35:56 -0800	[thread overview]
Message-ID: <1075718155.22226.41.camel@ssatchell1.pyramid.net> (raw)
In-Reply-To: <04fd01c3e963$20fea7e0$c2bf09ca@huecal>

Hi.

This is a stupid question.  I know it is.  I'm looking for the syntax to
use with -j REJECT in which I can return a ICMP Type 3 Code 13, which is
defined in _TCP/IP Illustrated Vol 1_ as "communications
administratively prohibited by filtering."  The man page is no help. 
The /sbin/iptables -p icmp --help lists only the codes used for matching
packets, not generating them.  I've tried every variation of 3/13 I
could think of.

I finally looked in the source and found "icmp-admin-prohibited" but
when I tried it with 1.2.7 it didn't work.

What's the secret code to get -j REJECT --reject-with
icmp-admin-prohibited to work with 1.2.7?

(signed) puzzled




  parent reply	other threads:[~2004-02-02 10:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-02  7:05 layer7-filter with iptables problem hare ram
2004-02-02  8:04 ` [LARTC] " hare ram
     [not found] ` <04fd01c3e963$20fea7e0$c2bf09ca@huecal>
2004-02-02 10:35   ` Stephen Satchell [this message]
2004-02-02 15:57     ` --reject-with icmp-admin-prohibited Maciej Soltysiak
2004-02-03  3:08 ` [LARTC] layer7-filter with iptables problem Nabil SEFRIOUI
2004-02-03  6:28   ` hare ram

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=1075718155.22226.41.camel@ssatchell1.pyramid.net \
    --to=list@satchell.net \
    --cc=netfilter@lists.samba.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