Displaying 20 results from an estimated 42 matches for "send_msg".
2012 Jul 28
1
How to send a SIP MESSAGE outside a call
Hello
My provider allows to activate/deactivate a forwarding rule by sending a
SIP MESSAGE. This is done outside a call. That is, while there is no
ongoing call, a SIP client just sends the following message:
MESSAGE sip:543951354657 at callfwd.sip.providerx.com SIP/2.0
Call-ID: b9ba106e-613a-46b9-8a4d-0efb4dc0a0f2
CSeq: 1 MESSAGE
To: <sip:543951354657 at
2017 Jan 18
4
[Bug 12527] New: Sender waits for timeout when fuzzy basis file found
...ase=1
send_files(0, /home/prd/bkp/.)
./
send_files(2, /home/prd/bkp/bf.iso)
bf.iso
549,158,912 74% 12.12MB/s 0:00:14
rsync: [sender] write error: Broken pipe (32)
[sender] got msg=2, len=14
recv_files(.)
[sender] got msg=2, len=19
recv_files(bf.iso)
[sender] got msg=2, len=27
[receiver] send_msg(1, 94)
[sender] got msg=2, len=28
[generator] send_msg(1, 94)
[sender] got msg=1, len=94
rsync: write failed on "/home/prd/bkp/bf.iso": Disc quota exceeded (69)
[sender] got msg=2, len=33
[generator] converted msg len=94
[sender] got msg=2, len=27
[receiver] send_msg(3, 76)
[sender] got m...
2006 Jun 05
1
Action Mailer contact form
...ot; book as a pattern to develop the send e-mail portion. I am
having trouble getting it working and was hoping someone could point me in the
right direction. Thanks.
====================================================
1. class ContactController < ApplicationController
2.
3. def send_msg
4. @contact = Contact.new(params[:contact])
5. if @contact.valid?
6. contact = get_contact
7. email = ContactMailer.create_confirm(contact)
8. render(:text => "<pre>" + email.encoded + "<pre>")
9. flash[:notice] = "Message Sent"...
2018 Sep 09
1
Type enforcement / mechanism not clear
On 09/09/2018 07:19 AM, Daniel Walsh wrote:
> sesearch -A -s httpd_t -t system_conf_t -p read
>
> If you feel that these files should not be part of the base_ro_files
> then we should open that for discussion.
I think the question was how users would know that the policy allowed
access, as he was printing rules affecting httpd_t's file read access,
and looking for
2010 Jan 10
0
Problem with StyledTextCtrl
I am using StyledTextCtrl, and want to get direct function and pointer
from the handle so that I can pass them to some old codes written in C.
But the output of the following code is "0, 0", which means send_msg()
returns nothing but 0.
require ''wx''
module Wx
App.run do
frame = Frame.new nil, :title => "stc"
stc = StyledTextCtrl.new frame, -1
# http://www.scintilla.org/Steps.html
fn = stc.send_msg 2184, 0, 0 # SCI_GETDIRECTFUNCT...
2011 Dec 16
5
[Bug 8666] New: --debug=all9 fail
...AssignedTo: wayned at samba.org
ReportedBy: chris at onthe.net.au
QAContact: rsync-qa at samba.org
There are at least 2 recursive calls when running --debug=all9:
(gdb) bt
#1 0x0000000000434996 in perform_io (needed=60, flags=4) at ../rsync/io.c:608
#2 0x0000000000435b71 in send_msg (code=MSG_INFO, buf=0x7fffa60c7da0
"[receiver] perform_io(60, msgroom) needs to flush 33\n", len=53, convert=0) at
../rsync/io.c:955
#3 0x0000000000429840 in rwrite (code=FINFO, buf=0x7fffa60c7da0 "[receiver]
perform_io(60, msgroom) needs to flush 33\n", len=53, is_utf8=0) at
....
2005 Dec 29
1
strange log entry
Centos 4.2
Dec 29 10:04:10 z9m9z dbus: Can't send to audit system: USER_AVC
pid=1997 uid=81 loginuid=-1 message=avc: denied { send_msg } for
scontext=root:system_r:unconfined_t tcontext=user_u:system_r:initrc_t
tclass=dbus
Dec 29 10:04:45 z9m9z last message repeated 7 times
Dec 29 10:05:50 z9m9z last message repeated 13 times
Dec 29 10:06:55 z9m9z last message repeated 13 times
Dec 29 10:07:56 z9m9z last message repeated 12 times...
2005 Nov 12
0
mysqld and selinux
...4): avc: denied
{ write } for pid=4874 comm="mysqld" name="tmp" dev=dm-0 ino=2894305
scontext=root:system_r:mysqld_t tcontext=root:object_r:root_t tclass=dir
Nov 12 00:48:59 srv1 dbus: Can't send to audit system: USER_AVC pid=2839
uid=81 loginuid=-1 message=avc: denied { send_msg } for
scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t
tclass=dbus
Nov 12 00:49:04 srv1 dbus: Can't send to audit system: USER_AVC pid=2839
uid=81 loginuid=-1 message=avc: denied { send_msg } for
scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t
tc...
2005 Nov 30
0
SELinux niggle
...ng, I
have done this in order to get used to CentOS before using it on live
servers.
Anyway when I log into X (gnome, gdm) I start getting the following
in /var/log/messages
Nov 30 12:47:39 needme dbus: Can't send to audit system: USER_AVC
pid=2916 uid=81 loginuid=-1 message=avc: denied { send_msg } for
scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t
tclass=dbus
Nov 30 12:48:10 needme last message repeated 7 times
Nov 30 12:48:12 needme gconfd (MYUSERNAME-3780): Resolved address
"xml:readwrite:/home/MYUSERNAME/.gconf" to a writable configuration
source...
2023 Oct 17
1
"Could not create listener socket on port" error only when using systemd service
...n to
listen on TCP/8000 port:
# sesearch --allow -s icecast_t -c tcp_socket
[...]
allow icecast_t port_type:tcp_socket name_bind; [ icecast_use_any_tcp_ports ]:True
allow icecast_t port_type:tcp_socket name_connect; [ icecast_use_any_tcp_ports ]:True
allow icecast_t port_type:tcp_socket { recv_msg send_msg }; [ icecast_use_any_tcp_ports ]:True
allow icecast_t soundd_port_t:tcp_socket { name_bind name_connect recv_msg send_msg };
If it's the cause, a corresponding log entry about denying the deamon to bind
a socket to the nonstandard port should appear in /var/log/audit/audit.log
when the deamon...
2023 Oct 16
1
"Could not create listener socket on port" error only when using systemd service
On 10/16/23 10:37, Michael C Cambria wrote:
>
> Hi,
>
> I'm using icecast via Fedora 37 package and systemd service to start.
>
> I've added multiple <listen-socket> but get:
>
> "EROR connection/connection_setup_sockets Could not create listener
> socket on port xxx"
*snip*
That error sounds like it could either be an issue relating to which
2002 Jan 06
3
sftp/scp performance testing
Folks, I've noticed poor performance using sftp. If anyone has any
advice on how to improve performance, I'd like to hear it. Test simply
involved transferring a single 143MB MP3 file using defaults for all the
program configs. The opensshd 3.0.2p1 server is used in all tests.
Software:
openssh suite 3.0.2p1
psftp (putty sftp client) latest dev snapshot
pscp (putty scp client) latest
2005 Nov 12
5
selinux stuff - I just don't get
I am getting tons of these messages since I updated to 4.2
Nov 12 12:21:39 srv1 dbus: Can't send to audit system: USER_AVC pid=2839
uid=81 loginuid=-1 message=avc: denied { send_msg } for
scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t
tclass=dbus
Now I can see this process...
# ps aux|grep 2839
dbus 2839 0.0 0.3 16168 1888 ? Ssl Nov11 0:13 dbus-
daemon-1 --system
root 17173 0.0 0.1 3748 668 pts/2 S+ 12:22 0:00 grep 283...
2006 May 13
2
using -v and -q together
seems the behavior of rsync has changed when dealing with output and using
both -v and -q at the same time ... for example:
$ mkdir test1
$ touch test1/foo
$ rsync-2.6.0 -avq test1 test2
$ rm -r test2
$ rsync-2.6.8 -avq test1 test2
test1/
test1/fo
$ rm -r test2
$ rsync-cvs -avq test1 test2
building file list ... test1/
test1/fo
$ rm -r test2
the new output in 2.6.8 comes from the calls to
2016 Jun 02
2
[PATCH] Link count attribute extension
...t_cstring(msg, "1")) != 0 || /* version */
+ /* attr link count extension */
+ (r = sshbuf_put_cstring(msg, SFTP_EXT_ATTR_LINK_COUNT)) != 0 ||
(r = sshbuf_put_cstring(msg, "1")) != 0) /* version */
fatal("%s: buffer error: %s", __func__, ssh_err(r));
send_msg(msg);
2004 Apr 27
1
No error messages in rsyncd log in 2.6.1pre-1
...dicate what happened, and when.
There was a change to rwrite() that seems to be preventing the error
logging. This 2.6.1 code:
if (am_server) {
/* Pass it to non-server side, perhaps through our sibling. */
if (msg_fd_out >= 0) {
send_msg((enum msgcode)code, buf, len);
return;
}
if (io_multiplex_write((enum msgcode)code, buf, len))
return;
}
will send all errors to the client and none to the log when the
daemon is the server. That code replaced...
2005 Oct 13
1
OCFS2 Installation woes
...unt" name="/" dev=configfs ino=70286
scontext=root:system_r:initrc_t tcontext=system_u:object_r:unlabeled_t
tclass=filesystem
Also have some errors of form:
Oct 13 18:03:49 dblinux1 dbus: Can't send to audit system: USER_AVC
pid=2587 uid=81 loginuid=-1 message=avc: denied { send_msg } for
scontext=user_u:system_r:unconfined_t tcontext=user_u:system_r:initrc_t
tclass=dbus
And this one:
Oct 13 17:46:36 dblinux1 kernel: OCFS2 Node Manager 1.0.7 Wed Oct 12
13:18:42 PDT 2005 (build 6cb35edfedddf6b4d606b95f2579cb39)
Oct 13 17:46:36 dblinux1 kernel: audit(1129239996.953:8): avc:...
2017 Oct 29
4
[Bug 13109] New: rsync hangs during transfer of many small files
https://bugzilla.samba.org/show_bug.cgi?id=13109
Bug ID: 13109
Summary: rsync hangs during transfer of many small files
Product: rsync
Version: 3.1.2
Hardware: x86
OS: Linux
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
2009 Feb 12
2
[patch] hard link protocol extension for sftp
...not support link at openssh.com extension");
+ return -1;
+ }
+
+ buffer_put_char(&msg, SSH2_FXP_EXTENDED);
+ buffer_put_int(&msg, id);
+ buffer_put_cstring(&msg, "link at openssh.com");
+ buffer_put_cstring(&msg, oldpath);
+ buffer_put_cstring(&msg, newpath);
+ send_msg(conn->fd_out, &msg);
+ debug3("Sent message link at openssh.com \"%s\" -> \"%s\"",
+ oldpath, newpath);
+ buffer_free(&msg);
+
+ status = get_status(conn->fd_in, id);
+ if (status != SSH2_FX_OK)
+ error("Couldn't link file \"%s\&q...
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
...har *fnamecmp;
+ char *fnamecmp, numbuf[4];
char fnamecmpbuf[MAXPATHLEN];
struct map_struct *mapbuf;
int i;
@@ -461,16 +462,20 @@ int recv_files(int f_in,struct file_list
cleanup_disable();
- if (!recv_ok) {
+ if (recv_ok) {
+ if (delete_sent_files) {
+ SIVAL(numbuf, 0, i);
+ send_msg(MSG_SUCCESS, numbuf, 4);
+ }
+ } else {
if (csum_length == SUM_LENGTH) {
rprintf(FERROR,"ERROR: file corruption in %s. File changed during transfer?\n",
full_fname(fname));
} else {
- char buf[4];
if (verbose > 1)
rprintf(FINFO,"redoing %s(%d)\n...