Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 02:36:30 -0500
From:      Jason Hellenthal <jhell@DataIX.net>
To:        hackers@FreeBSD.org
Subject:   sysctl description spillover and also setting the sysctl ?
Message-ID:  <20111125073630.GC7915@DataIX.net>

next in thread | raw e-mail | index | archive | help

--p2kqVDKq5asng8Dg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


Found a troubling result of the following and figured someone might want to take a look.

Pay close attention to the output and behavior.

sysctl net.inet.udp.blackhole=0
sysctl net.inet.udp.blackhole
sysctl -d net.inet.udp.blackhole=1
sysctl net.inet.udp.blackhole


Is this expected ? should it not just display the description instead of adjusting ? as well not display the description like it is adjusting the description too ?

# sysctl net.inet.udp.blackhole=0
net.inet.udp.blackhole: 0 -> 0
# sysctl net.inet.udp.blackhole
net.inet.udp.blackhole: 0
# sysctl -d net.inet.udp.blackhole=1
net.inet.udp.blackhole: Do not send port unreachables for refused connects -> Do not send port unreachables for refused connects
# sysctl net.inet.udp.blackhole
net.inet.udp.blackhole: 1

--p2kqVDKq5asng8Dg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJOz0V9AAoJEJBXh4mJ2FR+LDgH/1lahamQ4SFsl1OG7suciLyw
GnRLhxFzMZXNytfksUC3P+zo14WlaoaZLhDJftDk3qs5ZbLN5Qw8Zcoev9Y5xJme
VJx8zIvrKFOZuurC4ydN5hLquvxWSVJg7tgTDttTP07ieZ60MIxihESTq6ZP7FDN
AlCv192v5XLZ88NQmmu3oUKju7vhfDGi5JLfS2rbuE7graktQ11Nf3jOyUghSOy9
Xy/r5hVhZU2om7oh/jzv93HxAeBSGB3X5ukbUnUtR09QGnkShl6eziUbIHntDLPF
ddGorEGjzLgwOezN8vfk2PMRAQ20tLX+pqSBwHf/Zmg7BFjgagEpAIYP8T6OAZg=
=/uI4
-----END PGP SIGNATURE-----

--p2kqVDKq5asng8Dg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111125073630.GC7915>