News for hackers. Stuff that matters.
Re:Two containers with same number detected in Chittagong port by unknownaccount on Friday July 22, 2022 @06:35PM (#32197915)
This is horrifying.
Re:Two containers with same number detected in Chittagong port by intrasight on Friday July 22, 2022 @06:58PM (#32198125)
What's really horrifying is this: "such an incident cannot be detected unless the boxes arrive at the same port at the same time"

So they running this port with pencil and paper? No database? No sanity checks?

Re:Two containers with same number detected in Chittagong port by Paddywack on Friday July 22, 2022 @07:38PM (#32198448)
I worked in Bangladesh for 3 years, and it is such a land of contrasts.

The main electricity supply company at the time was running manual billings from a big room filled with manual general ledgers, one “T” account per household.

It is a humbling, impoverished country with its main riches being its resilient, kind, resourceful people.

Down the road/bay from Chittagong are the shipwrecking yards - a big time investment but worth watching is this… https://youtu.be/5jdEG_ACXLw

<edit> the film I am looking for is Iron Eaters, a very human view of the horrific shipyards. The above film is from India, but still worth looking at.

Re:Two containers with same number detected in Chittagong port by ccleve on Friday July 22, 2022 @09:14PM (#32199204)
Thank you for the link. I just watched it in entirety. It's slow moving but well worth it. It's about a world I did not know existed.
Re:Two containers with same number detected in Chittagong port by bloggie on Saturday July 23, 2022 @12:17AM (#32200306)
The National Film Board of Canada is one of that country's most culturally valuable assets.
Re:Two containers with same number detected in Chittagong port by alex_suzuki on Saturday July 23, 2022 @03:36AM (#32201240)
Very watchable indeed. Great stuff!
Re:Two containers with same number detected in Chittagong port by throwaway0a5e on Friday July 22, 2022 @07:05PM (#32198177)
>So they running this port with pencil and paper? No database? No sanity checks?

Or they simply don't run those queries until they need to. i.e. "we don't give a F unless there's a hiccup"

The point isn't to track containers. The point is to get goods to where they need to be and when. Unless two of the same container shows up thereby causing a WTF moment there is no problem because there is no ambiguity in the container handling process and therefore they don't care.

Re:Two containers with same number detected in Chittagong port by lazide on Friday July 22, 2022 @07:30PM (#32198376)
Or each port does have it's own database, and so they can only notice a collision when two containers with the same ID show up at the same time?

It's not like Bangladesh and Port of Los Angeles have a need/desire/whatever to share the same primary keys in the same database somewhere.

Re:Two containers with same number detected in Chittagong port by xxpor on Friday July 22, 2022 @07:06PM (#32198182)
How do you know this container isn't the same one you saw before? You need to have them at the same place at the same time to know they're the same container.
Re:Two containers with same number detected in Chittagong port by intrasight on Friday July 22, 2022 @10:35PM (#32199705)
Computers with business logic. It can't be the same one if it travels faster than is possible. And anyway, if they were being tracked ...
Re:Two containers with same number detected in Chittagong port by fuzzfactor on Monday July 25, 2022 @12:01AM (#32220361)
Suppose you were the guy who goes around numbering containers to begin with.

What are you going to use, a laptop or something?

If it ran out of power without completing its process, upon reboot it might very well assign the same number to the next container.

Even without a computer, you could have the day shift actually paint the number on the first container, but fail to finish the paperwork or it could get lost.

Then the night shift comes along and uses the same number on the next container.

Re:Two containers with same number detected in Chittagong port by LeChuck on Saturday July 23, 2022 @12:33AM (#32200400)
The terminal doesn't always know the destination. Why would it? And anyway, intended destinations can change.
Re:Two containers with same number detected in Chittagong port by Swenrekcah on Friday July 22, 2022 @07:11PM (#32198240)
I don’t see how a database (which they’re probably running anyway) would help, unless it’s connected to all other ports in the world an cross-examined for duplicates.

Which sounds like a lot of work and I’m not sure port operators want to share that, although it would be really cool.

Re:Two containers with same number detected in Chittagong port by binarymax on Friday July 22, 2022 @07:21PM (#32198308)
They should use a blockchain!

I’ll see myself out…

Re:Two containers with same number detected in Chittagong port by lazide on Friday July 22, 2022 @07:28PM (#32198360)
It has been proposed in all serious several times - and then immediately the person proposing it was tarred and feathered, then disappeared by the relevant jurisdictions security services (only half kidding). I'd give you their names, but for some reason men wearing sunglasses and sitting in a van appear outside my house every time I consider it.
Re:Two containers with same number detected in Chittagong port by jamiek88 on Friday July 22, 2022 @07:47PM (#32198537)
It’s probably people who think we don’t need gigawatts for a distributed ledger.
Re:Two containers with same number detected in Chittagong port by lazide on Saturday July 23, 2022 @01:02AM (#32200549)
While they might consider THAT true, I suspect it has more to do with being able to track which companies and countries are doing what business with whom everywhere - especially if that includes countries they aren't supposed to be.

Tracking containers port to port everywhere would be a MOUNTAIN of useful intel.

Re:Two containers with same number detected in Chittagong port by dmitriid on Saturday July 23, 2022 @11:17AM (#32204080)
Containers are already tracked. There's literally nothing stopping you from saying that container X is going to Italy when, in fact, it's going to Iran. Blockchain isn't magic.
Re:Two containers with same number detected in Chittagong port by kube-system on Friday July 22, 2022 @08:38PM (#32198938)
Immutable ledgers only provide value when someone wants to fudge values. A unique constraint in a relational database can identify mistakes just fine.
Re:Two containers with same number detected in Chittagong port by EUROCARE on Saturday July 23, 2022 @02:36AM (#32200955)
As long as you trust the owner, administrator and developer of the database. I wouldn't.
Re:Two containers with same number detected in Chittagong port by kube-system on Saturday July 23, 2022 @12:11PM (#32204642)
Run Postgres yourself. If Postgres developers are going to compromise their own software, it isn’t going to be to mislabel your shipping containers.

Most of the info in databases is boring and nobody cares about maliciously changing it it.

If someone were really interested in changing the number on your shipping container, blockchain can’t prevent someone with a $1 can of spray paint from changing it.

Re:Two containers with same number detected in Chittagong port by EUROCARE on Sunday July 24, 2022 @03:08PM (#32216578)
Then others have to trust me.

> spray paint

Sure, but the point here is to not lose the records too, which someone could trivially change if they own the Postgres DB. When I have a shared record of a container and somebody repaints its SN, at least I know I lost it, and I can also easily claim that I did not forge the records too because they signed the record with their wallet.

Re:Two containers with same number detected in Chittagong port by dmitriid on Saturday July 23, 2022 @07:24AM (#32202325)
Instead you trust the developer of the blockchain and of all the apps required to write data to and from it.

Because blockchain. Even though there are now dozens of instances of crypto developers messing up their own work.

Re:Two containers with same number detected in Chittagong port by EUROCARE on Saturday July 23, 2022 @10:19AM (#32203587)
Yes indeed, trusting something I can see and compute myself instead of trusting someone's promises. There's no way blockchain will ever be worse than just having to go along with it because there's no way to verify.
Re:Two containers with same number detected in Chittagong port by dmitriid on Saturday July 23, 2022 @11:15AM (#32204061)
> I can see and compute myself

What exactly can you see and compute? The end result in the blockchain is the output of <something>, where <something> is any number of centralized actors putting data from opaque sources based on extremely complex contracts.

Re:Two containers with same number detected in Chittagong port by lowercase on Friday July 22, 2022 @07:17PM (#32198270)
No it's not lmao
Re:Two containers with same number detected in Chittagong port by Denvercoder9 on Friday July 22, 2022 @06:42PM (#32197971)
Could you explain why?
Re:Two containers with same number detected in Chittagong port by jw1224 on Friday July 22, 2022 @06:47PM (#32198017)
A real-life UUID collision
Re:Two containers with same number detected in Chittagong port by AzzieElbab on Friday July 22, 2022 @06:52PM (#32198071)
Not that terrifying when humans are involved… assuming competence
Re:Two containers with same number detected in Chittagong port by dylan604 on Friday July 22, 2022 @07:09PM (#32198208)
Assuming competence with humans involved is terrifying
Re:Two containers with same number detected in Chittagong port by iworahipfaangs2 on Friday July 22, 2022 @06:44PM (#32197992)
Why?
Re:Two containers with same number detected in Chittagong port by akmarinov on Friday July 22, 2022 @06:49PM (#32198035)
It’s an identifier collision, they’re supposed to be unique. That’s what did SHA-1 in.
Re:Two containers with same number detected in Chittagong port by mort96 on Friday July 22, 2022 @06:52PM (#32198062)
SHA-1 is a hash function. What did it in is that there was found a way to make different strings hash to the same value. This is just someone accidentally re-using serial numbers, it's not a weakness in some algorithm.