[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: chroot BIND Re: Task harden.



On Wed, Apr 04, 2001 at 09:23:53PM +1000, Brian May wrote:
> >>>>> "Herbert" == Herbert Xu <herbert@eriador.apana.org.au> writes:
> 
>     Herbert> Russell Coker <russell@coker.com.au> wrote:
>     >> It seems that there is no system call to read a UDP packet from
>     >> a socket and discover which local address it was sent to.  If
>     >> you want your UDP based
> 
>     Herbert> recvfrom(2)
> 
> I believe recvfrom will only give the remote address (where the packet
> come from), not the local address (where the packet was addressed).

You might get recvmsg(2) to be useful. I don't play with it much.

-- 
Taral <taral@taral.net>
Please use PGP/GPG encryption to send me mail.
"Any technology, no matter how primitive, is magic to those who don't
understand it." -- Florence Ambrose

Attachment: pgpJEaP7anbCp.pgp
Description: PGP signature


Reply to: