PortDetect.log in Users folder

Discussion in 'macOS' started by lopoz, Oct 23, 2008.

  1. lopoz macrumors regular

    May 10, 2005

    I have a strange file in my Users folder, named PortDetect.log
    I have no idea which app created it and it reappears when I delete it.

    Has anyone got the same file? Or know where it may originate from?

    Thanks in advance!

    P.S. Here's a small part of the log:
    Thu Oct 16 14:55:58 2008
     --  PortDetect started...
    Thu Oct 16 14:57:38 2008
     --  PortDetect started...
    Thu Oct 16 20:59:19 2008
     --  PortDetect started...
    Thu Oct 16 21:00:20 2008
     --  PortDetect started...
    Thu Oct 16 21:03:29 2008
     --  PortDetect started...
    Thu Oct 16 21:04:57 2008
     --  PortDetect started...
  2. rychencop macrumors 65816


    Aug 17, 2007
    have you searched your system for portdetect? i did a google search and it did not come up with anything specific to that file, but all other references pointed to intrusion software. you might want to hunt around to see if you have something weird installed or hiding. keep us informed.
  3. lopoz thread starter macrumors regular

    May 10, 2005
    Well, I did a quick Spotlight search, but that didn't give any unusual hits..
    But why would intrusion software leave behind a log in a folder thats basically in plain sight?

    Also, I use Little Snitch, so I should've noticed a weird app trying to use my connection...

    Would it be possible to create a script that alerts me when the file is modified?
    That way I could see what programs are active at the time and narrow it down a bit..

    Or is there a log somewhere in MacOS that shows when and which program is started?
  4. rychencop macrumors 65816


    Aug 17, 2007
    couldn't tell ya man. what was the last software you installed? did this file just recently appear?
  5. MConley macrumors newbie

    May 13, 2009
    Explanation found

    I recently found the same file ( PortDetect.log ) on my mac, and was similarly worried about it, so I did a search on the matter. Not finding any useful info on english speaking sites, I checked out an italian forum and found the answer.

    It turns out the file is used by telecom products like 3g portable wireless devices. The dates in the file correspond perfectly with when I used my portable internet the first time.

    Here is a google translation of the Italian posting:

    Mystery solved.

    By opening one of the three files in the folder read this:
    This image has been resized. Click this bar to view the full image. The original image is sized 807x195.

    Web N Walk seems to be a mechanism of T-Mobile like USB pens provided by the various Tim, Vodafone, Wind and 3.

    I actually checked the date of creation of folders HWPortDetect and HWPortCfg and dates back to 8 February, when, from the report of CleanApp, I uninstalled the software for navigation through the key of the 3 I was trying.

    Elementary, Watson!

    Thanks to Xero and google translations :)
  6. lopoz thread starter macrumors regular

    May 10, 2005
    YES! Excellent thanks!
  7. danibo77 macrumors newbie

    Jan 4, 2007
    Oslo, Norway
  8. nukeluke macrumors newbie

    Feb 17, 2011
    Some more detail

    Hey all. I found some more info on what creates this annoying log.
    (applies only to Mac OS X users)
    Despite having uninstalled this clumsily put together app the PortDetect.log file was still being created.
    So I re-installed it and had a look at the installer log to see where this PortDetect log was being created.
    It turns out that the installer creates a couple of directories in your Library/StartupItems directory. In there you'll find some directories starting with "HW" (no quotes).
    You'll need administrator privileges to nuke them, but when you find tem just delete them and you'll get rid of the annoying app creating the log file.

    I detest having these kind of one-use apps leaving loose ends everywhere so that over time who knows what installed what or where. It's poor development rushed to "support mac", but really it's more like "let's use Java so we don't really need to understand what it will do to the Mac and still look like we know what we're doing". Ugh!

    So in summary, go to:

    And delete any folder that starts with "HW". From memory there will be two, a "HWNetMgr" and a "HWConfig" or it might even read "HWPortDetect", can't remember.

  9. Otaviano macrumors 6502a


    Nov 22, 2007
    I recently discovered the same file, thanks for the explanation. I've not removed it from my system.
  10. telegix macrumors member

    Jul 26, 2005
    Thanks for the tip! These things were installed by the "soap on rope" 3G dongle i used in europe last year..

  11. Luds macrumors newbie

    Aug 6, 2010
    THANK YOU, had the same problem, and for some reason I found out that my Time machine was buggy (the excluded files were still backed up), probably had to do with those two programs in /Library/StartupItems/ reseting my home folder. Anyway followed your procedure and problemS went. So thank you for posting in the first place! :)

  12. jent macrumors 6502a


    Mar 31, 2010
    Thanks for this. I wish those 3G USB dongles came with uninstallation software for when you're done using them.
  13. dandanapple macrumors newbie


    Jun 14, 2012

Share This Page