顯示文章

這裡允許您檢視這個會員的所有文章。請注意, 您只能看見您有權限閱讀的文章。


主題 - weiyi

頁: [1]
1
請問各位先進
如何隱藏作業系統版本 ?? (O.S freebsd)
因故暴露於公眾網路上,想隱藏作業系統版本,避免被偵測發現已知漏洞
已先 freebsd-update upgrade -r 完成
先謝謝各位

2
checking for dlopen... yes
checking for posix_memalign... yes
checking pkg-config files for X11 are available... yes
checking for LIBDRM... yes
checking for DRI2PROTO... yes
checking for DRIGL... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
configure: creating ./config.status
config.status: creating configs/autoconf
config.status: executing configs commands
configure: WARNING: unrecognized options: --disable-gallium

        prefix:          /usr/local
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include

        Driver:          dri
        OSMesa:          no
        DRI drivers:     i810 i915 i965 mach64 mga r128 r200 r300 radeon tdfx unichrome savage sis swrast
        DRI driver dir:  ${libdir}/dri
        Use XCB:         yes

        Shared libs:     yes
        Static libs:     no
        GLU:             no
        GLw:             no (Motif: no)
        glut:            no
        Demos:           no

        CFLAGS:          -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fPIC
        CXXFLAGS:        -O2 -pipe -fno-strict-aliasing -Wall -fno-strict-aliasing -ansi -pedantic -fPIC
        Macros:          -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM

        Run 'gmake' to build Mesa

===>  Building for dri-7.4.4,2


Please choose a configuration from the following list:
aix
aix-64
aix-64-static
aix-gcc
aix-static
beos
bluegene-osmesa
bluegene-xlc-osmesa
catamount-osmesa-pgi
config.mgw
darwin
darwin-fat-32bit
darwin-fat-all
freebsd
freebsd-dri
freebsd-dri-amd64
freebsd-dri-x86
hpux10
hpux10-gcc
hpux10-static
hpux11-32
hpux11-32-static
hpux11-32-static-nothreads
hpux11-64
hpux11-64-static
hpux11-ia64
hpux11-ia64-static
hpux9
hpux9-gcc
irix6-64
irix6-64-static
irix6-n32
irix6-n32-static
irix6-o32
irix6-o32-static
linux
linux-alpha
linux-alpha-static
linux-debug
linux-directfb
linux-dri
linux-dri-debug
linux-dri-ppc
linux-dri-x86
linux-dri-x86-64
linux-dri-xcb
linux-fbdev
linux-glide
linux-ia64-icc
linux-ia64-icc-static
linux-icc
linux-icc-static
linux-indirect
linux-osmesa
linux-osmesa16
linux-osmesa16-static
linux-osmesa32
linux-ppc
linux-ppc-static
linux-profile
linux-solo
linux-solo-ia64
linux-solo-x86
linux-sparc
linux-sparc5
linux-static
linux-ultrasparc
linux-x86
linux-x86-32
linux-x86-64
linux-x86-64-debug
linux-x86-64-static
linux-x86-debug
linux-x86-glide
linux-x86-static
netbsd
openbsd
osf1
osf1-static
solaris-x86
solaris-x86-gcc
solaris-x86-gcc-static
sunos4
sunos4-gcc
sunos4-static
sunos5
sunos5-64-gcc
sunos5-gcc
sunos5-smp
sunos5-v8
sunos5-v8-static
sunos5-v9
sunos5-v9-cc-g++
sunos5-v9-static
ultrix-gcc

Then type 'make <config>' (ex: 'make linux-x86')

Or, run './configure' then 'make'
See './configure --help' for details

(ignore the following error message)
gmake: *** [configs/current] Error 1
*** Error code 1

Stop in /usr/ports/graphics/dri.
*** Error code 1

Stop in /usr/ports/x11-servers/xorg-vfbserver.
*** Error code 1

Stop in /usr/ports/accessibility/accerciser.
*** Error code 1

Stop in /usr/ports/accessibility.
*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports/lang/php52-extensions.
*** Error code 1

Stop in /usr/ports/lang/php52-extensions.
192#

192# pwd
/usr/ports/lang/php52-extensions

3
Dear

如何隱藏或強制執行(不詢問)登入AD時執行的.bat 所需下在AD的參數

感謝 ~~

4


請問這訊息是被攻擊嗎 ???

請大大教導

謝謝 ~~

203# uname -a
FreeBSD 203.x.x.x 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
203#

203# cat /var/log/messages | grep exited
Feb 25 13:28:30 203 kernel: pid 53245 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:28:30 203 kernel: pid 53248 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:28:30 203 kernel: pid 53251 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:28:30 203 kernel: pid 53254 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:28:30 203 kernel: pid 53257 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:37:19 203 kernel: pid 26829 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:37:19 203 kernel: pid 26832 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:37:19 203 kernel: pid 26835 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:37:20 203 kernel: pid 26838 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 13:37:20 203 kernel: pid 26841 (factorial), uid 0: exited on signal 11 (core dumped)
Feb 25 14:26:16 203 kernel: pid 97641 (conftest), uid 0: exited on signal 12 (core dumped)
Mar 14 14:43:38 203 kernel: pid 67445 (httpd), uid 80: exited on signal 10
Mar 14 14:43:38 203 kernel: pid 67428 (httpd), uid 80: exited on signal 10
Mar 14 14:43:59 203 kernel: pid 67382 (httpd), uid 80: exited on signal 10
Mar 14 14:58:47 203 kernel: pid 70973 (httpd), uid 80: exited on signal 10
Mar 14 14:59:02 203 kernel: pid 70976 (httpd), uid 80: exited on signal 10
Mar 14 15:02:53 203 kernel: pid 71018 (httpd), uid 80: exited on signal 10
Mar 14 15:03:08 203 kernel: pid 70975 (httpd), uid 80: exited on signal 10
Mar 14 15:07:03 203 kernel: pid 71019 (httpd), uid 80: exited on signal 10
Mar 14 15:12:45 203 kernel: pid 71049 (httpd), uid 80: exited on signal 10
Mar 14 15:13:26 203 kernel: pid 71076 (httpd), uid 80: exited on signal 10
Mar 14 15:17:29 203 kernel: pid 71059 (httpd), uid 80: exited on signal 10
Mar 14 15:27:46 203 kernel: pid 71242 (httpd), uid 80: exited on signal 10
Mar 14 18:42:29 203 kernel: pid 71240 (httpd), uid 80: exited on signal 10
Mar 14 19:01:42 203 kernel: pid 71196 (httpd), uid 80: exited on signal 10
Mar 14 23:47:11 203 kernel: pid 72437 (httpd), uid 80: exited on signal 10
Mar 15 00:08:25 203 kernel: pid 72752 (httpd), uid 80: exited on signal 10
Mar 15 00:10:17 203 kernel: pid 72782 (httpd), uid 80: exited on signal 10
Mar 15 00:12:21 203 kernel: pid 72785 (httpd), uid 80: exited on signal 10
Mar 15 00:12:56 203 kernel: pid 72739 (httpd), uid 80: exited on signal 10
Mar 15 00:13:44 203 kernel: pid 72809 (httpd), uid 80: exited on signal 10
Mar 15 00:18:06 203 kernel: pid 72808 (httpd), uid 80: exited on signal 10
Mar 15 00:18:08 203 kernel: pid 72807 (httpd), uid 80: exited on signal 10
Mar 15 00:22:26 203 kernel: pid 72781 (httpd), uid 80: exited on signal 10
Mar 15 00:29:20 203 kernel: pid 72789 (httpd), uid 80: exited on signal 10
Mar 15 00:29:38 203 kernel: pid 72852 (httpd), uid 80: exited on signal 10
Mar 15 12:20:29 203 kernel: pid 73589 (httpd), uid 80: exited on signal 10
Mar 15 12:21:25 203 kernel: pid 74674 (httpd), uid 80: exited on signal 10
Mar 15 12:47:40 203 kernel: pid 74679 (httpd), uid 80: exited on signal 10
Mar 15 13:38:20 203 kernel: pid 74781 (httpd), uid 80: exited on signal 10
Mar 15 14:29:39 203 kernel: pid 74963 (httpd), uid 80: exited on signal 10
Mar 15 14:29:42 203 kernel: pid 74964 (httpd), uid 80: exited on signal 10
Mar 15 14:31:55 203 kernel: pid 74919 (httpd), uid 80: exited on signal 10
Mar 15 14:33:09 203 kernel: pid 74968 (httpd), uid 80: exited on signal 10
Mar 15 14:33:40 203 kernel: pid 74915 (httpd), uid 80: exited on signal 10
Mar 15 15:32:42 203 kernel: pid 74983 (httpd), uid 80: exited on signal 10
Mar 16 00:41:11 203 kernel: pid 74982 (httpd), uid 80: exited on signal 10
Mar 16 00:48:38 203 kernel: pid 76642 (httpd), uid 80: exited on signal 10
Mar 16 00:49:19 203 kernel: pid 76651 (httpd), uid 80: exited on signal 10
Mar 16 00:49:27 203 kernel: pid 76653 (httpd), uid 80: exited on signal 10
Mar 16 00:50:58 203 kernel: pid 76661 (httpd), uid 80: exited on signal 10
Mar 16 00:51:13 203 kernel: pid 76655 (httpd), uid 80: exited on signal 10
Mar 16 01:14:44 203 kernel: pid 76807 (httpd), uid 80: exited on signal 10
Mar 16 02:26:23 203 kernel: pid 76946 (httpd), uid 80: exited on signal 10
Mar 16 09:54:54 203 kernel: pid 78446 (httpd), uid 80: exited on signal 10
Mar 16 10:52:45 203 kernel: pid 78795 (httpd), uid 80: exited on signal 10
Mar 16 11:15:56 203 kernel: pid 79079 (httpd), uid 80: exited on signal 10
Mar 16 11:17:34 203 kernel: pid 79086 (httpd), uid 80: exited on signal 10
Mar 16 23:22:33 203 kernel: pid 80406 (httpd), uid 80: exited on signal 10
203#

5

RADIUS 能否設定  CISCO ROUTER ENABLE PASSWORD ???

小弟目前環境有 netscreen + cisco。

因 netsceen 僅支援 radius;並不支援 tacacs+

故無法利用 tacacs+ 內的 $enab15$ { 做 enable password 的統一設定

可否請各位高手指導一二 ~~~


thanks ~~

6

Dear

請問各位大大有誰遇過下列狀況的嗎 ??

麻煩教導一下 ~~

thanks ~~

xxx# uname -a
FreeBSD xxx.xxx.com.tw 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Thu Mar  6 11:27:40 CST 2008     root@xxx.xxx.com.tw:/usr/obj/usr/src/sys/mykernel  i386
xxx#


xxx# dmesg | more
SMP: AP CPU #2 Launched!
Trying to mount root from ufs:/dev/da0s1a
bge0: link state changed to UP
bge1: link state changed to UP
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f348 has 1 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f348 has 1 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f348 has 1 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f3c0 has 2 refs
rtfree: 0xc4a4f348 has 1 refs

7
請問 TACACS+ & CISCO ROUTER 設定問題

小弟於 FreeBSD 上安裝 tacacs 並已啟動完成

router 上也設定 aaa new-model ... 等等

請問各位大大、我已可依 /etc/passwd 帳號登入 router 無誤

但若需再進入 enable 時 . 會無法認證、無法登入狀況

麻煩各位大大指點、感謝、感謝 !!!!

190BSD# tail /var/log/tac_plus.log
Mon Aug 6 13:02:20 2007 [358]: tac_plus server F4.0.3.alpha.v9 (Extended Tac_plus) starting
Mon Aug 6 13:02:20 2007 [359]: Backgrounded
Mon Aug 6 13:02:20 2007 [359]: uid=0 euid=0 gid=0 egid=0 s=0
Mon Aug 6 13:08:34 2007 [458]: login query for 'weii' tty7 from 192.168.16.104 accepted
Mon Aug 6 13:08:42 2007 [459]: enable query for 'unknown' tty7 from 192.168.16.104 rejected
Mon Aug 6 13:08:48 2007 [460]: enable query for 'unknown' tty7 from 192.168.16.104 rejected
Mon Aug 6 13:08:58 2007 [461]: enable query for 'unknown' tty7 from 192.168.16.104 rejected
Mon Aug 6 13:09:05 2007 [462]: enable query for 'unknown' tty7 from 192.168.16.104 rejected
Mon Aug 6 13:09:09 2007 [463]: enable query for 'unknown' tty7 from 192.168.16.104 rejected
Mon Aug 6 13:10:22 2007 [476]: enable query for 'unknown' tty7 from 192.168.16.104 rejected


///////////////

Freebsd

190BSD# cat /etc/tac_plus.cfg
# Created by Devrim SERAL(devrim@tef.gazi.edu.tr)
# It's very simple configuration file
# Please read user_guide and tacacs+ FAQ to more information to do more
# complex tacacs+ configuration files.
#

key = OOXX

# Use /etc/passwd file to do authentication

default authentication = file /etc/passwd

# Now tacacs+ also use default PAM authentication
#default authentication = pam pap

#If you like to use DB authentication
#default authentication = db "db_type://db_user:db_pass@db_hostname/db_name/db_table?name_field&pass_field
# db_type: mysql or null
# db_user: Database connect username
# db_pass: Database connection password
# db_hostname : Database hostname
# db_name : Database name
# db_table : authentication table name
# name_field and pass_field: Username and password field name at the db_table

# Accounting records log file

accounting file = /var/log/tac_acc.log

# Would you like to store accounting records in database..
# db_accounting = "db_type://db_user:db_pass@db_hostname/db_name/db_table"
# Same as above..

#All services are alowed..

user = DEFAULT {
service = ppp protocol = ip {}
}

# Yes we have more features like per host key
#host = 127.0.0.1 {
# key = test
# type = cisco
#}
#user = test {
# name = Test User
# pap = cleartext test
# member = staff
#}
#
#group = staff {
# time = "Wd1800-1817|!Wd1819-2000"
#}

190BSD#

/////////////////////

router

Router(config)#aaa new-model
Router(config)#aaa authentication login default group tacacs+
Router(config)#aaa authentication enable default group tacacs+
Router(config)#tacacs-server host 192.168.16.190
Router(config)#tacacs-server key OOXX
Router(config)#^Z
Router#

8
BSD 討論版 / snmpwalk: No securityName specified
« 於: 2006-07-11 10:42 »
Dear

小弟在 RUN snmpawalk 時會出現如主旨的錯誤訊息

版本如下 BSD 5.4 snmpwalk 5.2.1

還望各位大大指點一二

thanks ~~

USAGE: snmpwalk [OPTIONS] AGENT [OID]

  Version:  5.2.1
  Web:      http://www.net-snmp.org/
  Email:    net-snmp-coders@lists.sourceforge.net

OPTIONS:

頁: [1]