Displaying 20 results from an estimated 626 matches for "sockaddrs".
Did you mean:
sockaddr
2011 Aug 29
0
[PATCH] include: [sys/socket.h] Fix bind and connect attributes
Noticed while compiling some util-linux stuff:
gen_uuid.c:507:21: warning: passing argument 2 of 'connect' discards 'const' qualifier from pointer target type [enabled by default]
/usr/lib/klibc/include/sys/socket.h:248:14: note: expected 'struct sockaddr *' but argument is of type 'const struct sockaddr *'
Signed-off-by: maximilian attems <max at stro.at>
2007 May 03
1
sockaddr structure elements
Dear All,
We are using samba 3.0.24 compiled for xscale on two devices:
We are running a smbclient and smb daemon on two different devices,
192.168.1.39 (smbd) and 192.168.1.24 (smbclient). When we establish a
smbclient connection from client -> Server, in the
smbd/server.c:open_sockets_smbd() function, we are getting sockaddr
structure values as follows (caught at debug data on smbd):
2010 Nov 28
2
[PATCH] Use canonical hostname for DNS SSHFP lookup
In the current implementation, ssh always uses the hostname supplied by
the user directly for the SSHFP DNS record lookup. This causes problems
when using the domain search path, e.g. I have "search example.com" in my
resolv.conf and then do a "ssh host", I will connect to host.example.com,
but ssh will query the DNS for an SSHFP record of "host.", not
2004 Feb 25
3
[patch] Correct configure test for sin_len to compile on Tru64 Unix
The last versions of rsync fail to compile on Tru64 Unix (alpha),
because of a typo in configure.in.
The problem is that the code in configure check for sockaddr.sa_len,
while the code uses sockaddr.sin_len. This patch fixes the problem.
Please include it in the next version of rsync.
diff -ur src-2.6.0/configure.in src-2.6.0-local/configure.in
--- src-2.6.0-local/configure.in
2016 Jan 06
0
[klibc:master] Add accept4(), handle fallback from accept () to accept4()
Commit-ID: cf8147c43a60d9eb6a6713d16f30364a698a6936
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=cf8147c43a60d9eb6a6713d16f30364a698a6936
Author: H. Peter Anvin <hpa at linux.intel.com>
AuthorDate: Tue, 5 Jan 2016 18:31:40 -0800
Committer: H. Peter Anvin <hpa at linux.intel.com>
CommitDate: Tue, 5 Jan 2016 18:35:16 -0800
[klibc] Add accept4(), handle
2011 May 10
1
[Bug 1903] New: bindresvport_sa() does not validate non-zero struct sockaddr * port is within intended range
https://bugzilla.mindrot.org/show_bug.cgi?id=1903
Summary: bindresvport_sa() does not validate non-zero struct
sockaddr * port is within intended range
Product: Portable OpenSSH
Version: 5.8p2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component:
2019 Sep 18
1
[PATCH nbdkit] server: Remove useless thread local sockaddr.
When accepting a connection on a TCP or Unix domain socket we recorded
the peer address in both the thread_data struct and thread-local
storage. But for no reason because it was never used anywhere. Since
we were only allocating a ‘struct sockaddr’ (rather than a ‘struct
sockaddr_storage’) it's likely that some peer addresses would have
been truncated.
Remove all this code, it had no
2003 May 17
1
Tru64 Unix patch for rsync 2.5.6.
Version 2.5.6 of rsync fail to compile on Tru64 Unix v5.1 with this
error message:
cc-wrapper -I. -I. -g -DHAVE_CONFIG_H -c socket.c -o socket.o
cc: Error: socket.c, line 619: In this statement, "sin_len" is not a
member of "sock2". (needmember)
sock2.sin_len = sizeof(sock2);
--------^
make: *** [socket.o] Error 1
error: compile failed.
The problem
2001 Aug 07
1
do_pre_login() used before declared
do_pre_login() in session.c is used (in do_exec_pty()) before
it's declared, which is causing some problems for me.
please move it up a couple hundred lines in the file.
patch included for 0807 snapshot.
thanks,
wendy
% diff -u session.c.orig session.c.mod
--- session.c.orig Tue Aug 7 13:11:51 2001
+++ session.c.mod Tue Aug 7 16:21:07 2001
@@ -397,6 +397,34 @@
}
}
2001 Dec 03
0
Socket address problems with 2.5.1pre1
The problem shows in the following log snippet. The numeric address of
the peer (localhost in this case) is garbage.
rsyncd[32671]: reverse name lookup failed
rsyncd[32671]: rsync: forward name lookup for failed: Name or service not known
rsyncd[32671]: rsync on debian/ from UNKNOWN (::10fa:ffbf:a426:608%5)
rsyncd[32671]: wrote 616 bytes read 70 bytes total size 143069
I am using linux
2006 Aug 25
0
Session request packet
hello list:
i am learing smb protocol. i lookup NBT SESSION REQUEST PACKET from rfc
1002.
SESSION REQUEST PACKET
1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 2 3 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| TYPE | FLAGS | LENGTH |
1999 Dec 29
1
Patch to use Dante socks library
Since I use the Dante SOCKS library (instead of the NEC libraries), I
decided to hack support for them into OpenSSH. Here is the results.
Thanks,
David
$NetBSD$
--- configure.in.orig Wed Dec 29 08:37:01 1999
+++ configure.in Wed Dec 29 08:37:25 1999
@@ -334,6 +341,20 @@
AC_MSG_WARN([*** Disabling lastlog support *** ])
AC_DEFINE(DISABLE_LASTLOG)
fi
+
+dnl Compile with dante SOCKS library
2008 Oct 07
0
"route flush" does not delete routes created with -interface option
...US 0 0 tun1
If I do "route -n flush -inet" then it does not delete the routes created with
a -interface option. see verbose output:
route -vn flush -inet
RTM_GET: Report Metrics: len 204, pid: 0, seq 0, errno 0,
flags:<UP,GATEWAY,STATIC>
locks: inits:
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
146.64.80.0 192.168.0.100 (255) ffff ffff ff sis0:0.0.24.c7.8b.80
192.168.0.44
RTM_DELETE: Delete Route: len 204, pid: 0, seq 2, errno 0,
flags:<UP,GATEWAY,STATIC>
locks: inits:
sockaddrs: <DST,GATEWAY,NETMASK,IFP,IFA>
146.64.80.0 192.168.0.100...
2002 Aug 19
1
sshd doesn't log hostname into utmp correctly [resend]
Hi,
Though I sent this message before, I didn't get any response. So, I
send this message, again.
This problem is occur when the connection is form IPv6, and IPv4 is
not affected.
openssh-3.4p1 doesn't handle actual size of struct sockaddr correctly,
and does copy it as long as just size of struct sockaddr. So, sshd
deesn't log hostname into utmp correctly. Here is a patch to fix
2017 Jun 15
2
Joining a Windows Server 2008 / 2008 R2 DC to a Samba AD - ISSUE - The RPC server is unavailable
On Wed, 2017-06-14 at 11:01 +0100, Rowland Penny via samba wrote:
> On Wed, 14 Jun 2017 15:13:13 +0530
> Arjit Gupta <arjitk.gupta at gmail.com> wrote:
>
> > Thanks for the response.
> >
> > Is this xattr causing this RPC server is unavailable issue ?
> >
> > Arjit Kumar
> >
> >
>
> Lets be perfectly honest here, the lack of
2018 Dec 10
2
[PATCH] cleanup of global variables server/client_version_string in sshconnect.c
In sshconnect.c there are two global variables for server_version_string
client_version_string.
These are used just in a few functions and can easily be passed as
parameters.
Also, there is a strange construct, where their memory is allocated to
the global pointers, then copies of these pointers are assigned to the
kex structure. The kex_free finally frees them via cleanup of the kex
2009 Jun 08
2
[PATCH] few minor bugfixes
- perform dns lookup on hostname,
- randomize local tunnel port
- bump rpm spec version
updated to include danpb's feedback regarding getaddrinfo
---
main.c | 36 ++++++++++++++++++------------------
ovirt-viewer.spec | 9 ++++++++-
tunnel.c | 29 ++++++++++++++++++++---------
3 files changed, 46 insertions(+), 28 deletions(-)
diff --git a/main.c b/main.c
index
1998 May 14
1
samba main cvs branch seems to be broken on 64-bit boxes.....
hi there :)
the code in util.c seems to have some bugs w/regard to compilation on
64-bit machines. in this case, the hardware is an Alpha running redhat
4.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,
2004 Nov 21
1
mac_portacl and automatic port allocation
Hello,
I really like the idea behind mac_portacl but I find it difficult to use
it because of one issue. When an unprivileged program binds to high
automatic port with a call to bind(2) and port number set to 0 the
system chooses the port to bind to itself. This mechanismus is used by
number of programs, most commonly by ftp clients in active mode.
Unfortunately this 0 is checked by the
2015 Apr 08
10
Build-system cleanups
Hi everyone
Following are a number of build-system cleanup patches. Some of them are
prep-work for a possible upcoming automake/gnulib introduction.
Best regards,
Tiziano