search for: pf_unix

Displaying 20 results from an estimated 53 matches for "pf_unix".

Did you mean: af_unix
2007 Feb 05
1
tunneling support for PF_UNIX sockets
Hi, I've been planning to develop a support for tunneling between "local_tcp => server_AF_UNIX". This way, every user of server machine, can have: 1. personal address space (if socket is located on personal directory). Currently one must check assigned local port every time starting a server (e.g. vncserver), and redirect a local port to "random" remote port. 2. Added
2002 Sep 11
0
Strange Hang over ssh
...1) = 1 (about 100 lines similar to this) read(5, "\6", 1) = 1 select(6, [5], NULL, NULL, {60, 0}) = 1 (in [5], left {60, 0}) read(5, "sysadm", 6) = 6 brk(0x807d000) = 0x807d000 socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 open("/etc/nsswitch.conf", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=1750, ...})...
2011 Sep 29
2
Timeout leak in get quota
...uota usage, it works but when I run the program I receive a warning in Dovecot log: 2011-09-29 14:45:30 doveadm(guest at testmail.com): Warning: Timeout leak: 0x7f14800ad970 This is the script: =============================== #!/usr/bin/perl use strict; use Socket; use IO::Handle; socket(TSOCK, PF_UNIX, SOCK_STREAM,0); connect(TSOCK, sockaddr_un("/var/run/dovecot/doveadm-server")) or print("ERROR!"); print "VERSION\tdoveadm-server\t1\t0\n"; print "\tguest\@testmail.com\tquota get\n"; print "=" x 20 . "\n"; if (defined(my $messg = <T...
2008 Feb 29
1
cram-md5 crashes passdb
..., {0x8058760, [], 0}, NULL, 8) = 0 stat64("/var/run/dovecot/login/ssl-parameters.dat", {st_mode=S_IFREG|0644, st_size=230, ...}) = 0 stat64("/var/lib/dovecot/ssl-parameters.dat", {st_mode=S_IFREG|0644, st_size=230, ...}) = 0 umask(0) = 077 socket(PF_UNIX, SOCK_STREAM, 0) = 12 bind(12, {sin_family=AF_UNIX, path="/var/run/dovecot/dict-server"}, 110) = -1 EADDRINUSE (Address already in use) close(12) = 0 umask(077) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 12 fcntl64(0xc...
2003 Dec 01
0
No subject
...=3D 0x804f000 open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) =3D 3 fstat64(3, {st_mode=3DS_IFREG|0644, st_size=3D1830272, ...}) =3D 0 mmap2(NULL, 1830272, PROT_READ, MAP_PRIVATE, 3, 0) =3D 0x40032000 close(3) =3D 0 socket(PF_UNIX, SOCK_STREAM, 0) =3D 3 connect(3, {sin_family=3DAF_UNIX, path=3D"/var/run/.nscd_socket"}, 110) = =3D -1 ENOENT (No such file or directory) close(3) =3D 0 open("/etc/nsswitch.conf", O_RDONLY) =3D 3 fstat64(3, {st_mode=3DS_IFREG|0644, st_s...
2004 Mar 08
1
winbindd problem - STATUS_BUFFER_OVERFLOW (0x80000005)
...anage_squid_request(1320) fgets() failed! dying..... errno=0 (Success) strace of wbinfo --authenticate... says: [...] lstat64("/tmp/.winbindd", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 lstat64("/tmp/.winbindd/pipe", {st_mode=S_IFSOCK|0777, st_size=0, ...}) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 3 fcntl64(3, F_GETFD) = 0 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 connect(3, {sa_family=AF_UNIX, path="/tmp/.winbindd/pipe"}, 110) = 0 getpid() = 7990 getpid() = 7990 select(4,...
2002 Sep 25
1
tftpd-hpa does not fork
...9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x111000) = 0x40129000 9122 old_mmap(0x4012f000, 15104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4012f000 9122 close(3) = 0 9122 munmap(0x40014000, 15305) = 0 9122 socket(PF_UNIX, SOCK_DGRAM, 0) = 3 9122 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 9122 connect(3, {sin_family=AF_UNIX, path="/dev/log"}, 16) = 0 9122 brk(0) = 0x808cc60 9122 brk(0x808cc80) = 0x808cc80 9122 brk(0x808d000) = 0x808d000 91...
2016 Apr 23
2
StreamLocal forwarding
...= "Address already in use" >From this, it appears that there is no attempt to unlink the socket if it already exists, as would be expected from this code (https://github.com/openssh/openssh-portable/blob/7de4b03a6e4071d454b72927ffaf52949fa34545/misc.c#L1083): sock = socket(PF_UNIX, SOCK_STREAM, 0); if (sock < 0) { saved_errno = errno; error("socket: %.100s", strerror(errno)); errno = saved_errno; return -1; } if (unlink_first == 1) { if (unlink(path) != 0 && errno != ENOENT) error("unlink(%s): %.100s", path, strerror(errno)); } if (bind(sock, (...
2004 Jul 29
2
Samba 3.0.x and high processor utilication caused by /etc/passwd access
...de=S_IFREG|0644, st_size=5540, ...}) = 0 mmap2(NULL, 5540, PROT_READ, MAP_SHARED, 26, 0) = 0x40510000 _llseek(26, 5540, [5540], SEEK_SET) = 0 fstat64(26, {st_mode=S_IFREG|0644, st_size=5540, ...}) = 0 munmap(0x40510000, 5540) = 0 close(26) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 26 connect(26, {sin_family=AF_UNIX, path="/var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused) close(26) = 0 open("/etc/passwd", O_RDONLY) = 26 fcntl64(26, F_GETFD) = 0 fcntl64(...
2001 May 31
0
Bug in scp
...munmap(0x40014000, 23853) = 0 566 getpid() = 566 566 getuid() = 1000 566 brk(0) = 0x804d4a0 566 brk(0x804d8b8) = 0x804d8b8 566 brk(0x804e000) = 0x804e000 566 socket(PF_UNIX, SOCK_STREAM, 0) = 4 566 connect(4, {sin_family=AF_UNIX, path=" /var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused) 566 close(4) = 0 566 open("/etc/...
2002 Mar 06
1
samba 2.2.3a on PPC
...c68) = 0 close(7) = 0 getpid() = 1715 getpid() = 1715 getpid() = 1715 lstat64(0x1004ace8, 0x7fffdb48) = 0 lstat64(0x7fffdbb8, 0x7fffdb48) = 0 socket(PF_UNIX, SOCK_STREAM, 0) = 7 connect(7, {sin_family=AF_UNIX, path="/tmp/.winbindd/pipe"}, 110) = 0 _newselect(0x8, 0x7fffdfd8, 0, 0, 0x7fffe058) = 0 write(7, "\0\0\0\27\0\0\6\263\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1044) = 1044 read(7, "\0\0\5\24\0\0\0\1\300\0\0\"...
2007 Oct 18
0
[PATCH] Use a control socket directory to restrict access
...ic int control_compare(const struct event *a, const struct event *b) { bool init_control() { int result; struct sockaddr_un addr; + char *lastslash; + const char *controlsocketbasename = controlsocketname; - if(strlen(controlsocketname) >= sizeof addr.sun_path) { + control_socket = socket(PF_UNIX, SOCK_STREAM, 0); + + if(control_socket < 0) { + logger(LOG_ERR, _("Creating UNIX socket failed: %s"), strerror(errno)); + goto bail; + } + + /* + * This is rather elaborate for security: + * - On Solaris, we need to restrict traversal into a socket's parent + * directory to...
2004 Sep 21
2
2.6.2 rsync --daemon is not working for me
Hi! I'm unable to write with remote rsync in daemon mode. ********* My configuration: rsync 2.6.2 Linux 2.4.20-alt16-up (ALTLinux www.altlinux.org) (There is owl-patch in ALTLinux-kernel) ========== /etc/rsyncd.conf ============= log file = /var/log/rsync [routers] comment = Our Backups path = /mnt/backup/routers uid = archiver gid = archiver use chroot = true read only = false list = true
2016 May 03
2
StreamLocal forwarding
...s, it appears that there is no attempt to unlink the socket if > > it already exists, as would be expected from this code > > ( > > https://github.com/openssh/openssh-portable/blob/7de4b03a6e4071d454b72927ffaf52949fa34545/misc.c#L1083 > > ): > > > > sock = socket(PF_UNIX, SOCK_STREAM, 0); > > if (sock < 0) { > > saved_errno = errno; > > error("socket: %.100s", strerror(errno)); > > errno = saved_errno; > > return -1; > > } > > if (unlink_first == 1) { > > if (unlink(path) != 0 && errno != ENOENT)...
2002 May 28
5
Problems with UsePrivilegeSeparation (was: port fwd as user != root?
...Client protocol version "..., 78) = 78 write(2, "debug1: no match: 3.3.1 SecureCR"..., 35) = 35 write(2, "Enabling compatibility mode for "..., 46) = 46 write(2, "debug1: Local version string SSH"..., 55) = 55 fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 socketpair(PF_UNIX, SOCK_STREAM, , 0, [4, 8]) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 mmap(0, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = -1 EINVAL (Invalid argument) write(2, "mmap(65536)\r\n", 13) = 13 write(2, "debug1: C...
2003 Jul 23
3
[Bug 597] X11 Forwarding: sshd doesn't listen on unix domain sockets
http://bugzilla.mindrot.org/show_bug.cgi?id=597 cheako911 at yahoo.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cheako911 at yahoo.com ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the
2002 May 28
0
[Bug 259] New: UsePrivilegeSeparation crashed sshd under Linux 2.2
...Client protocol version "..., 78) = 78 write(2, "debug1: no match: 3.3.1 SecureCR"..., 35) = 35 write(2, "Enabling compatibility mode for "..., 46) = 46 write(2, "debug1: Local version string SSH"..., 55) = 55 fcntl(5, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 socketpair(PF_UNIX, SOCK_STREAM, , 0, [4, 8]) = 0 fcntl(4, F_SETFD, FD_CLOEXEC) = 0 fcntl(8, F_SETFD, FD_CLOEXEC) = 0 mmap(0, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = -1 EINVAL (Invalid argument) write(2, "mmap(65536)\r\n", 13) = 13 write(2, "debug1: C...
2002 Jun 26
0
[Bug 299] New: mmap problem with 3.3p1 version
...g1: Local version string SSH-2.0-OpenSSH_3.3 mmap(65536): Invalid argument debug1: Calling cleanup 0x806c3b4(0x0) With strace : write(2, "debug1: Local version string SSH"..., 50debug1: Local version string SSH-2.0-OpenSSH_3.3 ) = 50 fcntl(4, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 socketpair(PF_UNIX, SOCK_STREAM, 0, [3, 7]) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 fcntl(7, F_SETFD, FD_CLOEXEC) = 0 old_mmap(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, 0) = -1 EINVAL (Invalid argument) write(2, "mmap(65536): Invalid argument\r\n", 31mmap(65536): Inv...
2004 Dec 21
3
ssh-agent
Hi :-) We use ssh-agent for batch jobs. The jobs get the key from the ssh-agent over the envoirment variables. When we start many jobs at the same time, the agent dont give the key to the job. We have tracet the our script an see the follow: ... 26918: 0.0004 so_socket(PF_UNIX, SOCK_STREAM, 0, "", 1) = 13 26918: 0.0001 fcntl(13, F_SETFD, 0x00000001) = 0 26918: 0.0003 connect(13, 0xFFBFEC60, 31, 1) Err#146 ECONNREFUSED 26918: 0.0001 close(13) = 0 ... The agent ist bussy when one client is connect to the stream socket. When we make small breaks in the...
2003 May 20
0
Statup problem
since 2 days this is why my asterisk doesn't start, only in *foreground* as I've posted yesterday. When I try to start simple by asterisk it exits. socket(PF_UNIX, SOCK_STREAM, 0) = 3 connect(3, {sin_family=AF_UNIX, path=" /var/run/asterisk.ctl"}, 110) = -1 ENOENT (No such file or directory) close(3) = 0 unlink("/var/run...