🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
20 messages
20 total messages Started by Alexandre Janssens Wed, 19 Apr 2017 17:20
[Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#261964
Author: Alexandre Janssens
Date: Wed, 19 Apr 2017 17:20
48 lines
3147 bytes
[Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing 
servers?

For reasons wholly beyond my control, my IP address sometimes changes, 
where Dialog almost always flubs it up in the first read action thereafter.

Why is that?

To better explain, this is a phenomenon which has been happening for quite 
a long time - maybe years but at least many months - but which is silent - 
and which causes no overt error - so the actual fact that it is happening 
took actual testing (which replicated what was happening in the real 
world).

In testing, this is what happens when nothing changes:
1. I doubleclick to catch up on a newsgroup, which works fine.
2. I post to the newsgroup, which works fine.
3. I doubleclick to catch up on the newsgroup, which works fine.

However, if my IP address changes between step 2 & 3, what happens is:
1. I doubleclick to catch up on a newsgroup, which works fine.
2. I post to the newsgroup, which works fine.
[my IP address changes]
3. I doubleclick to catch up on the newsgroup, but it fails.
4. I doubleclick to catch up on the newsgroup, but it fails (again).
5. I doubleclick to catch up on the newsgroup, and it works (finally).

In hind sight, I can skip the triple double-click steps by the following:
1. I doubleclick to catch up on a newsgroup, which works fine.
2. I post to the newsgroup, which works fine.
[my IP address changes]
3. I select Dialog: Online > Stop all tasks
4. I doubleclick to catch up on the newsgroup, and it works fine.

In practice, it's easier to use keyboard shortcuts, but there doesn't seem 
to be a keyboard shortcut for "stop all tasks", so I have found, in 
practice, that the keyboard shortcut for toggling online mode ("Dialog: 
Online > Online mode") works just as well and is easier to type.

So this is what I'm forced to do when my IP address changes on me:
1. I doubleclick to catch up on a newsgroup, which works fine.
2. I post to the newsgroup, which works fine.
[my IP address changes]
3. I press "Control+O" (Dialog: Online > Online mode) to toggle it off
4. I immediately press "Control+O" again (to toggle it back on)
5. I doubleclick to catch up on the newsgroup, and it works just fine.

Why?
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#261965
Author: Bernd Rose
Date: Wed, 19 Apr 2017 18:33
47 lines
3072 bytes
On Wed, 19th Apr 2017 17:20:03 +0000 (UTC), Alexandre Janssens wrote:

> For reasons wholly beyond my control, my IP address sometimes changes, 
> where Dialog almost always flubs it up in the first read action thereafter.
> 
> Why is that?

Read the "Threads and Jobs" topic of the "How Dialog works" section from
Dialog help file:

| Note that if there are no more jobs for a newsserver the connection is
| not immediately dropped, but kept open for another 3 minutes.

If Dialog always checked, whether the local IP changed during an open 
connection, the benefits (of keeping a connection alive in the first 
place) would be nullified.

> In practice, it's easier to use keyboard shortcuts, but there doesn't seem 
> to be a keyboard shortcut for "stop all tasks", so I have found, in 
> practice, that the keyboard shortcut for toggling online mode ("Dialog: 
> Online > Online mode") works just as well and is easier to type.
> 
> So this is what I'm forced to do when my IP address changes on me:
> 1. I doubleclick to catch up on a newsgroup, which works fine.
> 2. I post to the newsgroup, which works fine.
> [my IP address changes]
> 3. I press "Control+O" (Dialog: Online > Online mode) to toggle it off
> 4. I immediately press "Control+O" again (to toggle it back on)
> 5. I doubleclick to catch up on the newsgroup, and it works just fine.

Or create a script like:

Program StopLoad;
Begin
 ADo('OnlineMode');
 ADo('OnlineMode');
 ADoLater('GetNewHeadersInSelectedGroups');
End.

and assign it a hotkey or to a button.

If you need to stop running tasks, you might need to include:
 ADo('StopAllTasks');
That would require some more testing, though, because you'd need to 
time the commands for not interlinking with each other on execution.

Bernd
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#261970
Author: tlvp
Date: Thu, 20 Apr 2017 00:04
43 lines
3004 bytes
On Wed, 19 Apr 2017 17:20:03 +0000 (UTC), Alexandre Janssens wrote:

> For reasons wholly beyond my control, my IP address sometimes changes, 
> where Dialog almost always flubs it up in the first read action thereafter.
> 
> Why is that?

Everything is going to flub things up through an IP change, for several
reasons:

1) when your ISP changes your IP, there's a spell during which you have
*no* IP at all. During that time nothing can reach you;

2) anything a remote server prepares to send you in response to your
request while you held IP addy #1 will not reach you if it actually gets
sent once you hold IP addy #2; 

3) for any request you send to a remote server during the short spell while
you held no IP addy at all, that server will not know whither to respond.

There may be other scenarios I've neglected to mention, but they'll all
share the features of the three given above.

Keep trying, and sooner or later your new IP addy #2 will have settled in
your remote server will be able to locate it and respond appropriately, and
you'll be able to receive the response.

Bernd added other reasons characteristic of Dialog, but the problem itself
is really quite a bit more widespread. My ISP also enjoys taking down and
then restoring my IP addy -- often without changing it -- but it can take
as long as 5 minutes before I have an IP again once it's lost. During that
time I have no IP, no DNS, perhaps even I'll have temporary Authentication
failure and failure of PPPoE -- in essence, my WAN connection is down --
until it all comes back up again, of its own volition, as it were, as the
diagnostic software on the modem/route/AP's administrative homepage
unambiguously documents, time and time again :-{ .

Browsers, mailers, FTP utilities, Dialog -- they all suffer alike when such
IP loss happens.

HTH. Cheers, -- tlvp
-- 
Avant de repondre, jeter la poubelle, SVP.
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#261973
Author: Alexandre Janssens
Date: Thu, 20 Apr 2017 00:47
27 lines
1916 bytes
Reading <news:nl0azmvoiwlc$.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:

>| Note that if there are no more jobs for a newsserver the connection is
>| not immediately dropped, but kept open for another 3 minutes.
> 
> If Dialog always checked, whether the local IP changed during an open 
> connection, the benefits (of keeping a connection alive in the first 
> place) would be nullified.

This answers the question!
Thanks for catching that 3-minute rule!

> Or create a script like:
> 
> Program StopLoad;
> Begin
>  ADo('OnlineMode');
>  ADo('OnlineMode');
>  ADoLater('GetNewHeadersInSelectedGroups');
> End.

I never created a script before.
Pressing "Settings > Script > Scripting", there are "Message Scripts" and
there are "Event Scripts".

Which type would this be?
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262012
Author: Alexandre Janssens
Date: Thu, 20 Apr 2017 00:54
23 lines
2059 bytes
Reading <news:3jvgwmgebvoj$.1lnjdi9ut6elf.dlg@40tude.net>, tlvp
<mPiOsUcB.EtLlLvEp@att.net> wrote:

> Keep trying, and sooner or later your new IP addy #2 will have settled in
> your remote server will be able to locate it and respond appropriately, and
> you'll be able to receive the response.

Thank you for that advice. 

Trying again works but not always the first, second, or third time.
Also it seems to work if I switch newsgroups and then switch back.
But, again not always. And not always the first or second time either.

I think what Bernd said is what's happening which is that Dialog tries to
keep the connection open for three minutes, unless "something" makes Dialog
not wait for the three minutes.

Things that seem to be more reliable to make Dialog not wait are when I
press the "Stop all tasks" button or when I toggle the "Online mode" off
and then back on.

It's all good now because I only wanted to know why, and Bernd explained
why.
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262011
Author: Bernd Rose
Date: Thu, 20 Apr 2017 17:12
16 lines
1812 bytes
On Thu, 20th Apr 2017 00:47:41 +0000 (UTC), Alexandre Janssens wrote:

>> Program StopLoad;
[...]
> I never created a script before.
> Pressing "Settings > Script > Scripting", there are "Message Scripts" and
> there are "Event Scripts".
> 
> Which type would this be?

Neither. It is the third type: <Custom Scripts>. 

Press F1 after opening the scripting window. This should directly open 
the "The "Scripting window" topic from Dialog help file.

Bernd
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262004
Author: Alexandre Janssens
Date: Thu, 20 Apr 2017 22:40
36 lines
2574 bytes
Reading <news:1fnd0ka6es7ly.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:

> Neither. It is the third type: <Custom Scripts>.

This is my first custom script, so would you just look over the explicit
sequence below, which was written for others to be able to follow exactly
also, as their first custom script.

0. Dialog: Help > Help contents > Reference > Keyboard shortcuts
   Note that the 9 available alphabetic-control shortcuts are:
   Ctrl+G, Ctrl+H, Ctrl+I, Ctrl+J, Ctrl+K, Ctrl+M, Ctrl+P, Ctrl+Q, Ctrl+Z
1. Dialog: Settings > Scripting > Scripting
2. Scripting: Custom scripts
3. Scripting: File > New script > 
              Please enter the name for the new script = StopLoad
   Note that this creates "StopLoad.ds".
   Note that you can use any name you like.
4. Paste the following into the editing window:
Program StopLoad;
Begin
 ADo('OnlineMode');
 ADo('OnlineMode');
 ADoLater('GetNewHeadersInSelectedGroups');
End.
5. Scripting: Script > Compile (should say "Successfully compiled")
6. Scripting: File > Save
7. Scripting: File > Close
8. Dialog: Settings > Configure buttons/shortcuts
9. Customize Toolbars: Commands > Categories > Scripts > StopLoad > 
   Shortcut = (use something not in the default list, e.g., Ctrl+G)
10. Customize Toolbars: Close

To use the shortcut, just press "Control+G" any time you want Dialog to go
offline and then back online, in order to more gracefully recover from an
IP address change.
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262005
Author: Bernd Rose
Date: Fri, 21 Apr 2017 04:53
23 lines
2143 bytes
On Thu, 20th Apr 2017 22:40:42 +0000 (UTC), Alexandre Janssens wrote:

> 4. Paste the following into the editing window:
> Program StopLoad;
[...]
> End.

Because the text to be pasted is a complete script, you'd need to
paste overwriting the automatically created program stub, of course.

> 7. Scripting: File > Close
> 8. Dialog: Settings > Configure buttons/shortcuts

You can open the configuration dialog from inside the Script Editor
window. Look at the lower left corner.

> To use the shortcut, just press "Control+G" any time you want Dialog to go
> offline and then back online, in order to more gracefully recover from an
> IP address change.

If the script works as intended...  ;-)

Bernd
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262006
Author: Alexandre Janssens
Date: Fri, 21 Apr 2017 13:58
37 lines
2661 bytes
Reading <news:1e7pnyzyik5lp$.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:

> Because the text to be pasted is a complete script, you'd need to
> paste overwriting the automatically created program stub, of course.

Thanks for pointing that out.
When I write cut-and-paste tutorials, I try to cover all the mistakes since
a noob will always make them. That's not a mistake I made, so I will add a
caveat to overwrite the existing boilerplate stuff.

>> 7. Scripting: File > Close
>> 8. Dialog: Settings > Configure buttons/shortcuts
> 
> You can open the configuration dialog from inside the Script Editor
> window. Look at the lower left corner.

Thanks for pointing that out, Bernd. I will add that also for future
reference. The Dialog scripting interface is pretty neat.

> 
>> To use the shortcut, just press "Control+G" any time you want Dialog to go
>> offline and then back online, in order to more gracefully recover from an
>> IP address change.
> 
> If the script works as intended...  ;-)

It seems to do two things.... 
a. It toggles the connection (which is required to break the 3-minute wait)
b. It loads the current newsgroup's new headers

Thanks for helping me "use" (you wrote it) my first custom script!
I hope others try it since you made it so easy for them to do it in two
minutes and be successful.

It's probably not the *first* nor most important script someone would want
to use, but it is the one we had at hand! :-)
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262007
Author: Alexandre Janssens
Date: Fri, 21 Apr 2017 14:12
42 lines
2721 bytes
Reading <news:nl0azmvoiwlc$.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:

>| Note that if there are no more jobs for a newsserver the connection is
>| not immediately dropped, but kept open for another 3 minutes.
> 
> If Dialog always checked, whether the local IP changed during an open 
> connection, the benefits (of keeping a connection alive in the first 
> place) would be nullified.

BTW, Bernd, isn't this akin to a "DNS Leak" style unwanted "leakage" of IP
information in that, let's say, the goal is to use VPN in order to protect
your real IP address' privacy.

Assuming IP address privacy is the goal, I can see that this Dialog
propensity to connect to the previous server can accidentally "leak" your
IP address.

To protect the users' privacy, we'd probably want to turn off Dialog's
propensity to leak the previous IP address to the current news server.

Seems to me that should be easy, in a "custom script", of this sort if the
users' use model is to queue up messages and then send them en masse with
the Dialog comamnd "Dialog: Online > Send all messages in outbox".

Program SafeSend;
Begin
 ADo('OnlineMode');
 ADo('OnlineMode');
 ADoLater('run-the-command-to-send-all-messages-in-the-outbox');
End.

The question that arises is whether this script can *replace* the existing
Dialog command to "send all messages in outbox"?

Does anyone know, offhand, the answers to the obvious resulting 2
questions?

Can a script *replace* an existing command? (Or can the script only *add* a
new command?)
And is there any way to turn off the propensity of Dialog to leak the IP
address to the previous news server for 3 minutes after connecting?
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262008
Author: Alexandre Janssens
Date: Fri, 21 Apr 2017 15:46
76 lines
4094 bytes
Reading <news:odd3vs$13bt$1@gioia.aioe.org>, Alexandre Janssens
<AlexandredeBelgique@ozone.be> wrote:

> Program SafeSend;
> Begin
>  ADo('OnlineMode');
>  ADo('OnlineMode');
>  ADoLater('run-the-command-to-send-all-messages-in-the-outbox');
> End.

To help others, I found a list of ADo commands, where the custom script to
prevent accidental IP privacy leaks by Dialog when sending queued messages
in the outbox becomes.

Program SafeSend;
Begin
 ADo('OnlineMode');
 ADo('OnlineMode');
 ADoLater('SendAllInOutbox');
End.

Here is a writeup how to add that custom script incorporating the tutorial
step suggestions that Bernd suggested for the previous StopLoad script. The
purpose of this writeup is to help others get up to speed on writing custom
scripts faster and easier than it took me, where the goal is always that
the next person has an easier time of it than the previous person.

0. Make a note of any unused "Control+KEY" shortcuts:
   Dialog: Help > Help contents > Reference > Keyboard shortcuts
   Note: By default, the 9 available alphabetic-control shortcuts are:
   Ctrl+G, Ctrl+H, Ctrl+I, Ctrl+J, Ctrl+K, Ctrl+M, Ctrl+P, Ctrl+Q, & Ctrl+Z

   And make a note of all the possible Dialog "ADo" commands:
   http://bertel.lundhansen.dk/?page=dialog/functionlist
1. Open the Scripting input GUI:
   Dialog: Settings > Scripting > Scripting
2. Tell it you're creating a custom script:
   Scripting: Custom scripts
3. Start a new script (which you can name anything you like):
   Scripting: File > New script > 
   Please enter the name for the new script = SafeSend > [OK]
4. Note that this creates a boilperplate custom script named "SafeSend.ds".
   Program SafeSend;
   Begin
   End.
5. Replace (or modify) the boilerplate custom script to look like this:
   Program SafeSend;
   Begin
    ADo('OnlineMode');
    ADo('OnlineMode');
    ADoLater('SendAllInOutbox');
   End.
6. Compile your new custom script:
   Scripting: Script > Compile (should say "Successfully compiled")
7. Run your new custom script (because it can error in running also!)
   Scripting: Script > Run (should say "Successfully executed")
8. If desired, set a shortcut to execute your custom script:
   Scripting: Custom scripts > [Show button config]
   Customize Toolbars: Commands > Categories > Scripts > 
   (at this point, select your custom script by name) 
   Shortcut = (use something not in the default list, e.g., Ctrl+I)
   Customize Toolbars: Close
   Note: You can also use "Dialog: Settings > Configure buttons/shortcuts"
   to change or assign a keyboard shortcut to a script after the fact.
9. Save your new custom script and keyboard shortcut:
   Scripting: File > Save
10. Close the scripting GUI:
    Scripting: File > Close

To use the shortcut, just press "Control+I" any time you want Dialog to go
offline and then back online before sending any messages. 

This should prevent some Dialog IP privacy leaks.

-- 
This message is being sent by that script so if you see this, it worked! 
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262009
Author: Bernd Rose
Date: Fri, 21 Apr 2017 15:50
57 lines
3669 bytes
On Fri, 21st Apr 2017 14:12:12 +0000 (UTC), Alexandre Janssens wrote:

>> If Dialog always checked, whether the local IP changed during an open 
>> connection, the benefits (of keeping a connection alive in the first 
>> place) would be nullified.
> 
> BTW, Bernd, isn't this akin to a "DNS Leak" style unwanted "leakage" of IP
> information in that, let's say, the goal is to use VPN in order to protect
> your real IP address' privacy.

No. Source and destination address are always openly visible in TCP/IP 
packets. (You need a tunnel protocol or the like to hide/spoof them to
potential men in the middle.) 

If you want to protect the payload transported over that "open" connection, 
you need to run an appropriate protocol *on top* of the TCP/IP connection, 
like SSL/TLS. Such a protocol will not be compromised by losing ones own IP.

Losing/changing the local IP (while a connection is open) just results 
in losing any packet sent from any of both sides.

>  ADoLater('run-the-command-to-send-all-messages-in-the-outbox');

ADoLater('SendAllInOutbox');

To get a list of all supported commands save and execute this custom script:

;-----------------------------
Program ShowAllActions;  
Begin
 WriteLn(GetActionList());
End.
;-----------------------------

For an English repository of Dialog scripts you can have a look at:
  http://dialog.datalist.org/scripts/script_library.html
Two good German/Austrian Dialog script dedicated sites are:
  http://4d.vollmeier.at
  http://kh-rademacher.de/4d

For a reference of the Dialog scripting language (Object Pascal) you 
can still check the website recommended inside the Dialog help file:

  www.marcocantu.com/epascal/default.htm

> Can a script *replace* an existing command? (Or can the script only *add* a
> new command?)

Depends on what you consider a replacement. As long as you manage to 
duplicate the functionality of an internal function (without calling
this function anyways in the end), you can always execute your own
function instead of the internal one. If you browse through the script
repositories I linked to above, you'll see some amazing solutions.
From a certain point on, it would be easier to completely write a new
Usenet/Mail client instead of tweaking 40tude Dialog, though...

Bernd
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262010
Author: Alexandre Janssens
Date: Fri, 21 Apr 2017 22:12
262 lines
8591 bytes
Reading <news:1hbg96ql494l$.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:

>> BTW, Bernd, isn't this akin to a "DNS Leak" style unwanted "leakage" of IP
>> information in that, let's say, the goal is to use VPN in order to protect
>> your real IP address' privacy.
> 
> No. Source and destination address are always openly visible in TCP/IP 
> packets. (You need a tunnel protocol or the like to hide/spoof them to
> potential men in the middle.) 

I was assuming VPN is the tunneling protocol.
The "leak" occurs (I think) when the VPN IP address *changes*.

If Dialog still thinks it's connected to the original VPN, it might leak
the new vpn to the news server.
 
> If you want to protect the payload transported over that "open" connection, 
> you need to run an appropriate protocol *on top* of the TCP/IP connection, 
> like SSL/TLS. Such a protocol will not be compromised by losing ones own IP.

The scenario (which is common in some use models) is thus;

User works from home & therefore has three IP addresses:
IP1 = Home IP address <== for personal stuff like email (never for Usenet)
IP2 = Work VPN IP address <== for work stuff including work-related Usenet
IP3 = VPN IP address <== for private stuff including possibly Usenet

Here's a situation where Dialog may leak the IP address I think:

The user is on IP2 VPN when he sends a work-related Usenet post via Dialog,
and then the user switches to IP3 just to send a personal Usenet post via
Dialog. 

If the user *knows* that Dialog leaks the old IP address for 3 minutes, the
user can wait out the 3 minutes or better yet, the user can press the
Control+O keyboard shortcut twice.

But what if the user does not know that Dialog can leak his old IP address?

If the user is unaware that Dialog can leak his old IP address, when he
switches to the private IP3, and tries to read or post in that 3-minute
danger zone, the actual post will attempt to go to the old IP address but
it will give out his new IP address (the one he wanted to keep secret!).

Can that happen? 
 
> Losing/changing the local IP (while a connection is open) just results 
> in losing any packet sent from any of both sides.

But I think that at the start of the 3 minutes the user was on IP2 whereas
just a moment later he wants to be on IP3 and he doesn't want the news
server that knows his actions from IP2 to know about his actions from IP3.

The user would prefer to keep his work and personal connection
unassociated.

> ADoLater('SendAllInOutbox');
> 
> To get a list of all supported commands save and execute this custom script:
> 
> ;-----------------------------
> Program ShowAllActions;  
> Begin
>  WriteLn(GetActionList());
> End.
> ;-----------------------------

Nice. Thanks. Most seem to have recognizable names.
So that makes things much easier to customize!

For the record, here they are, in alphabetical order.
Ado('About');
ADo('AddBookmark');
ADo('AddMarker');
ADo('AddPlonkFilter');
ADo('Addressbook');
ADo('AddSenderToAddressBook');
ADo('AddSubjectPlonkFilter');
ADo('AdjustScoreDown');
ADo('AdjustScoreUp');
ADo('ApplyScoring');
ADo('ArticlePane');
ADo('AutoMarkRead');
ADo('AutoSelectImage');
ADo('BackMultimedia');
ADo('Bookmarks');
ADo('Bugreport');
ADo('CancelPosting');
ADo('CatchupWithSelectedGroups');
ADo('CheckNewHeadersinSelectedGroups');
ADo('CheckNewHeadersinSubscribedGroups');
ADo('ClearMarkerList');
ADo('CloseMultimedia');
ADo('CollapseAllThreads');
ADo('CollapseExpandSortPanel');
ADo('CollapseThread');
ADo('CompactDatabase');
ADo('ConfigureButtons');
ADo('Copy');
ADo('CopyMoveArticle');
ADo('DefaultGroupOptions');
ADo('DeleteBody');
ADo('DeleteFolder');
ADo('DeleteGroup');
ADo('DeleteMessage');
ADo('EditHeaderListColumns');
ADo('EditNGListColumns');
ADo('EditVisibleHeaders');
ADo('ExitDialog');
ADo('ExpandAllThreads');
ADo('ExpandCollapseBodyHeaderPanel');
ADo('ExpandThread');
ADo('Export');
ADo('Find');
ADo('FindMessageID');
ADo('FindNext');
ADo('FirstMessage');
ADo('FocusFilterCheckbox');
ADo('FocusFilterOn');
ADo('FocusSortDropdownList');
ADo('FollowUpToUsenetMessage');
ADo('ForwardQuoted');
ADo('ForwardUnquoted');
ADo('GeneralSettings');
ADo('GetAllheadersInSelectedGroups');
ADo('GetCompleteGrouplists');
ADo('GetMarkedMessageBodies');
ADo('GetNewEmailsForAllIdentities');
ADo('GetNewEmailsForCurrentIdentity');
ADo('GetNewHeadersInSelectedGroups');
ADo('GetNewHeadersInSubscribedGroups');
ADo('GetSelectedMessageBodies');
ADo('GlossarySettings');
ADo('GoToNextMarker');
ADo('GoToPreviousMarker');
ADo('GroupGroupTogether');
ADo('HeaderlistPane');
ADo('Help');
ADo('Ignore');
ADo('Import');
ADo('InsertSpacer');
ADo('Keep');
ADo('LastMessage');
ADo('MakeSpoileredTextVisible');
ADo('ManageCategories');
ADo('ManageViews');
ADo('Mark');
ADo('MarkAllGroupsRead');
ADo('MarkAllRead');
ADo('MarkAllUnread');
ADo('MarkRead');
ADo('MarkSelectedGroupsRead');
ADo('MarkSelectedGroupsUnread');
ADo('MarkUnread');
ADo('MessageProperties');
ADo('MonospacedFont');
ADo('MoveGroupDown');
ADo('MoveGroupUp');
ADo('NewEmailMessage');
ADo('NewFolder');
ADo('NewPostToNewsgroup');
ADo('NewsgroupPane');
ADo('NextMessage');
ADo('NextMessageInHistory');
ADo('NextPane');
ADo('NoAction');
ADo('OlderBrother');
ADo('OnlineMode');
ADo('PauseMultimedia');
ADo('PlayMultimedia');
ADo('PreviousMessage');
ADo('PreviousMessageInHistory');
ADo('PreviousPane');
ADo('PrintArticle');
ADo('PrintPreview');
ADo('PurgeSelectedGroups');
ADo('PurgeSubscribedGroups');
ADo('RawView');
ADo('ReconstructThread');
ADo('RefreshNewsgroupDescriptions');
ADo('RefreshView');
ADo('RegExpTester');
ADo('ReloadScripts');
ADo('RenameFolder');
ADo('ReplyByEmail');
ADo('ResetScore');
ADo('Rot13');
ADo('SampleHeadersFromSelectedGroups');
ADo('ScoringSettings');
ADo('Scripting');
ADo('ScriptingEnabled');
ADo('SearchAtGoogle');
ADo('SelectAll');
ADo('SelectedGroupOptions');
ADo('SendAllInOutbox');
ADo('ServerSettings');
ADo('SetupWizard');
ADo('ShowHeaders');
ADo('ShowMessagePartsMenu');
ADo('ShowStatusWindow');
ADo('ShowViewsMenu');
ADo('SingleKeyRead');
ADo('SkipRetrieveToNextUnreadMessage');
ADo('SkipRetrieveToNextUnreadMessageBody');
ADo('SkipRetrieveToNextUnreadMessageInThread');
ADo('SkipToNextUnreadMessage');
ADo('SkipToNextUnreadMessageBody');
ADo('SkipToNextUnreadMessageInThread');
ADo('SkipToNextUnreadNewsgroup');
ADo('SkiptToNextThread');
ADo('SortGroupAlphabetically');
ADo('StopAllTasks');
ADo('StopMultimedia');
ADo('Subscribe');
ADo('SupersedePosting');
ADo('SupressQuotedText');
ADo('SupressSignature');
ADo('UnicodeCollapse');
ADo('UnicodeExpand');
ADo('UpdateDBfiles');
ADo('UpdateGrouplist');
ADo('UpToParent');
ADo('View1');
ADo('View10');
ADo('View2');
ADo('View3');
ADo('View4');
ADo('View5');
ADo('View6');
ADo('View7');
ADo('View8');
ADo('View9');
ADo('Watch');
ADo('Wiki');
ADo('WindowLayout');
ADo('WordWrap');
ADo('YoungerSister');
ADo('ZoomWindow');

Program ListADoCommands;

// A text file with all the actions and your existing scripts
const
  filename = 'C:\RawListOfCommands.txt';
  //write your path and a filename of your choice
var
  myString: string;
  list: TStringList;

Begin
  list := TStringList.Create();
  myString:=GetActionList;

try
  list.add(myString);
  list.SaveToFile(filename);
finally
  list.free;
end;

End.
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262014
Author: Bernd Rose
Date: Sat, 22 Apr 2017 06:15
17 lines
2005 bytes
On Fri, 21st Apr 2017 22:12:38 +0000 (UTC), Alexandre Janssens wrote:

> I was assuming VPN is the tunneling protocol.

It is /one/ method.

> The "leak" occurs (I think) when the VPN IP address *changes*.

I didn't know you were describing a VPN scenario.

Anyway, Dialog doesn't handle the connection details on IP level. That's 
a task of the Windows TCP/IP stack, which will send packages containing a 
valid (current) source IP. Ensuring, that packets meant to be send over
a VPN connection are not send elsewhere, is a task handled by the system,
not Dialog.

Bernd
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262015
Author: Alexandre Janssens
Date: Sat, 22 Apr 2017 06:43
16 lines
1936 bytes
Reading <news:wvcn2u97uw21.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:

> Anyway, Dialog doesn't handle the connection details on IP level. That's 
> a task of the Windows TCP/IP stack, which will send packages containing a 
> valid (current) source IP. Ensuring, that packets meant to be send over
> a VPN connection are not send elsewhere, is a task handled by the system,
> not Dialog.

My only suggestion to others is to use the scripts provided in this thread
to prevent IP leaks when using Dialog. 

I don't really understand what happens since all I know is that Dialog
falters when the IP address changes so I'll drop it here since I have the
scripts already running in place of the default scripts for checking and
sending messages.
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262016
Author: Bernd Rose
Date: Sat, 22 Apr 2017 07:56
14 lines
2041 bytes
On Sat, 22nd Apr 2017 06:43:36 +0000 (UTC), Alexandre Janssens wrote:

>> Anyway, Dialog doesn't handle the connection details on IP level. That's 
>> a task of the Windows TCP/IP stack, which will send packages containing a 
>> valid (current) source IP. Ensuring, that packets meant to be send over
>> a VPN connection are not send elsewhere, is a task handled by the system,
>> not Dialog.
> 
> My only suggestion to others is to use the scripts provided in this thread
> to prevent IP leaks when using Dialog. 

Snake oil.

Bernd
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262017
Author: Alexandre Janssens
Date: Sat, 22 Apr 2017 15:23
43 lines
2885 bytes
Reading <news:q4a59zp5kf0c$.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:

>> My only suggestion to others is to use the scripts provided in this thread
>> to prevent IP leaks when using Dialog. 
> 
> Snake oil.

I can't disagree because I don't know enough to know what Dialog is doing
with respect to give "an" ip address under this circumstance.

User as user1 on his home IP, checks newsgroups.
User switches from IP1 to VPN.
User as user2 on VPN, checks newsgroup.
It fails.
It fails again.
Dialog eventually recovers.
User as user2 on VPN, checks newsgroup successfully.

What information did Dialog leak to the news server during the process
where Dialog was faltering?

I don't know but the question must be asked.
I think you are saying that nothing is leaked.

But it seems to me dialog was faltering and during that faltering process,
Dialog was telling the news server that it was on the old address when it
wasn't on the old address.

But I don't understand this stuff.
I just know that Dialog was doing "something" when it was faltering.

I can't argue with you because I don't know what it was doing.
It's like a burgler was in your house but you don't know what he stole, if
anything. You have to worry unless someone shows what actually happened.

Certainly Dialog faltered.
Certainly Dialog maintained a connection that was no longer valid.
What did it tell the news server during that faltering process.

I do not know enough about networking to know the answer.
I can only worry that the burglar "may" have taken something since clearly
the burglar was in the house.
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262018
Author: Bernd Rose
Date: Sat, 22 Apr 2017 20:32
32 lines
2769 bytes
On Sat, 22nd Apr 2017 15:23:19 +0000 (UTC), Alexandre Janssens wrote:

>>> My only suggestion to others is to use the scripts provided in this thread
>>> to prevent IP leaks when using Dialog. 
>> 
>> Snake oil.
> 
> I can't disagree because I don't know enough to know what Dialog is doing

Dialog uses sockets provided by the Windows system for connections. 

  https://en.wikipedia.org/wiki/Network_socket

Because the connections are bi-directional, the sockets must be "bound" 
to a specific IP address on a specific network interface. A bound socket 
cannot be re-bound to another IP address on the same interface, let alone 
on another interface. To get packets out again, a new socket has to be 
established.

[IP address change]
> What information did Dialog leak to the news server during the process
> where Dialog was faltering?

None at all.

Btw.: If you're concerned with re-identification and super-privacy
you shouldn't use a client with a very small user base and (as long
as re-identification by a server is an issue) a very typical (because
somewhat dated) set of supported SSL/TLS cipher suites and handshake
routines. (And the like.)

Bernd
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262019
Author: Alexandre Janssens
Date: Sun, 23 Apr 2017 16:44
59 lines
4199 bytes
Reading <news:683yyzpu5crt$.dlg@b.rose.tmpbox.news.arcor.de>, Bernd Rose
<b.rose.tmpbox@arcor.de> wrote:

> Dialog uses sockets provided by the Windows system for connections. 
>   https://en.wikipedia.org/wiki/Network_socket

I think we have to rely on you Bernd, to tell us whether an "ip address" is
leaked because the explanations at that web page for "socket" alone, are
almost incomprehensible as I thought I knew what a "port" was (eg port 119)
but now I don't even know if I understood ports, let alone sockets.
   "The term "socket" is by analogy with physical female connectors,
   communication between two nodes through a channel being visualized 
   as a cable with two male connectors plugging into sockets at each node.
   Similarly, the term "port" (another term for a female connector) is
   used for external endpoints at a node, and the term "socket" is also
   used for an internal endpoint of local inter-process communication 
   (IPC) (not over a network)." 

> Because the connections are bi-directional, the sockets must be "bound" 
> to a specific IP address on a specific network interface. 

I'm trying, really I am, Bernd, to understand but I need to get specific to
remove all the unknown possibilities. All I really want to know is whether
Dialog "leaks" the "new" IP address to the old news server.

 Personal nym1 on personal IP address 1.2.3.4
 Company nym2 on company VPN address 5.6.7.8
 There is also potentially newsserver1 & newsserver2


>> What information did Dialog leak to the news server during the process
>> where Dialog was faltering?
> 
> None at all.

Taking the simplest case I can think of with the fewest variables.
< 1 > User as nym1 is on his home IP address 1.2.3.4.
< 2 > He checks the newsgroup using newsserver1:119 from IP 1.2.3.4
< 3 > Reading the news, he wants to post using his company nym & vpn
< 4 > So he switches to company VPN IP 5.6.7.8 & his company nym
< 5 > He presses "Dialog: Action > Send now" but Dialog falters.
< 6 > He presses "Dialog: Action > Send now" but Dialog falters again.
< 7 > He presses "Dialog: Action > Send now" and finally Dialog sends it.

The simplest question that I can ask in that scenario is what IP address
did the newsserver see in steps < 5 > and < 6 >?

> Btw.: If you're concerned with re-identification and super-privacy
> you shouldn't use a client with a very small user base and (as long
> as re-identification by a server is an issue) a very typical (because
> somewhat dated) set of supported SSL/TLS cipher suites and handshake
> routines. (And the like.)

Super privacy is different than just basic privacy.
Basic privacy starts with simply knowing what is happening.
That's all I'm asking here.

What IP address did Dialog give the newsserver in steps 5 and 6 in the
scenario above is mainly what I'm trying to figure out.
Re: [Dialog] Why might "Control+O" or "Stop all tasks" be needed when changing servers?
#262020
Author: Bernd Rose
Date: Sun, 23 Apr 2017 18:37
32 lines
3175 bytes
On Sun, 23rd Apr 2017 16:44:16 +0000 (UTC), Alexandre Janssens wrote:

> Taking the simplest case I can think of with the fewest variables.
> < 1 > User as nym1 is on his home IP address 1.2.3.4.
> < 2 > He checks the newsgroup using newsserver1:119 from IP 1.2.3.4
> < 3 > Reading the news, he wants to post using his company nym & vpn

Run "netstat -bn" (or "netstat -bf" if this better suites you) from an
Admin command prompt.

> < 4 > So he switches to company VPN IP 5.6.7.8 & his company nym
> < 5 > He presses "Dialog: Action > Send now" but Dialog falters.
> < 6 > He presses "Dialog: Action > Send now" but Dialog falters again.
> < 7 > He presses "Dialog: Action > Send now" and finally Dialog sends it.

Run the netstat command again. (If you like, you can execute it after
every single step above.)

You'll see, that Dialog uses (system-created) socket connection for
any single combination of local and remote IP. *No* data from any
connection not matching source /and/ destination will be sent over
another connection. 

For step 7 to be successful, a new socket has to be opened. In steps 
5 and 6 Dialog just tries to send from old source IP to target IP and 
fails, because the source IP isn't valid anymore. - Wich means, the 
socket cannot be used /at the moment/. If the connection is up and 
running, again, before the socket times out, the data will be send 
using that "old" socket connection, tough. This approach enables to
"sit out" temporary network loss.

Bernd
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads