Stories
Slash Boxes
Comments

SoylentNews is people

SoylentNews is powered by your submissions, so send in your scoop. Only 19 submissions in the queue.
posted by hubie on Monday January 29 2024, @06:59PM   Printer-friendly
from the flushed-with-success dept.

Developer Hugo Landau has hacked a train's restroom door, based on the model found in the UK's Class 800 train:

Of course, there is a reason for the separation of the closing and locking functions, but not the opening and unlocking functions: it avoids a Denial of Service attack where someone can just press "close" and then jump out before the door closes. If the interior "close" button automatically locked the door, this would result in the toilet becoming permanently inaccessible.

The problem with this design is that most people don't understand state machines, and this design confused a lot of people who were unable to lock the door correctly, or believed they'd locked the door when they hadn't.

The result is a denial of service, being able to lock the door from the inside while no one is actually inside to subsequently unlock the door again.


Original Submission

 
This discussion was created by hubie (1068) for logged-in users only, but now has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Insightful) by Rosco P. Coltrane on Monday January 29 2024, @07:44PM (2 children)

    by Rosco P. Coltrane (4757) on Monday January 29 2024, @07:44PM (#1342325)

    a waste bin for towels is by the door so you don't have to handle the knob directly with your clean hands

    That's not enough. When I go to a public transport toilet, after I wash my hands, I pull a paper towel and use it to touch stuff until I reach my seat and throw it away there. Because people who don't wash hands don't just leave faeces on the toilet door handle. At the very least, I avoid touching seats and furniture within a a dozen feet of the toilet.

    Starting Score:    1  point
    Moderation   +1  
       Insightful=1, Total=1
    Extra 'Insightful' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3  
  • (Score: 3, Touché) by JoeMerchant on Monday January 29 2024, @09:47PM (1 child)

    by JoeMerchant (3937) on Monday January 29 2024, @09:47PM (#1342334)

    >At the very least, I avoid touching seats and furniture within a a dozen feet of the toilet.

    Said the man who fell and broke his neck in a patch of turbulence, to avoid some potential toilet germs.

    --
    🌻🌻 [google.com]
    • (Score: 0) by Anonymous Coward on Wednesday January 31 2024, @04:35PM

      by Anonymous Coward on Wednesday January 31 2024, @04:35PM (#1342521)
      When the plane is flying in the air, aircraft turbulence can cripple/kill you anytime you're wandering around not belted to your seat.