Displaying 5 results from an estimated 5 matches for "addr_buf".
Did you mean:
add_buf
2002 Jan 11
1
rsync 2.5.1 server - strange logs
I've just upgraded my rsync server to 2.5.1 (before, I was using 2.4.6),
without changing anything in /etc/rsyncd.conf, and now, I have this logs
each time a client connect to server:
2002/01/07 18:33:03 [10432] rsync: reverse name lookup mismatch on fd3 - spoofed address?
2002/01/07 18:33:03 [10432] rsync on admin/sbin/padmin_update.sh from UNKNOWN (172.16.65.14)
2002/01/07 18:33:03 [10432]
2001 Dec 03
0
Socket address problems with 2.5.1pre1
...ent_addr() to experiment a bit:
--- socket.c.orig Tue Nov 27 08:01:05 2001
+++ socket.c Sun Dec 2 21:04:20 2001
@@ -555,7 +555,7 @@
**/
char *client_addr(int fd)
{
- struct sockaddr ss;
+ struct sockaddr_storage ss;
int length = sizeof(ss);
static char addr_buf[100];
static int initialised;
@@ -564,11 +564,14 @@
initialised = 1;
- if (getpeername(fd, &ss, &length)) {
+ if (getpeername(fd, (struct sockaddr *)&ss, &length)) {
exit_cleanup(RERR_SOCKETIO);
}
- getnameinfo(&ss,...
2009 Jun 17
0
Samba 3.3.5 problem with hostnames in allow hosts list
...The bit I don't understand is that nc is not initialised between being
declared and the lookup_nc call being performed. To my mind this would
lead to undefined results which might explain why sys_getnameinfo is
never called. Should there be something like
nc.name = get_peer_addr_internal(fd, addr_buf, sizeof(addr_buf),
&nc.ss, &length);
before the lookup_nc?
Any help/explanation gratefully received.
Thanks,
--
Tom.
--------------------------------------------------------------------------
Tom Crummey, Systems and Network Manager, EMAIL: tom@ee.ucl.ac.uk...
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,
2002 Jan 07
1
rsync-2.5.1 / socket.c - unititialized variable breaks build.
...otentially very long
select so
file can be trimmed by another process instead of
growing
@@ -565,7 +567,7 @@
char *client_addr(int fd)
{
struct sockaddr_storage ss;
- int length = sizeof(ss);
+ unsigned int length = sizeof(ss);
static char addr_buf[100];
static int initialised;
@@ -595,7 +597,7 @@
char *client_name(int fd)
{
struct sockaddr_storage ss;
- int length = sizeof(ss);
+ unsigned int length = sizeof(ss);
static char name_buf[100];
static char port_buf[100];
char *def...