about add tcpwrapper in SSHD

This is a discussion on about add tcpwrapper in SSHD within the Linux Security forums, part of the System Security and Security Related category; Hi, In order to add tcpwrapper function to sshd daemon, can I add tcpwrapper in sshd by create one file ...


Go Back   Usenet Forums > System Security and Security Related > Linux Security

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-01-2004
Daniel Huang
 
Posts: n/a
Default about add tcpwrapper in SSHD

Hi,

In order to add tcpwrapper function to sshd daemon, can I add tcpwrapper
in sshd by create one file in /etc/xinetd.d/sshd, just like the build in
in.ftp config file in xined.d.

Or I have to compile libwrap to sshd ?

thanks

-- Daniel


Reply With Quote
  #2 (permalink)  
Old 11-01-2004
Bit Twister
 
Posts: n/a
Default Re: about add tcpwrapper in SSHD

On Mon, 1 Nov 2004 17:03:08 -0500, Daniel Huang wrote:
> Hi,
>
> In order to add tcpwrapper function to sshd daemon, can I add tcpwrapper
> in sshd by create one file in /etc/xinetd.d/sshd, just like the build in
> in.ftp config file in xined.d.


on my distro I can use xined.d and/or /etc/hosts.allow/deny
No other work required.

You may want to read http://www.catb.org/~esr/faqs/smart-questions.html
Always provide your distro and release level when posting questions.
Might help get you better answers.
Reply With Quote
  #3 (permalink)  
Old 11-02-2004
Joe
 
Posts: n/a
Default Re: about add tcpwrapper in SSHD

In message <cm6bqs$4k9l$1@netnews.upenn.edu>, Daniel Huang
<danielhuang@hotmail.com> writes
>Hi,
>
>In order to add tcpwrapper function to sshd daemon, can I add tcpwrapper
>in sshd by create one file in /etc/xinetd.d/sshd, just like the build in
>in.ftp config file in xined.d.
>
>Or I have to compile libwrap to sshd ?
>

Possibly. It's done by default in Debian. Which distro do you use? It's
worth just trying lines in hosts.allow and .deny to see if it's done
already.
--
Joe
Reply With Quote
  #4 (permalink)  
Old 11-02-2004
Daniel Huang
 
Posts: n/a
Default Re: about add tcpwrapper in SSHD

I search a while on Google, it could be done but not recommended.

As sshd need to generate key for each new connection and put a frequent
request on xinetd will has huge over head.

Suggesting use the libwrap build in.

"Joe" <joe@jretrading.com> wrote in message
news:plb5tICCn8hBFwRm@jretrading.com...
> In message <cm6bqs$4k9l$1@netnews.upenn.edu>, Daniel Huang
> <danielhuang@hotmail.com> writes
>>Hi,
>>
>>In order to add tcpwrapper function to sshd daemon, can I add tcpwrapper
>>in sshd by create one file in /etc/xinetd.d/sshd, just like the build in
>>in.ftp config file in xined.d.
>>
>>Or I have to compile libwrap to sshd ?
>>

> Possibly. It's done by default in Debian. Which distro do you use? It's
> worth just trying lines in hosts.allow and .deny to see if it's done
> already.
> --
> Joe



Reply With Quote
  #5 (permalink)  
Old 11-12-2004
jayjwa
 
Posts: n/a
Default Re: about add tcpwrapper in SSHD

On 2004-11-02, Daniel Huang <danielhuang@hotmail.com> wrote:

> I search a while on Google, it could be done but not recommended.


I've used both methods, and both work fine.

> As sshd need to generate key for each new connection and put a frequent
> request on xinetd will has huge over head.


I never heard him wimper yet ;)

> Suggesting use the libwrap build in.


Building it in is a compile-time switch, if you use the sources. If it's a
package, you're at the mercy of the package maintainer.

If yours has it, use it, if not, xinetd's will suit.

--
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0