This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RPC denial of service


>>>>> Thorsten Kukuk writes:

Th> Zack Weinberg writes:
>> 
>> Here's how freebsd fixed it.  The patch was made Friday, I doubt it's been
>> tested much at all; nor do I know if this code applies to our tree.

Th> I have added it to the current glibc snapshot, and it seems to work.
Th> Since the FreeBSD patch doesn't apply cleanly, I have added a new patch.

Hi Thorsten,

the comment in the mail suggested to add also a *third* patch for
svc_unix.c - which you don't include:
>Here are patches for src/lib/libc/rpc/svc_tcp.c and 
>src/lib/libc/xdr/xdr_rec.c. For FreeBSD-current, there's a third patch
>for src/lib/libc/rpc/svc_unix.c; FreeBSD 2.2.x doesn't have the "unix"
>transport in it do you don't need it there. The change is identical
>to the one to svc_tcp.c (except the routine that's changed is
>svcunix_recv.c instead of svctcp_recv.c.

Isn't that one neccessary?
Andreas

-- 
 Andreas Jaeger   aj@arthur.rhein-neckar.de    jaeger@informatik.uni-kl.de
  for pgp-key finger ajaeger@alma.student.uni-kl.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]