• 0 Posts
  • 19 Comments
Joined 3 years ago
cake
Cake day: June 10th, 2023

help-circle

  • You might want to use either a /24 address or a /32 address in a firewall rule, depending on what you’re trying to do. The difference is that the /24 one refers to a set of IPs, while the /32 one applies to only one IP.

    Say you’re adding a firewall rule like iptables -A - s 192.168.1.123/32 - j ACCEPT. This will accept all traffic with the source IP 192.168.1.123. If instead you use iptables -A - s 192.168.1.123/24 - j ACCEPT, you’ll accept all traffic with a source IP in the 192.168.1.123/24 subnet, which is all the IPs between 192.168.1.0 & 192.168.1.255.

    In the case of your WiFi IP, the subnet does something different. It tells you which IP addresses you should expect to be able to contact directly, and which you need to contact via a router. 192.168.1.214/24 says that all the IPs between 192.168.1.0 & 192.168.1.255 can be reached directly, whereas IPs outside that range need to be sent to a router.

    ip route will show you the routes a device knows about. It’ll look something like this (simplifying a bit):

    default via 192.168.1.1
    192.168.1.0/24 dev wlan0 src 192.168.1.214
    

    The first line is the default route, which is used when no more specific route exists. It says that you talk to these IPs by sending your traffic to 192.168.1.1 (your wifi router) and it’ll send it on from there.

    The second one says that for IPs in the 192.168.1.0/24, you directly talk to them using your wlan0 interface





  • I think multiple people already have access to the databases that store the data the device sends. I don’t really care whether they get the data from the device itself or from the database.

    Similarly, I think multiple people have the ability to make changes to the firmware build and the systems that distribute it. So those people already have the potential ability to gain access to the device.

    One person or multiple people having unauthorised access are both unacceptable. I’m saying that the users have to trust the companies ability to prevent that occurring, and that therefore this particular technical detail is mostly irrelevant


  • CosmicGiraffe@lemmy.worldtoPrivacy@lemmy.mlA backdoor in a bed
    link
    fedilink
    arrow-up
    1
    arrow-down
    3
    ·
    1 year ago

    I’m 90% sure it is not a single user. I just don’t see how that really affects the security of the product, given that the company that sells it can already do the things the author is saying can be done if you have this key.

    To be clear, I wouldn’t buy this. I just don’t think the SSH key makes it any worse than it already was


  • CosmicGiraffe@lemmy.worldtoPrivacy@lemmy.mlA backdoor in a bed
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    1 year ago

    A shared account doesn’t mean everyone who works there has access to it, or that those who do have access aren’t subject to some type of access control.

    The article basically goes on to say that the existence of this key makes a huge difference to the security/privacy of the product. It argues that using it, someone could access data from the device, or use it to upload arbitrary code to the device for it to run. However, those are both things the user is already trusting the company with. They have to trust that the company has access controls/policies to prevent individual rogue employees doing the things described. It seems unreasonable to say that an SSH key being on the device demonstrates that those controls aren’t in place.