Re: Blocking incoming IP address immediately

From: Jeff Franks (jfranks1970_at_NoSPMcharter.net)
Date: 11/30/04


Date: Mon, 29 Nov 2004 20:00:15 -0600


"Trygve Selmer" <trselmer@start.no> wrote in message
news:41ABCB9E.90303@start.no...
> Jeff Franks wrote:
> >>What command exactly are you typing?
> >
> > Basically "iptables -s 123.45.67.89 -i INPUT -j DROP" (or REJECT, i've
done
> > both).
>
> First I thought you spelled it wrong, but you continuously have used the
> wrong syntax. Check the command "man iptables" for
>
> -I INPUT (uppercase I) insert rule to the top of chain INPUT
> -i eth0 (lowercase i) name of interface packets are received
> -A INPUT (uppercase A) append rule to the end of chain INPUT
> -a (lowercase a) not a valid option to iptables
>

My bad, I was typing the commands from memory at work. I'm doing this
firewall at home. I have been doing the correct case of I and A both.
thanks for pointing that out.

jf



Relevant Pages

  • Re: xmalloc string functions
    ... error handling you'll have to test whether list_append ... Not much more typing, no. ... You can't display message if you don't have memory. ... A malloc() failure does not necessarily mean that you are out ...
    (comp.lang.c)
  • Re: strong/weak typing and pointers
    ... > say that would indicate weaker typing. ... This seems to confuse strong/weak typing with static/dynamic typing. ... Python object does not change how that block of memory is interpreted. ...
    (comp.lang.python)
  • Re: OT Antivirus / firewall
    ... Pope Pompous XVIII illuminated uk.sport.football.clubs.liverpool by typing: ... A software firewall is essential as your hardware firewall will not ... protect your PC from outgoing connections frm any nasty stuff that ... Kapersky has what's considered the best Anti-Virus engine but for what ...
    (uk.sport.football.clubs.liverpool)
  • Re: ORDER in the 49G+ compared to the 48G; Question about executing keys
    ... I recommend that you BACK UP YOUR MEMORY before using ... > ORDER-command may need to be called several times, ... as I have not noticed it when typing the list. ...
    (comp.sys.hp48)
  • Re: RS/6000 7044-170 "44P" memory
    ... memory for 44P's is pretty abundant and relatively cheap on eBay. ... I didn't see the second half of his post (I was choking on a carmel apple at the time, typing with one hand). ...
    (comp.unix.aix)