Commit Graph

45 Commits

Author SHA1 Message Date
devdesk
acf9b2c4c4 rust implementation, fast enough it looks 2024-02-15 23:24:22 +02:00
devdesk
d661bf27ae rewrite to use scapy.all.sniff callback parameter, better, still sucks 2024-02-15 20:56:18 +02:00
devdesk
679a87bf45 stop writing to udp.bytes 2024-02-15 20:23:51 +02:00
devdesk
d9cb5986ee live working with image 2024-02-15 00:30:45 +02:00
devdesk
fccc2ba2e5 almost live, but horrible hack for stream capture, and not live ffmpeg, just live save of images 2024-02-15 00:27:48 +02:00
devdesk
17c7d0e555 almost live, but horrible hack for stream capture, and not live ffmpeg, just live save of images 2024-02-15 00:26:10 +02:00
devdesk
7d75ad7596 README: fix wiki link 2024-02-14 21:33:40 +02:00
devdesk
45ec502eca add a rust replay example, packet has identical data, src port, dest port, dest address
existing:

397	2041.095533360	192.168.0.1	192.168.0.255	UDP	252	8091 → 8092 [BAD UDP LENGTH 217 > IP PAYLOAD LENGTH] Len=209

new:

396	2008.927877440	192.168.0.1	192.168.0.255	UDP	70	8091 → 8092 Len=28

old bytes:

0000   ff ff ff ff ff ff 00 01 6c 59 f0 0a 08 00 45 00   ........lY....E.
0010   00 38 28 1d 00 00 80 11 90 47 c0 a8 00 01 c0 a8   .8(......G......
0020   00 ff 1f 9b 1f 9c 00 d9 00 00 01 20 01 80 1b 40   ........... ...@
0030   00 20 00 00 00 00 00 00 00 0f 00 00 00 01 00 00   . ..............
0040   01 00 00 20 2b 00 00 00 00 00 00 00 00 00 00 00   ... +...........
0050   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
0060   00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff   ................
0070   ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff   ................
0080   ff 00 00 00 00 00 00 00 02 01 00 00 00 00 00 00   ................
0090   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00a0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00b0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00c0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00d0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00e0   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   ................
00f0   00 00 00 00 00 00 00 00 00 00 00 00               ............

new bytes:

0000   ff ff ff ff ff ff a8 20 66 11 cb 49 08 00 45 00   ....... f..I..E.
0010   00 38 2b 75 40 00 40 11 8c ef c0 a8 00 01 c0 a8   .8+u@.@.........
0020   00 ff 1f 9b 1f 9c 00 24 82 86 01 20 01 80 1b 40   .......$... ...@
0030   00 20 00 00 00 00 00 00 00 0f 00 00 00 01 00 00   . ..............
0040   01 00 00 20 2b 00                                 ... +.
2024-01-19 23:39:23 +02:00
devdesk
fa5a16a8ea try to run a dhcp server 2024-01-19 23:31:26 +02:00
devdesk
82d11e868f Merge branch 'main' of git.telavivmakers.space:tami/thermalcam_decoder 2024-01-07 02:03:45 +02:00
devdesk
85bda0fa27 replay file 2024-01-07 02:02:52 +02:00
yair
0ec9d70cd6 add c to temp value 2023-12-31 20:25:51 +02:00
yair
1e59c59aca merge pixel view to show 16bit and calibrated resaults. 50frame step, allow to save frame 2023-12-31 18:58:30 +02:00
yair
787bdfe5f7 merge pixel view to show 16bit and calibrated resaults. allow to save frame 2023-12-31 18:56:49 +02:00
Alon Levy
d6c5058f2e add rustdecode.sh 2023-12-31 14:18:30 +02:00
Alon Levy
3ea0c74e7f rust: create target dir, use frames/basename as decode.py 2023-12-31 14:17:03 +02:00
Alon Levy
862a48131e use std::fs::OpenOptions instead of File hoping that it behaves differently under windows? 2023-12-31 13:47:05 +02:00
Alon Levy
6725a9af63 decode.py: rewrite to use iterators 2023-12-31 13:40:47 +02:00
Alon Levy
312637fa72 add missing test2.py 2023-12-31 11:30:54 +02:00
Alon Levy
6af9b21be1 use 5 digits since we have a 5G file with 46372 frames 2023-12-31 01:25:08 +02:00
Alon Levy
5f5834835c rust version iterator based, 3.5 MB memory turning 5 GB frames to files on disk, 10MiB/second 2023-12-31 01:20:44 +02:00
Alon Levy
ade93550ad do not consume iterator 2023-12-31 00:20:56 +02:00
Alon Levy
9b2f8d9377 move rust to root, make a separate main example, start using iterator 2023-12-31 00:19:24 +02:00
Alon Levy
44849f5b66 correct rust temperature code 2023-12-29 17:33:10 +02:00
Alon Levy
0554eaaafd cvview: add c char as calibration 2023-12-29 17:30:40 +02:00
Alon Levy
056bb2f96c rust example working, clean up 2023-12-29 17:06:22 +02:00
Alon Levy
a612d4f7d7 add rust usage example 2023-12-29 17:05:44 +02:00
Alon Levy
ce6fa022f9 requirements: add maturin 2023-12-29 17:03:54 +02:00
Alon Levy
18c952f94d pyo3 package 2023-12-29 17:01:58 +02:00
Alon Levy
b7714ca957 ignore images 2023-12-29 17:01:49 +02:00
Alon Levy
57a2c3197e try to do temperature change, wrongly 2023-12-29 16:27:50 +02:00
Alon Levy
fe56b9f346 feature parity with python 2023-12-29 16:27:50 +02:00
Alon Levy
45dfbd6d66 gets frames 2023-12-29 16:27:50 +02:00
Alon Levy
68757371a0 parses all packets, pretty fast 2023-12-29 16:27:50 +02:00
Alon Levy
2e4e7c7c07 parses all packets, forgot to account for partial 2023-12-29 16:27:50 +02:00
Alon Levy
1716ed1924 pcap-parser 91 packets ?? 2023-12-29 16:27:50 +02:00
yair-mantis
e15ec35ddd viewer 2023-12-29 02:26:24 +02:00
yair-mantis
e1d688da6e clean and comment 2023-12-26 16:35:32 +02:00
yair-mantis
5290f60500 new video 2023-12-26 15:39:22 +02:00
yair-mantis
f56d82487d libx264 and rotate the video 2023-12-26 15:38:54 +02:00
yair-mantis
e7ab3b6c80 format 2023-12-26 15:34:22 +02:00
eaf7294d06 Update 'readme.md' 2023-12-26 00:57:40 +02:00
devdesk
fda57e916c read 2023-12-26 00:06:38 +02:00
devdesk
d86d488ab1 decoder 2023-12-25 23:55:12 +02:00
devdesk
f5774f9214 initial 2023-12-25 23:12:44 +02:00