search for: allow_severity

Displaying 15 results from an estimated 15 matches for "allow_severity".

2023 Nov 09
1
2.8.1 build buglet: sockdebug.c
...ntation? Looks like 7.4, as amended in NetBSD over the years. Looks like the original. tcpd.h has /* * @(#) tcpd.h 1.5 96/03/19 16:22:24 * * Author: Wietse Venema, Eindhoven University of Technology, The Netherlands. */ $ nm -g /usr/lib/libwrap.so|egrep _severity U allow_severity U deny_severity The man page says The allow_severity and deny_severity variables determine how accepted and rejected requests may be logged. They must be provided by the caller and may be modified by rules in the access control tables. and indeed see lines...
2023 Nov 09
2
2.8.1 build buglet: sockdebug.c
...CC desc.o CC netget.o CC netmisc.o CC netlist.o CC netuser.o CC netset.o CC netinstcmd.o CCLD sockdebug ld: /usr/lib/libwrap.so: undefined reference to `deny_severity' ld: /usr/lib/libwrap.so: undefined reference to `allow_severity' *** [sockdebug] Error code 1 as I understand it, the tcprappers interface requires those variables to exist. Nut does define them: work/nut-2.8.1/server/upsd.c:int allow_severity = LOG_INFO; work/nut-2.8.1/server/upsd.c:int deny_severity = LOG_WARNING; but not in sockde...
2010 Feb 25
2
dovecot-2.0.beta3 tcpwrapper support in Solaris
...PPFLAGS=/usr/sfw/include because tcpd.h is in there. Then also LDFLAGS='-R/usr/sfw/lib -L/usr/sfw/lib' is needed. It would be nice to have --with-tcpwrap-dir or something. After this linking gives an error Undefined first referenced symbol in file deny_severity /usr/sfw/lib//libwrap.so allow_severity /usr/sfw/lib//libwrap.so These are not defined but application itself should define these globally so I've added these to configure and src/util/tcpwrap.c #include <syslog.h> int allow_severity = LOG_INFO; int deny_severity = LOG_WARNING; Tomppa
2023 Nov 09
1
2.8.1 build buglet: sockdebug.c
...gt; CC netmisc.o > CC netlist.o > CC netuser.o > CC netset.o > CC netinstcmd.o > CCLD sockdebug > ld: /usr/lib/libwrap.so: undefined reference to `deny_severity' > ld: /usr/lib/libwrap.so: undefined reference to `allow_severity' > *** [sockdebug] Error code 1 > > as I understand it, the tcprappers interface requires those variables to > exist. Nut does define them: > > work/nut-2.8.1/server/upsd.c:int allow_severity = LOG_INFO; > work/nut-2.8.1/server/upsd.c:int deny_severity...
2001 Nov 27
1
[PATCH] tcp-wrappers support extended to x11 forwards
...penssh-modified/channels.c --- openssh-3.0.1p1/channels.c Fri Oct 12 04:35:05 2001 +++ openssh-modified/channels.c Mon Nov 26 15:53:04 2001 @@ -55,6 +55,12 @@ #include "key.h" #include "authfd.h" +#ifdef LIBWRAP +#include <tcpd.h> +#include <syslog.h> +extern int allow_severity; +extern int deny_severity; +#endif /* LIBWRAP */ /* -- channel core */ @@ -1006,6 +1012,25 @@ error("accept: %.100s", strerror(errno)); return; } +#ifdef LIBWRAP + /* XXX LIBWRAP noes not know about IPv6 */ + { + struct request_info req; + + request_init(&...
2001 May 08
0
make install fails if configured --with-tcp-wrappers
...went just fine, make went just fine, but 'make install' failed with the following error: exec(): 0509-036 Cannot load program ./ssh-keygen because of the following errors: 0509-130 Symbol resolution failed for /usr/local/lib/libwrap.a(libwrap.so) because: 0509-136 Symbol allow_severity (number 71) is not exported from dependent module ssh-keygen. 0509-136 Symbol deny_severity (number 72) is not exported from dependent module ssh-keygen. 0509-192 Examine .loader section symbols with the 'dump -Tv' com...
2023 Oct 31
5
NUT v2.8.1 is released
...it was almost midnight, Cinderella became a pumpkin, and NUT was released!.. Trick or treat?! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20231031/f3590340/attachment.htm>
2023 Oct 31
5
NUT v2.8.1 is released
...it was almost midnight, Cinderella became a pumpkin, and NUT was released!.. Trick or treat?! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://alioth-lists.debian.net/pipermail/nut-upsdev/attachments/20231031/f3590340/attachment.htm>
2023 Nov 09
1
2.8.1 build buglet: sockdebug.c
...gt; CC netmisc.o > CC netlist.o > CC netuser.o > CC netset.o > CC netinstcmd.o > CCLD sockdebug > ld: /usr/lib/libwrap.so: undefined reference to `deny_severity' > ld: /usr/lib/libwrap.so: undefined reference to `allow_severity' > *** [sockdebug] Error code 1 > > as I understand it, the tcprappers interface requires those variables to > exist. Nut does define them: > > work/nut-2.8.1/server/upsd.c:int allow_severity = LOG_INFO; > work/nut-2.8.1/server/upsd.c:int deny_severity...
2008 Nov 07
6
Cannot get the libwrap patch work
Hello there, I have been trying to make the patch work for libwrap(TCP Wrappers) posted on http://dovecot.org/patches <http://dovecot.org/patches%20Patch%20of%201.1> Patch of 1.1 but could not get it work. Any help will be highly appreciated. After compiling and running it I get error "Error: login_tcp_wrappers can't be used because Dovecot wasn't built with
2007 Nov 14
1
libwrap-ing IMAP and POP logins
...100 @@ -1,5 +1,7 @@ /* Copyright (C) 2002 Timo Sirainen */ +#define LIBWRAP + #include "common.h" #include "ioloop.h" #include "lib-signals.h" @@ -18,6 +20,11 @@ #include <unistd.h> #include <syslog.h> +#ifdef LIBWRAP +#include <tcpd.h> +int allow_severity =0, deny_severity = 0; +#endif + bool disable_plaintext_auth, process_per_connection, greeting_capability; bool verbose_proctitle, verbose_ssl, verbose_auth; const char *greeting, *log_format; @@ -69,6 +76,10 @@ unsigned int remote_port, local_port; struct client *client; int fd; +#ifdef L...
2000 Dec 30
1
Failure message of configure from openssh 2.3.0p1 is wrong.
...lpam -lcrypto -lskey -lwrap 1>&5 |/usr/bin/ld: cannot find -lskey |collect2: ld returned 1 exit status |configure: failed program was: |#line 6346 "configure" |#include "confdefs.h" |#include <tcpd.h> | int deny_severity = 0, allow_severity = |0; |int main() { |hosts_access(0); |; return 0; } So not libwrap is missing but instead the skey library. Please change the configure error message to contain the right information. Thanks. Ciao Christian -- Debian Developer and Quality Assuran...
2001 Feb 13
1
configure.in reorder patch
...+ [ --with-tcp-wrappers Enable tcpwrappers support], + [ + if test "x$withval" != "xno" ; then + saved_LIBS="$LIBS" + LIBS="-lwrap $LIBS" + AC_MSG_CHECKING(for libwrap) + AC_TRY_LINK( + [ +#include <tcpd.h> + int deny_severity = 0, allow_severity = 0; + ], + [hosts_access(0);], + [ + AC_MSG_RESULT(yes) + AC_DEFINE(LIBWRAP) + TCPW_MSG="yes" + ], + [ + AC_MSG_ERROR([*** libwrap missing]) + ] + ) + fi + ] +) + +dnl Checks for library functions. +AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy...
2008 Nov 08
1
dovecot Digest, Vol 67, Issue 19
...UX_QUOTA_VERSION, $withval, @@ -1554,6 +1563,30 @@ fi dnl ** +dnl ** TCP wrappers +dnl ** + +if test "$want_libwrap" = "yes"; then + AC_CHECK_HEADER(tcpd.h, [ + old_LIBS=$LIBS + LIBS="$LIBS -lwrap" + AC_TRY_LINK([ + #include <tcpd.h> + int allow_severity; + int deny_severity; + struct request_info request; + ], [ + request_init(&request, 0); + ], [ + AC_DEFINE(HAVE_LIBWRAP,, Define if you have libwrap) + LIBWRAP_LIBS=-lwrap + AC_SUBST(LIBWRAP_LIBS) + ]) + LIBS=$old_LIBS + ]) +fi + +dnl ** dnl ** userd...
2000 Oct 07
2
[PATCH]: Add tcp_wrappers protection to port forwarding
...200s port %d", --- ssh.c.orig Mon Aug 28 20:33:51 2000 +++ ssh.c Mon Oct 2 22:50:29 2000 @@ -30,6 +30,11 @@ RCSID("$OpenBSD: ssh.c,v 1.63 2000/08/28 #include "key.h" #include "authfd.h" #include "authfile.h" +#ifdef LIBWRAP +#include <syslog.h> +int allow_severity = LOG_INFO; +int deny_severity = LOG_WARNING; +#endif /* LIBWRAP */ #ifdef HAVE___PROGNAME extern char *__progname;