www.ProFTPD.de
13. März 2007, 19:21:27 *
Willkommen Gast. Bitte einloggen oder registrieren.
Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge
News: SMF - Neu installiert!
 
   Übersicht   Hilfe Suche Login Registrieren  
Seiten: [1]   Nach unten
  Drucken  
Autor Thema: mod_ban  (Gelesen 449 mal)
0 Mitglieder und 1 Gast betrachten dieses Thema.
alexander.h
Gast
« am: 09. Juli 2004, 02:52:27 »

Hallo zusammen,

ich schafe es nicht zu installieren. Brauche ich auch mod_ctrl?
Gespeichert
Wörsty
Moderator
ProFTPD
*****
Offline Offline

Beiträge: 1602


50772603
Profil anzeigen WWW E-Mail
« Antwort #1 am: 09. Juli 2004, 06:09:06 »

Nein. Nur mod_ban.c nach proftpd-dir/contrib/ kopieren und dann
Code:
./configure --enable-ctrls --with-modules=mod_ban
make clean
make
make install

Eigentlich.
Was geht denn nicht?
 :arrow: Dokumentation
Gespeichert

RedHat 8.0 (2.4er Kernel)
proftpd 1.2.10
-mod_sql_mysql
-mow_wrap
-mod_exec
-mod_ifsession[/size]
alexander.h
Gast
« Antwort #2 am: 09. Juli 2004, 06:23:26 »

proftpd-dir/contrib/

wo die sourcen liegen ?
Gespeichert
alexander.h
Gast
« Antwort #3 am: 09. Juli 2004, 06:25:05 »

kann es sein, das die version http://www.castaglia.org/proftpd/modules/proftpd-mod-ban-0.4.2.tar.gz

released für 1.2.10rc1 ?
Gespeichert
alexander.h
Gast
« Antwort #4 am: 09. Juli 2004, 06:28:13 »

Code:
mod_ban.c:33:23: mod_ctrls.h: No such file or directory
mod_ban.c:42:3: #error "ProFTPD 1.2.10rc1 or later required"
mod_ban.c:46:3: #error "Controls support required (use --enable-ctrls)"
mod_ban.c:73: error: parse error before "ban_acttab"
mod_ban.c:73: warning: type defaults to `int' in declaration of `ban_acttab'
mod_ban.c:73: warning: data definition has no type or storage class
mod_ban.c: In function `ban_get_key':
mod_ban.c:150: warning: implicit declaration of function `pr_log_writefile'
mod_ban.c: In function `ban_send_mesg':
mod_ban.c:308: error: structure has no member named `cls_name'
mod_ban.c: In function `ban_list_add':
mod_ban.c:359: warning: implicit declaration of function `pr_event_generate'
mod_ban.c: At top level:
mod_ban.c:669: error: parse error before '*' token
mod_ban.c: In function `ban_handle_ban':
mod_ban.c:674: warning: implicit declaration of function `ctrls_check_acl'
mod_ban.c:674: error: `ctrl' undeclared (first use in this function)
mod_ban.c:674: error: (Each undeclared identifier is reported only once
mod_ban.c:674: error: for each function it appears in.)
mod_ban.c:677: warning: implicit declaration of function `pr_ctrls_add_response'
mod_ban.c:682: error: `reqargv' undeclared (first use in this function)
mod_ban.c:698: error: `reqargc' undeclared (first use in this function)
mod_ban.c:716: warning: implicit declaration of function `pr_strtime'
mod_ban.c: At top level:
mod_ban.c:1009: error: parse error before '*' token
mod_ban.c: In function `ban_handle_permit':
mod_ban.c:1014: error: `ctrl' undeclared (first use in this function)
mod_ban.c:1022: error: `reqargc' undeclared (first use in this function)
mod_ban.c:1022: error: `reqargv' undeclared (first use in this function)
mod_ban.c: In function `ban_pre_pass':
mod_ban.c:1177: error: structure has no member named `sid'
mod_ban.c:1178: warning: implicit declaration of function `pr_log_pri'
mod_ban.c: In function `set_banctrlsacls':
mod_ban.c:1200: warning: implicit declaration of function `ctrls_parse_acl'
mod_ban.c:1200: warning: assignment makes pointer from integer without a cast
mod_ban.c:1212: warning: implicit declaration of function `ctrls_set_module_acls
'
mod_ban.c:1213: warning: assignment makes pointer from integer without a cast
mod_ban.c: In function `set_banonevent':
mod_ban.c:1297: warning: implicit declaration of function `pr_event_register'
mod_ban.c: In function `ban_exit_ev':
mod_ban.c:1384: warning: implicit declaration of function `pr_log_debug'
mod_ban.c: In function `ban_handle_event':
mod_ban.c:1408: error: structure has no member named `sid'
mod_ban.c:1412: error: structure has no member named `sid'
mod_ban.c:1422: error: structure has no member named `sid'
mod_ban.c:1434: error: structure has no member named `sid'
mod_ban.c: In function `ban_postparse_ev':
mod_ban.c:1577: warning: implicit declaration of function `pr_log_openfile'
mod_ban.c: In function `ban_restart_ev':
mod_ban.c:1640: warning: implicit declaration of function `pr_pool_tag'
mod_ban.c:1643: error: request for member `act_action' in something not a struct
ure or union
mod_ban.c:1646: error: request for member `act_acl' in something not a structure
 or union
mod_ban.c:1646: error: `ctrls_acl_t' undeclared (first use in this function)
mod_ban.c:1647: warning: implicit declaration of function `ctrls_init_acl'
mod_ban.c:1647: error: request for member `act_acl' in something not a structure
 or union
mod_ban.c:1651: warning: implicit declaration of function `pr_event_unregister'
mod_ban.c: In function `ban_init':
mod_ban.c:1735: error: request for member `act_action' in something not a struct
ure or union
mod_ban.c:1738: error: request for member `act_acl' in something not a structure
 or union
mod_ban.c:1738: error: `ctrls_acl_t' undeclared (first use in this function)
mod_ban.c:1739: error: request for member `act_acl' in something not a structure
 or union
mod_ban.c:1741: warning: implicit declaration of function `pr_ctrls_register'
mod_ban.c:1741: error: request for member `act_action' in something not a struct
ure or union
mod_ban.c:1742: error: request for member `act_desc' in something not a structur
e or union
mod_ban.c:1742: error: request for member `act_cb' in something not a structure
or union
mod_ban.c:1745: error: request for member `act_action' in something not a struct
ure or union
mod_ban.c: In function `ban_sess_init':
mod_ban.c:1758: error: structure has no member named `cls_name'
mod_ban.c:1768: error: structure has no member named `sid'
mod_ban.c:1780: error: structure has no member named `sid'
mod_ban.c: At top level:
mod_ban.c:1801: error: parse error before "ban_acttab"
mod_ban.c:1801: warning: type defaults to `int' in declaration of `ban_acttab'
mod_ban.c:1802: warning: braces around scalar initializer
mod_ban.c:1802: warning: (near initialization for `ban_acttab[0]')
mod_ban.c:1802: warning: initialization makes integer from pointer without a cas
t
mod_ban.c:1802: warning: excess elements in scalar initializer
mod_ban.c:1802: warning: (near initialization for `ban_acttab[0]')
mod_ban.c:1802: warning: excess elements in scalar initializer
mod_ban.c:1802: warning: (near initialization for `ban_acttab[0]')
mod_ban.c:1803: warning: excess elements in scalar initializer
mod_ban.c:1803: warning: (near initialization for `ban_acttab[0]')
mod_ban.c:1804: warning: braces around scalar initializer
mod_ban.c:1804: warning: (near initialization for `ban_acttab[1]')
mod_ban.c:1804: warning: initialization makes integer from pointer without a cas
t
mod_ban.c:1804: warning: excess elements in scalar initializer
mod_ban.c:1804: warning: (near initialization for `ban_acttab[1]')
mod_ban.c:1804: warning: excess elements in scalar initializer
mod_ban.c:1804: warning: (near initialization for `ban_acttab[1]')
mod_ban.c:1805: warning: excess elements in scalar initializer
mod_ban.c:1805: warning: (near initialization for `ban_acttab[1]')
mod_ban.c:1806: warning: braces around scalar initializer
mod_ban.c:1806: warning: (near initialization for `ban_acttab[2]')
mod_ban.c:1806: warning: initialization makes integer from pointer without a cas
t
mod_ban.c:1806: warning: excess elements in scalar initializer
mod_ban.c:1806: warning: (near initialization for `ban_acttab[2]')
mod_ban.c:1806: warning: excess elements in scalar initializer
mod_ban.c:1806: warning: (near initialization for `ban_acttab[2]')
mod_ban.c:1806: warning: excess elements in scalar initializer
mod_ban.c:1806: warning: (near initialization for `ban_acttab[2]')
mod_ban.c:1807: warning: data definition has no type or storage class
make[1]: *** [mod_ban.o] Error 1
make[1]: Leaving directory `/etc/proftpd/proftpd-1.2.9/modules'
make: *** [modules] Error 2
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #5 am: 09. Juli 2004, 06:31:26 »

Zitat von: "alexander.h"
Code:
mod_ban.c:33:23: mod_ctrls.h: No such file or directory
mod_ban.c:42:3: #error "ProFTPD 1.2.10rc1 or later required"
mod_ban.c:46:3: #error "Controls support required (use --enable-ctrls)"


das ist ja wohl mehr als eindeutig. Ausserdem in der Anleitung steht:
Code:

Installation

 To install mod_ban, copy the mod_ban.c file into:
  proftpd-dir/contrib/

after unpacking the latest proftpd-1.2.x source code. Then follow the usual steps for using third-party modules in proftpd, making sure to include the --enable-ctrls configure option, which mod_ban requires:
  ./configure --enable-ctrls --with-modules=mod_ban
  make
  make install

Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
alexander.h
Gast
« Antwort #6 am: 09. Juli 2004, 06:32:15 »

also ich benutze die  1.2.9e, anscheind ist für 1.2.10rc1 :?
Gespeichert
alexander.h
Gast
« Antwort #7 am: 09. Juli 2004, 06:42:31 »

also mod_ctrls installieren ?
und Proftpd 1.2.10rc1 installieren? was ich nicht gerne mache Zunge

oder gibs auch mod_ban für 1.2.9 noch ?
Gespeichert
stonki
Administrator
ProFTPD
*****
Offline Offline

Beiträge: 1853


15318939
Profil anzeigen WWW E-Mail
« Antwort #8 am: 09. Juli 2004, 06:43:34 »

Zitat von: "alexander.h"
also mod_ctrls installieren ?
und Proftpd 1.2.10rc1 installieren? was ich nicht gerne mache :P

oder gibs auch mod_ban für 1.2.9 noch ?


ganz ehrlich: installiere Dir lieber 1.2.10rc1. In 1.2.9 sind auch einige Bugs drinne, die in rc1 gefixt worden sind. Probleme sind mir nicht bekannt.

cu
stonki
Gespeichert

www.stonki.de:    the more I see, the more I know.......
www.proftpd.de:   Deutsche ProFTPD Dokumentation
www.krename.net:  Der Batch Renamer für KDE
www.kbarcode.net: Die Barcode Solution für KDE
alexander.h
Gast
« Antwort #9 am: 09. Juli 2004, 06:46:31 »

ok, danke


ich versuche es ja
Gespeichert
Anonymous
Gast
« Antwort #10 am: 09. Juli 2004, 06:56:04 »

geht mit 1.210rc1
Gespeichert
Seiten: [1]   Nach oben
  Drucken  
 
Gehe zu:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Prüfe XHTML 1.0 Prüfe CSS
Seite erstellt in 0.062 Sekunden mit 16 Zugriffen.