ipchains working?

ipchains working?

Post by Vinod Gup » Fri, 27 Sep 2002 22:09:13



I have RH7.2 with ipchains-1.3.10-10 on Intel box.

I have confugured ipchains to reject any connection to my ssh port from all
networks except a few which I normally use. My syslog shows messages from
sshd that some connect attempts were made and rejected by sshd from clients
outside the allowed networks. Why wouldn't ipchains block all such packets
before application layer?

Vinod.

 
 
 

ipchains working?

Post by Ange » Fri, 27 Sep 2002 22:38:19



> I have RH7.2 with ipchains-1.3.10-10 on Intel box.

> I have confugured ipchains to reject any connection to my ssh port from all
> networks except a few which I normally use. My syslog shows messages from
> sshd that some connect attempts were made and rejected by sshd from clients
> outside the allowed networks. Why wouldn't ipchains block all such packets
> before application layer?

> Vinod.

perhaps you have an accept rule above it in the chain or perhaps your
deny rule hasn't been specified correctly.

Check none of your rules above it in the chain are also matching and
accepting.

 
 
 

ipchains working?

Post by Lafage, Guillaume [CTF:4907:EXCH » Fri, 27 Sep 2002 22:57:01




> > I have RH7.2 with ipchains-1.3.10-10 on Intel box.

> > I have confugured ipchains to reject any connection to my ssh port from all
> > networks except a few which I normally use. My syslog shows messages from
> > sshd that some connect attempts were made and rejected by sshd from clients
> > outside the allowed networks. Why wouldn't ipchains block all such packets
> > before application layer?

> > Vinod.

> perhaps you have an accept rule above it in the chain or perhaps your
> deny rule hasn't been specified correctly.

> Check none of your rules above it in the chain are also matching and
> accepting.

To check this you might add a debug rule.

Guillaume.

 
 
 

ipchains working?

Post by Ange » Fri, 27 Sep 2002 23:15:15





>>>I have RH7.2 with ipchains-1.3.10-10 on Intel box.

>>>I have confugured ipchains to reject any connection to my ssh port from all
>>>networks except a few which I normally use. My syslog shows messages from
>>>sshd that some connect attempts were made and rejected by sshd from clients
>>>outside the allowed networks. Why wouldn't ipchains block all such packets
>>>before application layer?

>>>Vinod.

>>perhaps you have an accept rule above it in the chain or perhaps your
>>deny rule hasn't been specified correctly.

>>Check none of your rules above it in the chain are also matching and
>>accepting.

> To check this you might add a debug rule.

> Guillaume.

or do what I do, pretend I'm a packet and work my through the chains
but then I've always had identity 'issues' :)