LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-19-2019, 04:21 AM   #16
jazzy_mood
Member
 
Registered: Mar 2019
Posts: 41

Original Poster
Rep: Reputation: 25

Well, I just checked and this third device is another cellphone of mine I connected to the Wi-Fi network a few days ago. What's still a mystery to me is how my linux install is getting the router's hostname (and what could this mean regarding the access to my linux install).
 
Old 05-21-2019, 09:38 AM   #17
jazzy_mood
Member
 
Registered: Mar 2019
Posts: 41

Original Poster
Rep: Reputation: 25
Well, I checked and the "DESKTOP-P5JSNTM" hostname is from a previous Windows install in this laptop. For some weird reason, the router picked it up and assigned it to my linux install. Maybe it's due to not manually setting a hostname to my Linux install? I thought it was automatically set up during installation

Last edited by jazzy_mood; 05-21-2019 at 09:40 AM.
 
Old 05-21-2019, 09:42 AM   #18
sevendogsbsd
Member
 
Registered: Sep 2017
Distribution: FreeBSD, OpenSUSE
Posts: 968

Rep: Reputation: Disabled
So, as I mentioned, there was a technical explanation for all of this and you were not being "hacked" by your ISP.

Host name on your Linux box depends on which disto.

Glad you got this resolved!
 
1 members found this post helpful.
Old 05-21-2019, 09:56 AM   #19
jazzy_mood
Member
 
Registered: Mar 2019
Posts: 41

Original Poster
Rep: Reputation: 25
Yes, I guess that was it. Anyway, I don't need to set up a hostname, so I'll leave it like that.

Thanks for your help!
 
Old 06-29-2019, 08:01 AM   #20
jazzy_mood
Member
 
Registered: Mar 2019
Posts: 41

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by sevendogsbsd View Post
What does the DHCP lease table/list look like in your router? What puzzles me is that Linux picks up a host name but your router does not. What type of PC do you have, laptop?
Code:
netstat -a
on my box (albeit FreeBSD) only returns my host name. I ask about your PC because if it is a laptop, it more than likely used to be Windows. Perhaps there is a name in the BIOS/UEFI that is getting picked up. Grasping at straws there.

Have you set a host name in your Linux box?

The LEAST likely explanation is that your ISP hacked you. That's is about as likely as winning the lotto. An individual at the ISP may have, but that is also unlikely. If you are a criminal and are under surveillance, that is also a possibility but you haven't mentioned whether you are criminal Corporations could care less about individuals. There are 2 other possible scenarios but out of respect, I will not mention them.

Likely scenarios are going to be technical: someone is on your network, or there is some sort of host name somehow tied to your PC that you are unaware of.
Hi again,

Well it definitely IS my ISP. It's a long story, but there where serious privacy and security issues with my previous ISP, and a psychopathic employee from my previous ISP kept using my current ISP to install malware on my system for reasons I don't know (probably the only explanation is that they're just a psychopath who has something against me for reasons that are not worth mentioning here)... Believe me, it did happen; these are serious crimes, but this guy broke all the laws he could... There are criminals everywhere.

Anyway, could you please explain what are these 2 other scenarios, so I can have a better picture of what may be happening here?
 
Old 06-29-2019, 11:38 AM   #21
RickDeckard
Member
 
Registered: Jan 2014
Location: Acworth, Georgia, USA
Distribution: Arch Hardened, Ubuntu 18.04, Fedora 30
Posts: 160

Rep: Reputation: Disabled
Oh lord again with this?

If you already know what's happening, namely that the hostname of a previous install was assigned to a Linux box with the same IP address, what else is there to figure out?
 
Old 06-29-2019, 12:07 PM   #22
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,778

Rep: Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263Reputation: 1263
Two thoughts:
Set a hostname.
use
Code:
netstat -an
so you see IP addresses instead of hostnames.
 
1 members found this post helpful.
Old 06-29-2019, 01:12 PM   #23
jazzy_mood
Member
 
Registered: Mar 2019
Posts: 41

Original Poster
Rep: Reputation: 25
Quote:
Originally Posted by scasey View Post
Two thoughts:
Set a hostname.
use
Code:
netstat -an
so you see IP addresses instead of hostnames.
Thank you for this. I just tried it on Windows and it returned some IP addresses (normal connections, I guess). It's useful to know this in case I need it again in the future.

Quote:
Originally Posted by RickDeckard View Post
Oh lord again with this?

If you already know what's happening, namely that the hostname of a previous install was assigned to a Linux box with the same IP address, what else is there to figure out?
Well, no, I'm not completely sure what was happening since this doesn't usually happen on Linux. And YES, there WERE MANY security and privacy incidents with my previous ISP. You have no clue what happened. This might be a hostname from a previous install, but this doesn't use to happen on Linux AND it's happening randomly.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: NETSTAT Command: Learn to use netstat with examples LXer Syndicated Linux News 0 12-06-2017 12:24 PM
HP Photosmart weird weird weird.... Vlad_M Linux - General 5 02-20-2005 05:41 AM
netstat -nap acting weird Donboy Linux - Networking 5 09-01-2004 11:16 PM
Weird results with netstat nekromancer Linux - Networking 3 02-17-2004 01:36 AM
netstat output... WeNdeL Linux - Networking 3 03-20-2003 09:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration