From: Ted Zlatanov <tzz@lifelogs.com>
Subject: Re: new spam functionality added
Date: Sun, 29 Dec 2002 21:31:29 -0500 [thread overview]
Message-ID: <m3ptrkfda6.fsf@heechee.beld.net> (raw)
In-Reply-To: <m3znqomko6.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Mon, 30 Dec 2002 01:10:01 +0100")
OK, let's start with the basics. dns.elc is removed, everything is
coming out of dns.el which is from the latest CVS Gnus. I did
spam-check-blackholes on your message, and query-dns was the origin of
the trouble.
(query-dns "244.224.91.80.bl.spamcop.net")
produces:
Debugger entered--Lisp error: (file-error "connection failed" "connection refused" "192.168.2.1" "dns")
open-network-stream("dns" #<buffer *temp*> "192.168.2.1" "domain")
(if (fboundp (quote make-network-process)) (make-network-process :name "dns" :coding (quote binary) :buffer (current-buffer) :host server :service "domain" :type (quote datagram)) (open-network-stream "dns" (current-buffer) server "domain"))
(let ((server ...) (coding-system-for-read ...) (coding-system-for-write ...)) (if (fboundp ...) (make-network-process :name "dns" :coding ... :buffer ... :host server :service "domain" :type ...) (open-network-stream "dns" ... server "domain")))
(dns-make-network-process (car dns-servers))
(let ((process ...) (tcp-p ...) (step 100) (times ...) (id ...)) (process-send-string process (dns-write ... tcp-p)) (while (and ... ...) (accept-process-output process 0 step) (decf times step)) (ignore-errors (delete-process process)) (when tcp-p (goto-char ...) (delete-region ... ...)) (unless (zerop ...) (let ... ...)))
(save-current-buffer (set-buffer temp-buffer) (let (... ... ... ... ...) (process-send-string process ...) (while ... ... ...) (ignore-errors ...) (when tcp-p ... ...) (unless ... ...)))
(with-current-buffer temp-buffer (let (... ... ... ... ...) (process-send-string process ...) (while ... ... ...) (ignore-errors ...) (when tcp-p ... ...) (unless ... ...)))
(unwind-protect (with-current-buffer temp-buffer (let ... ... ... ... ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
(let ((temp-buffer ...)) (unwind-protect (with-current-buffer temp-buffer ...) (and ... ...)))
(with-temp-buffer (let (... ... ... ... ...) (process-send-string process ...) (while ... ... ...) (ignore-errors ...) (when tcp-p ... ...) (unless ... ...)))
(let (default-enable-multibyte-characters) (with-temp-buffer (let ... ... ... ... ... ...)))
(mm-with-unibyte-buffer (let (... ... ... ... ...) (process-send-string process ...) (while ... ... ...) (ignore-errors ...) (when tcp-p ... ...) (unless ... ...)))
query-dns("244.224.91.80.bl.spamcop.net")
eval((query-dns "244.224.91.80.bl.spamcop.net"))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp)
I'm behind a firewall, that's why my DNS server is 192.168.2.1
locally. It works from the command line:
tzz@heechee> dig 244.224.91.80.bl.spamcop.net
; <<>> DiG 9.2.1 <<>> 244.224.91.80.bl.spamcop.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 53479
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;244.224.91.80.bl.spamcop.net. IN A
;; Query time: 50 msec
;; SERVER: 192.168.2.1#53(192.168.2.1)
;; WHEN: Sun Dec 29 21:21:30 2002
;; MSG SIZE rcvd: 46
tzz@heechee> host 244.224.91.80.bl.spamcop.net
Host 244.224.91.80.bl.spamcop.net not found: 3(NXDOMAIN)
I think I'm doing this correctly. Emacs 21.2.1, latest CVS Gnus. I
have very little knowledge of the Emacs make-network-process calls and
socket handling so I couldn't debug further, sorry. The arguments to
make-network-process look reasonable, though. Could it be using TCP
instead of UDP for some strange reason?
Ted
next prev parent reply other threads:[~2002-12-30 2:31 UTC|newest]
Thread overview: 144+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-31 19:24 Ted Zlatanov
2002-07-31 19:54 ` Scott A Crosby
2002-07-31 20:07 ` Ted Zlatanov
2002-07-31 20:14 ` Simon Josefsson
2002-07-31 20:25 ` Josh Huber
2002-07-31 20:34 ` Scott A Crosby
2002-07-31 20:41 ` Josh Huber
2002-07-31 21:03 ` Stainless Steel Rat
2002-07-31 21:08 ` Stainless Steel Rat
2002-07-31 21:12 ` Josh Huber
2002-07-31 21:38 ` Paul Jarc
2002-07-31 23:19 ` David Masterson
2002-07-31 23:08 ` Frank Schmitt
2002-08-01 17:03 ` Josh Huber
2002-08-01 17:38 ` Harry Putnam
2002-08-01 19:16 ` Scott A Crosby
2002-08-01 22:43 ` Harry Putnam
2002-08-05 17:16 ` Per Abrahamsen
2002-08-01 1:25 ` Stainless Steel Rat
2002-08-01 1:33 ` Scott A Crosby
2002-08-01 2:17 ` Stainless Steel Rat
2002-08-01 19:20 ` David Masterson
2002-08-01 20:00 ` Stainless Steel Rat
2002-08-02 23:37 ` Florian Weimer
2002-08-02 23:45 ` Russ Allbery
2002-08-03 10:23 ` Simon Josefsson
2002-08-03 13:47 ` Stainless Steel Rat
2002-08-03 16:01 ` hashcash (was Re: new spam functionality added) Simon Josefsson
2002-08-04 6:55 ` Stainless Steel Rat
2002-08-01 19:17 ` new spam functionality added David Masterson
2002-08-01 19:59 ` Stainless Steel Rat
2002-07-31 21:07 ` Scott A Crosby
2002-07-31 21:35 ` Paul Jarc
2002-07-31 21:58 ` Josh Huber
2002-07-31 21:47 ` Josh Huber
2002-07-31 21:54 ` Paul Jarc
2002-07-31 22:05 ` Josh Huber
2002-07-31 22:10 ` Paul Jarc
2002-07-31 22:35 ` Scott A Crosby
2002-07-31 23:10 ` Josh Huber
2002-08-01 16:56 ` Paul Jarc
2002-07-31 23:30 ` Alan Shutko
2002-08-01 19:25 ` David Masterson
2002-08-01 19:33 ` Josh Huber
2002-08-01 22:06 ` Scott A Crosby
2002-08-01 22:13 ` Paul Jarc
2002-08-01 22:18 ` Jack Twilley
2002-08-01 22:23 ` TMDA (was: new spam functionality added) Paul Jarc
2002-08-01 22:40 ` Scott A Crosby
2002-08-01 23:29 ` Josh Huber
2002-08-02 2:11 ` Scott A Crosby
2002-08-01 19:34 ` new spam functionality added Ted Zlatanov
2002-08-01 19:39 ` Paul Jarc
2002-08-01 21:38 ` Simon Josefsson
2002-08-23 1:50 ` Ted Zlatanov
2002-08-23 2:42 ` Katsumi Yamaoka
2002-08-23 3:10 ` Ted Zlatanov
2002-12-30 0:10 ` Lars Magne Ingebrigtsen
2002-12-30 2:31 ` Ted Zlatanov [this message]
2002-12-30 2:52 ` Lars Magne Ingebrigtsen
2002-12-30 3:13 ` Ted Zlatanov
2002-12-30 3:27 ` Lars Magne Ingebrigtsen
2002-12-30 3:44 ` Ted Zlatanov
2002-12-30 4:12 ` Lars Magne Ingebrigtsen
2002-12-30 4:48 ` Ted Zlatanov
2002-12-30 5:08 ` Lars Magne Ingebrigtsen
2002-12-30 19:03 ` spam.el now supports blackholes by default Ted Zlatanov
2002-12-30 21:41 ` Matt Armstrong
2002-12-30 22:42 ` Ted Zlatanov
2002-12-30 23:38 ` spam.el proposed group parameters Ted Zlatanov
2002-12-31 0:02 ` Lars Magne Ingebrigtsen
2003-01-05 16:58 ` spam.el now supports blackholes by default luis fernandes
2003-01-05 22:07 ` Ted Zlatanov
2003-01-06 2:15 ` Lars Magne Ingebrigtsen
2002-08-02 2:05 ` new spam functionality added Jason R. Mastaler
2002-08-02 3:43 ` Russ Allbery
2002-08-02 4:29 ` Jason R. Mastaler
2002-08-02 4:34 ` Russ Allbery
2002-08-02 16:17 ` TMDA (was: new spam functionality added) Paul Jarc
2002-08-02 21:46 ` Russ Allbery
2002-08-02 21:53 ` Paul Jarc
2002-08-05 17:38 ` Per Abrahamsen
2002-08-05 17:49 ` Paul Jarc
2002-08-05 17:57 ` Simon Josefsson
2002-08-05 20:18 ` David Masterson
2002-08-05 20:46 ` Stainless Steel Rat
2002-08-05 21:50 ` Russ Allbery
2002-08-06 0:43 ` Stainless Steel Rat
2002-08-06 3:04 ` David Masterson
2002-08-06 14:27 ` Stainless Steel Rat
2002-08-06 17:13 ` David Masterson
2002-08-06 17:26 ` David Masterson
2002-08-06 18:08 ` Stainless Steel Rat
2002-08-07 12:02 ` Lloyd Zusman
2002-12-30 0:22 ` Hashcash (was: TMDA) Lars Magne Ingebrigtsen
2003-01-02 18:33 ` Hashcash Simon Josefsson
2003-01-02 19:25 ` Hashcash Lars Magne Ingebrigtsen
2003-01-02 21:01 ` Hashcash Simon Josefsson
2003-01-02 21:05 ` Hashcash Lars Magne Ingebrigtsen
2002-08-05 18:30 ` TMDA (was: new spam functionality added) Stainless Steel Rat
2002-08-05 20:46 ` David Masterson
2002-08-05 21:33 ` Stainless Steel Rat
2002-08-06 3:28 ` David Masterson
2002-08-06 16:02 ` Paul Jarc
2002-08-08 9:21 ` Steinar Bang
2002-08-08 15:34 ` Paul Jarc
2002-08-08 19:57 ` Steinar Bang
2002-08-08 20:17 ` Paul Jarc
2002-08-08 21:30 ` Steinar Bang
2002-08-08 21:35 ` Paul Jarc
2002-08-08 22:27 ` Steinar Bang
2002-08-08 17:26 ` Matt Armstrong
2002-08-08 20:23 ` Steinar Bang
2002-08-09 19:32 ` Matt Armstrong
2002-08-10 9:23 ` Steinar Bang
2002-08-10 17:21 ` Paul Jarc
2002-08-11 8:41 ` Steinar Bang
2002-08-11 14:58 ` Steinar Bang
2002-08-11 8:47 ` Steinar Bang
2002-08-12 16:04 ` Paul Jarc
2002-08-12 21:38 ` Steinar Bang
2002-08-12 22:40 ` Paul Jarc
2002-08-13 9:21 ` Steinar Bang
2002-08-05 20:11 ` David Masterson
2002-08-06 2:15 ` Scott A Crosby
2002-08-06 10:10 ` Per Abrahamsen
2002-08-06 13:20 ` Scott A Crosby
2002-08-06 16:13 ` Per Abrahamsen
2002-08-16 14:23 ` new spam functionality added clemens fischer
2002-08-05 17:07 ` Per Abrahamsen
2002-07-31 20:46 ` Jack Twilley
2002-07-31 21:01 ` Josh Huber
2002-07-31 21:03 ` Simon Josefsson
2002-07-31 21:51 ` David Masterson
2002-07-31 21:08 ` Simon Josefsson
2002-07-31 22:05 ` David Masterson
2002-07-31 23:32 ` Alan Shutko
2002-08-01 17:00 ` Paul Jarc
2002-08-05 18:07 ` Simon Josefsson
2002-08-05 18:23 ` TMDA (was: new spam functionality added) Paul Jarc
2002-08-05 23:41 ` Simon Josefsson
2002-08-06 10:27 ` Per Abrahamsen
2002-08-06 15:57 ` Paul Jarc
2002-07-31 20:35 ` new spam functionality added Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3ptrkfda6.fsf@heechee.beld.net \
--to=tzz@lifelogs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).