search for: client_addr

Displaying 20 results from an estimated 47 matches for "client_addr".

2006 Oct 25
11
spam control
...pam? Thanks jerry --------------------------- dnl # dnl # dnsbl - DNS based Blackhole List/Black List/Rejection list dnl # See http://www.sendmail.org/m4/features.html#dnsbl dnl # FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&{client_addr}')dnl FEATURE(`dnsbl', `relays.ordb.org', `"Spam blocked see: http://ordb.org/lookup/?host="$&{client_addr}')dnl FEATURE(`dnsbl', `cbl.abuseat.org', `"Spam blocked see: http://cbl.abuseat.org/lookup.cgi?ip="$&{client_addr}')dnl...
2006 Feb 05
2
R socket communication
...t: $!"; setsockopt(SERVER, SOL_SOCKET, SO_REUSEADDR, 1) or die "setsock: $!"; my $paddr = sockaddr_in($port, INADDR_ANY); bind(SERVER, $paddr) or die "bind: $!"; listen(SERVER, SOMAXCONN) or die "listen: $!"; print "SERVER started on port $port "; my $client_addr; while ($client_addr = accept(CLIENT, SERVER)) { my ($client_port, $client_ip) = sockaddr_in($client_addr); my $client_ipnum = inet_ntoa($client_ip); my $client_host = gethostbyaddr($client_ip, AF_INET); print "Connection from: $client_host","[$client_ipnum] "; while(<CLIENT&...
2008 Mar 27
3
Question on mail
All of a sudden I am getting this error this morning. -------------------------------------- <<< 553 5.3.0 Spam blocked see: http://ordb.org/lookup/?host=mp;{client_addr} 501 5.6.0 Data format error Content-Type: message/delivery-status Action: failed Status: 5.3.0 Diagnostic-Code: SMTP; 553 5.3.0 Spam blocked see: http://ordb.org/lookup/?host=mp;{client_addr} Last-Attempt-Date: Thu, 27 Mar 2008 09:06:03 -0400 ------------------------------------------- Mail has...
2002 Mar 08
2
Re: 'Network Busy' - indeed (Gustav Tresselt)
...(86) open_oplock_ipc: opening loopback UDP socket. [2002/02/14 10:54:28, 3] lib/util_sock.c:open_socket_in(868) bind succeeded on port 0 [2002/02/14 10:54:28, 3] smbd/oplock.c:open_oplock_ipc(114) open_oplock ipc: pid = 50358, global_oplock_port = 2903 [2002/02/14 10:54:28, 0] lib/util_sock.c:client_addr(1038) getpeername failed. Error was Socket is not connected [2002/02/14 10:54:28, 0] lib/util_sock.c:client_name(992) getpeername failed. Error was Socket is not connected [2002/02/14 10:54:28, 0] lib/access.c:check_access(262) [2002/02/14 10:54:28, 0] lib/util_sock.c:client_addr(1038) getpee...
2000 Apr 19
0
Problems with Samba 2.0.6 under Solaris 7
...clients would attempt to connect, if their reverse IP lookup failed - in theory just to log the name of the connecting host, the originating IP address was being mangled and the connection denied. The log entries are shown as follows [2000/04/18 15:42:19, 0] [lib/util_sock.c2000/04/18 15:42:19:, 0client_addr] (li b/util_sock.c1035:) client_addr getpeername failed. Error was Transport endpoint is not connected (1035) getpeername failed. Error was Transport endpoint is not connected [2000/04/18 15:42:19, 0] lib/access.c:check_access(262[) 2000/04/18 15:42:19, 0] lib/access.c:check_access[(2622000/04/1...
2005 Aug 28
5
Trying to control the torrent of spam...
Someone got ahold of my information (actually, I know who they are - t2net.net - just not how to get back at them) and now I'm getting 4 phone calls a week upwards of 20 spams a day. I'm trying to put an end to the spam at least and the built-in stuff for Evolution isn't working as well as it should I did some Googling on procmail and fetchmail and spamassassin config files and much
2002 Mar 05
0
Urgent help required for a newbie!
...(86) open_oplock_ipc: opening loopback UDP socket. [2002/02/14 10:54:28, 3] lib/util_sock.c:open_socket_in(868) bind succeeded on port 0 [2002/02/14 10:54:28, 3] smbd/oplock.c:open_oplock_ipc(114) open_oplock ipc: pid = 50358, global_oplock_port = 2903 [2002/02/14 10:54:28, 0] lib/util_sock.c:client_addr(1038) getpeername failed. Error was Socket is not connected [2002/02/14 10:54:28, 0] lib/util_sock.c:client_name(992) getpeername failed. Error was Socket is not connected [2002/02/14 10:54:28, 0] lib/access.c:check_access(262) [2002/02/14 10:54:28, 0] lib/util_sock.c:client_addr(1038) getpee...
2008 Dec 28
3
Sendmail problem
...nfMILTER_MACROS_HELO', `{verify}, {cert_subject}') define(`confMILTER_MACROS_ENVFROM', `i, {auth_authen}') define(`confMILTER_MACROS_ENVRCPT', `{greylist}') and LOCAL_CONFIG Kstorage macro LOCAL_RULESETS SLocal_check_rcpt R$+ $: $(storage {greylist} $) $&{client_addr} R$+ $: $>A <$1> <?> <+Connect> <$1> R<$+> <$*> $: $(storage {greylist} $@ $1 $) $2 it does not seem to work after retstart sendmail I errors [root at r13151 ~]# /sbin/service sendmail restart Arr?t de sm-client :...
2002 Nov 25
1
IP in utmp: smbd/session.c
Dear Samba developers, Sometime between versions 2.2.2 and 2.2.7 you made the change: % diff samba-2.2.2/source/smbd/session.c samba-2.2.7/source/smbd/session.c 92,94c92,97 < hostname = client_name(); < if (strequal(hostname,"UNKNOWN")) < hostname = client_addr(); --- > /* Don't resolve the hostname in smbd as we can pause for a long > time while waiting for DNS timeouts to occur. The correct > place to do this is in the code that displays the session > information. */ > > hostname =...
2006 Aug 31
3
Sendmail restriction
Hi, I'm looking for a way, in sendmail, to set access rule, saying: Accept messages for domain.com only from this IP address. I did some research yesterday, but could only find a way to restrict by IP for all domains managed by sendmail. Any ideas? Regards, Ugo
2010 Jun 04
5
help with sendmail closing relay
...#39;)dnl FEATURE(`blacklist_recipients')dnl dnl # dnl # dnsbl - DNS based Blackhole List/Black List/Rejection list dnl # See http://www.sendmail.org/m4/features.html#dnsbl dnl # FEATURE(`dnsbl', `bl.spamcop.net', `"Spam blocked see: http://spamcop.net/bl.shtml?"$&amp;{client_addr}')dnl FEATURE(`dnsbl', `cbl.abuseat.org', `"Spam blocked see: http://cbl.abuseat.org/lookup.cgi?ip="$&amp;{client_addr}')dnl FEATURE(`dnsbl', `sbl.spamhaus.org', `"Spam blocked see: http://spamhaus.org/query/bl?ip="$&amp;{client_addr}')...
2003 Dec 09
1
Make Fails on Cobalt Qube 2
All; I am using the cobalt Qube 2 which uses a Cobalt OS with is supposedly a RedHat Linux 4.2 variant. I can not compile the new rsync version 2.5.7 as I always fail my make with the following error: clientname.c: In function `client_addr': clientname.c:72: warning: implicit declaration of function `getnameinfo' clientname.c:73: `NI_NUMERICHOST' undeclared (first use this function) clientname.c:73: (Each undeclared identifier is reported only once clientname.c:73: for each function it appears in.) clientname.c: In functi...
2001 Dec 03
0
Socket address problems with 2.5.1pre1
...lfcn fix for C++ program usage. - ENABLE_NLS fixes for various functions (doesn't affect us, sinceit is mainly meant for non-nls builds). - IPv6 reverse lookup fixes. ... However, I think the problem may not be specific to this C lib version. I applied this patch to socket.c:client_addr() to experiment a bit: --- socket.c.orig Tue Nov 27 08:01:05 2001 +++ socket.c Sun Dec 2 21:04:20 2001 @@ -555,7 +555,7 @@ **/ char *client_addr(int fd) { - struct sockaddr ss; + struct sockaddr_storage ss; int length = sizeof(ss); static char addr_buf...
1999 Oct 26
0
2.0.5a on AIX 4.3.2, smbclient failures.
...lans. The following log file shows the errors from one of our NT servers to Genesis, this may or may not be connected with the original problem. [1999/10/26 17:11:53, 5] smbd/connection.c:claim_connection(127) trying claim /var/samba/locks STATUS. 100000 [1999/10/26 17:11:53, 0] lib/util_sock.c:client_addr(1068) getpeername failed. Error was Socket is not connected [1999/10/26 17:11:53, 5] smbd/reply.c:reply_special(148) init msg_type=0x81 msg_flags=0x0 [1999/10/26 17:11:53, 0] lib/util_sock.c:write_socket_data(570) write_socket_data: write failure. Error = Broken pipe [1999/10/26 17:11:53, 0]...
2005 Oct 24
1
writing files via samba issues...
...em but will be totally useless (I did a compare on it with the original). =20 Here is what the "log.winxptest" file tailed shows, =20 smbd/service.c:make_connection(550) winxptest (192.168.1.102) connect to se= rvice data as user winxpuser (uid=3D501, gid=3D500) (pid 241) lib/util_sock.c:client_addr(1061) getpeername failed. Error was Transport = endpoint is not connected lib/util_sock.c:write_socket_data(540) write_socket_data: write failure. E= rror =3D Connection reset by peer lib/util_sock.c:write_socket(566) write_socket: Error writing 4 bytes to so= cket 3: ERRNO =3D Connection reset b...
2002 Jan 11
1
rsync 2.5.1 server - strange logs
I've just upgraded my rsync server to 2.5.1 (before, I was using 2.4.6), without changing anything in /etc/rsyncd.conf, and now, I have this logs each time a client connect to server: 2002/01/07 18:33:03 [10432] rsync: reverse name lookup mismatch on fd3 - spoofed address? 2002/01/07 18:33:03 [10432] rsync on admin/sbin/padmin_update.sh from UNKNOWN (172.16.65.14) 2002/01/07 18:33:03 [10432]
2014 Jul 24
4
Sieve plugin (fc17 + sendmail + roundcube)
...il/access.db')dnl FEATURE(`blacklist_recipients')dnlEXPOSED_USER(`root')dnl DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnlFEATURE(`accept_unresolvable_domains')dnl FEATURE(`relay_hosts_only')dnl FEATURE(`dnsbl', `ipwhois.rfc-ignorant.org',`"550 Mail from " $&{client_addr} " refused. Rejected for bad WHOIS info on IP of your SMTP server - see http://www.rfc-ignorant.org/"') FEATURE(`dnsbl', `proxies.blackholes.easynet.nl', `"550 5.7.1 ACCESS DENIED to OPEN PROXY SERVER "$&{client_name}" by easynet.nl DNSBL (http://proxies.bl...
2001 Nov 20
2
rsync server over SSH [includes code patches]
...p;& !am_sender)) ! io_start_multiplex_in(f_in); } ! return 0; + } ! static int rsync_module(int f_in, int f_out, int i) { int argc=0; char *argv[MAX_ARGS]; *************** *** 125,170 **** uid_t uid = (uid_t)-2; gid_t gid = (gid_t)-2; char *p; ! char *addr = client_addr(fd); ! char *host = client_name(fd); char *name = lp_name(i); int use_chroot = lp_use_chroot(i); int start_glob=0; int ret; char *request=NULL; extern int am_sender; extern int remote_version; extern int am_root; if (!allow_access(addr, host, lp_hosts_allow(i), lp_hos...
2014 Jul 24
1
Sieve plugin (fc17 + sendmail + roundcube)
...l > FEATURE(`blacklist_recipients')dnlEXPOSED_USER(`root')dnl > DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnlFEATURE(`accept_unresolvable_domains')dnl > FEATURE(`relay_hosts_only')dnl > FEATURE(`dnsbl', `ipwhois.rfc-ignorant.org',`"550 Mail from " $&{client_addr} " refused. Rejected for bad WHOIS info on IP of your SMTP server - see http://www.rfc-ignorant.org/"') > FEATURE(`dnsbl', `proxies.blackholes.easynet.nl', `"550 5.7.1 ACCESS DENIED to OPEN PROXY SERVER "$&{client_name}" by easynet.nl DNSBL (http://proxi...
2004 Apr 01
1
[patch] net/rsync: problems in client name lookup code
...6; -#endif - socklen_t ss_len; + struct sockaddr_storage ss; - if (initialised) return name_buf; + if (initialised) + return name_buf; strcpy(name_buf, default_name); initialised = 1; + memset(&ss, 0, sizeof(ss)); + if (am_server) { /* daemon over --rsh mode */ char *addr = client_addr(fd); -#ifdef INET6 - int dots = 0; - char *p; - for (p = addr; *p && (dots <= 3); p++) { - if (*p == '.') - dots++; - } - if (dots > 3) { - /* more than 4 parts to IP address, must be ipv6 */ - ssp = (struct sockaddr_storage *) &sin6; - ss_len = sizeof...