Freesco, NND, CDN, EOS http://forum.freesco.pl/ |
|
Instalacja IPFM pod NND http://forum.freesco.pl/viewtopic.php?f=22&t=10429 |
Strona 1 z 1 |
Autor: | marckamillus [ sobota, 24 grudnia 2005, 14:39 ] |
Tytuł: | Instalacja IPFM pod NND |
Jak zainstalowac ipfm pod nnd? Probowalem tak: pacman -U http://robert.cheramy.net/ipfm/archive/ipfm-0.11.5. ipfm-0.11.5.tgz Plik sie sciaga ale wyskakuje błąd: ładuję dane o pakiecie...load_pkg: brak opisu pakietu w ipfm-0.11.5.tgz |
Autor: | Maciek [ sobota, 24 grudnia 2005, 14:49 ] |
Tytuł: | |
A jakim cudem miałaby to być paczka do NND? Zapewne program należałoby skompilować... |
Autor: | marckamillus [ sobota, 24 grudnia 2005, 14:54 ] |
Tytuł: | |
jak go wypakowuje i daje make i make install to nie działa |
Autor: | hx [ sobota, 24 grudnia 2005, 14:58 ] |
Tytuł: | |
no przeca ci pisze że Cytuj: Zapewne program należałoby skompilować
|
Autor: | marckamillus [ sobota, 24 grudnia 2005, 14:59 ] |
Tytuł: | |
jakim poleceniem go skomplowac???? |
Autor: | hx [ sobota, 24 grudnia 2005, 15:01 ] |
Tytuł: | |
http://nnd.freesco.pl |
Autor: | zciech [ sobota, 24 grudnia 2005, 17:02 ] |
Tytuł: | |
http://reliserv.pl/nnd/ipfm/ tu masz wszystko co potrzebujesz Lącznie z ogladowywowaczka w php ![]() TO NIE SA PAKIETY pacmana Cytuj: 2. Instalacja programu ipfm:
$ wget http://robert.cheramy.net/ipfm/archive/ ... .0pre1.tgz $ tar -xzvf ipfm-0.12.0pre1.tgz $ cd ipfm-0.12.0pre1 $ ./configure W razie gdyby wyskoczył bł±d: [...] configure: error: You need libpcap in order to use ipfm należy jeszcze sci±gn±ć oraz zainstalować bibliotekę libpcap. Można j± znaleĽć na http://www.tcpdump.org $ make $ su root # make install Jeżeli nie masz katalogu /var/log/ipfm należy go stworzyć: # mkdir /var/log/ipfm na reliserv jest juz skomplikowany bo do komplikacji potrzebne sa zrodla libpcap naprostrzy konfig: # Global variables # IPFM can monitor only one device. This is lan interface. DEVICE eth1 # everyday NEWLOG LOG 192.168.0.0/255.255.0.0 #LOG NONE 192.168.0.0/255.255.0.0 WITH 192.168.0.0/255.255.0.0 FILENAME "/var/log/ipfm/ipfm-global-%Y-%m-%d.log" DUMP EVERY 5 minutes CLEAR EVERY 1 day SORT TOTAL #RESOLVE |
Autor: | marckamillus [ sobota, 24 grudnia 2005, 21:55 ] |
Tytuł: | |
Posciagalem sobie rozne opisy robie wedlog nich i nic. w momencie wydania kompndy make wyskakuja jakis bledy:: # make make[1]: Entering directory `/etc/ipfm-11.5pre3/source' gcc -g -O2 -Wall -DDEFAULT_OPTIONS_PIDFILE=\"/usr/local/var/run/ipfm.pid\" -DDEFAULT_OPTIONS_CONFIGFILE=\"/usr/local/etc/ipfm.conf\" -DDEFAULT_OPTIONS_LOGFILE=\"/usr/local/var/log/ipfm/%d-%b.%H-%M\" -c pcap.c pcap.c:31:18: pcap.h: Nie ma takiego pliku ani katalogu pcap.c:49: error: parse error before '*' token pcap.c:49: warning: type defaults to `int' in declaration of `pcap_global_descriptor' pcap.c:49: warning: data definition has no type or storage class pcap.c: In function `pcap_default_device': pcap.c:76: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this function) pcap.c:76: error: (Each undeclared identifier is reported only once pcap.c:76: error: for each function it appears in.) pcap.c:79: warning: implicit declaration of function `pcap_lookupdev' pcap.c:79: warning: assignment makes pointer from integer without a cast pcap.c:81: warning: implicit declaration of function `fprintf' pcap.c:81: error: `stderr' undeclared (first use in this function) pcap.c:76: warning: unused variable `errbuf' pcap.c: In function `openpcap': pcap.c:93: error: `PCAP_ERRBUF_SIZE' undeclared (first use in this function) pcap.c:97: warning: implicit declaration of function `printf' pcap.c:101: warning: implicit declaration of function `pcap_open_live' pcap.c:101: warning: assignment makes pointer from integer without a cast pcap.c:103: error: `stderr' undeclared (first use in this function) pcap.c:108: warning: implicit declaration of function `pcap_datalink' pcap.c:109: warning: implicit declaration of function `pcap_geterr' pcap.c:109: warning: format argument is not a pointer (arg 3) pcap.c:118: error: `DLT_EN10MB' undeclared (first use in this function) pcap.c:120: error: `DLT_NULL' undeclared (first use in this function) pcap.c:121: error: `DLT_PPP' undeclared (first use in this function) pcap.c:123: error: `DLT_SLIP' undeclared (first use in this function) pcap.c:126: error: `DLT_RAW' undeclared (first use in this function) pcap.c:128: error: `DLT_SLIP_BSDOS' undeclared (first use in this function) pcap.c:129: error: `DLT_PPP_BSDOS' undeclared (first use in this function) pcap.c:132: error: `DLT_ATM_RFC1483' undeclared (first use in this function) pcap.c:134: error: `DLT_IEEE802' undeclared (first use in this function) pcap.c:93: warning: unused variable `errbuf' pcap.c: In function `closepcap': pcap.c:148: warning: implicit declaration of function `pcap_close' pcap.c: In function `getnextippkt': pcap.c:155: error: storage size of `useless' isn't known pcap.c:159: error: `stderr' undeclared (first use in this function) pcap.c:163: warning: implicit declaration of function `pcap_next' pcap.c:155: warning: unused variable `useless' make[1]: *** [pcap.o] Błąd 1 make[1]: Leaving directory `/etc/ipfm-11.5pre3/source' make: *** [binary] Błąd 2 |
Autor: | zciech [ sobota, 24 grudnia 2005, 22:00 ] |
Tytuł: | |
Zauwaz ze blad jest juz przy ./configure Wystarczy przeczytac i zrozumiec. należy jeszcze sci±gn±ć oraz zainstalować bibliotekę libpcap. Można j± znaleĽć na http://www.tcpdump.org na reliserv jest juz skomplikowany bo do komplikacji potrzebne sa zrodla libpcap pcap.c:31:18: pcap.h: Nie ma takiego pliku ani katalogu najpierw musisz sciagnac libpcap z http://www.tcpdump.org i skompilowac a potem dopiero ipmf Ale na reliserv jest juz skompilowane wystarczy tylko rozpakowac do odpowiednich katalogow (takich jak sa w pliku) |
Autor: | marckamillus [ sobota, 24 grudnia 2005, 22:15 ] |
Tytuł: | |
wielkie dzieki zciech, wczesniej instalowalem libpcap za pomocą pacmana. ![]() |
Autor: | marckamillus [ niedziela, 25 grudnia 2005, 01:55 ] |
Tytuł: | |
odpalilem ipfm, tworzy logi tam gdzie trzeba, tylko ze jak zarzuce src_ipfm wedlug opisu nie pokazuje planszy ze statystykami src_ipfm wrzucilem do /var/www/ipfm i po wpisaniu w przegladarce ip routera: 192.168.1.1/ipfm wyskakują mi pliki znajdujace sie w tym katalogu w routerzea nie ma planszy ze statami. Plik /var/www/ipfm/conf.php */ //scr_ipfm version $version = "0.64"; //single host or network (127.0.0.1 or 192.168.1.0) //0.0.0.0 - means access without restrictions $hosts_allow = "192.168.1.2"; //directory where ipfm logs are. It must be full path and must end with '/'. $ipfm_log_dir = "/var/log/ipfm.log/"; //default statistics: //daily, dayinmonth, monthly, monthinyear, yearly, yearinglobal, global //dailygraph, dayinmonthgraph, monthlygraph, monthinyeargraph, yearlygraph, //yearinglobalgraph, globalgraph $default_stats = "daily"; //default theme: //default, white, yellow, green, blue, orange, meat $theme = "default"; //if is set, then stats will be refreshed. Value is in sec. //10m = 600; 30m = 1800; 1h = 3600; $auto_refresh = "30" ?> a to plik /usr/local/etc/ipfm.conf # Global variables # IPFM can monitor only one device. This is lan interface. DEVICE eth0 # everyday NEWLOG LOG 192.168.1.0/255.255.255.0 LOG NONE 192.168.1.0/255.255.255.0 WITH 192.168.1.0/255.255.255.0 FILENAME "/var/log/ipfm/ipfm-global-%Y-%m-%d.log" DUMP EVERY 1 minutes CLEAR EVERY 1 day SORT TOTAL RESOLVE |
Autor: | zciech [ niedziela, 25 grudnia 2005, 01:57 ] |
Tytuł: | |
Bez holajzy znaczy Apacza ani rusz. |
Autor: | marckamillus [ niedziela, 25 grudnia 2005, 15:23 ] |
Tytuł: | |
zrobilem tak jak mowiles mam domene dns i mrtg widze z netu ale jak do adresu dopisze /ipfm to znowu to samo, wyswietlaja sie pliki scr_ipfm ktore mam w tym folderze a nie statystyki. co robic?? |
Autor: | zciech [ niedziela, 25 grudnia 2005, 18:12 ] |
Tytuł: | |
http://forum.freesco.pl/viewtopic.php?p=50790#50790 |
Autor: | galdas1 [ sobota, 31 grudnia 2005, 01:27 ] |
Tytuł: | |
a czemu mi nie kasuje o 00.00 jak przechodzi src_ipfm na nastepny dzien licznikow tylko dalej zlicza ?? Musze dodac cos do crona zeby recznie po 24 mi restartowalo ipfm ?? |
Autor: | tuptus [ poniedziałek, 9 stycznia 2006, 13:17 ] |
Tytuł: | |
checking for uname... uname checking your OS... Linux checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH a ja mam taki błąd. kto mi pomoże ?? |
Autor: | tasiorek [ poniedziałek, 9 stycznia 2006, 13:20 ] |
Tytuł: | |
install_devel |
Autor: | tuptus [ poniedziałek, 9 stycznia 2006, 13:55 ] |
Tytuł: | |
[root@router_nnd www]# ./configure loading cache ./config.cache Configuring ipfm 0.12.0pre1... checking for uname... (cached) uname checking your OS... Linux checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for a BSD compatible install... (cached) /bin/install -c checking for flex... (cached) flex checking for yywrap in -lfl... (cached) yes checking for ranlib... (cached) ranlib checking for bison... (cached) bison -y checking for ar... (cached) /usr/bin/ar checking for local libpcap... no checking for main in -lpcap... (cached) yes checking for pcap.h... (cached) yes checking for strftime... yes checking for snprintf... yes checking for lockf... yes checking for flock... yes checking for daemon... (cached) yes checking for strlcat... (cached) no checking for strlcpy... (cached) no checking for inet_aton... (cached) yes checking for inet_ntoa... (cached) yes checking for ANSI C header files... (cached) yes checking for u_int32_t... (cached) yes checking for u_int8_t... (cached) yes creating ./config.status creating Makefile creating Makefile.common creating source/Makefile creating source/missing/Makefile creating doc/Makefile creating source/config.h source/config.h is unchanged Configuration: ipfm is in /usr/local/sbin man pages are in /usr/local/man configuration file is /usr/local/etc/ipfm.conf pid file is /usr/local/var/run/ipfm.pid log files are /usr/local/var/log/ipfm/%d-%b.%H-%M Please check this is correct and modify Makefile.common and source/config.h in consequence. You can now type `` make ''. a potem make [root@router_nnd www]# make make[1]: Entering directory `/var/www/source' make[2]: Entering directory `/var/www/source/missing' make[2]: Nie nic do roboty w `all'. make[2]: Leaving directory `/var/www/source/missing' gcc -o ipfm ipfm.o pcap.o filter.o y.tab.o lex.yy.o data.o utils.o init.o debug.o -lpcap missing/libmissing.a make[1]: Leaving directory `/var/www/source' make[1]: Entering directory `/var/www/doc' Generating ipfm.8 Generating ipfm.conf.5 make[1]: Leaving directory `/var/www/doc' i nie działa - mam na stronie gdzie są statystyki błąd - file: /var/log/ipfm/ipfm-global---.log - Bad data submitted. Logs for that day don't exists. no i mam rację - w tym katalogu nie ma zadnego pliku ale dlaczego ? |
Autor: | steryddd [ czwartek, 17 sierpnia 2006, 19:20 ] |
Tytuł: | |
mmoze to pomoze http://forum.freesco.pl/viewtopic.php?t ... +submitted Dopisze na końcu jakby ktoś szukał bo to głupie bledy. Wazne zeby dac chmod do /var/log/ipfm, /usr/local/etc, /usr/local/sbin |
Autor: | czerwo [ czwartek, 17 sierpnia 2006, 22:03 ] |
Tytuł: | |
[root@router ~]# pacman -Ss libpcap base-devel/libpcap 0.9.3-1nnd A system-independent interface for user-level packet capture reszta-devel/libpcap-devel 0.9.3-1nnd A system-independent interface for user-level packet capture - headers reszta-devel/libpcap-man 0.9.3-1nnd A system-independent interface for user-level packet capture - manuale |
Strona 1 z 1 | Strefa czasowa UTC+2godz. |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |