Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: 1 2 [3] 4

Author Topic: Using DSLstats to detect line errors and force line to resync.  (Read 2843 times)

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31194
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #30 on: January 09, 2018, 04:57:43 PM »

Both Mail Washer and Outlook see no date field when sent from DSLstats

These were from the other day

1) In MailWasher - See empty date sent field and how they always go to the bottom of the screen
2) Email sent out via Outlook which automatically inserted a date field when viewed in Outlook
3) Email received from DSLstats.  Note how sent field says None when viewed in Outlook.


Header from email with null date field,  does show a delivery time though.
Code: [Select]
Return-Path: <xxxxx.co.uk>
Delivered-To: xxxxxx.co.uk
Received: from kitz.servers.eqx.misp.co.uk
by kitz.servers.eqx.misp.co.uk with LMTP id 8BGyADUiUlp5cQAAJ4RmLg
for <xxxxxxco.uk>; Sun, 07 Jan 2018 13:35:49 +0000
Return-path: <xxxxxxco.uk>
Envelope-to: xxxxxxxco.uk
Delivery-date: Sun, 07 Jan 2018 13:35:49 +0000
Received: from [my IP] (port=49369 helo=si7)
by kitz.servers.eqx.misp.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89_1)
(envelope-from <xxxxxxx.co.uk>)
id 1eYB76-0007ax-Rd
for xxxxxxxco.uk; Sun, 07 Jan 2018 13:35:48 +0000
From: xxxxxxxxco.uk
To: xxxxxxxxx.co.uk
Subject: DSLstats alert

Headers from email sent via outlook.   Note additional fields under the Subject field which includes a date field.

Code: [Select]
Return-Path: <xxxxxx.co.uk>
Delivered-To: xxxxxx.co.uk
Received: from kitz.servers.eqx.misp.co.uk
by kitz.servers.eqx.misp.co.uk with LMTP id EDEiAcQbUlqRYgAAJ4RmLg
for <xxxxxxxco.uk>; Sun, 07 Jan 2018 13:08:20 +0000
Return-path: <xxxxxxxxco.uk>
Envelope-to: xxxxxxx.co.uk
Delivery-date: Sun, 07 Jan 2018 13:08:20 +0000
Received: from [myIP] (port=65517 helo=si7)
by kitz.servers.eqx.misp.co.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89_1)
(envelope-from <xxxxxxxx.co.uk>)
id 1eYAgV-0006Yu-Og
for xxxxxxxx; Sun, 07 Jan 2018 13:08:19 +0000
From: "xxxxxxx.co.uk>
To: "'DSLalarm'" <xxxxxxxco.uk>
Subject: kitz alarm test
Date: Sun, 7 Jan 2018 13:08:19 -0000
Message-ID: <012401d387b8$96e88770$c4b99650$@co.uk>
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_0125_01D387B8.96E88770"
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AdOHuJa/NVcLJQ7kSeuYCDHhdkUkDw==
Content-Language: en-gb

« Last Edit: January 09, 2018, 05:01:11 PM by kitz »
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31194
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #31 on: January 09, 2018, 05:13:34 PM »

Off the wall suggestion:

If when you are out of the house you won't be transferring much data could you use a router that allows you use a 3/4G dongle as backup. Then when you detect a high error rate just shut the xDSL down until you return home when you can restart it manually? No risk of a loop with that approach!

Problem atm is getting an alert on my phone when dslstats detects high error rate :(

I have Kasa set up with a TP-link HS-100 plug so that if Im out I can remotely switch the router off from my phone.   
Then as long as I schedule the modem to come back up before disconnecting it..  Kasa will bring the modem back up again.       
Bringing it back up is a good idea as this then should negate any down time affecting the days MTBE.  eg if I leave the modem off for 12 hours that means only 1440 Err Secs before DLM will take action compared to 2880 for a full day.    Rebooting the modem always clears the stuck error spikes.



-----

Quote
I wonder if it might be worth trying a different email account for sending the alerts?

Good idea, Ive tried so far with the new email account and also the site email (both had been listed as priority senders in my phone for testing).    Neither showed date.  I wonder if its something to do with both emails coming from my server.   
I shall test using my PN email as sender.

Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31194
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #32 on: January 09, 2018, 05:49:46 PM »

I shall test using my PN email as sender.

Same problem :'(
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

d2d4j

  • Reg Member
  • ***
  • Posts: 654
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #33 on: January 09, 2018, 06:17:28 PM »

Hi kitz

I could be wrong sorry, old tired eyes but your log of email shows 2 time stamps

If you send a test from dslstats and view using webmail, can you see the time stamps

I am wondering if you have it set to strip time stamps perhaps

Many thanks

John
Logged

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31194
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #34 on: January 09, 2018, 07:14:05 PM »

Dont use webmail Im afraid :/

Quote
am wondering if you have it set to strip time stamps perhaps

Set up where though?   Why would it only not show the date when its been sent via dslstats?
It shows date stamp fine for every other mail just not dslstats mail :(

If sent by Outlook it shows this field   (see above for whole headers).   
DSLstats mail doesn't even though it does have the times my server received it.


Quote
Subject: kitz alarm test
Date: Sun, 7 Jan 2018 13:08:19 -0000

Both sets of headers show 2 timestamps under received sections plus a delivery date.   The one sent by Outlook shows a 4th field specifically marked Date.


I can send mail from exactly the same email address using my email client and it will always show a date and time.
Yet mail that arrives from dslstats doesnt show a date in mailwasher nor within Outlook..  or more correctly in Outlook it says 'None'.
It does this from mail sent from my own domain and plusnet mail :(

The datastamp may just be a red herring but priority notifications work if I send mail from Outlook and my phone buzzes.  Yet no notification if sent from dslstats.


-----
Nvm...    it was worth a try.    It should work, but unfort it isnt doing quite right.     
Mail does come through from DSLstats but I have to manually check rather than get an automatic notification.
One other area Ive not explored is push - v- notify.     
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

d2d4j

  • Reg Member
  • ***
  • Posts: 654
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #35 on: January 09, 2018, 07:24:14 PM »

Hi kitz

Many thanks

Sorry I meant only to check using webmail to see if date/time stamp shows

Normally where the field date is not added, the received date is used I believe from an old memory

My outlook shows fine for correct date/time stamp

I have not used mailwasher, so not sure sorry

I donít think cPanel is push capable but could be wrong and thinking of activesync or ews

Many thanks

John
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39165
  • Penguins CAN fly
    • DSLstats
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #36 on: January 09, 2018, 07:27:39 PM »

I've been looking more at this. I think I've worked out how to add a date/time stamp to my code. I'll try it out and hopefully upload a test version of DSLstats tomorrow.
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31194
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #37 on: January 09, 2018, 11:54:06 PM »

Sorry if I came over a bit grumpy in my last post.   Thanks John for trying to help.   I think I was just frustrated at being so nearly there with it.   I shall have another play tomorrow with something like a gmail account

Eric, please don't rush, it wasn't a criticism and I know you have a lot on yourself.  It was more confusion why I couldnt get it to work and I wondered if anyone else with a Galaxy S'x' had any luck with setting it up on their phone.   It may not even be the date field but that was the only thing that I could see which was different when the mail notifications were working fine from Outlook.   I cant see why the date field should affect it. :(

Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

d2d4j

  • Reg Member
  • ***
  • Posts: 654
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #38 on: January 10, 2018, 09:54:13 AM »

Hi kitz

Bless you

I think we all get grumpy from time to time :)

I do appreciate your posts though, very level headed in an insane world

I am sure it will be resolved

Many thanks

John
Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39165
  • Penguins CAN fly
    • DSLstats
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #39 on: January 11, 2018, 10:47:52 AM »

I've built a test version of DSLstats which adds a date stamp to alert emails. My own tests indicate that this is correctly reproduced in the header delivered to the recipient. You can download this version (Windows only at present) at:
http://dslstats.me.uk/files/dslstats32W-6.1.1.zip
Logged
  Eric

d2d4j

  • Reg Member
  • ***
  • Posts: 654
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #40 on: January 12, 2018, 10:42:54 AM »

Hi roseway

Kudos to you

I have just installed this and tested (see below) and confirm date/time stamp shows

I personally do not think this was the issue, as it should pick up on the date/time stamps but I could be wrong sorry

Many thanks

John

Received: from ****** (host***-***-***-***.in-addr.btopenworld.com
[***.***.***.***]) by ******.*******.co.uk with SMTP; Fri, 12 Jan 2018
10:24:45 +0000

From: ******@********.****

To: ******@********.****

Subject: DSLstats alert

Date: Fri, 12 Jan 2018 10:25:20 +0000

Content-Type: text/plain;

               charset="utf-8"

Content-Transfer-Encoding: quoted-printable

X-Antivirus-Status: Clean

X-Antivirus: ****** (VPS 180111-8, 11/01/2018), Outbound message

Return-Path: <******@********.****>

Message-ID: <7f32a63befb64295866c7bfd82e8cf69@com>

X-******-TotalSpamWeight: 0 (Authenticated)

X-Antivirus: ****** (VPS 180112-0, 12/01/2018), Inbound message

X-Antivirus-Status: Clean

Logged

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39165
  • Penguins CAN fly
    • DSLstats
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #41 on: January 12, 2018, 11:52:09 AM »

Thank you for testing it, John.
Logged
  Eric

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31194
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #42 on: January 12, 2018, 01:20:34 PM »

Thank you so much Eric.   I shall download and install new version now.

Unfortunately and I told d2d4j yesterday morning, I was messing with some hidden settings on my phone which I found on a few websites and yesterday I had had no notifications at all for anything.   Basically I  borked something and even notifications that I got previously no longer arrive, so I had to try backtrack and reverse the steps.

-----------------

OMG OMG OMG..   just as I was typing this to do a screen shot of old v new....

Suddenly my phone went off with a loud sound file alarm.  I didn't expect that as I hadn't touched anything in my phone settings since yesterday!

Thank you. Thank you. Thank you.  :hug: :hug: :hug: :hug: :hug: :thumbs: :thumbs: :thumbs: :thumbs: :thumbs:

I got no notification for the test alert sent just before I updated.
As soon as I'd installed the new version..  at 13:15 my phone went off telling me there was an email from DSLstats.
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

kitz

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 31194
  • Trinity: Most guys do.
    • http://www.kitz.co.uk
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #43 on: January 12, 2018, 01:45:48 PM »

It works! :love:

Screen caps below:-

  • From MW.   
    Top Line shows correct field with date and time in the sent field.   This was sent at 13:09 from within new version of DSLstats
    Bottom line shows empty field for date and time in sent field.  This was sent at 12:49 on old version of DSLstats
  • From Outlook.
    Top email shows no sent time.  This was sent at 12:49 on old version of DSLstats
    Bottom mail shows sent time. This was sent at 13:09 on new version of DSLstats 
  • From my phone notification area
    YAY..  Screenshot of notification from DSLstats on my phone from new version of DSLstats
    There was no notification from the old version.  I had not changed any phone settings in-between other than update DSLstats


There is a slight delay for notification on my phone - I knew and fully expected that to happen,  as it only checks every 15 mins.
Ive since sent more test mails from DSLstats and I continue to get the alert notification.

All I can assume is that because my phone only checks every 15 mins for new mail, it is only notifying of new mail if the time is within the past 15mins.   If there is no date in that particular field then no notification is given.  Does that make sense?
Logged
Please do not PM me with queries for broadband help as I may not be able to respond.
-----
How to get your router line stats :: ADSL Exchange Checker

roseway

  • Administrator
  • Senior Kitizen
  • *
  • Posts: 39165
  • Penguins CAN fly
    • DSLstats
Re: Using DSLstats to detect line errors and force line to resync.
« Reply #44 on: January 12, 2018, 02:01:23 PM »

I think that makes sense. Any way, I'm delighted that it works. :)
Logged
  Eric
Pages: 1 2 [3] 4