LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 03: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, 03: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, 08: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



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 10:50 PM
apache2 - ssl : connection via ssl interrupted ldp Linux - Software 0 10-02-2005 09:07 AM
Swat cclavey Linux - Networking 9 04-23-2003 09:54 AM
Swat Hone101 Linux - Newbie 4 03-22-2003 01:30 PM
Swat Hone101 Linux - General 1 03-22-2003 07:33 AM

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

All times are GMT -5. The time now is 04:49 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
Open Source Consulting | Domain Registration