View previous topic :: View next topic |
Author |
Message |
mno Guru
Joined: 29 Dec 2003 Posts: 454 Location: Toronto, Canada
|
Posted: Mon Apr 10, 2006 9:59 pm Post subject: iptables and hosts.deny |
|
|
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 |
|
|
Scorpion265 Tux's lil' helper
Joined: 05 May 2005 Posts: 129 Location: Kansas City, MO
|
Posted: Mon Apr 10, 2006 10:01 pm Post subject: Re: iptables and hosts.deny |
|
|
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 |
|
|
mno Guru
Joined: 29 Dec 2003 Posts: 454 Location: Toronto, Canada
|
Posted: Mon Apr 10, 2006 10:04 pm Post subject: |
|
|
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 |
|
|
Scorpion265 Tux's lil' helper
Joined: 05 May 2005 Posts: 129 Location: Kansas City, MO
|
Posted: Tue Apr 11, 2006 2:09 pm Post subject: |
|
|
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 I personally use this as a global flag in my make.conf |
|
Back to top |
|
|
mno Guru
Joined: 29 Dec 2003 Posts: 454 Location: Toronto, Canada
|
Posted: Tue Apr 11, 2006 2:14 pm Post subject: |
|
|
Cool, thanks for your help! _________________ "Hello and goodbye. As always." | You can't use here?? | Unanswered |
|
Back to top |
|
|
|