search for: in_loopbacknet

Displaying 9 results from an estimated 9 matches for "in_loopbacknet".

2003 May 26
0
ip_input.c
Hi, secfolks. While reading ip_input.c I have met following lines: ;------------------------------------------------- /* 127/8 must not appear on wire - RFC1122 */ if ((ntohl(ip->ip_dst.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET || (ntohl(ip->ip_src.s_addr) >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET) { if ((m->m_pkthdr.rcvif->if_flags & IFF_LOOPBACK) == 0) { ipstat.ips_badaddr++; goto bad; } } ;---------------------------------------...
2002 Nov 17
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS (update)
...(S_ISDIR(mode)) perms[0] = 'd'; diff -urp --new-file oldrsync/rsync.h newrsync/rsync.h --- oldrsync/rsync.h Tue Aug 27 12:03:52 2002 +++ newrsync/rsync.h Tue Aug 27 15:44:38 2002 @@ -330,6 +330,10 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2 #define INADDR_NONE 0xffffffff #endif +#ifndef IN_LOOPBACKNET +#define IN_LOOPBACKNET 127 +#endif + struct file_struct { unsigned flags; time_t modtime; @@ -614,7 +618,7 @@ inet_ntop(int af, const void *src, char #endif /* !HAVE_INET_NTOP */ #ifndef HAVE_INET_PTON -int isc_net_pton(int af, const char *src, void *dst); +int inet_pton(int af, const ch...
2002 Sep 06
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS
...(S_ISDIR(mode)) perms[0] = 'd'; diff -urp --new-file oldrsync/rsync.h newrsync/rsync.h --- oldrsync/rsync.h Tue Aug 27 12:03:52 2002 +++ newrsync/rsync.h Tue Aug 27 15:44:38 2002 @@ -330,6 +330,10 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2 #define INADDR_NONE 0xffffffff #endif +#ifndef IN_LOOPBACKNET +#define IN_LOOPBACKNET 127 +#endif + struct file_struct { unsigned flags; time_t modtime; @@ -614,7 +618,7 @@ inet_ntop(int af, const void *src, char #endif /* !HAVE_INET_NTOP */ #ifndef HAVE_INET_PTON -int isc_net_pton(int af, const char *src, void *dst); +int inet_pton(int af, const ch...
2002 Oct 14
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS (resend)
...(S_ISDIR(mode)) perms[0] = 'd'; diff -urp --new-file oldrsync/rsync.h newrsync/rsync.h --- oldrsync/rsync.h Tue Aug 27 12:03:52 2002 +++ newrsync/rsync.h Tue Aug 27 15:44:38 2002 @@ -330,6 +330,10 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2 #define INADDR_NONE 0xffffffff #endif +#ifndef IN_LOOPBACKNET +#define IN_LOOPBACKNET 127 +#endif + struct file_struct { unsigned flags; time_t modtime; @@ -614,7 +618,7 @@ inet_ntop(int af, const void *src, char #endif /* !HAVE_INET_NTOP */ #ifndef HAVE_INET_PTON -int isc_net_pton(int af, const char *src, void *dst); +int inet_pton(int af, const ch...
2002 Nov 20
0
[PATCH] Updated patch to rsync for Stratus VOS
...#39;; if (S_ISDIR(mode)) perms[0] = 'd'; diff -urp oldrsync/rsync.h newrsync/rsync.h --- oldrsync/rsync.h Sun Nov 17 05:00:06 2002 +++ newrsync/rsync.h Sun Nov 17 05:00:19 2002 @@ -331,6 +331,10 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2 #define INADDR_NONE 0xffffffff #endif +#ifndef IN_LOOPBACKNET +#define IN_LOOPBACKNET 127 +#endif + struct file_struct { unsigned flags; time_t modtime; @@ -615,7 +619,7 @@ inet_ntop(int af, const void *src, char #endif /* !HAVE_INET_NTOP */ #ifndef HAVE_INET_PTON -int isc_net_pton(int af, const char *src, void *dst); +int inet_pton(int af, const ch...
2002 Jun 28
0
[Bug 316] New: ifdefs for systems without IPV6
...Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: dirk.meyer at dinoex.sub.org --- sshconnect.c.orig Wed Aug 8 00:29:09 2001 +++ sshconnect.c Wed Oct 3 14:28:15 2001 @@ -577,11 +577,13 @@ sin_addr.s_addr) >> 24) == IN_LOOPBACKNET; salen = sizeof(struct sockaddr_in); break; +#ifdef HAVE_STRUCT_SOCKADDR_IN6 case AF_INET6: local = IN6_IS_ADDR_LOOPBACK( &(((struct sockaddr_in6 *)hostaddr)->sin6_addr)); salen = sizeof(struct sockad...
2002 Oct 21
0
[Bug 418] New: Allow to build on systems without IPV6
...tedBy: dirk.meyer at dinoex.sub.org openssh 3.5p1: AF_INET6 is not included on FreeBSD 2.2.8 so skip it when not detected: --- sshconnect.c.orig Wed Aug 8 00:29:09 2001 +++ sshconnect.c Wed Oct 3 14:28:15 2001 @@ -577,11 +577,13 @@ sin_addr.s_addr) >> 24) == IN_LOOPBACKNET; salen = sizeof(struct sockaddr_in); break; +#ifdef HAVE_STRUCT_SOCKADDR_IN6 case AF_INET6: local = IN6_IS_ADDR_LOOPBACK( &(((struct sockaddr_in6 *)hostaddr)->sin6_addr)); salen = sizeof(struct sockad...
2003 Jun 25
3
patch draft for extended attributes on linux
...S HAVE_LGETXATTR + /* The default RSYNC_RSH is always set in config.h, either to "remsh", * "rsh", or otherwise something specified by the user. HAVE_REMSH * controls parameter munging for HP/UX, etc. */ @@ -335,6 +339,8 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2 #define IN_LOOPBACKNET 127 #endif +struct xa_list; + struct file_struct { unsigned flags; time_t modtime; @@ -354,6 +360,10 @@ struct file_struct { char *basedir; char *link; char *sum; + +#if SUPPORT_XATTRS + struct xa_list *xattrs; +#endif }; @@ -465,9 +475,6 @@ extern char *sys_errlis...
1997 Apr 22
1
SNI-12: BIND Vulnerabilities and Solutions (fwd)
...* - - * This one used to initialize implicitly to zero, so unless the app - - * has set it to something in particular, we can randomize it now. - - */ - - if (!_res.id) - - _res.id = res_randomid(); - - #ifdef USELOOPBACK _res.nsaddr.sin_addr = inet_makeaddr(IN_LOOPBACKNET, 1); #else - --- 197,202 ---- *************** *** 644,655 **** return(0); /* if not using DNS configuration from NetInfo */ } #endif /* NeXT */ - - - - u_int - - res_randomid() - - { - - struct timeval now; - - - - gettimeofday(&now, NULL); - - return (0xff...