🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262841

Re: [dialog] Set the header date to a different TIMEZONE than the machine time zone?

#262841
From: Bernd Rose
Date: Sun, 02 Sep 2018 11:42
52 lines
4072 bytes
On Sun, 2nd Sep 2018 10:00:49 +0000 (UTC), R Radev wrote:

> It seems we both agree that it's crazy to adjust the whole date entry.
> It's just too dangerous in terms of potential screwups.

No. My opinion is: "Don't mess with date/timezone, at all". Not because it
is hard to do or easy to screw up. Actually, carefully written it is quite
easy and safe.

IMHO, most people who "require" such a function are just trolls who try 
to avoid certain kill filters. In my first answer I mentioned a possible
reason outside this scope. (If I wouldn't still give you the benefit of
doubt, we wouldn't discuss this matter, at all.) 

But in any case, such obfuscation techniques usually don't protect in the 
long run. Word choice, spelling, grammar, presence or absence of certain 
typos help to classify postings, even if they seem to come from different 
authors. These posts can then be analyzed by timing patterns: Core sleeping 
time, work time, lunch, time for shopping, holidays, feast days and so on. 
This helps to guess the timezone. 

When simulating postings from a certain timezone, you'd also need to 
simulate local language patterns. Changing to flexible timezones would
single out your postings, if you (maybe automatically) choose timezones 
where usually nobody posts to the Internet (on a specific subject). So,
neither automatic nor manual changes prevent from creating identifiable
patterns. Most people would neglect their own timezone (at all or more
often than others). Again, a pattern by itself.

Intersecting (even small) unusual answering time lags with network outage 
in certain regions of the Internet can narrow down your location further. 
Some of these lags are probably induced on purpose. - Not because of you, 
specifically, but to identify a whole bunch of users.

The quickest answer times with long typed texts done by you can be an age 
indicator (typing speed). The list goes on and on.

> I noted you said that this timezone (and date) is provided to
> OnBeforeSendingMessage so it might be too late to run the tzutil command in
> OnBeforeSendingMessage.

The whole raw ready-for-transmission message (headers and body) is handed
to OnBeforeSendingMessage. If you replace the whole date line with sth.
else (no matter, how the new date has been deduced/created) the new date
and time will be the ones seen by any server and client, afterwards.
 
> I guess I could set a custom script in Dialog to simply call tzutil.exe.
> Do you know, offhand, the syntax to call a Windows command from a script?

Reference the ShellExecute function from shell32.dll.

Bernd
Technical Details
Message-ID: <irvop6mh8036$.dlg@b.rose.tmpbox.news.arcor.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <pmfd3c$uop$1@neodome.net> <176wbldbyre5s.dlg@b.rose.tmpbox.news.arcor.de> <000wbldbyre5s.dlg@b.rose.tmpbox.news.arcor.de> <1w4ob1zdtdl03$.dlg@b.rose.tmpbox.news.arcor.de> <pmgccg$97d$1@neodome.net>

Show Full Headers
Complete Article Headers
Message-ID: <irvop6mh8036$.dlg@b.rose.tmpbox.news.arcor.de>
Subject: Re: [dialog] Set the header date to a different TIMEZONE than the machine time zone?
Date: Sun, 2 Sep 2018 13:42:07 +0200
From: Bernd Rose <b.rose.tmpbox@arcor.de>
References: <pmfd3c$uop$1@neodome.net> <176wbldbyre5s.dlg@b.rose.tmpbox.news.arcor.de> <000wbldbyre5s.dlg@b.rose.tmpbox.news.arcor.de> <1w4ob1zdtdl03$.dlg@b.rose.tmpbox.news.arcor.de> <pmgccg$97d$1@neodome.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: albasani.net
Lines: 52
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: news.albasani.net HYFcoXvcCrzgVn8nl5SJKHAStZofyHk5lfcQTC9P48MtXmMaDxToW3k96qnaqTgtb2C8dlYg5S28fH/iq0hQIg==
NNTP-Posting-Date: Sun, 2 Sep 2018 11:42:07 +0000 (UTC)
Injection-Info: news.albasani.net; logging-data="6wamV73z0NwI6LQXC4yu/GqS8SuWg0NDbnCGDNsHqTVq6yh6Y3thiOTGT+zm6MsAK61XpCH6j4EXJLXfv2WHUXB7635E+Ye4R461Q1Z6nDgQ2gr8GFAb2LAhGbpD9Rg9"; mail-complaints-to="abuse@albasani.net"
User-Agent: 40tude_Dialog/2.0.15.41 (9d146bb0.52.357)
Cancel-Lock: sha1:Zh3REhe2jlg/pyXCL4MLc/D/Qi8=
X-Received-Bytes: 3982
X-Received-Body-CRC: 2161911821