- 论坛徽章:
- 0
|
sun4u sparc SUNW,Sun-Fire-880
本想通过ndd关闭close_wait的端口
执行 命令结果如下:
#ndd -get /dev/tcp tcp_status | grep 4023
300016c1088 ::ffff:0.0.0.0 00000000 00000000 0000000000 00000000 00000000 0000049152 03375 00536 0 00 14 0 00000000 [4023, 0] TCP_LISTEN
30006f23e48 ::ffff:137.32.51.2 00000000 00000000 0000024820 00000000 00000000 0000049640 00423 01460 0 00 00 0 00000000 [4023, 43375] TCP_CLOSE_WAIT*
32fb71a59a8 ::ffff:137.32.51.2 00000000 00000000 0000024820 00000000 00000000 0000049640 03375 01460 0 00 00 0 00000000 [4023, 52968] TCP_CLOSE_WAIT*
# ndd -set /dev/tcp tcp_discon 0x30006f23e48
name is non-existent for this module
for a list of valid names, use name '?'
#
好像是报了错误,有用过的看看什么问题。
========================
man 了一下,
ndd /dev/tcp \?
没有tcp_discon这个参数。
[ 本帖最后由 ketos 于 2009-5-18 14:43 编辑 ] |
|