|
Home > Archive > Anonymous Servers > January 2007 > more for Eel
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| if you really want to get geared up, you\'d allow a user to post a usenet reply similar to what\'s done in JBN: I paste the whole post (including headers) that I want to reply to into your textarea, and your code automatically handles newsgroup(s) and ref
erences headers for my reply.
| |
| Newsanon Admin 2007-01-18, 7:14 pm |
| On Thu, 18 Jan 2007 23:49:53 +0000, test1 wrote:
> if you really want to get geared up, you'd allow a user to post a usenet
> reply similar to what's done in JBN: I paste the whole post (including
> headers) that I want to reply to into your textarea, and your code
> automatically handles newsgroup(s) and references headers for my reply.
Well, I didn't envisage it that way - I thought of it as a means to
originate a post, but that is fairly easily doable. I'll work on it and
let you know.
At the moment, I have to get past these weird escape characters.
| |
| admin@eelbash.yi.org 2007-01-19, 1:12 pm |
| On Thu, 18 Jan 2007 23:49:53 +0000, test1 wrote:
> if you really want to get geared up, you\\'d allow a user to post a usenet
> reply similar to what\\'s done in JBN: I paste the whole post (including
> headers) that I want to reply to into your textarea, and your code
> automatically handles newsgroup(s) and references headers for my reply.
I made some changes to allow it to do that. If you want to try it,
go to
http://eelash.yi.org:8080/testing
Some notes:
The program checks for subject, from, newsgroups, references
occurring before the null line. If it finds all 4, it assumes the
user has pasted in a message containing headers + body.
The program then uses those 4 fields in creating the message.
Everything else on the form is ignored except for the number of
remailers.
Obviously, if the program makes an error and thinks it is looking
at a message body only, it will print out all the headers as part
of the message that ends up on a newsgroup.
I cannot guarantee that that won't happen. Please use the utility
with that possibility in mind.
The content of each header must be separated by one space from
the neader name for this to work. For example:
Subject: Some Subject will work
Subject: Some Subject will not work.
Long reference lines have caused problems in the past. I can't
guarantee it won't happen again. If you trim them to use only the
last one, it might help.
Thanks for the interesting suggestion. I hope it will be useful.
| |
|
| On 19 Jan 2007, admin@eelbash.yi.org wrote:
>On Thu, 18 Jan 2007 23:49:53 +0000, test1 wrote:
>
>
>
>I made some changes to allow it to do that. If you want to try it,
>go to
>
>http://eelash.yi.org:8080/testing
Note to Eel: alpha before beta. You should conduct tests with 100% success
before showing.
>
>Some notes:
>The program checks for subject, from, newsgroups, references
>occurring before the null line. If it finds all 4, it assumes the
>user has pasted in a message containing headers + body.
Note to potential users: don't paste all your headers into any stranger's
form. The Path: and possibly other headers will give away your news server
that you use. (If Boschloon really were as sharp as he thinks he is, he
would have been the one to point that out instead of merely posting rants.)
>
>The program then uses those 4 fields in creating the message.
>Everything else on the form is ignored except for the number of
>remailers.
>
>Obviously, if the program makes an error and thinks it is looking
>at a message body only, it will print out all the headers as part
>of the message that ends up on a newsgroup.
Suggestion: include a button to process the input, then show the header
fields filled out on the user's web page. The user can then see the results
of your parsing and decide if he wants to proceed with submission. You can
do that with javascript or else go server-side with the php.
But I'd think for right now that you'd want 2 versions running side by
side:
1) the proven version that lacks features, but does work
2) your experimental version that tests new features
After all, you don't want to make this whole thing run out of steam at this
early stage by not having a workable version available at all times. Those
are my humble suggestions. Good luck, I think you've got a winner here. One
day you might even have a Java applet that does PGP encryption right on the
users machine, so that your interface never even sees a plaintext msg if
the user doesn't want to do that.
| |
| Thomas J. Boschloo 2007-01-20, 1:14 am |
| -----BEGIN PGP SIGNED MESSAGE-----
test wrote:
[snip]
> Note to potential users: don't paste all your headers into any stranger's
> form. The Path: and possibly other headers will give away your news server
> that you use. (If Boschloon really were as sharp as he thinks he is, he
> would have been the one to point that out instead of merely posting rants.)
I *hate* being constructive. Eelbash Admin should never have been
conceived in the first place and talking about how to protect his
parents from burdening the world with further offspring is meaningless
drivel to me.
2ct,
Thomas
- --
War on terror will resume shortly in an evil axis country in your
vicinity - http://home.hccnet.nl/t.j.boschloo/waronterror.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQB5AwUBRbFXCgEP2l8iXKAJAQGxNgMeKiswSUtm
1jNAq0nIHE8Qk2Klp4NY3SFi
vrUrMccxpeXBew+tVLN49YHq4JXwP/RBViJsERlcKyRq+DqhoEIs3RvGGYru5+iI
384QaftlX55Op0dby+hMpLHlptWu6xrD53PZJQ==
=ieia
-----END PGP SIGNATURE-----
| |
| admin@eelbash.yi.org 2007-01-20, 1:14 am |
| On Fri, 19 Jan 2007 23:04:53 +0000, test wrote:
> On 19 Jan 2007, admin@eelbash.yi.org wrote:
>
> Note to potential users: don't paste all your headers into any stranger's
> form. The Path: and possibly other headers will give away your news server
> that you use.
I agree. I put a link on the website to warn users about that.
Thinking about it, however, it seems to me too dangerous to be
worth the convenience to the user. I believe the code
works as it should; but it's inherently risky without more
safeguards from user error than I want to, or can,
provide.
So after I send this, I'll block that feature.
>
>
>
> Suggestion: include a button to process the input, then show the header
> fields filled out on the user's web page. The user can then see the
> results of your parsing and decide if he wants to proceed with submission.
That's a general plan I'd like to use, and plan to. At the moment,
however, my php skills are too rudimentary.
> One day you might even have a Java applet that does PGP encryption
> right on the users machine, so that your interface never even sees a
> plaintext msg if the user doesn't want to do that.
That's a great idea. Probably beyond anything I'll ever be able to do,
but a worthy goal for someone who is technically able. Maybe a slight
change to QS or JBN could create a file or clipboard entry of an
encrypted message, instead of writing it out. The message could then
be dropped into the utility's message field.
| |
|
| admin@eelbash.yi.org wrote in message news:<20070120005807.u57bz7Ybo4I0
@anonymous.poster> ...
>
> That's a general plan I'd like to use, and plan to. At the moment,
> however, my php skills are too rudimentary.
>
>
Feel free to ask questions when you hit snags. But one bit of advice
from someone who once ran a public posting like this, throttles and
timed bans. You'll be forced to address them at some point, best to
think about them now.
/steve
--
Packetderm, LLC
Web hosting, SSH Tunneling, Proxies, Advanced E-Mail, Privacy
http://www.cotse.net/areyoureadyforus.html
|
|
|
|
|