Displaying 16 results from an estimated 16 matches for "fromhost".
2012 Oct 08
1
HPUX warning during build spotted
?Hello everybody,
during the last build (#380) on HPUX (eaton-hpux11-pa-risc buildslave),
I've noticed the following warning when compiling upsd:
../../server/upsd.c:417: warning: implicit declaration of function 'fromhost'
fromhost is either an alias for sock_host or declared as
extern void fromhost() in tcpd.h (iff any of TLI or PTX or TLI_SEQUENT macra
are defined), which I guess might be the case.
I don't know much about libwrap; is there an expert?
This definitely don't seem OK to me...
Thanks,
Re...
2002 Feb 19
4
push data instead of pull
...server set up.
Can i push data from the server to another machine
instead of pulling data from that machine.
when i try to do that i get this error.
mkdir tohost:/tmp ; No such file or directory.
But the directory exists. This is the command i
executed.
rsync -avz --rsync-path=/usr/bin/rsync
fromhost::test tohost:/tmp
This works fine if iam logged onto "tohost" and pull
data i.e
rsync -avz --rsync-path=/usr/bin/rsync
fromhost::test /tmp
This works fine if i do it without the server
rsync -avz --rsync-path=/usr/bin/rsync
/disk1/tmp tohost:/tmp
I execute the above command logged...
2013 Oct 31
2
Re: libvirt_lxc causes cpu 100% usage
...00.568+0000: 7566: debug : virEventPollDispatchHandles:482 : i=6 w=7
2013-10-29 10:17:00.568+0000: 7566: debug : virEventPollDispatchHandles:496 : EVENT_POLL_DISPATCH_HANDLE: watch=7 events=1
2013-10-29 10:17:00.568+0000: 7566: debug : virLXCControllerConsoleIO:974 : IO event watch=7 fd=12 events=1 fromHost=0 fromcont=0
2013-10-29 10:17:00.568+0000: 7566: debug : virLXCControllerConsoleUpdateWatch:837 : Container watch 7=1 host watch 6=3
2013-10-29 10:17:00.568+0000: 7566: debug : virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=7 events=1
2013-10-29 10:17:00.568+0000: 7566: debug : virE...
2013 Oct 24
3
libvirt_lxc causes cpu 100% usage
libvirt_lxc causes cpu 100% usage?
libvirt version : 1.1.1
I don't know what happend, any help would be appreciated.
thx
top - 07:39:44 up 1 day, 2:13, 2 users, load average: 4.72, 4.59, 4.51
Tasks: 243 total, 4 running, 239 sleeping, 0 stopped, 0 zombie
%Cpu0 : 33.1 us, 1.3 sy, 0.0 ni, 64.6 id, 0.7 wa, 0.0 hi, 0.3 si,
0.0 st
%Cpu1 : 41.1 us, 3.0 sy, 0.0 ni, 55.3 id, 0.7
2013 Oct 30
0
Re: libvirt_lxc causes cpu 100% usage
...00.568+0000: 7566: debug : virEventPollDispatchHandles:482 : i=6 w=7
2013-10-29 10:17:00.568+0000: 7566: debug : virEventPollDispatchHandles:496 : EVENT_POLL_DISPATCH_HANDLE: watch=7 events=1
2013-10-29 10:17:00.568+0000: 7566: debug : virLXCControllerConsoleIO:974 : IO event watch=7 fd=12 events=1 fromHost=0 fromcont=0
2013-10-29 10:17:00.568+0000: 7566: debug : virLXCControllerConsoleUpdateWatch:837 : Container watch 7=1 host watch 6=3
2013-10-29 10:17:00.568+0000: 7566: debug : virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=7 events=1
2013-10-29 10:17:00.568+0000: 7566: debug : virE...
2013 Oct 31
0
Re: libvirt_lxc causes cpu 100% usage
...00.568+0000: 7566: debug : virEventPollDispatchHandles:482 : i=6 w=7
2013-10-29 10:17:00.568+0000: 7566: debug : virEventPollDispatchHandles:496 : EVENT_POLL_DISPATCH_HANDLE: watch=7 events=1
2013-10-29 10:17:00.568+0000: 7566: debug : virLXCControllerConsoleIO:974 : IO event watch=7 fd=12 events=1 fromHost=0 fromcont=0
2013-10-29 10:17:00.568+0000: 7566: debug : virLXCControllerConsoleUpdateWatch:837 : Container watch 7=1 host watch 6=3
2013-10-29 10:17:00.568+0000: 7566: debug : virEventPollUpdateHandle:147 : EVENT_POLL_UPDATE_HANDLE: watch=7 events=1
2013-10-29 10:17:00.568+0000: 7566: debug : virE...
2007 Nov 14
1
libwrap-ing IMAP and POP logins
...mon[13] = "dovecot-";
+#endif
fd = net_accept(LOGIN_LISTEN_FD, &remote_ip, &remote_port);
if (fd < 0) {
@@ -77,6 +88,17 @@
return;
}
+#ifdef LIBWRAP
+ strlcat(daemon, login_protocol, sizeof(daemon));
+ request_init(&req, RQ_DAEMON, daemon, RQ_FILE, fd, NULL);
+ fromhost(&req);
+ if (!hosts_access(&req)) {
+ i_info("libwrap: access denied");
+ net_disconnect(fd);
+ return;
+ }
+#endif
+
if (net_getsockname(fd, &local_ip, &local_port) < 0) {
memset(&local_ip, 0, sizeof(local_ip));
local_port = 0;
@@ -99,6 +121,10 @@
stru...
2012 Jul 23
1
n00b rsyslog.conf question - how to separate local syslog from network appliance syslog?
I have several network appliances, and I want aggregate their syslog
output for later analysis. Eventually I might think about a Splunk
box, but for the interim I'm hoping to just build a CentOS 6 syslog
server and have it aggregate everything on it for quick review.
I installed rsyslog and am looking through the /etc/rsyslog.conf file
for what I configure to (a) listen for syslog input from
2013 Nov 01
2
Re: libvirt_lxc causes cpu 100% usage
...0: 7566: debug : virEventPollDispatchHandles:482 : i=5 w=6
> 2013-10-30 00:31:57.470+0000: 7566: debug : virEventPollDispatchHandles:496 : EVENT_POLL_DISPATCH_HANDLE: watch=6 events=8
> 2013-10-30 00:31:57.470+0000: 7566: debug : virLXCControllerConsoleIO:974 : IO event watch=6 fd=18 events=8 fromHost=0 fromcont=1024
> 2013-10-30 00:31:57.470+0000: 7566: debug : virLXCControllerConsoleIO:1044 : Got EOF on 6 18
> 2013-10-30 00:31:57.470+0000: 7566: debug : virLXCControllerConsoleUpdateWatch:837 : Container watch 7=0 host watch 6=3
> 2013-10-30 00:31:57.470+0000: 7566: debug : virEventPol...
2017 Apr 26
0
rsyslog and zipping up "rotated" files
I have a rsyslog config that suffixes the date to the filename and holds the log files in a non stabdard log directory based on its srver name (long story).
Example -
config includes:
...
$template mailLog,"/var/log/external/%fromhost%/maillog-%$YEAR%%$MONTH%%$DAY%.log"...
# Log all the mail messages in one place.mail.* ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?-?mailLog...
so that I get over time
..
/var/log/external/server/maillog-20170424.log
/var/log/external/server/maillog-20170425.log
/var/log/external/server...
2010 Dec 03
1
[PATCH] upsd tcp_wrappers parsing and logging
...+410,13 @@ static void check_command(int cmdnum, ctype_t *client, int numarg,
}
#ifdef HAVE_WRAP
- request_init(&req, RQ_DAEMON, progname, RQ_CLIENT_ADDR, client->addr, RQ_USER, client->username, 0);
+ request_init(&req, RQ_DAEMON, progname, RQ_FILE, client->sock_fd, 0);
+ fromhost(&req);
if (!hosts_access(&req)) {
/* tcp-wrappers says access should be denied */
send_err(client, NUT_ERR_ACCESS_DENIED);
+ upslogx(deny_severity, "tcp_wrappers denied connection from %s", eval_client(&req));
return;
}
#endif /* HAVE_WRAP */
--
1.7.3.2
2002 Jun 25
7
[Bug 294] tcp wrapper access changed between 2.9.9p2 and 3.3p1
http://bugzilla.mindrot.org/show_bug.cgi?id=294
------- Additional Comments From ktaylor at daac.gsfc.nasa.gov 2002-06-26 00:53 -------
This is what's reported in the syslog from openssh-2.9.9p2 - with an ip address
range listed in hosts.allow
Jun 25 10:50:08 6D:server sshd[30123536]: Failed keyboard-interactive for
ktaylor from xxx.xxx.xxx.xxx port 40333 ssh2
Jun 25 10:50:13 6D:server
2000 Oct 07
2
[PATCH]: Add tcp_wrappers protection to port forwarding
...ock);
remote_port = get_peer_port(newsock);
+#ifdef LIBWRAP
+ {
+ char fwd[80];
+ void (*sigch) (int);
+ int res;
+ struct request_info req;
+
+ snprintf(fwd, sizeof(fwd), "sshdfwd-%d", c->host_port);
+ request_init(&req, RQ_DAEMON, fwd, RQ_FILE, newsock, NULL);
+ fromhost(&req);
+ sigch = signal(SIGCHLD, SIG_DFL);
+ res = hosts_access(&req);
+ signal(SIGCHLD, sigch);
+ if (!res) {
+ packet_send_debug("refused forwarded connection from %.500s to local port %d.",
+ eval_client(&req), c->host_port);
+ error("forwarded...
2001 Nov 27
1
[PATCH] tcp-wrappers support extended to x11 forwards
...core */
@@ -1006,6 +1012,25 @@
error("accept: %.100s", strerror(errno));
return;
}
+#ifdef LIBWRAP
+ /* XXX LIBWRAP noes not know about IPv6 */
+ {
+ struct request_info req;
+
+ request_init(&req, RQ_DAEMON, "sshdfwd-X11", RQ_FILE, newsock, 0);
+ fromhost(&req);
+
+ if (!hosts_access(&req)) {
+ syslog(deny_severity, "refused fwd-X11 connect from %s", eval_client(&req));
+ close(newsock);
+
+ return;
+ }
+ syslog(allow_severity, "fwd-X11 connect from %s", eval_client(&req));
+
+...
2008 Nov 07
6
Cannot get the libwrap patch work
Hello there,
I have been trying to make the patch work for libwrap(TCP
Wrappers) posted on http://dovecot.org/patches
<http://dovecot.org/patches%20Patch%20of%201.1> Patch of 1.1 but could not
get it work. Any help will be highly appreciated. After compiling and
running it I get error "Error: login_tcp_wrappers can't be used because
Dovecot wasn't built with
2008 Nov 08
1
dovecot Digest, Vol 67, Issue 19
...tr_append(process_name_ssl, process_name);
+ str_append(process_name_ssl, "-ssl");
+ daemon = str_c(process_name_ssl);
+ } else {
+ daemon = process_name;
+ }
+ request_init(&req,
+ RQ_FILE, fd,
+ RQ_CLIENT_ADDR, net_ip2addr(ip),
+ RQ_DAEMON, daemon,
+ 0);
+ fromhost(&req);
+
+ if (!hosts_access(&req)) {
+ i_error("Connection refused by tcp-wrappers: %s",
+ net_ip2addr(ip));
+ refuse(&req);
+ i_unreached();
+ }
+ if (ssl) {
+ str_free(&process_name_ssl);
+ }
+#endif
+}
+
static void login_accept(void *context)
{
int listen_fd...