.titleBar { margin-bottom: 5px!important; }

iptables - ipt_ULOG (vergessen in menuconfig?)

Dieses Thema im Forum "Freetz" wurde erstellt von cando, 10 Jan. 2009.

  1. cando

    cando Aktives Mitglied

    Registriert seit:
    28 Nov. 2008
    Beiträge:
    1,080
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hallo,

    Ich versuche die iptables umfassend auf der 7270 zu testen und bin bisher über das them kernel log meldungen / AVM_PRINTK gesolpert.

    iptables / netfilter enthält auch die c - sourcen für

    ipt_ULOG.ko, libipt_ULOG.so

    leider lässt sich ipt_ULOG aber im Menuconfig nicht anwählen (nur libipt_ULOG)

    gibt es dafür einen triftigen Grund (Stabilität, ulogd), oder wurde das modul nur vergessen und wie kann ich das ins menu aufnehmen?

    Vielen Dank und viele Grüße
     
  2. olistudent

    olistudent IPPF-Urgestein

    Registriert seit:
    19 Okt. 2004
    Beiträge:
    14,761
    Zustimmungen:
    5
    Punkte für Erfolge:
    38
    Beruf:
    Softwareentwickler
    Ort:
    Kaiserslautern
    Ich wüßte nicht, dass wir es absichtlich weggelassen haben, daher denke ich mal, dass es ein versehen ist.
    Wenn das Modul kompiliert wird (d.h. es ist in kernel/blablub-04.67/...), dann musst du es in make/iptables/Config.in eintragen.

    MfG Oliver
     
  3. cando

    cando Aktives Mitglied

    Registriert seit:
    28 Nov. 2008
    Beiträge:
    1,080
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hab ich gemacht, aber es wird leider nicht compiliert, in der source ist die ipt_ULOG.c und die include header datei ipt_ULOG.h, es wird aber keine .o / .ko erzeugt.

    im menukonfig habe ich die schon eingefügt und sie wird auch zum auswählen angezeigt / eine entsprechende variable gesetzt, wie bei den anderen Einträgen

    Code:
    config FREETZ_MODULE_ipt_LOG
    	bool "ipt_LOG.ko"
    	select FREETZ_MODULE_ip_tables
    	default n
    [COLOR="DarkSlateBlue"]config FREETZ_MODULE_ipt_ULOG
    	bool "ipt_ULOG.ko"
    	select FREETZ_MODULE_ip_tables
    	default n[/COLOR]
    Muss ich irgendwo die neue FREETZ_MODULE_ipt_ULOG noch zu den tatsächlichen source dateien verlinken (.c /.h), damit sie übersetzt wird?

    die sourcen sind in:

    /source/avm-gpl-7270_04.67/GPL/base/kernel/linux-2.6.19.2/net/ipv4/netfilter/
     
  4. olistudent

    olistudent IPPF-Urgestein

    Registriert seit:
    19 Okt. 2004
    Beiträge:
    14,761
    Zustimmungen:
    5
    Punkte für Erfolge:
    38
    Beruf:
    Softwareentwickler
    Ort:
    Kaiserslautern
    Achso. Wenn es nicht gebaut wird, dann musst du es mit "make kernel-menuconfig" erst "einschalten".

    MfG Oliver
     
  5. cando

    cando Aktives Mitglied

    Registriert seit:
    28 Nov. 2008
    Beiträge:
    1,080
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    #5 cando, 11 Jan. 2009
    Zuletzt bearbeitet: 11 Jan. 2009
    ... da wär ja noch das alte problem, dass ich nach make kernel-menuconfig nicht kompilieren kann,

    make fehler:

    Code:
    make[1]: Entering directory `/home/slightly/freetz-trunk/source/ref-8mb_26-7270_04.67/kernel/kernel_8mb_26_build/kernel/linux-2.6.19.2'
      CHK     include/linux/version.h
      CHK     include/linux/utsrelease.h
      CHK     include/linux/compile.h
    rm -f drivers/net/avm_cpmac/cpphy_entry.o
      LD      drivers/net/avm_cpmac/avm_cpmac.o
    mipsel-unknown-linux-gnu-ld: drivers/net/avm_cpmac/cpphy_entry.o: No such file: No such file or directory
    make[4]: *** [drivers/net/avm_cpmac/avm_cpmac.o] Fehler 1
    make[3]: *** [drivers/net/avm_cpmac] Fehler 2
    make[2]: *** [drivers/net] Fehler 2
    make[1]: *** [drivers] Fehler 2
    make[1]: *** Warte auf noch nicht beendete Prozesse...
    make[1]: Leaving directory `/home/slightly/freetz-trunk/source/ref-8mb_26-7270_04.67/kernel/kernel_8mb_26_build/kernel/linux-2.6.19.2'
    make: *** [source/ref-8mb_26-7270_04.67/kernel/kernel_8mb_26_build/kernel/linux-2.6.19.2/vmlinux.eva_pad] Fehler 2
    slightly@StinkyLinux:~/freetz-trunk$
    
    
    EDIT:

    Ein erneutes make lief dann durch und die avm_cpmac.o wurde erzeugt.
    Da ist doch noch irgendwas faul, aber egal es hat funktioniert und ipt_ULOG.ko ist auch drin
    Also vielen Dank noch mal....
     
  6. olistudent

    olistudent IPPF-Urgestein

    Registriert seit:
    19 Okt. 2004
    Beiträge:
    14,761
    Zustimmungen:
    5
    Punkte für Erfolge:
    38
    Beruf:
    Softwareentwickler
    Ort:
    Kaiserslautern
    Hm. Da wird das Objectfile gelöscht und im nächsten Schritt beschwert er sich, dass es nicht zum Linken da ist!?

    MfG Oliver
     
  7. cando

    cando Aktives Mitglied

    Registriert seit:
    28 Nov. 2008
    Beiträge:
    1,080
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    #7 cando, 11 Jan. 2009
    Zuletzt bearbeitet: 7 Nov. 2009
    na ja, beim nächhsten aufruf macht er es ja...
    Also ich hab es schliesslich gebaut bekommen.

    ich hab aber noch ein problem mit dem nächsten schritt.

    um das ganze abzurunden, braucht es ja auch noch den ulogd deamon mit seinen plugins.

    ich hab mir die sourcen mal heruntergeladen und ein paket nach anleitung gebaut.

    ich bin nun soweit, dass die sourcen geladen werden und im source verzeichnis ausgepackt werden.

    EDIT: ich hab auch mit autoconfig configure.in > configure das config script erstellt. nun meckert der compiler wegen irgendwelchen rechten. muss da noch was gemacht werden?

    Ich habe die ulogd.mk um die zeile

    $(PKG)_CONFIGURE_PRE_CMDS += autoconf --force ;

    erweitert, und es läuft ein stück weiter

    Code:
    touch source/ulogd-1.0/.configured
    PATH="/home/slightly/freetz-trunk/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" \
                    make -j2 -C source/ulogd-1.0 \
                    CC="/home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc" \
                    CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
    make[1]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0'
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -c -o conffile/conffile.o conffile/conffile.c
    make[1]: *** Keine Regel vorhanden, um das Target »libipulog/libipulog.a«,
      benötigt von »ulogd«, zu erstellen.  Schluss.
    make[1]: *** Warte auf noch nicht beendete Prozesse...
    make[2]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0/conffile'
    make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel
    hinzufügen.
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c conffile.c -o conffile.o
    conffile/conffile.c:24:22: error: conffile.h: No such file or directory
    conffile/conffile.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    conffile/conffile.c: In function 'config_register_file':
    conffile/conffile.c:121: error: 'ERROOM' undeclared (first use in this function)
    conffile/conffile.c:121: error: (Each undeclared identifier is reported only once
    conffile/conffile.c:121: error: for each function it appears in.)
    conffile/conffile.c: At top level:
    conffile/conffile.c:129: error: expected declaration specifiers or '...' before 'config_entry_t'
    conffile/conffile.c: In function 'config_parse_file':
    conffile/conffile.c:133: error: 'config_entry_t' undeclared (first use in this function)
    conffile/conffile.c:133: error: 'ce' undeclared (first use in this function)
    conffile/conffile.c:136: error: 'LINE_LEN' undeclared (first use in this function)
    conffile/conffile.c:141: error: 'ERROPEN' undeclared (first use in this function)
    conffile/conffile.c:164: error: 'ERRSECTION' undeclared (first use in this function)
    conffile/conffile.c:186: error: 'keys' undeclared (first use in this function)
    conffile/conffile.c:195: error: 'CONFIG_OPT_MULTI' undeclared (first use in this function)
    conffile/conffile.c:198: error: 'config_errce' undeclared (first use in this function)
    conffile/conffile.c:199: error: 'ERRMULT' undeclared (first use in this function)
    conffile/conffile.c:205: error: 'CONFIG_TYPE_STRING' undeclared (first use in this function)
    conffile/conffile.c:207: error: 'CONFIG_VAL_STRING_LEN' undeclared (first use in this function)
    conffile/conffile.c:212: error: 'CONFIG_TYPE_INT' undeclared (first use in this function)
    conffile/conffile.c:215: error: 'CONFIG_TYPE_CALLBACK' undeclared (first use in this function)
    conffile/conffile.c:227: error: 'CONFIG_OPT_MANDATORY' undeclared (first use in this function)
    conffile/conffile.c:231: error: 'ERRMAND' undeclared (first use in this function)
    make[1]: *** [conffile/conffile.o] Fehler 1
    conffile.c:24:22: error: conffile.h: No such file or directory
    conffile.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    conffile.c: In function 'config_register_file':
    conffile.c:121: error: 'ERROOM' undeclared (first use in this function)
    conffile.c:121: error: (Each undeclared identifier is reported only once
    conffile.c:121: error: for each function it appears in.)
    conffile.c: At top level:
    conffile.c:129: error: expected declaration specifiers or '...' before 'config_entry_t'
    conffile.c: In function 'config_parse_file':
    conffile.c:133: error: 'config_entry_t' undeclared (first use in this function)
    conffile.c:133: error: 'ce' undeclared (first use in this function)
    conffile.c:136: error: 'LINE_LEN' undeclared (first use in this function)
    conffile.c:141: error: 'ERROPEN' undeclared (first use in this function)
    conffile.c:164: error: 'ERRSECTION' undeclared (first use in this function)
    conffile.c:186: error: 'keys' undeclared (first use in this function)
    conffile.c:195: error: 'CONFIG_OPT_MULTI' undeclared (first use in this function)
    conffile.c:198: error: 'config_errce' undeclared (first use in this function)
    conffile.c:199: error: 'ERRMULT' undeclared (first use in this function)
    conffile.c:205: error: 'CONFIG_TYPE_STRING' undeclared (first use in this function)
    conffile.c:207: error: 'CONFIG_VAL_STRING_LEN' undeclared (first use in this function)
    conffile.c:212: error: 'CONFIG_TYPE_INT' undeclared (first use in this function)
    conffile.c:215: error: 'CONFIG_TYPE_CALLBACK' undeclared (first use in this function)
    conffile.c:227: error: 'CONFIG_OPT_MANDATORY' undeclared (first use in this function)
    conffile.c:231: error: 'ERRMAND' undeclared (first use in this function)
    make[2]: *** [conffile.o] Fehler 1
    make[2]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0/conffile'
    make[1]: *** [recurse] Fehler 1
    make[1]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0'
    make: *** [source/ulogd-1.0/src/ulogd] Fehler 2
    slightly@StinkyLinux:~/freetz-trunk$ make
    WARNING: The program intltool-update was not found in path.
    PATH="/home/slightly/freetz-trunk/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" \
                    make -j2 -C source/ulogd-1.0 \
                    CC="/home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc" \
                    CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
    make[1]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0'
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64   -c -o conffile/conffile.o conffile/conffile.c
    make[1]: *** Keine Regel vorhanden, um das Target »libipulog/libipulog.a«,
      benötigt von »ulogd«, zu erstellen.  Schluss.
    make[1]: *** Warte auf noch nicht beendete Prozesse...
    make[2]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0/conffile'
    make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel
    hinzufügen.
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c conffile.c -o conffile.o
    conffile/conffile.c:24:22: error: conffile.h: No such file or directory
    conffile/conffile.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    conffile/conffile.c: In function 'config_register_file':
    conffile/conffile.c:121: error: 'ERROOM' undeclared (first use in this function)
    conffile/conffile.c:121: error: (Each undeclared identifier is reported only once
    conffile/conffile.c:121: error: for each function it appears in.)
    conffile/conffile.c: At top level:
    conffile/conffile.c:129: error: expected declaration specifiers or '...' before 'config_entry_t'
    conffile/conffile.c: In function 'config_parse_file':
    conffile/conffile.c:133: error: 'config_entry_t' undeclared (first use in this function)
    conffile/conffile.c:133: error: 'ce' undeclared (first use in this function)
    conffile/conffile.c:136: error: 'LINE_LEN' undeclared (first use in this function)
    conffile/conffile.c:141: error: 'ERROPEN' undeclared (first use in this function)
    conffile/conffile.c:164: error: 'ERRSECTION' undeclared (first use in this function)
    conffile/conffile.c:186: error: 'keys' undeclared (first use in this function)
    conffile/conffile.c:195: error: 'CONFIG_OPT_MULTI' undeclared (first use in this function)
    conffile/conffile.c:198: error: 'config_errce' undeclared (first use in this function)
    conffile/conffile.c:199: error: 'ERRMULT' undeclared (first use in this function)
    conffile/conffile.c:205: error: 'CONFIG_TYPE_STRING' undeclared (first use in this function)
    conffile/conffile.c:207: error: 'CONFIG_VAL_STRING_LEN' undeclared (first use in this function)
    conffile/conffile.c:212: error: 'CONFIG_TYPE_INT' undeclared (first use in this function)
    conffile/conffile.c:215: error: 'CONFIG_TYPE_CALLBACK' undeclared (first use in this function)
    conffile/conffile.c:227: error: 'CONFIG_OPT_MANDATORY' undeclared (first use in this function)
    conffile/conffile.c:231: error: 'ERRMAND' undeclared (first use in this function)
    make[1]: *** [conffile/conffile.o] Fehler 1
    conffile.c:24:22: error: conffile.h: No such file or directory
    conffile.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    conffile.c: In function 'config_register_file':
    conffile.c:121: error: 'ERROOM' undeclared (first use in this function)
    conffile.c:121: error: (Each undeclared identifier is reported only once
    conffile.c:121: error: for each function it appears in.)
    conffile.c: At top level:
    conffile.c:129: error: expected declaration specifiers or '...' before 'config_entry_t'
    conffile.c: In function 'config_parse_file':
    conffile.c:133: error: 'config_entry_t' undeclared (first use in this function)
    conffile.c:133: error: 'ce' undeclared (first use in this function)
    conffile.c:136: error: 'LINE_LEN' undeclared (first use in this function)
    conffile.c:141: error: 'ERROPEN' undeclared (first use in this function)
    conffile.c:164: error: 'ERRSECTION' undeclared (first use in this function)
    conffile.c:186: error: 'keys' undeclared (first use in this function)
    conffile.c:195: error: 'CONFIG_OPT_MULTI' undeclared (first use in this function)
    conffile.c:198: error: 'config_errce' undeclared (first use in this function)
    conffile.c:199: error: 'ERRMULT' undeclared (first use in this function)
    conffile.c:205: error: 'CONFIG_TYPE_STRING' undeclared (first use in this function)
    conffile.c:207: error: 'CONFIG_VAL_STRING_LEN' undeclared (first use in this function)
    conffile.c:212: error: 'CONFIG_TYPE_INT' undeclared (first use in this function)
    conffile.c:215: error: 'CONFIG_TYPE_CALLBACK' undeclared (first use in this function)
    conffile.c:227: error: 'CONFIG_OPT_MANDATORY' undeclared (first use in this function)
    conffile.c:231: error: 'ERRMAND' undeclared (first use in this function)
    make[2]: *** [conffile.o] Fehler 1
    make[2]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0/conffile'
    make[1]: *** [recurse] Fehler 1
    make[1]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0'
    make: *** [source/ulogd-1.0/src/ulogd] Fehler 2
    slightly@StinkyLinux:~/freetz-trunk$
    
     
  8. cando

    cando Aktives Mitglied

    Registriert seit:
    28 Nov. 2008
    Beiträge:
    1,080
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    #8 cando, 11 Jan. 2009
    Zuletzt bearbeitet: 7 Nov. 2009
    ich hab mal den config.log angehängt.

    eigendlich sieht die config nicht schlecht aus und libipulog ist auch mit dabei...

    :confused:
     
  9. olistudent

    olistudent IPPF-Urgestein

    Registriert seit:
    19 Okt. 2004
    Beiträge:
    14,761
    Zustimmungen:
    5
    Punkte für Erfolge:
    38
    Beruf:
    Softwareentwickler
    Ort:
    Kaiserslautern
    Du überschreibst im Makefile die CFLAGS. Dabei überschreibst du die nötigen CFLAGS aus dem ulogd-Makefile. Also entweder fügst du die fehlenden Flags in das Freetz Makefile ein. Oder du schaust, ob man das anders lösen kann.

    MfG Oliver
     
  10. cando

    cando Aktives Mitglied

    Registriert seit:
    28 Nov. 2008
    Beiträge:
    1,080
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    danke für den tipp.

    ich habe im freetz makefile die flags herausgenommen,

    Code:
    $(call PKG_INIT_BIN,1.0)
    $(PKG)_SOURCE:=$(pkg)-$($(PKG)_VERSION).tar.gz
    $(PKG)_SITE:=ftp://fritz.box/uStor01/dl
    $(PKG)_BINARY:=$($(PKG)_DIR)/src/$(pkg)
    $(PKG)_TARGET_BINARY:=$($(PKG)_DEST_DIR)/sbin/$(pkg)
    $(PKG)_STARTLEVEL=30
    
    $(PKG)_CONFIGURE_PRE_CMDS += autoconf --force ;
    
    $(PKG_SOURCE_DOWNLOAD)
    $(PKG_UNPACKED)
    $(PKG_CONFIGURED_CONFIGURE)
    
    $($(PKG)_BINARY): $($(PKG)_DIR)/.configured
    	PATH="$(TARGET_PATH)" \
    		$(MAKE) -C $(ULOGD_DIR) \
    		CC="$(TARGET_CC)"
    
    
    $($(PKG)_TARGET_BINARY): $($(PKG)_BINARY)
    	$(INSTALL_BINARY_STRIP)
    
    $(pkg):
    
    $(pkg)-precompiled: $($(PKG)_TARGET_BINARY)
    
    $(pkg)-clean:
    	-$(MAKE) -C $(ULOGD_DIR) clean
    	$(RM) $(ULOGD_DIR)/.configured
    
    $(pkg)-uninstall:
    	$(RM) $(ULOGDg_TARGET_BINARY)
    
    $(PKG_FINISH)
    
    ich hoffe, es ist so ok, nun läuft es etwas weiter und die *.o werden erstellt, trotzdem bricht make später ab. irgendwas fehlt noch. ich hab die consolenausgabe mal angehängt:

    Code:
    slightly@StinkyLinux:~/freetz-trunk$ make
    WARNING: The program intltool-update was not found in path.
    mkdir -p packages/ulogd-1.0/root
    if test -d make/ulogd/files; then tar -c -C make/ulogd/files --exclude=.svn . | tar -x -C packages/ulogd-1.0 ; fi
    rm -f -r source/ulogd-1.0
    tar -C source -v -xzf dl/ulogd-1.0.tar.gz
    ulogd-1.0/pcap/ulogd_PCAP.c
    ulogd-1.0/pcap/Makefile.in
    ulogd-1.0/extensions/ulogd_BASE.c
    ulogd-1.0/extensions/Makefile.in
    ulogd-1.0/extensions/ulogd_PWSNIFF.c
    ulogd-1.0/extensions/printpkt.c
    ulogd-1.0/extensions/ulogd_LOCAL.c
    ulogd-1.0/extensions/ulogd_SYSLOG.c
    ulogd-1.0/extensions/chtons.h
    ulogd-1.0/extensions/printpkt.h
    ulogd-1.0/extensions/ulogd_LOGEMU.c
    ulogd-1.0/extensions/ulogd_OPRINT.c
    ulogd-1.0/extensions/ulogd_LOCALTIME.c
    ulogd-1.0/doc/sqlite3.table
    ulogd-1.0/doc/Makefile.in
    ulogd-1.0/doc/mysql.table.ipaddr-as-string
    ulogd-1.0/doc/ulogd.sgml
    ulogd-1.0/doc/mysql.table
    ulogd-1.0/doc/ulogd.html
    ulogd-1.0/doc/pgsql.table
    ulogd-1.0/sqlite3/ulogd_SQLITE3.c
    ulogd-1.0/sqlite3/Makefile.in
    ulogd-1.0/libipulog/include/linux/netfilter_ipv4/ipt_ULOG.h
    ulogd-1.0/libipulog/include/libipulog/libipulog.h
    ulogd-1.0/libipulog/Makefile.in
    ulogd-1.0/libipulog/libipulog.c
    ulogd-1.0/libipulog/ulog_test.c
    ulogd-1.0/conffile/Makefile.in
    ulogd-1.0/conffile/conffile.c
    ulogd-1.0/include/ulogd/conffile.h
    ulogd-1.0/include/ulogd/ulogd.h
    ulogd-1.0/mysql/ulogd_MYSQL.c
    ulogd-1.0/mysql/Makefile.in
    ulogd-1.0/cftest/test.txt
    ulogd-1.0/cftest/cftest.c
    ulogd-1.0/pgsql/Makefile.in
    ulogd-1.0/pgsql/ulogd_PGSQL.c
    ulogd-1.0/contrib/ulog_query.php.gz
    ulogd-1.0/Rules.make.in
    ulogd-1.0/Makefile.in
    ulogd-1.0/ulogd.c
    ulogd-1.0/ulogd.logrotate
    ulogd-1.0/ulogd.8
    ulogd-1.0/Changes
    ulogd-1.0/ulogd.spec
    ulogd-1.0/TODO
    ulogd-1.0/README
    ulogd-1.0/install-sh
    ulogd-1.0/AUTHORS
    ulogd-1.0/ulogd.init
    ulogd-1.0/configure.in
    ulogd-1.0/config.guess
    ulogd-1.0/ulogd.conf.in
    ulogd-1.0/COPYING
    ulogd-1.0/config.sub
    ulogd-1.0/aclocal.m4
    shopt -s nullglob; for i in make/ulogd/patches/*.patch; do tools/freetz_patch source/ulogd-1.0 $i; done
    touch source/ulogd-1.0/.unpacked
    ( cd source/ulogd-1.0;  rm -f config.{cache,status} ; autoconf --force ; source /home/slightly/freetz-trunk/make/config.mipsel ;  PATH="/home/slightly/freetz-trunk/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" CC="/home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc" CXX="/home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-g++-uc" CFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS="-Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" GLOBAL_LIBDIR=/home/slightly/freetz-trunk/toolchain/build/gcc-4.2.1-uClibc-0.9.29/mipsel-linux-uclibc/usr/lib  ./configure   --cache-file=/home/slightly/freetz-trunk/make/config.cache --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --datadir=/usr/share --includedir=/usr/include --infodir=/usr/share/info --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --sbindir=/usr/sbin --sysconfdir=/etc --with-gnu-ld --disable-nls   )
    configure: loading cache /home/slightly/freetz-trunk/make/config.cache
    checking whether make sets $(MAKE)... (cached) yes
    checking for mipsel-linux-gcc... (cached) /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... yes
    checking whether we are cross compiling... yes
    checking for suffix of executables...
    checking for suffix of object files... (cached) o
    checking whether we are using the GNU C compiler... (cached) yes
    checking whether /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc accepts -g... (cached) yes
    checking for /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc option to accept ISO C89... (cached) none needed
    checking for mipsel-linux-ld... (cached) mipsel-linux-ld
    checking for a BSD-compatible install... (cached) /usr/bin/install -c
    checking for dlopen in -ldl... (cached) yes
    checking how to run the C preprocessor... (cached) /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -E
    checking for grep that handles long lines and -e... (cached) /bin/grep
    checking for egrep... (cached) /bin/grep -E
    checking for ANSI C header files... (cached) yes
    checking for sys/types.h... (cached) yes
    checking for sys/stat.h... (cached) yes
    checking for stdlib.h... (cached) yes
    checking for string.h... (cached) yes
    checking for memory.h... (cached) yes
    checking for strings.h... (cached) yes
    checking for inttypes.h... (cached) yes
    checking for stdint.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for pcap.h... (cached) yes
    checking for dirent.h that defines DIR... (cached) yes
    checking for library containing opendir... (cached) none required
    checking for ANSI C header files... (cached) yes
    checking for fcntl.h... (cached) yes
    checking for unistd.h... (cached) yes
    checking for an ANSI C-conforming const... (cached) yes
    checking for size_t... (cached) yes
    checking whether struct tm is in sys/time.h or time.h... (cached) time.h
    checking for special C compiler options needed for large files... (cached) no
    checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
    checking for vprintf... (cached) yes
    checking for _doprnt... (cached) no
    checking for socket... (cached) yes
    checking for strerror... (cached) yes
    configure: creating ./config.status
    config.status: creating extensions/Makefile
    config.status: creating doc/Makefile
    config.status: creating conffile/Makefile
    config.status: creating libipulog/Makefile
    config.status: creating mysql/Makefile
    config.status: creating pgsql/Makefile
    config.status: creating sqlite3/Makefile
    config.status: creating pcap/Makefile
    config.status: creating Makefile
    config.status: creating Rules.make
    touch source/ulogd-1.0/.configured
    PATH="/home/slightly/freetz-trunk/toolchain/target/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" \
                    make -j2 -C source/ulogd-1.0 \
                    CC="/home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc"
    make[1]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0'
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I./libipulog/include -I./include   -c -o conffile/conffile.o conffile/conffile.c
    make[2]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0/conffile'
    make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel
    hinzufügen.
    make[1]: *** Keine Regel vorhanden, um das Target »libipulog/libipulog.a«,
      benötigt von »ulogd«, zu erstellen.  Schluss.
    make[1]: *** Warte auf noch nicht beendete Prozesse...
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I../include/ulogd -c conffile.c -o conffile.o
    conffile/conffile.c:24:22: error: conffile.h: No such file or directory
    conffile/conffile.c:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    conffile/conffile.c: In function 'config_register_file':
    conffile/conffile.c:121: error: 'ERROOM' undeclared (first use in this function)
    conffile/conffile.c:121: error: (Each undeclared identifier is reported only once
    conffile/conffile.c:121: error: for each function it appears in.)
    conffile/conffile.c: At top level:
    conffile/conffile.c:129: error: expected declaration specifiers or '...' before 'config_entry_t'
    conffile/conffile.c: In function 'config_parse_file':
    conffile/conffile.c:133: error: 'config_entry_t' undeclared (first use in this function)
    conffile/conffile.c:133: error: 'ce' undeclared (first use in this function)
    conffile/conffile.c:136: error: 'LINE_LEN' undeclared (first use in this function)
    conffile/conffile.c:141: error: 'ERROPEN' undeclared (first use in this function)
    conffile/conffile.c:147: warning: unused variable 'wordbuf'
    conffile/conffile.c:164: error: 'ERRSECTION' undeclared (first use in this function)
    conffile/conffile.c:186: error: 'keys' undeclared (first use in this function)
    conffile/conffile.c:195: error: 'CONFIG_OPT_MULTI' undeclared (first use in this function)
    conffile/conffile.c:198: error: 'config_errce' undeclared (first use in this function)
    conffile/conffile.c:199: error: 'ERRMULT' undeclared (first use in this function)
    conffile/conffile.c:205: error: 'CONFIG_TYPE_STRING' undeclared (first use in this function)
    conffile/conffile.c:207: error: 'CONFIG_VAL_STRING_LEN' undeclared (first use in this function)
    conffile/conffile.c:212: error: 'CONFIG_TYPE_INT' undeclared (first use in this function)
    conffile/conffile.c:215: error: 'CONFIG_TYPE_CALLBACK' undeclared (first use in this function)
    conffile/conffile.c:170: warning: unused variable 'wordbuf'
    conffile/conffile.c:227: error: 'CONFIG_OPT_MANDATORY' undeclared (first use in this function)
    conffile/conffile.c:231: error: 'ERRMAND' undeclared (first use in this function)
    conffile/conffile.c:136: warning: unused variable 'linebuf'
    make[1]: *** [conffile/conffile.o] Fehler 1
    make[2]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0/conffile'
    make[2]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0/libipulog'
    make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel
    hinzufügen.
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -Iinclude -I/usr/src/linux/include -c libipulog.c -o libipulog.o
    mipsel-linux-ld -i libipulog.o -o libipulog.a
    make[2]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0/libipulog'
    make[2]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0/extensions'
    Makefile:24: Warnung: Die Befehle für das Ziel »ulogd_SYSLOG.so« werden überschrieben
    Makefile:21: Warnung: Alte Befehle für das Ziel »ulogd_SYSLOG.so« werden ignoriert
    make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel
    hinzufügen.
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I.. -I../libipulog/include -I../include -fPIC -o ulogd_BASE_sh.o -c ulogd_BASE.c
    mipsel-linux-ld -shared -o ulogd_BASE.so ulogd_BASE_sh.o -lc
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I.. -I../libipulog/include -I../include -fPIC -o ulogd_OPRINT_sh.o -c ulogd_OPRINT.c
    mipsel-linux-ld -shared -o ulogd_OPRINT.so ulogd_OPRINT_sh.o -lc
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I.. -I../libipulog/include -I../include -fPIC -o ulogd_PWSNIFF_sh.o -c ulogd_PWSNIFF.c
    mipsel-linux-ld -shared -o ulogd_PWSNIFF.so ulogd_PWSNIFF_sh.o -lc
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I.. -I../libipulog/include -I../include -fPIC -o ulogd_LOGEMU_sh.o -c ulogd_LOGEMU.c
    mipsel-linux-ld -shared -o ulogd_LOGEMU.so ulogd_LOGEMU_sh.o -lc
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I.. -I../libipulog/include -I../include -fPIC -o ulogd_LOCAL_sh.o -c ulogd_LOCAL.c
    mipsel-linux-ld -shared -o ulogd_LOCAL.so ulogd_LOCAL_sh.o -lc
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I.. -I../libipulog/include -I../include -fPIC -o printpkt.o -c printpkt.c
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I.. -I../libipulog/include -I../include -fPIC -o ulogd_SYSLOG_sh.o -c ulogd_SYSLOG.c
    mipsel-linux-ld -shared -o ulogd_SYSLOG.so printpkt.o ulogd_SYSLOG_sh.o -lc
    make[2]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0/extensions'
    make[2]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0/doc'
    make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel
    hinzufügen.
    make[2]: Für das Ziel »user_calls_make« ist nichts zu tun.
    make[2]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0/doc'
    make[2]: Entering directory `/home/slightly/freetz-trunk/source/ulogd-1.0/pcap'
    make[2]: Warnung: Kein Jobserver verfügbar: -j1 wird gesetzt. »+« zur Ursprungsregel
    hinzufügen.
    /home/slightly/freetz-trunk/toolchain/target/bin/mipsel-linux-uclibc-gcc -Os -pipe -march=4kc -Wa,--trap -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -Wall -DULOGD_CONFIGFILE=\"/etc/ulogd.conf\"  -I./libipulog/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBDL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_UNISTD_H=1 -DHAVE_VPRINTF=1 -DHAVE_SOCKET=1 -DHAVE_STRERROR=1 -I.. -I../libipulog/include -I../include -fPIC -o ulogd_PCAP_sh.o -c ulogd_PCAP.c
    mipsel-linux-ld -shared -o ulogd_PCAP.so ulogd_PCAP_sh.o -lc -lpcap
    make[2]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0/pcap'
    make[1]: Leaving directory `/home/slightly/freetz-trunk/source/ulogd-1.0'
    make: *** [source/ulogd-1.0/src/ulogd] Fehler 2
    slightly@StinkyLinux:~/freetz-trunk$
    
    
     
  11. olistudent

    olistudent IPPF-Urgestein

    Registriert seit:
    19 Okt. 2004
    Beiträge:
    14,761
    Zustimmungen:
    5
    Punkte für Erfolge:
    38
    Beruf:
    Softwareentwickler
    Ort:
    Kaiserslautern
    Hast du mal hier geschaut?

    MfG Oliver
     
  12. cando

    cando Aktives Mitglied

    Registriert seit:
    28 Nov. 2008
    Beiträge:
    1,080
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    ich hab es irgendwie hinbekommen, das problem ist ich weiss nicht wie.

    ich hab mal make ulogd-precompiled aufgerufen und dann noch mal make
    und irgendwann lief es durch.

    ich hab es auch auf die box bekommen und kann den deamon auch starten iinklusive der zugehörigen plugins.

    ich kann auch mit modprobe ipt_ULOG das modul für iptables registrieren und auch regeln bauen.

    soweit so gut.

    allerdings hat sich das ganze bisher zu nur einer einzigen zeile in die logdatei überreden lassen.

    ich weiss noch nicht woran es liegt. auch ein echo STD_PRINTK > /dev/debug bringt keine Änderung.

    mit -v (Verbose) sieht man auch , dass alles ordentlich geladen wird.

    Code:
    /var/mod/root # ulogd -c /var/media/ftp/uStor01/ulogd.conf
    Sun Jan 11 22:08:45 2009 <3> ulogd.c:308 registering interpreter `raw'
    Sun Jan 11 22:08:45 2009 <3> ulogd.c:308 registering interpreter `oob'
    Sun Jan 11 22:08:45 2009 <3> ulogd.c:308 registering interpreter `ip'
    Sun Jan 11 22:08:45 2009 <3> ulogd.c:308 registering interpreter `tcp'
    Sun Jan 11 22:08:45 2009 <3> ulogd.c:308 registering interpreter `icmp'
    Sun Jan 11 22:08:45 2009 <3> ulogd.c:308 registering interpreter `udp'
    Sun Jan 11 22:08:45 2009 <3> ulogd.c:308 registering interpreter `ahesp'
    Sun Jan 11 22:08:45 2009 <3> ulogd.c:363 registering output `syslog'
    Hier die logdatei des deamons:

    Code:
    Sun Jan 11 22:10:03 2009 <3> ulogd.c:484 ulogd Version 1.23 starting
    Sun Jan 11 22:10:03 2009 <3> ulogd.c:802 initialization finished, entering main loop
    
    Und hier die einzige ausgabe ins log:

    Code:
    Jan 11 20:24:37 fritz TEST IN=lan OUT=dsl MAC=xx:xx:xx ... SRC=192.168.0.31 DST=192.168.178.20 LEN=278 TOS=00 PREC=0x00 TTL=63 ID=5075 PROTO=UDP SPT=1026 DPT=65422 LEN=258 
    
    
    
    Also ein Anfang is gemacht...

    @Oliver: Danke für die tipps. Mit dem letzten kann ich (noch) nicht viel anfangen, ausser, dass die jungs auch trac verwenden.

    Kann man die pakete von dort in freetz leichter integrieren und wie macht man das am klügsten?