> On Thursday 30 September 2004 07:55 am, [EMAIL PROTECTED] wrote:
>
>> Nhu+ va^.y la` to^'t ro^`i.  PC cu?a ba'c na(`m sau lu+ng ca'i
>
>> (ta?i o+? dda^y:
>> http://www.insecure.org/nmap/nmap_download.html).  Khi ta?i ve^`
>> ro^`i thi`
>> uncompress va` compile no':
>> tar -jxvf nmap-3.70.tar.bz2
>> configure
>> make
>> make install
>>
>> xong ro^`i cha.y cho ma'y mi`nh:
>> nmap -v localhost
>>
>> Ne^'u output co' cai' gi` kho^ng ca^`n thie^'t thi` remove no' ddi.
>>  Ba'c kho^ng ca^`n ma^'y ca'i iptables scripts ddo' (co' thi` cu~ng
>> to^'t, nhu+ng du`ng va`i ca'i ddo+n gia?n tho^i) vi` mi`nh kho^ng
>> pha?i la` server.  Ddo.c ma^'y ca'i scripts cu?a ba'c thi` chi? co'
>> nu+o+'c ta^?u ho?a nha^.p ma tho^i :)
>
> [EMAIL PROTECTED]:/home/knoppix# nmap -v localhost
>
> Starting nmap 3.55 ( http://www.insecure.org/nmap/ ) at 2004-10-01
> 21:40 EDT
> Host box (127.0.0.1) appears to be up ... good.
> Initiating SYN Stealth Scan against box (127.0.0.1) at 21:40
> Adding open port 68/tcp
> Adding open port 631/tcp
> The SYN Stealth Scan took 1 second to scan 1660 ports.
> Interesting ports on box (127.0.0.1):
> (The 1658 ports scanned but not shown below are in state: closed)
> PORT    STATE SERVICE
> 68/tcp  open  dhcpclient
> 631/tcp open  ipp
>
> Nmap run completed -- 1 IP address (1 host up) scanned in 1.207
> seconds
> [EMAIL PROTECTED]:/home/knoppix#
>
>
> Bie^'t ca'i na`o ca^`n, ca'i na`o kho^ng ca^`n? La`m sao xoa' ca'i
> kho^ng ca^`n?
> DDa^y la` mi`nh ddang cha.y trong Knoppix 3.6, kho^ng pha?i Yoper nhu+
> ban chie^`u. :)
>
> --
> m k h _ s g n
>
>

Ba'c Ha?i lu'c na`y sung su+o+'ng ha'?  Na`o la` DSL, Knoppix, Yoper...
Su+o+'ng cho ba'c ma` kho^? cho Tek support (just kidding :))

Cha'u ko du`ng ma^'y distro ddo' ne^n ko ra`nh.  Dda.i kha'i co' nhie^`u
ca'ch dde^? ta('t ma^'y ca'i services ko ca^`n, nhu+ng ca'ch la`m thi`
tuy` thuo^.c va`o distro mi`nh du`ng.

Theo nmap output tre^n thi`:
68/tcp  open  dhcpclient - co' the^? ko ca^`n
631/tcp open  ipp - internet printing: cha('c ko ca^`n luo^n

Ba'c co' the^? ba('t ddaa^`u tu+` file na`y: /etc/inetd.conf.  Coi trong
ddo' co' ca'i na`o lie^n quan dde^'n dhcpclient va` ipp thi` comment it
out (du`ng text editor, bo? da^'u # tru+o+'c ca'i line tu+o+ng u+'ng).
Ba'c ta('t ipp tru+o+'c, ro^`i restart inetd (ne^'u ko bie^'t thi` cho+i
kie^?u M$, reboot :)).  Sau ddo' ne^'u ko tha^'y problem gi` thi` tie^'p
tu.c vo+'i dhcpclient.  Ne^'u bi. problem thi` bo? no' la.i nhu+ cu~. 
Xong ro^`i ba'c cha.y nmap la.i.  Ne^'u la`m ddu'ng thi` se~ ko tha^'y
ma^'y services ddo' nu+~a. Ba^y gi+o` muo^'n cho+i filter gi` ddo' cu~ng
ddu+o+.c.  Nhu+ng ma` nho+' ddi tu+`ng bu+o+'c nho? dde^? de^?
troubleshoot ne^'u co' chuye^.n gi`.

Have fun...



-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho