Displaying 20 results from an estimated 72 matches for "only_from".
2018 Aug 07
2
systemd equivalent of xinetd 'only_from' and 'banner_fail' attributes
I'm attempting to port an existing xinetd service from CentOS 6 to
something equivalent with systemd for CentOS 7
The existing xinetd config uses the attributes 'only_from' to limit
connections from a limited set of remote hosts and 'banner_fail' to
print a suitable error message when access is denied
However, I can't find suitable 'equivalents' with systemd socket/service
files on CentOS 7
It appears later versions of systemd supports th...
2018 Aug 08
0
systemd equivalent of xinetd 'only_from' and 'banner_fail' attributes
James Pearson wrote:
>
> I'm attempting to port an existing xinetd service from CentOS 6 to
> something equivalent with systemd for CentOS 7
>
> The existing xinetd config uses the attributes 'only_from' to limit
> connections from a limited set of remote hosts and 'banner_fail' to
> print a suitable error message when access is denied
>
> However, I can't find suitable 'equivalents' with systemd socket/service
> files on CentOS 7
>
> It appears later...
2015 May 01
5
Could not complete SSL handshake to Amazon EC2 host
Hi Eric,
Thanks for your reply. I do have nrpe running under xinetd on the host I'm
trying to monitor.
And running the nrpe checl locally:
[root at ops:~] #/usr/local/nagios/libexec/check_nrpe -H localhost
NRPE v2.15
[root at ops:~] #grep only_from /etc/xinetd.d/nrpe
only_from = 127.0.0.1 216.120.248.126
And I do have port 5666 open on the security group for this host.
And I made sure the local firewall was stopped, because I am blocking ports
with the security groups instead.
[root at ops:~] #service iptables status
Firewall...
2005 Nov 07
3
SWAT not accessible from remote sites
...e 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
server = /usr/sbin/swat
log_on_failure += USERID
}
TIA,
Kenny Sanders
2002 Dec 03
2
Samba SWAT 2.2.7 Doesn't Work in Redhat8.0?
...log_on_failure = HOST
cps = 25 30
}
includedir /etc/xinetd.d
[root@ibmapt root]# cat /etc/xinetd.d/swat
## /etc/xinetd.d/swat
service swat
{
disable = no
port = 901
socket_type = stream
wait = no
only_from = localhost
user = root
server = /usr/local/samba/bin/swat
log_on_failure += USERID
}
To make sure swat, webmin and httpd are running...
[root@ibmapt root]# chkconfig swat on
[root@ibmapt root]# service webmin status
Webmin (pid 1516) is running
[root@ibmapt root]#...
2015 May 01
8
Could not complete SSL handshake to Amazon EC2 host
...= 5666
wait = no
user = nagios
group = nagios
server = /usr/local/nagios/bin/nrpe
server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd
log_on_failure += USERID
disable = no
only_from = 127.0.0.1 xx.xx.xx.xx # <- representing my real
nagios server IP
}
And I have my default security group for that host open on port 5666 to the
world for this experiment. I plan on locking that down again to the single
IP of my monitoring host once I get this resolved.
Does anyone...
2015 May 01
2
Could not complete SSL handshake to Amazon EC2 host
...y. I do have nrpe running under xinetd on the host
> I'm
> > trying to monitor.
> >
> > And running the nrpe checl locally:
> >
> > [root at ops:~] #/usr/local/nagios/libexec/check_nrpe -H localhost
> > NRPE v2.15
> >
> > [root at ops:~] #grep only_from /etc/xinetd.d/nrpe
> > only_from = 127.0.0.1 216.120.248.126
> >
> > And I do have port 5666 open on the security group for this host.
> >
> > And I made sure the local firewall was stopped, because I am blocking
> ports
> > with the security gro...
2006 Apr 16
0
[Fwd: Re: can't connect to swat]
...using web browser.
>>
>
> I can't speak directly to inetd as I use xinetd but if you can connect
> from the smb server using http://localhost:901 you should also try it
> from the server using the server's local IP.
>
> Most likely you don't have the inetd only_from option set or it just
> reads:
> only_from = 127.0.0.1
>
> If your LAN is 10.64.64.0/24 you should make it:
> only_from = 127.0.0.1 10.64.64.0/24
> or something like that.
>
> Larry
>
I have my swat file set to
only_from = localhost
Then lo...
2006 Mar 02
2
SWAT + FC4 = Not working
Hitting a big mystery here. I've configured samba properly but I would like
to run swat. The /etc/xinetd.d/swat file contains:
service swat
{
disable = no
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
}
When I try to start the service my message log contains:
xinetd[1695]: bind failed (Address already in use (errno = 98)). service =
swat
xinetd[1695]: Service swat failed...
2015 May 01
0
Could not complete SSL handshake to Amazon EC2 host
...> Hi Eric,
>
> Thanks for your reply. I do have nrpe running under xinetd on the host I'm
> trying to monitor.
>
> And running the nrpe checl locally:
>
> [root at ops:~] #/usr/local/nagios/libexec/check_nrpe -H localhost
> NRPE v2.15
>
> [root at ops:~] #grep only_from /etc/xinetd.d/nrpe
> only_from = 127.0.0.1 216.120.248.126
>
> And I do have port 5666 open on the security group for this host.
>
> And I made sure the local firewall was stopped, because I am blocking ports
> with the security groups instead.
>
> [root at ops...
2008 May 21
5
swat password
Hello all,
I'm having trouble logging into swat. Not even root can login! I'm using
Rocks 4.1 (linux cluster based on CentOS) Has anybody experienced this?
Thanks in advance!
Santiago
2015 May 01
2
Could not complete SSL handshake to Amazon EC2 host
...gt; trying to monitor.
> > > >
> > > > And running the nrpe checl locally:
> > > >
> > > > [root at ops:~] #/usr/local/nagios/libexec/check_nrpe -H localhost
> > > > NRPE v2.15
> > > >
> > > > [root at ops:~] #grep only_from /etc/xinetd.d/nrpe
> > > > only_from = 127.0.0.1 216.120.248.126
> > > >
> > > > And I do have port 5666 open on the security group for this host.
> > > >
> > > > And I made sure the local firewall was stopped, because I am b...
2005 Jul 06
1
Question regarding SWAT
...-----
--/etc/xinetd.d/swat----
# 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 = localhost
user = root
server = /usr/sbin/swat
log_on_failure += USERID
}
--------------------------------------
and in my services I've added the line: "swat 901/tcp"
I'm not using a firewall.
So, the service samba is working fine, but when I start xinetd he failes.
"ser...
2002 Jul 16
1
OK, Samba's OK, now I need swat help.
...b.ccc.ddd:901)
2. Can someone give me an idea of what and where I need commands for xinetd.
Server is RH7.2, Samba 2.2.3a, following file "swat" is in /etc/xinetd.d/
## /etc/xinetd.d/swat
service swat
{
port = 901
socket_type = stream
wait = no
# only_from = localhost
user = root
server = /usr/local/samba/bin/swat
log_on_failure += USERID
disable = No
}
Thanks,
Nick Ruth
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.377 / Virus Database: 211 -...
2002 Jul 31
0
SWAT problem with RedHat 7.3
Hello:
I have samba-2.2.5-1 running in RedHat 7.3, but I get the page cannot be
displayed message when I go to http://sambaserver:901
My /etc/etc/xinetd.d/swat file looks as below. I have removed only_from =
localhost and changed disable = yes to no
service swat
{
port = 901
socket_type = stream
wait = no
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = No
}
I do have tcp/901 defined in the /etc/services
T...
2004 Apr 26
1
Can't get SWAT to work...
...dmin 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
server = /usr/sbin/swat
log_on_failure += USERID
=================================================================
I have restarted xinetd.
Should I be able to see swat in the process list?
# ps ax|grep swat
24560 pts/...
2004 Mar 29
2
SWAT - special weapons and tactics :)
Hi all,
OS: suse 9
samba ver: 3.0.2
linux:/etc/xinetd.d # cat swat
service swat
{
port = 901
socket_type = stream
wait = no
only_from = localhost 10.1.1.10
user = root
server = /usr/sbin/swat
log_on_failure += USERID
# disable = yes
linux:/etc # cat inetd.conf
swat stream tcp nowait.400 root /usr/sbin/swat swat
linux:/etc # cat services | grep 901
swat 901/tcp # CONFLICT, not official assigned!...
2015 May 01
0
Could not complete SSL handshake to Amazon EC2 host
...host
> > I'm
> > > trying to monitor.
> > >
> > > And running the nrpe checl locally:
> > >
> > > [root at ops:~] #/usr/local/nagios/libexec/check_nrpe -H localhost
> > > NRPE v2.15
> > >
> > > [root at ops:~] #grep only_from /etc/xinetd.d/nrpe
> > > only_from = 127.0.0.1 216.120.248.126
> > >
> > > And I do have port 5666 open on the security group for this host.
> > >
> > > And I made sure the local firewall was stopped, because I am blocking
> > ports
&...
2001 Mar 05
2
SWAT: please help
...Admin Tool. Use swat
\
# to configure your Samba server.
To use SWAT, \
# connect to port 901 with your
favorite web browser.
service swat
{
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = smbuser
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
}
#cat /etc/hosts.deny
ALL:ALL
#cat /etc/hosts.allow
swat: 127.0.0.1 192.168.0.
#killall -HUP xinetd
-------------
And somewhere along the l...
2002 Aug 13
4
Can't Connect to Swat
I'm trying to connect to swat but can't. Just installed Samba 2.2.2-5
and edited /etc/services, even though I'm running Redhat 7.3 and use
xinetd. /etc/xinetd/swat exists.... but I still cannot connect to
http://localhost:901. Why???
Thanks for assist.