search for: getsockopt

Displaying 20 results from an estimated 278 matches for "getsockopt".

Did you mean: setsockopt
2003 Oct 26
1
getsockopt TCP_NODELAY: Socket operation on non-socket
...luding pine, which really wants the first thing it receives from an IMAP server to be a valid imap greeting... which $subject is not. $ ssh -o "proxycommand sh -c '( echo CONNECT %h:%p HTTP/1.0; echo; cat ) | nc 192.168.0.1 3128'" pentafluge.infradead.org exec bin/courier-imap.sh getsockopt TCP_NODELAY: Socket operation on non-socket * PREAUTH Ready. In fact, it's probably never necessary to bitch about it, so let's make it a debug message only... Index: misc.c =================================================================== RCS file: /cvs/openssh/misc.c,v retrieving revi...
2003 May 10
1
OpenSSH_3.6.1p2 getsockopt TCP_NODELAY bogus message on Solaris 8
I ran into the following problem the first time I used OpenSSH_3.6.1p2 on Solaris 8 (sparc, 32-bit): $ ssh kiwi Enter passphrase for RSA key '/net/sic/export/ford/home/eggert/.ssh/identity': getsockopt TCP_NODELAY: Socket operation on non-socket Last login: Sat May 10 14:27:01 2003 from ip-66-80-53-59.d Sun Microsystems Inc. SunOS 5.8 Generic Patch October 2001 You have new mail. The "getsockopt TCP_NODELAY: Socket operation on non-socket" message is bogus. This app...
2018 Apr 04
2
glusterd2 problem
..."http://192.168.222.24:2380" source="[embed.go:32:store.newEmbedStore]" trustedcafile= 2018-04-04 09:28:17.071331 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 192.168.222.24:2379: getsockopt: connection refused"; Reconnecting to {192.168.222.24:2379 <nil>} 2018-04-04 09:28:18.071206 I | etcdserver/api/v3rpc: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 192.168.222.24:2379: getsockopt: connection refus...
2002 Nov 21
1
nmblookup not honoring smb.conf?
...= 0 close(3) = 0 socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 bind(3, {sin_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}}, 16) = 0 setsockopt(3, SOL_SOCKET, SO_BROADCAST, [1], 4) = 0 getsockopt(3, SOL_SOCKET, SO_KEEPALIVE, [0], [4]) = 0 getsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], [4]) = 0 getsockopt(3, SOL_SOCKET, SO_BROADCAST, [1], [4]) = 0 getsockopt(3, SOL_TCP, TCP_NODELAY, 0xbffff450, 0xbffff454) = -1 EOPNOTSUPP (Operation not supported) getsockopt(3, SOL_IP, IP_TOS, [0], [4]) = 0 ge...
2018 Apr 06
0
glusterd2 problem
...68.222.24:2 > 380" source="[embed.go:32:store.newEmbedStore]" trustedcafile= > 2018-04-04 09:28:17.071331 I | etcdserver/api/v3rpc: grpc: > addrConn.resetTransport failed to create client transport: connection > error: desc = "transport: dial tcp 192.168.222.24:2379: getsockopt: > connection refused"; Reconnecting to {192.168.222.24:2379 <nil>} > 2018-04-04 09:28:18.071206 I | etcdserver/api/v3rpc: grpc: > addrConn.resetTransport failed to create client transport: connection > error: desc = "transport: dial tcp 192.168.222.24:2379: getsockopt:...
2008 Jul 24
0
cvs commit: src/contrib/pf/pfctl parse.y src/lib/libc/sys Symbol.map getsockopt.2 src/sbin/ipfw ipfw.8 ipfw2.c src/sys/conf NOTES options src/sys/contrib/ipfilter/netinet ip_fil_freebsd.c src/sys/contrib/pf/net pf.c pf_ioctl.c src/sys/kern init_sysent.c
...ow of with this built in ? ---Mike At 09:13 PM 7/23/2008, Julian Elischer wrote: >julian 2008-07-24 01:13:22 UTC > > FreeBSD src repository > > Modified files: (Branch: RELENG_7) > contrib/pf/pfctl parse.y > lib/libc/sys Symbol.map getsockopt.2 > sbin/ipfw ipfw.8 ipfw2.c > sys/conf NOTES options > sys/contrib/ipfilter/netinet ip_fil_freebsd.c > sys/contrib/pf/net pf.c pf_ioctl.c > sys/kern init_sysent.c sys_socket.c syscalls.c > syscalls....
2013 Nov 04
2
Unicorn 4.7.0 tests fail on OSX 10.7.5 and debian squeeze
...abc177b..2244442 100644 --- a/test/unit/test_socket_helper.rb +++ b/test/unit/test_socket_helper.rb @@ -189,7 +189,6 @@ class TestSocketHelper < Test::Unit::TestCase port = unused_port @test_addr name = "#@test_addr:#{port}" sock = bind_listen(name, :reuseport => true) - cur = sock.getsockopt(Socket::SOL_SOCKET, SO_REUSEPORT).unpack(''i'')[0] - assert_equal 1, cur + assert sock.getsockopt(Socket::SOL_SOCKET, SO_REUSEPORT).bool end if defined?(SO_REUSEPORT) end The error I get when I test 4.7.0 on debian squeeze (in a VM): : 1) Error: : test_reuseport(TestSocketHelpe...
2004 May 29
0
[Bug 104] Bytes/packets counters sometimes give incorrect values
https://bugzilla.netfilter.org/cgi-bin/bugzilla/show_bug.cgi?id=104 ------- Additional Comments From gandalf@netfilter.org 2004-05-29 23:45 ------- iptables calls getsockopt() twice, first with SO_GET_INFO which locks the table in kernel and returns some info and then unlocks the table, among that info is the size of the table. Then iptables allocates memory and calls getsockopt() again but with SO_GET_ENTRIES to get the table, and it passes in the size it got from the...
2001 Feb 19
1
scp doesn't work with sshd 2.5.1p1 on Solaris 2.6
...sigaction(SIGPIPE, 0xEFFFF360, 0xEFFFF3E0) = 0 627: fcntl(8, F_GETFL, 0x00000000) = 2 629: door_info(3, 0xEFFFDEA0) = 0 627: fstat64(8, 0xEFFFF2A8) = 0 629: door_call(3, 0xEFFFDE88) = 0 627: getsockopt(8, 65535, 8192, 0xEFFFF3AC, 0xEFFFF3A4) = 0 629: open("/var/adm/lastlog", O_RDWR|O_CREAT, 0444) = 6 629: llseek(6, 14168, SEEK_SET) = 14168 627: fstat64(8, 0xEFFFF2A8) = 0 629: time() = 982...
1998 May 14
1
samba main cvs branch seems to be broken on 64-bit boxes.....
....2 with pam turned off in the makefile. i get a whole series of errors, all of which say "passing arg 'n' of 'function' from incompatible pointer type. in util.c, checked out of the main branch the day before yesterday, errors are as follows: in line function arg 368 getsockopt 5 2096 recvfrom 6 2545 recvfrom 6 3757 getpeername 3 3802 getpeername 3 i'm not a code grunt, and the old release (.17something) still works for me here..... (and yes, axproc is defined in the makefile :) ) but it still might be nice if someone wanted to look at this.......
2009 Jul 06
1
Nonblocking connect is not proprly checked in poll implementation
...st-2.3.2. SVN trunk is affected either. The problem lies in src/net/sock.c: sock_connected() function. This function is used to check status of socket after nonblocking connect(2) and it has two implementations: select(2) and poll(2). The select branch does the right job---it gets socket status by getsockopt(2) after selecting for write. But the poll branch does not. To make things wrong, the poll implementaion takes precedense. The bug makes icecast thinking the connection succeded even it's not true. You can reproduce the bug by requesting mount point pointing to <http://fm4.nobody.at:8080/fm...
2003 Apr 01
0
minor cosmetic fix when using a proxy
....com I think our coffee machine is networked -- I keep seeing these dropped sugar packets all around it. -------------- next part -------------- diff -u misc.c.ORIG misc.c --- misc.c.ORIG Sun Dec 22 20:44:36 2002 +++ misc.c Mon Mar 31 15:40:18 2003 @@ -97,7 +97,9 @@ optlen = sizeof opt; if (getsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, &optlen) == -1) { - error("getsockopt TCP_NODELAY: %.100s", strerror(errno)); + if (errno != ENOTSOCK) { + error("getsockopt TCP_NODELAY: %.100s", strerror(errno)); + } return; } if (opt == 1) {
1999 Sep 30
1
A little utility for checking socket settings
...see what you'd have if you didn't set any tcp options. Written from Stevens TCP/IP Illustrated and man pages, so it's probably portable, but only tested on Solaris 7. --dave /* * getsocketopts -- get the defaults * * This (on a Solaris 7 system) should say: * % su root -c ./getsockopts * Default SO_ACCEPTCON: accepting connections = 0 * Default SO_BROADCAST, broadcast allowed = 0 * Default SO_REUSEADDR, address recycling = 0 * Default SO_KEEPALIVE, send keepalive packets = 0 * Default SO_OOBINLINE, oob data folded inline = 0 * Default SO_SNDBUF, send buffer size = 8192 *...
2011 Aug 03
18
[Bug 734] New: Iptables on Arm Processor with Vanilla Kernel
...= 0 mprotect(0x400ae000, 4096, PROT_READ) = 0 mprotect(0x40010000, 4096, PROT_READ) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0 socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3 getsockopt(3, SOL_IP, 0x40 /* IP_??? */, "filter\0\306\2701(\300\24\0\0\0\377\7\0\0\340\334\326\306\200\0C\307$\335\326\306\16"..., [84]) = 0 brk(0) = 0x1b000 brk(0x1c000) = 0x1c000 getsockopt(3, SOL_IP, 0x41 /* IP_??? */, 0x1b078, 0xbeddfb...
2016 Mar 03
4
virtio-vsock live migration
...by reconnecting if necessary after ECONNRESET. 3. Checkpoint/restore for seamless migration Applications that wish to communicate across live migration can do so but this requires extra application-specific checkpoint/restore code. This is similar to the approach taken by the CRIU project where getsockopt()/setsockopt() is used to migrate socket state. The difference is that the application process is not automatically migrated from the source host to the destination host. Therefore, the application needs to migrate its own state somehow. The flow is as follows: The application on the source hos...
2016 Mar 03
4
virtio-vsock live migration
...by reconnecting if necessary after ECONNRESET. 3. Checkpoint/restore for seamless migration Applications that wish to communicate across live migration can do so but this requires extra application-specific checkpoint/restore code. This is similar to the approach taken by the CRIU project where getsockopt()/setsockopt() is used to migrate socket state. The difference is that the application process is not automatically migrated from the source host to the destination host. Therefore, the application needs to migrate its own state somehow. The flow is as follows: The application on the source hos...
2017 Jan 12
3
proposed change to ssh_connect_direct()
On Sat, Jan 7, 2017 at 2:30 PM, Peter Moody <mindrot at hda3.com> wrote: > so I spent a bit of time looking at this and it seems like the only > way to go, at least if I want to keep it in ssh_connect_direct(), is > to use pthreads. further, it seems like getting that accepted is > something of a long shot: Sorry, pthreads is a non-starter. I would have thought that using
2004 Nov 19
1
Problem calling rsync from java on OSX
rsync and ajug lists, been pulling my hair out on this one. i have some java code which uses the Process object to spawn an rsync connection in --daemon mode. the exact same command executes properly when run from outside java (i.e .on the command line) on osx. it also executes correctly from within java on linux using a similar jdk (sun 1.4.1 vs sun 1.4.2 for osx) here is example code:
2004 Mar 04
3
latest version (3.0.2a) on AIX 5.2 ML2 segmentation fault and core dump
...:277: warning: passing arg 1 of `ScanQconfig' discards qualifiers from pointer target type printing/pcap.c:277: warning: passing arg 2 of `ScanQconfig' discards qualifiers from pointer target type lib/util_sock.c: In function `is_a_socket': lib/util_sock.c:40: warning: passing arg 5 of `getsockopt' from incompatible pointer type lib/util_sock.c: In function `print_socket_options': lib/util_sock.c:102: warning: passing arg 5 of `getsockopt' from incompatible pointer type lib/util_sock.c: In function `client_inaddr': lib/util_sock.c:819: warning: passing arg 3 of `ngetpeername&...
2005 Feb 28
6
Trouble w/ transparent proxy in DMZ (fwmark, tc)