Python Forum
Code to monitoring IP numbers
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code to monitoring IP numbers
#1
I want some suggestions for some code I want to write.

Let's say I have 10 different logins on my PC.
I want to use my mobile to login and connect to the internet with each ID.

Now, for each ID, I want to make sure that the IP address is NOT one that has been used by one of the 9 ID's on my machine (can be anything else).

If possible, would love it if it were possible to stop browsers from connecting until a new IP address was used.
Else, happy to have a floating window that flashes red or something if a matching IP address that was used with other 9 ID's is being used again.

My ultimate aim would be to create an exe and run on startup.

I'd need some basic logic and thinking of how code runs... like where to store and record IP addresses. Store on internet? Or store on local PC? If so... is it possible to make accessible for all IDs?

Code sounds super simple.
Just wanted some thoughts.

Thanks.
Reply
#2
What do you mean by "ID". Different devices?
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply
#3
ID i mean you have 10 different ID's on the same laptop.
like user1, user2, user3 etc.
Reply
#4
I don't understand the part with the different IP addresses.
Do you mean your private non routable IP address? Do you change it? Why do you change it?
Or do you mean your public ip address which is aquired from the isp dhcp-server.

Maybe you mean IPv6. In this case there are for all OS extensions and settings to scramble the /64 host part.
Almost dead, but too lazy to die: https://sourceserver.info
All humans together. We don't need politicians!
Reply
#5
@DeaD_EyE it's the public IP address that is given when you visit a website.

i'm not sure it can be scrambled?
please give details - sounds interesting.

let's assume it can't be scrambled though.
what do u think of what i was asking about?

thanks.
Reply
#6
10 users?
Do it on the router side. Assign different IP for any mac address in the network. On the machine side just change the mac address of the network card on login. For example.

Or set a static network configuration on login and hope no one is using the same address.

Anyway, I don't see the point of all of that. If you want strict control of who can use the internet just set a pppoe
"As they say in Mexico 'dosvidaniya'. That makes two vidaniyas."
https://freedns.afraid.org
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020