summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fwprintf.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2012-09-09 09:46:48 +0000
committerglebius <glebius@FreeBSD.org>2012-09-09 09:46:48 +0000
commit8705cd0c254164c2eed65073d7b2214a0cf4214a (patch)
tree893f8dc9388640443e9ed63e9a469dfd114072bc /lib/libc/stdio/fwprintf.c
parentf5e507e8ae007ce01e4ca8982f550a03715460ac (diff)
downloadFreeBSD-src-8705cd0c254164c2eed65073d7b2214a0cf4214a.zip
FreeBSD-src-8705cd0c254164c2eed65073d7b2214a0cf4214a.tar.gz
For UDP transport set IP_RECVDSTADDR sockopt on the socket, and provide
IP_SENDSRCADDR control with datagram message we reply with. This makes bsnmpd reply from exactly same address that request was sent to, thus successfully bypassing stateful firewalls or other kinds of strict checking. PR: bin/171279
Diffstat (limited to 'lib/libc/stdio/fwprintf.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud