Jose Celano
Jose Celano
**lafayette** Repo: https://github.com/lafayette/udp-torrent-tracker It seems they generate a random one, but they do not check it: https://github.com/lafayette/udp-torrent-tracker/blob/cc60057adae9a1ddb96a5e2aa304aebda98482fd/src/su/lafayette/udptracker/Handler.java#L25
**troydm** Repo: https://github.com/troydm/udpt It seems to be the same implementation we are using but in C++: ```c++ static uint64_t _genCiD (uint32_t ip, uint16_t port) { uint64_t x; x = (time(NULL)...
**elektito** Repo: https://github.com/elektito/pybtracker Language: Python It generates a random identifier for the connection: https://github.com/elektito/pybtracker/blob/master/pybtracker/server.py#L25-L31 ```python self.server.logger.info('Received connect message.') if connid == 0x41727101980: connid = randint(0, 0xffffffffffffffff) self.server.connids[connid] = datetime.now() self.server.activity[addr]...
hi @WarmBeer @da2ce7, In the end, the current implementation could be valid. I think it could be a way to generate expirable ids without storing them in memory or a...
My hexdecimal previous convertions were not exact. These are the right values: ``` Timestamp in hours 946684800u64 / 3600 = 262968 = 0x_0000_0000_0004_0338 = 262968 Port 0001 = 0x_0000_0000_0000_0001 =...
> @WarmBeer Ok, this definitely is not fixed. I just found out udp scraping works on < 2.2.0 version, everything >= 2.2.0 returns invalid scraping response on udp. > >...
> Could you tell me if Gbitt still shows UDP scrape errors ? It's build from scratch based on Torrust-Tracker, but if that works fine, I could look into and...
It seems the backend does not use it: https://github.com/torrust/torrust-index-backend/blob/8fbbb5ba3a80d1206e56a82391cc49740e803f54/src/tracker.rs#L22 so it would be safe to rename it, at least for other projects in the organization. It's a breaking change for...
```rust pub struct TorrentPeer { pub peer_id: PeerId, pub peer_addr: SocketAddr, #[serde(serialize_with = "ser_instant")] pub updated: std::time::Instant, #[serde(with = "NumberOfBytesDef")] pub uploaded: NumberOfBytes, #[serde(with = "NumberOfBytesDef")] pub downloaded: NumberOfBytes, #[serde(with...
> I think renaming it to "updated_milliseconds_ago" is fine. Just “updated” is indeed too vague. I'm not going to do it in this PR. Especially since it's a breaking change....