animetosho / Nyuu

Flexible usenet binary posting tool
224 stars 32 forks source link

Stripping Injection-Info? #36

Closed shillshocked closed 6 years ago

shillshocked commented 6 years ago

Is this possible? Some Usenet providers post this header and I'd rather not have it. It's more a cosmetic issue - it just looks ugly. Same with Injection-Date. :)

I know of a workaround through telnet, but that is a bit complicated (and manual, so not useful for binary posters as they are set up). Surely you have a better way.

shillshocked commented 6 years ago

Also, if possible, I'd like to also leave User-Agent and Organization null or empty. I know I can change them to anything else, but I can't seem to remove them entirely. Is this do-able?

animetosho commented 6 years ago

it just looks ugly

To whom? NNTP headers aren't meant to be aesthetically pleasing, they're there to hold information.

Generally you can't change headers that a provider forcibly inserts. But you don't explain this workaround of yours, so I wouldn't have a clue.

The User-Agent header can be removed from config.js. Organization is not sent by default.

shillshocked commented 6 years ago

It involves telnetting into the usenet server, and manually pushing articles from one server to another using ihave, but with this method you can define the headers 100% and the usenet provider doesn't inject info.

Here is the basic methodology:

telnet server servername
authinfo user username
authinfo pass password
ihave <entersomemessageidhere@entersomedomainhere.com>
Path: enter desired path (you may choose not-for-mail as a default)
From: Name <user@somedomain.com>
Newsgroups: enter some newsgroup(s)
Date: enter date in format desired
Message-ID: must be identical to previous Message-ID within the previous ihave brackets
Subject: enter desired subject
Body:

Enter some text.

.

I'm sure this could be coded into the client itself...as a way to bypass all forced headers. It'd be a great party trick, and would be good for those who prefer more anonymity online.

animetosho commented 6 years ago

I'm not sure about stopping providers from putting in their own headers, but I don't mind implementing IHAVE posting if you want to give it a try.

My personal opinion is to just use the tools as they are. You're not winning any brownie points for twiddling with NNTP headers.