Skip to main content

How to identify which device is failing?

Comments

16 comments

  • sparek-3
    Unfortunately, traffic like this is essentially NAT'd at the customer's end. Devices connect to the user's router or modem and then that router or modem disperses the connection out to the rest of the Internet. As far as the rest of the Internet is concerned - that user's connection is one connection. They may have 50 devices hidden behind their internal LAN connected to that router. But as far as the Internet is concerned, that is all one connection. That's all it can see. MAC address tracking is only done point-to-point. Meaning that individual MAC addresses are only sent from one connection to the next connection in the process (the user's device to the user's router) so there is no way for you to track this based on MAC addresses or any other individual piece of device identification. Having said all of that... generally, if a device is coming up with an error message saying they are using the wrong username and password... that's usually the device that is generating this issue.
    0
  • keat63
    I've asked her to turn two devices off leaving only one switched on over night. I'll check the logs in the morning. I cant really monitor this during the day as theres no exact pattern to when it happens, but at least over night I'll have a bunch of errors logged. I guess three evenings will reveal what's causing it. I'm confused why each device could send and receive when in our white listed office though. Surely I wouldn't be able to send or receive with an authority fail. That's what's driving me mad.
    0
  • cPanelMichael
    Hello @keat63, Were you able to narrow down the device leading to the lockouts? Thank you.
    0
  • keat63
    By a process of elimination, ensuring only one device connected at a time, I've narrowed this down to an Android tablet. What is strange is that I sent emails to and from each device to prove they could authenticate before I handed them back, so I've no idea why it's failing to authenticate at her home address. There is something I don't like though, the tablet had no native mail app, only GMail. Her pop3 account is being handled as an additional account on the GMail app. Maybe i'ts related to this somehow. I need to do a little more digging when I can get my hands on it.
    0
  • sparek-3
    If the account is being checked by Gmail, then the user's IP address won't be involved in the check - so the server won't be blocking the user's IP address because of failed login attempts from Gmail. So, either that's not the right device or something else is going on.
    0
  • keat63
    Not being checked by gmail (the service), but the email client software, the Gmail app. It's definately her IP that's getting blocked, and definately something to do with the tablet. Just confused as to what and why it worked OK in the office. I even mentioned in my test emails, words along the lines "test outbound from tablet" and replied with similar wording 'reply inbound to tablet' etc etc.
    0
  • sparek-3
    I wasn't aware that the Gmail client app could check other email accounts directly. ... TIL
    0
  • keat63
    A further update on this and it's getting stranger. It seems that my issue may not be related to a specific device afterall, and is something to do with CPHULK mis reporting IP location. Login via wifi - failed to authenticate Mar 15 12:10:11 leeds dovecot: pop3-login: Aborted login (auth failed, 1 attempts in 2 secs): user=, method=PLAIN, rip=zzz.zzz.100.196, lip=xxx.xxx.221.31, session= Same user, same device via mobil 4G Mar 15 12:10:30 leeds dovecot: pop3-login: Login: user=, method=PLAIN, rip=yyy.yyy.242.132, lip=xxx.xxx.221.31, mpid=24139, session= Mar 15 12:10:33 leeds dovecot: pop3(jamie@domain.co.uk): Disconnected: Logged out top=2/6212, retr=2/173565, del=0/2182, size=199631385, bytes=113/179966
    If I have all counties blacklisted in CPHULK, (except the UK), the user fails to authenticate, and I'm guessing which eventually triggers CSF. Whats strange is the IP is definately a UK IP. Further to this, CSF is configured to only allow UK Ip's to login via UK IP's so why does CSF allow the IP, but CPHULK doesn't. ?? When I see a failed login, logs will shows me the town which triggered the error. Quite clearly, her location.
    0
  • rpvw
    Since that device username/password combination clearly works over 4G, check your CPHulk for the IP ending 100.196 and see if it is in Blocked IP Addresses or One-Day Blocks - some other device that is connected to the same network may have got that IP blocked. If you have it installed, you might also want to look in CSF/LFD perm and temp blocks to see if the IP has been stopped there, and indeed, look in any other login or mail related software that can ban or block IPs
    0
  • keat63
    I disabled CSF fully for a few minutes, and the device was still failing, so I ruled out CSF. It was only when I set all country zones to 'not specified' in CPHULK, that the emails started working again. And it seems for both users. Mar 15 12:57:32 leeds lfd[31551]: (pop3d) Failed POP3 login from xxx.xxx.xxx.xxx (GB/United Kingdom/Wakefield/Pontefract/xxx.xxx.xxx.xxx.dyn.plus.net): 1 in the last 3600 secs - *Blocked in csf* [LF_POP3D] Whilst the UK is whitelisted in CPHULK and CSF. I'm guessing, CPHULK seems to not like this IP, fails to to allow authentication which subsequently triggers a block in CSF.
    0
  • rpvw
    This demonstrates the potential problems with IP country lists. We may know that the user is based in the UK, and whitelist that country, but it is entirely possible that the IP country list thinks the IP is somewhere else. I regularly see different countries reported between blocks made in CPHulk and the same IP blocked by CSF - and neither are guaranteed to be correct :(
    0
  • keat63
    Authentication failed is a bit of a red herring, and then considering this could have a knock on effect with the next process makes it even more confusing. I'm guessing CPHULK and CSF use different IP country lists, as I have CSF limited to just a few countries and the emails are getting through this hurdle. But not the CPHULK one.
    0
  • cPanelMichael
    Hello @keat63, cPHulk uses the Geo::IPfree Perl module to determine the originating country associated with the IP address. The database utilized by this Perl module comes from IP to Country Database (IPV4 and IPV6) and we update it with each new major cPanel & WHM version. Can you visit that link and enter the IP address in-question to see if it returns the correct country code? Thank you.
    0
  • keat63
    I could see in CPHULK that CPHULK seems to think it's a US IP. Following the above link also reports it as being in the US. BUT CSF is seeing the correct location. (GB/United Kingdom/Wakefield/Pontefract/xxx.xxx.xxx.xxx.dyn.plus.net) The user is within 9 miles of these two towns, and uses PlusNet PlusNet possibly utilises B Class:
    0
  • cPanelMichael
    Following the above link also reports it as being in the US.

    Here's a quote from feature request to seek the implementation of a more accurate IP address database. Can you open the request and post the link here's once it's opened? Thank you.
    0
  • keat63
    0

Please sign in to leave a comment.