:confused: HI,
We have 2 servers ( win 2003 + sun 5.8 ) and we run a rsh from the NT to the UNIX.
The program runs a shell script on the UNIX and waits for the answer in the EOF.
How ever, after period of appx 2 min there is a reply "Recv failed:Connection reset by peer".
while the... (5 Replies)
I use ssh to work on the server (OS X 10.4.x) remotely from home (Debian / OS X 10.5.3). If I leave my machine idle, I get disconnected after a couple of minutes. I get the following error message:
Read from remote host "server name": Connection reset by peer
Connection to "server name" closed.... (2 Replies)
hi
i am connecting to a remote server using sftp protocol.
i am using the command like "sftp USER01@122.10.12.45"
then i got the error "Couldn't read packet: Connection reset by peer"
please help its very urgent (5 Replies)
hi all.
am running postgresql in a vm on debian server.
i have some client programs connecting to the db.
when i check the logs of postgresql i see "connection reset by peer"
can someone help me with this issue...
thanks. (1 Reply)
Hello
I'm facing the above problem while doing a performance run. I've a script which I'm launching from my windows desktop using mozilla. The script will invoke backend action on a Solaris host which in turn feeds the records to a driver located on a linux box(Cent OS).
What's happening is... (1 Reply)
Hi everyone,
Here's question I posted on ubuntu's forum with no success :(
command to reset connection - Ubuntu Forums
I apologize in advance if i'm not supposed to post a link to another forum's thread but well, rather than copy/pasting... I'm hoping to find some answers here :)
... (3 Replies)
Hi,
I am currently working on a Server/Client application on a cluster
I am running about 100 clients in parallel and one server (32 clients per node with 8 processor => 4 clients per processor) . The server is linked to all the clients via Sockets.
After about 55 iteration (about 20... (0 Replies)
Hi,
I am currently working on a Server/Client application on a cluster
I am running about 100 clients in parallel and one server (32 clients per node with 8 processor => 4 clients per processor) . The server is linked to all the clients via Sockets.
After about 55 iteration (about 20... (1 Reply)
I have created a script to cat the contents of a log file and pipe it to head and tail so I can get specific lines.
When I do this I sometimes randomly get the error
"cat: write error: Connection reset by peer". It is completely sporatic and sometimes it doesnt happen and sometimes it does... (4 Replies)
Hi Guys,
I can't SSH to a remote system - connection reset by peer..any ideas ?
-The Source is Linux, the Remote is Windows
-The remote has OpenSSH running on Port 22 - Telnet confirms port is open
-User1 has a RSA2 Key (2048) key, which is capture in the 1010101-pub.key specified by the... (1 Reply)
Discussion started by: stevie_velvet
1 Replies
LEARN ABOUT DEBIAN
security_load_policy
security_load_policy(3) SELinux API documentation security_load_policy(3)NAME
security_load_policy - load a new SELinux policy
SYNOPSIS
#include <selinux/selinux.h>
int security_load_policy(void *data, size_t len);
int selinux_mkload_policy(int preservebools);
int selinux_init_load_policy(int *enforce);
DESCRIPTION
security_load_policy loads a new policy, returns 0 for success and -1 for error.
selinux_mkload_policy makes a policy image and loads it. This function provides a higher level interface for loading policy than secu-
rity_load_policy, internally determining the right policy version, locating and opening the policy file, mapping it into memory, manipulat-
ing it as needed for current boolean settings and/or local definitions, and then calling security_load_policy to load it. preservebools is
a boolean flag indicating whether current policy boolean values should be preserved into the new policy (if 1) or reset to the saved policy
settings (if 0). The former case is the default for policy reloads, while the latter case is an option for policy reloads but is primarily
used for the initial policy load. selinux_init_load_policy performs the initial policy load. This function determines the desired enforc-
ing mode, sets the enforce argument accordingly for the caller to use, sets the SELinux kernel enforcing status to match it, and loads the
policy. It also internally handles the initial selinuxfs mount required to perform these actions.
It should also be noted that after the initial policy load, the SELinux kernel code cannot anymore be disabled and the selinuxfs cannot be
unmounted using a call to security_disable(3). Therefore, after the initial policy load, the only operational changes are those permitted
by setenforce(3) (i.e. eventually setting the framework in permissive mode rather than in enforcing one).
RETURN VALUE
returns zero on success or -1 on error.
AUTHOR
This manual page has been written by Guido Trentalancia <guido@trentalancia.com>
SEE ALSO selinux(8), security_disable(3), setenforce(1)guido@trentalancia.com 3 November 2009 security_load_policy(3)