Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iptables and hosts.deny
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Mon Apr 10, 2006 9:59 pm    Post subject: iptables and hosts.deny Reply with quote

Hi guys,

Potentially a stupid question, but I've no clue exactly how iptables works. So:

Do I need to make a special configuration change in iptables to make it take into account the hosts.deny file?

Thanks,
Max
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
Scorpion265
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2005
Posts: 129
Location: Kansas City, MO

PostPosted: Mon Apr 10, 2006 10:01 pm    Post subject: Re: iptables and hosts.deny Reply with quote

mno wrote:
Hi guys,

Potentially a stupid question, but I've no clue exactly how iptables works. So:

Do I need to make a special configuration change in iptables to make it take into account the hosts.deny file?

Thanks,
Max


Not 100% on this, but I believe they run independantly of each other. Just make sure that any software that you want to have support for the TCP wrappers has the tcpd USE flag.
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Mon Apr 10, 2006 10:04 pm    Post subject: Reply with quote

Aha, so I specifically need to re-compile OpenSSH with the tcpd USE flag to make sure that sshd connections take this file into effect. Correct?
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
Scorpion265
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2005
Posts: 129
Location: Kansas City, MO

PostPosted: Tue Apr 11, 2006 2:09 pm    Post subject: Reply with quote

mno wrote:
Aha, so I specifically need to re-compile OpenSSH with the tcpd USE flag to make sure that sshd connections take this file into effect. Correct?


yes sir :D I personally use this as a global flag in my make.conf
Back to top
View user's profile Send private message
mno
Guru
Guru


Joined: 29 Dec 2003
Posts: 454
Location: Toronto, Canada

PostPosted: Tue Apr 11, 2006 2:14 pm    Post subject: Reply with quote

Cool, thanks for your help!
_________________
"Hello and goodbye. As always." | You can't use   here?? | Unanswered
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum