LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-29-2005, 04:01 AM   #1
slideman
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Rep: Reputation: 0
Unhappy Swat And SSL


Hello Friends,

I made me a new server for my SOHO.
This is mandrake server 10.1, and I run samba on this server.
To make life easier, I use swat.
To avoid any security issue, I want to use SSL for the swat.
I read all over the net, and I manage to start SSL connection to the Swat, but I have one big problem - I can't get it to work as service, mean that I the swat ssl don't work on restart ( Xinetd ).
If I write the command : # stunnel /etc/stunnel/swat.conf, I can access the swat through ssl with no probelm.
It don't work with me swat of the Xinetd.

The swat xinetd service file is :

# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
disable = no
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root admin
server = /usr/sbin/stunnel
server_args = /etc/stunnel/swat.conf
log_on_failure += USERID
}

the swat.conf for the stunnel is :

cert = /etc/stunnel/swat.pem
pid = /var/run/stunnel.swat
service = swat

[swat-stunnel]
accept = 901
exec = /usr/sbin/swat
execargs = swat
TIMEOUTclose = 0


Please help me with this, i cant figure why this is not working.


 
Old 04-29-2005, 04:48 AM   #2
apsivam
Member
 
Registered: Mar 2005
Location: Chennai, India
Distribution: Ubuntu, CentOS
Posts: 72

Rep: Reputation: 15
technically this should work! do you find any error message in logs?
 
Old 04-29-2005, 09:18 AM   #3
slideman
LQ Newbie
 
Registered: Mar 2004
Posts: 5

Original Poster
Rep: Reputation: 0
In what log should I look ?
And how do I make the log ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vsFTPd - SSL connection and dynamic SSL ports toxoplasme Linux - Server 11 08-22-2008 11:50 PM
apache2 - ssl : connection via ssl interrupted ldp Linux - Software 0 10-02-2005 10:07 AM
Swat cclavey Linux - Networking 9 04-23-2003 10:54 AM
Swat Hone101 Linux - Newbie 4 03-22-2003 02:30 PM
Swat Hone101 Linux - General 1 03-22-2003 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration