Commit graph

50 commits

Author SHA1 Message Date
Igor Katson
731710245f
Fixups 2025-01-06 16:04:46 +00:00
Igor Katson
7864876087
Update subcrates and versions 2025-01-06 15:27:44 +00:00
Igor Katson
131e978a22
Cargo fmt 2024-12-03 21:12:33 +00:00
Igor Katson
44c54ed3ce
Try to remove default features from "url" to compile on older Rusts 2024-12-03 20:58:21 +00:00
Igor Katson
76cf1eb00a
Update cargo crates 2024-12-03 20:44:23 +00:00
Igor Katson
438e164ffd
Fix clippy errors 2024-12-03 20:40:02 +00:00
Igor Katson
189dea36a0
Windows doesnt have ipv6 netamasks! at least in networkinterfaces package 2024-09-16 17:51:47 +01:00
Igor Katson
03391764cc
Remove scope_id when non link local addr 2024-09-16 17:09:51 +01:00
Igor Katson
f7e0835452
Remove custom libc/winapi code in favor of duplicating the socket and using both socket2 and tokio 2024-09-16 11:16:46 +01:00
Igor Katson
403a4ce480
works on linux now too 2024-09-16 10:49:56 +01:00
Igor Katson
6193cc942b
doesnt help... maybe set_mcast_if need to call on ipv6 too 2024-09-16 10:21:40 +01:00
Igor Katson
028addcf6a
Nothing: renames and tiny refactors 2024-09-16 09:21:21 +01:00
Igor Katson
8d8d5491f9
trying to fix windows multicast 2024-09-15 22:43:59 +01:00
Igor Katson
7fd4730b47
dont error SSDP on cancel 2024-09-15 21:57:50 +01:00
Igor Katson
3acc53a11f
IPv6 support for SSDP (for UPNP) 2024-09-15 21:57:34 +01:00
Igor Katson
7296ea212f
UPNP: join all multicast groups from all interfaces (not just the default one picked by the kernel) 2024-09-05 22:52:20 +01:00
Igor Katson
f96a9024e1
Remove stub impl of ContentDirectoryBrowseProvider 2024-09-02 13:05:25 +01:00
Igor Katson
ff7924ff78
UPNP: add size attribute 2024-09-02 12:04:50 +01:00
Igor Katson
8d10a8a69c
UPNP: better ID handling + only ASCII in URLs 2024-09-02 11:41:33 +01:00
Igor Katson
65623f2074
Escape XML instead of CDATA. Samsung TVs only understand escapes, but not CDATA. 2024-09-02 11:14:33 +01:00
Igor Katson
79a8451519
Implement parent_id=-1 2024-09-02 11:14:09 +01:00
Igor Katson
8ab3d4d428
container parent default -1 2024-09-02 11:14:09 +01:00
Igor Katson
2d4b467055
Implement BrowseMetadata 2024-09-02 11:13:49 +01:00
Igor Katson
9a6039f5ee
upnp-serve compiles on its own 2024-08-31 12:15:22 +01:00
Igor Katson
0960a768e6
Implement stubs for actual connection manager methods 2024-08-29 12:23:18 +01:00
Igor Katson
99ffeec323
Implement GetProtocolInfo 2024-08-29 12:06:03 +01:00
Igor Katson
0303cfa084
Fix a bug where upnp subscriptions were not renewed if the headers missed callback and event 2024-08-29 11:57:19 +01:00
Igor Katson
a44acd947b
Handling ConnectionManager subscriptions 2024-08-29 11:57:19 +01:00
Igor Katson
96eb5fec73
ConnectionManager service stub 2024-08-29 11:57:19 +01:00
Igor Katson
15b254c47c
Refactor content_directory into files 2024-08-29 11:57:18 +01:00
Igor Katson
76e0e1aa8f
send SSDP NOTIFY in parallel 2024-08-28 16:21:59 +01:00
Igor Katson
d90c4dabe7
Downgrade an SSDP message log level to debug 2024-08-28 13:45:05 +01:00
Igor Katson
b174afaa12
UPNP: send notifies on all interfaces, no need to specify hostname anymore 2024-08-28 13:38:11 +01:00
Igor Katson
9eed5aeb07
sending notifies to all interfaces 2024-08-28 12:33:50 +01:00
Igor Katson
3ef9dc6655
Deduplicate cargo a bit 2024-08-28 11:27:44 +01:00
Igor Katson
398acfd3fa
Send NOT_IMPLEMENTED on BrowseMetadata 2024-08-28 09:53:14 +01:00
Igor Katson
2dedf26082
add sid to subscription manager traces 2024-08-28 09:53:14 +01:00
Igor Katson
5bb1fde46e
Disable ConnectionManager subscription not to confuse clients 2024-08-28 09:53:14 +01:00
Igor Katson
5717f33f68
v7.0.0 prep further 2024-08-27 18:32:17 +01:00
Igor Katson
31a254103c
Remove custom XML parsing 2024-08-27 18:26:34 +01:00
Igor Katson
01a4f68e20
Make rust-tls work (through ring) 2024-08-27 15:11:59 +01:00
Igor Katson
ef99380147
Respond with proper ST header on SSDP upnp requests 2024-08-27 03:43:02 +01:00
Igor Katson
c14ccd5fa2
ReuseAddr on all sytems, resuseport only on Unix 2024-08-26 21:22:00 +01:00
Igor Katson
c74d5f0866
Windows so_reuseport 2024-08-26 19:23:46 +01:00
Igor Katson
aae78b57c7
SO_REUSEADDR on upnp socket 2024-08-26 19:14:18 +01:00
Igor Katson
bf9d75e748
Graceful shutdown 2024-08-26 18:25:22 +01:00
Igor Katson
d4c4f4d93a
Updating docker config 2024-08-26 16:29:58 +01:00
Igor Katson
291b440f81
rewrite templates to use compile-time formatting 2024-08-25 14:37:18 +01:00
Igor Katson
f4f82ed4b4
Fix UPnP on Sony 2024-08-24 14:15:01 +01:00
Igor Katson
9e7b656f0b
UPNP server integrated into rqbit.
How to use: https://github.com/ikatson/rqbit/pull/208
2024-08-23 19:23:02 +01:00