top | item 32197212

Two containers with same number detected in Chittagong port

401 points| wolfgang42 | 3 years ago |container-news.com | reply

262 comments

order
[+] tzs|3 years ago|reply
There is a long history of identifiers being reused in world shipping.

One of the staples of contracts class in the first year at many law schools is Raffles v Wichelhaus, an English contract case from 1864.

There was a contract for someone to sell a bunch of bales of cotton from India to a buyer in England. The contract called for the cotton to be sent on a ship called the Peerless to Liverpool from Bombay.

Unknown to both the buyer and the seller there were actually two different ships called Peerless both sailing from Bombay to Liverpool, one arriving in October and one in December.

They seller was thinking of the December one when signing the contract, and the buyer was thinking of the October one.

The buyer needed the cotton in October and when it did not arrive on the Peerless in October the buyer considered the contract broken and refused to accept the cotton that came on the December Peerless.

[+] magicalhippo|3 years ago|reply
We encounter this all the time at work. New customer, so new integration. What's your unique shipment reference? This one? Ok fine. Go into production, and after a few months we get missing shipments. Support check, missing shipments have same reference as old shipments. "Oh, yeah we reuse the references after about 90 days... And, no, we don't have any globally unique references."

This is fun when so much of the flow is based on these references, think goods arrival scanning, and sometimes shipping does take a long time so 90 days or whatever is cutting it close.

[+] yashg|3 years ago|reply
So Peerless wasn't really peerless afterall.
[+] petesergeant|3 years ago|reply
> Consequently, as there was no consensus ad idem ("meeting of the minds"), the two parties did not agree to the same thing and there was no binding contract ... therefore, the [buyer] did not have to pay.
[+] sigstoat|3 years ago|reply
well you can’t stop halfway through the story. what was the outcome of the case?
[+] asah|3 years ago|reply
(IANAL)

Reading this case, I'm surprised at the outcome. The seller fulfilled on the terms of the contract.

The contract also didn't specify the precise color or weight of the cotton, the exact destination, etc etc etc so the defendant could make similar claims to renege on the contract.

Granted, time is arguably special inasmuch as it allows the seller to construct a scenario for fulfillment, e.g. the seller could've delivered 100 years later on a new boat that happened to be named Peerless. That's clearly not the intent.

In that sense, a contract can be considered void if it doesn't reasonably specify time.

[+] tshaddox|3 years ago|reply
You’d think serious contracts would normally have provisions that would require mentioning expected dates, since late shipments would presumably be a common occurrence you’d want all parties to consider explicitly.
[+] arecurrence|3 years ago|reply
The manufacturer reused identifiers (5 to be precise) in a later batch. This was a manufacturing error rather than a freak collision.

Edit: Source https://www.thedailystar.net/business/news/two-containers-sa...

"Five containers of the second batch have numbers akin to another five belonging to the previous batch, according to Borhan."

[+] Pxtl|3 years ago|reply
Whenever I see somebody detailing the scope of a mistake at their business, I mentality add the words "at least" to any quantities.
[+] bluehorseray|3 years ago|reply
Glad to finally see https://container-news.com/ hit the front page on HN
[+] SturgeonsLaw|3 years ago|reply
This is legit one of the things I love most about HN, articles might be 80% about tech, but the content in the remaining 20% can be about pretty much anything, and it's always fascinating to get insight into other domains. Never considered that containers were numbered, let alone that a number clash is a significant incident, but thinking about it, yeah it makes sense.
[+] smarx007|3 years ago|reply
Wrong containers!
[+] shreyshnaccount|3 years ago|reply
surprised but really not to see people so passionate and dedicated to containers. warms my heart, really best thing to ever happen.
[+] lamontcg|3 years ago|reply
When I worked at Amazon we found two NICs with the same MAC address.

And that was a long time ago with a comparatively very small server count compared to today.

Someone's manufacturing database probably had a tiny race condition.

[+] hericium|3 years ago|reply
Worked for a small ISP in early 2000s. Not every new customer had an ethernet card in their PC and we had problems like installation crews calling the office that there is no port to stick the cable in.

The company obtained 300 cheap Intel PRO/100 Fast Ethernet NICs from China. The idea was that the crews would have a bunch of those cards to be able to install them in customers' computers.

Everything was dandy until second installation in the same building. For a little more backstory - it was a kind of shitshow infra with dumb switches and all customers in a building being in the same LAN.

So... the second installation in the same building rendered the former newest customer's link inoperable. Or wouldn't work, then suddenly there was connectivity, then there was no ping to the gateway but some other devices were pingable etc etc. The crew replaced the card with another one (from the same shipping), re-crimped RJ45s on both ends, changed switch port and nothing - same shit with random internet connectivity losses. Weird situation with seemingly no reason for what was happening.

It later turned out that the reason was that all 300 NICs had the same MAC address. All of them.

[+] cricalix|3 years ago|reply
20-odd years ago, the college I attended (and worked for) was outfitting one of the computer labs with new network cards; migrating from Token Ring to Ethernet as I recall. To do this, 3COM cards had been bought by the boxful.

We replaced all of the cards, and booted the lab. 1 machine got an IP and then it all went to hell. Every single machine showed up with the same MAC. Think we had to rip and replace to fix it.

[+] halestock|3 years ago|reply
I used to work for a company that sold labels for various third party printer manufacturers, and let me tell you, some of them were VERY lazy when it came to assigning MAC addresses.
[+] HeyLaughingBoy|3 years ago|reply
I worked for a company that made a networking product and we managed to build 1,000 units with the same MAC address (we had a big block of assigned addresses) because of a miscommunication with the vendor who provided the preprogrammed microcontrollers..

Luckily the MAC was in a rewritable location so it was possible, if a royal pain in the ass, to reprogram them all.

[+] cardiffspaceman|3 years ago|reply
I'm having trouble finding a reference just now, but the MAC address for a modem-based link on Windows had "DESK" until it started causing real trouble. And one of those problems was that GUIDs were obtained by using "the MAC address" of the PC as an input to a DEC-Intel-Xerox-Microsoft algorithm. Around the time of this coming to a head, it came up that some manufacturers were out of MAC addresses for whatever reason, and also that some manufacturers were assuming that two random NICs on an Ethernet would not both be one of $MANUFACTURER's cards, so care was not necessary.
[+] banana_giraffe|3 years ago|reply
The container in question is SLHU4500470. The first four characters are the owner, the next 6 digits are the unique (per owner) number, and the last digit is a check digit.

Somehow I always assumed there'd be more than 6 digit IDs for these things. I'd guess collisions have happened, but never been caught in the same port before.

[+] watchdogtimer|3 years ago|reply
I believe the 4th character of a container ID is always a U, so the container owner is the first 3 characters.
[+] Denvercoder9|3 years ago|reply
What happens when somebody has more than a million containers? 6 digits doesn't seem enough to guarantee uniqueness.
[+] webmobdev|3 years ago|reply
> “I have never seen two containers carrying the same number in my 27 years of career in the shipping sector,” pointed out Mohammed Abdullah Jahir, chief operating officer of Saif Maritime Ltd, adding that such an incident cannot be detected unless the boxes arrive at the same port at the same time.

If the port authority conducting the inspection are not diligent, it's easy to miss this.

[+] hakfoo|3 years ago|reply
I always wondered if this was designed to integrate into the existing railway numbering system. In the US, at least, owner identifiers are pretty consistently 4 characters or less, and individual unit numbers are 6 digits or less (i. e. BNSF 123456).
[+] namecheapTA|3 years ago|reply
I worked at a small "automall" of several dealerships. Our system operated inventory numbers based on the last 6 digits of the vin#. Sounds like with 1 million options, you'd be fine. It didn't take long for duplicates to start coming up when you have hundreds of cars in stock, and sell hundreds a month. Let alone the problem with a car being sold new, and then being traded back in. That was fine, because we had a different leading digit for new vs used. But you'd be surprised how often a used car gets sold, and then traded in again at the same place. Now what number does it get? The same one. Fine, atleast they're not both in stock at the same time. Great. Sell it again. Then when a customer calls six months later, try and lookup the deal your most common way... Oh ya.. now I've got 4 possible deals for this car.
[+] swamp_thing|3 years ago|reply
Haha. It’s like Hacker news AI that votes things up saw container and port and decided it’s a great devops story from Bangladesh.
[+] Ekaros|3 years ago|reply
I wonder how common actually duplicated serial numbers are in various things. In some cases they do matter, but in many others not really. Think of the non-smart devices.

And it can often be simple human error. Some fat fingers the wrong range in morning, forgets to list the used codes, reads the wrong line, some glitch preventing machine from saving the last used code...

Just remember how much stuff is made by cheapest possible bidders, who might not be so much interested to deliver best work always.

[+] rwky|3 years ago|reply
Somewhere I worked used the wrong serial numbers of postal delivery. We had an overflow which no one noticed for about a year and we ended up using the same range as another customer of the postal company. There were thousands of parcels with duplicated serials, everything arrived fine and as far as I know there's been no real admin issues either. So in this case it didn't matter.
[+] UberFly|3 years ago|reply
Obviously one of the two containers traveled back in time. Don't let them touch.
[+] remflight|3 years ago|reply
Can someone please explain the significance?
[+] SV_BubbleTime|3 years ago|reply
Between oops and sus.

In this case, it appears to be a mistake. That a number was accidentally reused.

But a concern could also be fraud, theft, smuggling, etc. A “bad” container that was supposed to fly under radar mocked up to look legit if anyone checked.

[+] aasasd|3 years ago|reply
Annoyingly, the top image is of some random containers, and not of any of those two. This is just dumb and useless.
[+] upwardbound|3 years ago|reply
This seems indicative of a security concern. When this happens it could indicate someone is trying to get a container full of e.g. explosives or chemical weapons to be shipped to a target city without a paper trail. Imagine if the malicious container had e-ink screens on the outside that allowed the numbers to be changed on the fly to route the container through multiple untraceable steps. :(
[+] vivegi|3 years ago|reply
Just yesterday I was reading about Time-of-creation/Time-of-use (TOCTOU) race conditions in symlinks (https://lwn.net/Articles/899543/).

The manufacturer's new container-id generation logic probably has/had this category of issue (i.e., TOCTOU).

[+] wheybags|3 years ago|reply
I always wondered if there isn't someone out there making dodgy devices with mac addresses in someone else's range.
[+] linuxlizard|3 years ago|reply
Several years ago I worked for a company that made a usb+network and usb-only skew of their product. The usb-only boards were the same as the usb+network boards with a few parts not populated.

We started getting tech support complaints when we sold the product into China. Turns out, an enterprising vendor bought a single usb+network printer, desoldered the EEPROM (containing the ethernet mac address). Then that vendor bought usb-only (cheaper) products, added the additional parts and bulk copied the single eeprom image (with the mac address) onto the new products, selling them as the more expensive usb+network sku. Result: a dozen+ of our product running on the LAN with the same mac address.

[+] dspillett|3 years ago|reply
Many years ago I encountered cheap knock-off network cards¹ that had default MACs in the range of a big known name brand, and as far as I know it wasn't some cross-branding/affiliate/other deal. So yes, there has been and no doubt still is.

[1] in fact, back in my student days most NICs I had were cheap knock-off versions, the "real" things were not the inexpensive items they are today. This predates it being common to have one built into your motherboard, even more expensive ones, by some time.

[+] giobox|3 years ago|reply
Many years ago I worked for a major cellphone service provider in Europe - cellphones with duplicate IMEI numbers were an issue (the IMEI number was meant to be unique per cellular device much like a MAC address). This occasionally prevented an IMEI block on a stolen phone.
[+] gruez|3 years ago|reply
IIRC that's what some manufacturers did. However, rather than squatting in someone's existing range, they ended up squatting in unused ranges that were unlikely to be assigned anytime soon (back in those days the assignments were sequential). IEEE ended up cracking down on this by randomizing OUI assignments.
[+] randomfool|3 years ago|reply
Years ago I bought a bag of Bluetooth 4.1 USB dongles for development only to find every single one of them had the same MAC address. Ugh.
[+] kube-system|3 years ago|reply
Well, there’s a ton of people using Xerox’s 00:00:00
[+] kurofune|3 years ago|reply
A tragic day for all my fellow containerheads.
[+] karaterobot|3 years ago|reply
Those containers are going to be worth so much on the collector's market though. Like that stamp with the upside down plane on it.
[+] WebbWeaver|3 years ago|reply
>Salam said that it is not possible to identify the number of boxes with double-up numbers without the report from the Chinese manufacturer.

Sounds troubling.