All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralph Churchill <mrchucho@yahoo.com>
To: Maciej Soltysiak <solt@dns.toxicfilms.tv>
Cc: netfilter@lists.netfilter.org
Subject: Re: simply confusing
Date: Thu, 23 Jan 2003 12:40:57 -0800 (PST)	[thread overview]
Message-ID: <20030123204057.27229.qmail@web11405.mail.yahoo.com> (raw)
In-Reply-To: <Pine.LNX.4.51.0301232123190.7027@dns.toxicfilms.tv>

Well, I added a logging rule before that:

iptables -A INPUT --source 10.11.0.0/16 \
  -j LOG --log-level info --log-prefix "iptables "

But when ever something gets through, it isn't being
logged either... If I do "iptables -L -v", then I see
that both rules (first the LOG, then the DROP) have
the same packet count.

I can try using "-I" instead, but I'd also like to
log, so how would I do that? Am I missing something
fundamental?

RMC


--- Maciej Soltysiak <solt@dns.toxicfilms.tv> wrote:
> > iptables -A INPUT --source 192.168.0.0/16 -j DROP
> >
> > Now, shouldn't that block any and ALL traffic from
> any
> > computer on the 192.168.*.* subnet?
> well that is enough to block all packets from that
> subnet,
> however, maybe you have other rules that accept
> traffic before
> this rule.
> try -I INPUT to put it at the begining of the chain.
> 
> Regards,
> Maciej Soltysiak
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


  reply	other threads:[~2003-01-23 20:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23 20:03 simply confusing Ralph Churchill
2003-01-23 20:18 ` Michael P. Soulier
2003-01-23 20:24 ` Maciej Soltysiak
2003-01-23 20:40   ` Ralph Churchill [this message]
2003-01-23 21:41     ` Rob Sterenborg
2003-01-23 20:31 ` Aldo S. Lagana

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=20030123204057.27229.qmail@web11405.mail.yahoo.com \
    --to=mrchucho@yahoo.com \
    --cc=netfilter@lists.netfilter.org \
    --cc=solt@dns.toxicfilms.tv \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.