Shunze ¾Ç¶é >¹q¸£¸ê°T¾Ç¨t >¦Y³n¤£¦Yµw > ¡m¤À¨É¡nntop®ø¥¢ªº¶ê»æ¹Ï «¢Åo¡AÁÙ¨S¦³µù¥U©ÎªÌµn¤J¡C½Ð§A[µù¥U|µn¤J]
« ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD » Åã¥Ü¦¨¦C¦L¼Ò¦¡ | ¼W¥[¨ì§Úªº³Ì·R
µoªí·s¥DÃD µoªí¦^ÂÐ
§@ªÌ
¥DÃD
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nntop®ø¥¢ªº¶ê»æ¹Ï¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¦]¬°¤u§@»Ý­n¡A¶¶¤l¦bUbuntu 14.04¤W¦w¸Ë¤F ntop ³nÅé°µ¬°¬y¶q¤ÀªR¡C
¥u¬O«Ü©_©Çªº¡A¦w¸Ë¦n ntop «á¡A­ì¥»À³¸Ó«ÜÂ×´Iªº¹Ïªí«o¬O¤£³sÄòªºªÅ¥Õ¤F¦n´X¶ô¡H



¤@¶}©l¶¶¤lÁÙ·d¤£²M·¡ª¬ªp¡A
«á¨Ó¤~µo²{³o¨ÇªÅ¥Õ°Ï¶ô¡A­ì¥»À³¸Ó¬OÅã¥Ü¶ê»æ¹Ï¤~¹ï¡C
¨º»ò¶ê»æ¹Ï¨ì­þ¥h¤F¡H

¤Wºô·j´M«á¡AÁ`ºâ¦b¤@½g¤å³¹§ä¨ì¦³¥Î½u¯Á¡A
­ì¨Ó¬O libjs-jquery ®M¥ó¦b·sª©14.04 Ubuntu¨Ã¥¼°µ¦n¬Û¨Ì©Ê¡A
¾É­P¦w¸Ë ntop ®É¡A¤Ö¤F libjs-jquery ³o­Óø»s¶ê»æ¹Ï®M¥ó¡C
³o­Ó°ÝÃD¤w³Q½T»{¬°¤@­Óbug¡C

¸Ñ¨M¤èªk·íµM¬O§â libjs-jquery ®M¥ó¸Ë¦^¥hÅo¡ã

apt-get install libjs-jquery


¸Ë¦n«á¡Antop ªº¶ê»æ¹ÏÁ`ºâ¯à¥¿±`Åã¥Ü¤F¡ã




°Ñ¦Ò¸ê®Æ
Missing dependency against libjs-jquery



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-01-22, 22:27 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡n¦w¸Ëdot toolÅã¥ÜLocal Network Traffic Map¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¸Ë¦nntop«á¡A¦b¥¦ªº IP / Local /Network Traffic Map ùØ¥i¥HÅã¥Ü¬y¶q¦a¹Ï¡C



¤£¹LÂI¿ï¥¦®É¡A«o¥X²{ Missing dot toolªº¿ù»~¡C



³o³¡¤À¥u­n¦w¸Ë graphviz ®M¥ó«á¡A´N¯à¸Ñ¨M¦¹°ÝÃD¡C

apt-get install graphviz




♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-01-23, 12:02 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡n­­¨întopªº¦s¨ú¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¬[¦n¤F¦øªA¾¹«á¡A³Ì¾á¤ß´N¬O³QµL²á¤H¤h¤J«I¯}Ãa¶i¦Ó°µ¬°¸õªO¡C

SSHªº³¡¤À¡A¥i¥H³z¹Lhosts.allow»Phosts.denyªºTCP Wrapper¨Ó­­¨îIP¦s¨ú¡C
¨ºntop©O¡H

ºô¤W¬d¸ß¤§«á¡A¦ü¥G¥u¦³°w¹ïport 3000ªº³¡¤À¡A³z¹L¨¾¤õÀð³W«h¨Ó¶i¦æ­­¨î¡C
³v¤@³]©w¤¹³\ªºIP°Ï¬q«á¡A¦Ablock±¼©Ò¦³IPªº³s½u¡C

#¤¹³\ªºIP³s½u¡A¥H192.168.0.0/24»P192.168.1.1¬°¨Ò
iptables -A INPUT -p tcp -s 192.168.0.0/24 --dport 3000 -j ACCEPT
iptables -A INPUT -p tcp -s 192.168.1.1 --dport 3000 -j ACCEPT
#©Úµ´¨ä¥¦³s½u
iptables -A INPUT -p tcp --dport 3000 -j DROP


µM«á§â³o¬qscript¥[¨ì /etc/rc.local ¤¤¡AÅý¨t²Î¶}¾÷«á¦Û°Ê¥Í®Ä¡C

­YµLªk³v¤@²MÂI¥i¦s¨úªºIP¡A©Î¬O¨Ï¥ÎªÌªºIP¤£¬O©T©wªº¡A
¨º»ò¥u³Ñ¤U³z¹L±b/±Kªº¤è¦¡¨Ó¶i¦æÅv­­ªº½T»{¡A¨ä°µªk¦p¤U¡C

¥ý¦b ntop ¤¤¼W¥[¤@­Óuser±b¸¹¡C
(°²³]±z¤£¦b·Nadminªº±b/±K­n¥æµ¹§O¤H¡A¦P·Nadmin±b±K¥~¬y¡A¤£¥t«Ø±b¸¹¤]µL§«¡C)





µM«á³]©w¾ã­Ó ntop ºô¯¸ªº¦s¨ú¡A³£­n¸g¹L±b±KªºÅçÃÒ¡C







³o¼Ë¨Ï¥ÎªÌ¦b¦s¨ú ntop ®É¡A´N¥²»Ýµn¤J±b¸¹¤~¦æ¡F
¨S¦³±b±Kªº¨Ï¥ÎªÌ´NµLªkŪ ntop ¤Wªº¸ê®Æ¤F¡C




°Ñ¦Ò¸ê®Æ
http://www.dhjh.tc.edu.tw/modules/newbb/..._id=349&forum=2
http://download.ithome.com.tw/article/index/id/246



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-01-23, 12:25 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡n©w¸qntop local subnet¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¤@¯ë¨Ó»¡¸Ë¦nntop«á¡A¬O¤£»Ý­n¦AÃB¥~©w¸qlocal subnet¡A
ntop·|¦Û°Ê¥HºÊÅ¥¤ÀªR«Ê¥]ªººô¥dªººô¬q°µ¬°local subnet¡C

¦ý¦b¬Y¨Çª¬ªp¡A¨Ò¦p¡G¦w¸ËÂùºô¥d(¤@±i±Mªù¥Î¨Ó¦¬«Ê¥]¡A¥t¤@±i´£¨Ñ¥¿±`¶Ç¿é)¡A
ºÊÅ¥ªººô¥dºô¬q¥¼¥²¬O¯u¥¿local subnet¡A³o®É´N¥i³z¹Llocal subnet address¨Ó¯S§O©w¸qlocal subnet¡C



Local Subnet¥i¥H¦P®É©w¸q¦h­Ó°Ï¬q¡A¦Uºô¬q¶¡¥H³r¸¹¤À®æ¡C
¹ï©ó¤º³¡¦³¦hºô¬qªºÀô¹Ò®É¡A³o­Ólocal subnetªº³]©w¤]®¼¹ê¥Îªº¡ã



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-01-27, 16:45 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nntop°ÝÃD¶°¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

ntop°ÝÃD¾ã²z¦p¤U

  1. ¥u¦¬¨ìªºUDP«Ê¥]¡H
    ©ú©úºô¸ô¥¿¦b¤j¶q¨Ï¥Î¡A¦ýntop«o¥u¦¬¨ìUDP«Ê¥]¡A§¹¥þ¦¬¤£¨ìTCP«Ê¥]...


    ³o­Ó°ÝÃD¥d¤F¤@¤Ñ¡A³Ì«á¬O­«³]Startup OptionsªºBasic Prefs¤~«ì´_¥¿±`¡C


    ¨s³º¬O­þ¶µ³]©w©Ò³y¦¨¡H¶¶¤lÁÙ·d¤£²M...

  2. ¬y¶q¦³¶i¨Ó¡A¦ý¬y¶q¹Ï«oµLªkÅã¥Ü¡H
    ¥»¨Ó¨Ï¥Î¥¿±`¡A¦ý¦b°µ¤F¬Y¶µ½Õ¾ã«á¡A¬y¶q¹Ï«o¤¤Â_¬y¶qªºÅã¥Ü¡C


    ¬y¶q¦³¶i¨Ó¡A¥NªíntopÁÙ¬O¦³¦b¥¿±`¤ÀªR¸ê®Æ¡F
    ¦Ü©ó¬°¤°»òµLªk¦b¬y¶q¹Ï¤WÅã¥Ü¡A¨º´N­n¥hÀˬd RRD(Round-Robin Database) ³o­Óplugin¡A
    ½T»{¤@¤UùØ­±ªºData to Dump¦³¨S¦³¤Ä¿ï¨ì¤¶­±interfaces¡C
    ½T»{«á¦A ­«±Ò ¤@¤URRD³o­Óplugin¡A¤@©w­n ­«±Ò ¤~¯àµo¥Í®ÄªG³á¡I


  3. info about HOST¤@ª½¦bloading¡AµLªk¥¿±`Åã¥Ü¡H
    ³o­Ó°ÝÃD¹ê¦b¤Ó©_©Ç¤F¡Aºô¸ô¤W¤]§ä¤£¨ì¦³¥Îªº°T®§¡A
    ¦Ó¥B¸Ë¤F¦h¥x¥D¾÷¶i¦æ´ú¸Õ¡Aµ²ªG³£¬Û¦P¡A¥u¦³¹s¬P¤@¨â¦¸·|¥X²{¥¿±`ªºµe­±...


    ¦b¥¿¦¡¯¸¥x¤W¹B§@¤F¤@¤Ñ«á¦A¨ÓÆ[¹î¡A
    µ²ªG¡Ainfo about HOST­¶­±©~µM¦Û°Ê¥¿±`Åã¥Ü¥D¾÷¸ê°T¡I¡H


    ¶¶¤l²q·Q¡AÀ³¸Ó¬O³o­Ó¥\¯à­¶­±­n«ùÄò¹B§@¤@°}¤l¡A
    ¦¬¶°¨ì¨¬°÷¦hªº¸ê°T«á¡A¤~¯à¥¿±`Åã¥Ü¥D¾÷¸ê°T§a¡H

  4. ¦h¤FVLAN Info¸ê°T¡H
    Ntopªº¸ê°Tùئh¤FVLAN Infoªº¬ÛÃö¸ê°T¡H


    ¦Ó¥B¦]¬°ªþ¥[¤FVLAN¸ê°T¡A©Ò¥Hinfo about HOSTºô­¶µLªk¥¿±`Åã¥Ü¡A
    ­n¤â°Ê¥h°£ºô§}«á­±¦h¥X¨ÓªºVLAN¡A¤~¯à¥¿±`Åã¥Ü¡C


    ·|¦h¥X¨ÓVLANªº¸ê°T¡A¨º¬O¦]¬°¨Ó·½ºÝESXiªººô¥d³]©wùؤĿï¤F All(4095)¡C


    ¥u­n§ï¬° None(0)¡A¦A­«±ÒntopªA°È¡AVLANªº¸ê°T´N·|®ø¥¢¤F¡A
    ·íµMinfo about HOSTªº­¶­±¤]¯à¥¿±`Åã¥Ü¡C

  5. µLªkÅã¥ÜHost Map¸ê°T¡H
    Ntop¸Ë¦n¤F¡A¦ýRegion Map»PHost Map©l²×µLªkÅã¥ÜHost¸ê°T¡C


    ¡ôRegion Map¥u·|¥X²{ No hosts have been successfully geo-located by ntop yet ªº°T®§¡C


    ¡ôHost Map¥Ã»·¬O°®²bªº¥@¬É¦a¹Ï¡C

    ¸g¤ñ¹ï§O¤Hªº¥iÅã¥ÜHostªºntop³]©w­È¡Aµo²{¶¶¤lªº¯¸¥x¤¤¤Ö¤F¨â­Ó GeoIP ³]©w¡C



    ¥Hntop»PGeoIP¨â­ÓÃöÁä¦r¤Wºô¬d¸ß¡Aµo²{¥i¯à¬O¤Ö¤FGeoLiteCity.dat»PGeoIPASNum.dat³o¨â­Ó¸ê®Æ®w©Ò³y¦¨¡A
    ¤U¸ü³o¨â­Ó¸ê®ÆÀÉ«á¡A²¾¨ìGeoIP¸ô®|¤U¡A­«±ÒntopªA°È¡C
    wget -N http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
    gunzip GeoLiteCity.dat.gz
    wget -N http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz
    gunzip GeoIPASNum.dat.gz
    mv GeoLiteCity.dat /usr/share/GeoIP/
    mv GeoIPASNum.dat /usr/share/GeoIP/
    service ntop restart


    µ²ªG...Region Map»PHost Map¨â­Ó­¶­±³£¥i¥H¥¿±`Åã¥Ü¤F¡I





    °Ñ¦Ò¸ê®Æ
    Ntop ¡V GeoIP error



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-02-01, 13:33 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡m¤À¨É¡nÅܧóntop listÅã¥Ü¼ËªO¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

­è¸Ë¦nªºntop¡A¥¦ªºlist¼ÐÅÒ¥H¬O¼Ð·Çªº±ø¦C¦¡¨Ó§e²{¡C



¤£¹L¶¶¤l«o¬Ý¹L¥Htab­·®æ¨Ó®i²{list¼ÐÅÒªºntop¯¸¥x¡A
¦ýntop¥»¨­¬O¨S¦³´£¨Ñ­·®æ¼Ë¦¡ªºª©«¬¿ï¾Ü¡A³o¬O«ç»ò°µªº¡H



¤ñ¸û¹Lºô­¶ªºhtml­ì©l½X¡Aµo²{¨âªÌ¨ÃµL¤£¦P¡F
°ß¤@¤@­Ó¤£¦PÂI¡A¦b©ótab­·®æªºntop¨ä jquery-ui-1.8.16.custom.css Àɮ׬O¦³¤º®eªº¡A
¦Ó¶¶¤l¸Ë¦nªºntop¡A³o­ÓÀɮ׬O¤£¦s¦bªº¡C

¹ê»Ú¨ìntopªº¯¸¥xªº®Ú¥Ø¿ý¤U¡Aµo²{¦³¨â­Ó³sµ²Àɮ׬O¥¢®Äªº¡A
³o¨â­ÓÀɮפÀ§O¬O jquery-ui-1.8.16.custom.css »P jquery-ui-1.8.16.custom.min.js¡A³sµ²¸ô®|¦p¤U¡C

/usr/share/ntop/html/jquery-ui-1.8.16.custom.css -> ../../javascript/jquery-ui/css/smoothness/jquery-ui-1.10.1.custom.css
/usr/share/ntop/html/jquery-ui-1.8.16.custom.min.js -> ../../javascript/jquery-ui/ui/jquery-ui.custom.min.js



¤U¸ü¤F jquery-ui-1.8.16.custom.min.js¡AÅܧóÀɦW¬° jquery-ui-1.10.1.custom.css ¨Ã²¾°Ê¨ì¹ïÀ³¸ô®|¤U¡A
ntopÁÙ¬OµLªk¥Htab­·®æ¨Ó§e²{list¼ÐÅÒ¡C

¦A°l¥[¤U¸ü jquery-ui-1.8.16.custom.min.js¡AÅܧóÀɦW¬° jquery-ui.custom.min.js ¨Ã²¾°Ê¨ì¹ïÀ³¸ô®|¤U¡A
³o¦¸ntopªºlist¼ÐÅÒÁ`ºâ¬OÅܦ¨tab­·®æ¼Ë¦¡¤F¡ã

·íµM¡A¨â­ÓÀɮצ^¸É«á¡A³sµ²Àɤw¯à¥¿½T³sµ²¨ì¹êÅéÀɮסA
linux¤¤ÀɮתºÃC¦â¼Ð¥Ü¤]¥Ñ¿ù»~ªº¬õ¦âÅܬ°¼Ð·Çªº¤ÑÂŦâ³sµ²ÀÉÃC¦â¤F¡ã




PS.
³o¨â­Ó¯Êº|ªºtab­·®æÀɮפv§¨¦bªþ¥ó¤¤¡C

shunze ¤W¶ÇªºÀÉ®×
jquery-ui.zip (58 KB, ¤w¸g³Q¤U¸ü 1428 ¦¸)


♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2015-02-26, 13:48 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
  « ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD »
µoªí·s¥DÃD µoªí¦^ÂÐ
¸õ¨ì:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR