RE: iptables & tcp wrappers

From: Erik Anderson (eanders_at_pobox.com)
Date: 09/27/04

  • Next message: TJ Easter: "Re: iptables & tcp wrappers"
    To: <focus-linux@securityfocus.com>
    Date: Mon, 27 Sep 2004 10:46:00 -0500
    
    

    Personally I would look at Shorewall. It is a nice wrapper for iptables.

    > -----Original Message-----
    > From: news [mailto:news@sea.gmane.org] On Behalf Of Meatplow
    > Sent: Friday, September 24, 2004 2:57 PM
    > To: focus-linux@securityfocus.com
    > Subject: iptables & tcp wrappers
    >
    >
    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    >
    > Hello.
    >
    > I'm running RH Enterprise edition.
    >
    > I'm relatively new to iptables. I am getting the common intrusion
    > attempts with some of the common uses of test/guest/root/ and a
    > couple others I've been able to add the IPs to the to iptables.,
    > but
    > I'd really like a log that tells me the info that I want to know.
    >
    > My basic input command is this :
    > #iptables -A INPUT -p tcp -s PUT_IP_HERE -d 0/0 --syn -j DROP
    >
    > iptables seem a little convoluted. Example. To delete a line -
    > supposedly give it a line and it will be deleted/modified. My
    > problem is even with #iptable -L -v there is no line number ?
    >
    > My goal is to block all incoming ssh attempts except IP#.
    > This is where I got into hosts.allow/deny as mentioned below.
    >
    > I've tried to find many different types of commands and it works to
    > some degree, but not the way I'd expect it to.
    >
    > Any help would be appreciated. I'm not completely sure that I
    > understand iptables as well as I want/need to. I've also toyed
    > around with the hosts.allow/hosts.deny and have not been successful.
    >
    >
    >
    > I know that there is a lot of info in here, and I'm tired. I'll
    > leave it at that
    >
    >
    > Thanks in advance for your time and help.
    >
    > Meatplow
    > greg ta meatplow.com
    >
    >
    > Thanks again.
    >
    > -----BEGIN PGP SIGNATURE-----
    > Version: PGPfreeware 6.5.8 for non-commercial use <http://www.pgp.com>
    >
    > iQA/AwUBQVSBsR42gIcyjrnjEQJIqwCfWAShp7r+J1XNNjQq6sbvvD03WZ8AoNrg
    > ctQ837g5pQDafgBhTTeeMr1V
    > =niWK
    > -----END PGP SIGNATURE-----
    >
    >
    >
    >
    >
    > --
    > Fedora-config-list mailing list
    > Fedora-config-list@redhat.com
    > http://www.redhat.com/mailman/listinfo/fedora-config-list
    >
    >
    >
    >


  • Next message: TJ Easter: "Re: iptables & tcp wrappers"

    Relevant Pages

    • iptables & tcp wrappers
      ... I'm running RH Enterprise edition. ... I'm relatively new to iptables. ... I am getting the common intrusion ... My basic input command is this: ...
      (Focus-Linux)
    • Re: iptables & tcp wrappers
      ... but I believe that your sshd (the daemon) is compiled against ... On Fri, 2004-09-24 at 14:57, Meatplow wrote: ... > I'm relatively new to iptables. ... > My basic input command is this: ...
      (Focus-Linux)
    • RE: iptables & tcp wrappers
      ... I'm running RH Enterprise edition. ... I'm relatively new to iptables. ... I am getting the common intrusion ... My basic input command is this: ...
      (Focus-Linux)
    • Re: iptables & tcp wrappers
      ... if you need to restrict ssh for everyone except those you trust, ... the iptables LOG target. ... I am getting the common intrusion ... M> My basic input command is this: ...
      (Focus-Linux)
    • Re: iptables & tcp wrappers
      ... I have to admit that I am not the best to advise on iptables but I ... With regards to blocking access to ssh and allowing from only a ... Step two allows ssh access from the specified ip only ... >My basic input command is this: ...
      (Focus-Linux)