René van Dorst
02992771ad
change is_word_x() return type from char to bool.
...
Saves 10 bytes.
2026-05-17 21:15:39 +02:00
René van Dorst
f81c497728
refactor is_word_x()
...
Saved 22 bytes.
2026-05-17 21:13:07 +02:00
René van Dorst
b46cc2087f
change is_word() return type from char to bool.
...
Saves 52 bytes.
2026-05-17 21:12:57 +02:00
René van Dorst
3904daced7
refactor is_word()
...
Saved 23 bytes.
2026-05-17 19:14:27 +02:00
René van Dorst
2b39d723c7
Merge pull request #225 from orbisai0security/fix-v010-firmware-upload-auth-integrity
...
fix: authenticate config upload before flash erase and abort failed firmware CRC
2026-05-17 11:52:22 +00:00
logicog
8ab2a6a9da
Add URL decoding for password comparison.
2026-05-15 16:04:48 +02:00
orbisai0security
a71eb57702
fix: V-010 security vulnerability
...
Automated security fix generated by Orbis Security AI
2026-05-15 02:46:09 +00:00
logicog
0106f99ee0
Merge pull request #214 from feelfree69/flash_erase
...
Erase flash before writing upload image
2026-05-08 08:30:45 +02:00
feelfree69
22aaa9fbfe
Renamed and moved FLASH_PAGE_SIZE; added compile-time check
2026-05-08 07:13:41 +02:00
feelfree69
9714818b1f
Erase flash before writing upload image
2026-05-03 15:55:36 +02:00
logicog
9c668969d4
Fix POST upload request handling for Chrome browser
...
Chrome sends upload requests using POST with multipart/form-data
content type in multiple packets for the header part of the form-data.
Introduce a TSTATE_MULTIPART for the httpd server states that denotes
that so far only a part of the multipart header has been transmitted.
Once the full header has been transmitted, we change to TSTATE_POST
as for Firefox which sends all the multipart header in one piece.
The main further change required then is to make sure that the parsing
of the initial part of the multipart request is only parsed once and initially
to distinguish between configuration and firmware uploads.
2026-05-03 08:16:55 +02:00
logicog
7e3a0f5d8f
Allow javascript to modify svg styles for Firefox version >140
2026-03-16 17:32:15 +01:00
logicog
7949975191
Add backend support for bandwidth control
2026-03-08 20:55:50 +01:00
feelfree69
ffbd2c512d
Check for sifficient flashsize before applying an update
2026-02-25 18:51:00 +01:00
logicog
284b2b003d
Merge pull request #127 from feelfree69/resetbutton
...
Add button handling with the possibility to revert to default settings
2026-02-23 21:01:14 +01:00
feelfree69
e5d23f11de
Demagic FLASH_BUF_SIZE
2026-02-15 13:28:31 +01:00
chriz
5d731393f1
Delay reset, to allow TCP reset to be transmitted.
2026-02-14 11:17:42 +01:00
feelfree69
79c9d0deab
Add button handling with the possibility to revert to default settings
2026-02-14 10:55:35 +01:00
chriz
ea37126e87
New apporach: Make startup config independent.
2026-02-12 14:17:22 +01:00
TylerDurden-23
97b46071e0
Merge branch 'logicog:main' into opt-system-settings
2026-02-06 10:50:46 +01:00
chriz
5a11515c36
Improve firefox compatibility.
2026-01-27 14:59:57 +01:00
chriz
5662285a3e
Clear command log after saving.
2026-01-26 23:29:23 +01:00
feelfree69
0345bf7bf2
Use DIO mode for normal operation; disable DIO before flashing. Use SYS_LED for indicating booting (slow), flashing (fast) and normal operation (on)
2026-01-22 19:38:17 +01:00
feelfree69
8dc914eb07
make fw upload working; nicer debug outputs for console
2026-01-22 08:17:07 +01:00
logicog
fd1d14a3e7
Use main directory for includes in httpd
2026-01-18 07:50:38 +01:00
logicog
e53f5e7134
Add L2 entry deletion support via web
2026-01-17 12:56:43 +01:00
logicog
e59158e006
Add backend support for L2 entries in web
2026-01-16 18:04:22 +01:00
logicog
84fe44cc9a
Add httpd backend implementation for MIB counter requests
2026-01-15 18:07:56 +01:00
René van Dorst
229fad3809
Merge pull request #73 from logicog/dio
...
Enable Flash Dual I/O command by default.
Speed up data transfers up to 2x.
2026-01-08 21:52:52 +00:00
logicog
e085fc9cc9
Convert unconditional prints to debug prints in httpd
2026-01-08 09:56:43 +01:00
logicog
f621563479
Enable DIO by default
2026-01-08 06:44:38 +01:00
logicog
51345a07e6
Add mtu support in http server
2025-12-22 23:28:50 +01:00
logicog
519c224dd2
Use charset=UTF-8 in http header
...
This allows us to use the degree sign for the temperatur
readings of the SFP modules.
2025-12-16 20:08:47 +01:00
logicog
3679b46ff2
Add LAG implementation in httpd
2025-12-05 07:38:16 +01:00
logicog
b910692caf
Use random session ID in httpd.c
2025-12-01 18:26:46 +01:00
logicog
ad27566030
Use current password in httpd.c
2025-12-01 18:26:46 +01:00
logicog
0722b147fe
Add cache control to make sure new pages are served on session timeout
2025-12-01 18:26:46 +01:00
logicog
73a81ec031
Add initial implementation for authentication
2025-12-01 18:26:46 +01:00
logicog
f485102d26
Add fetching of configuration file and current cmd history
2025-11-29 12:44:23 +01:00
logicog
9d4ba57cd0
Add support for chunking of served files
...
This removes the limitation that a file served from FLASH memory
needs to be smaller than the TCP buffer size. Now we serve up to
the TCP buffer size in the first go and then remember what parts
still need to be sent. As soon as the previous package has been
acked, the next chunk of data is copied from flash into the
TCP transmit buffer and gets sent. We take care only to send
the current TCP window size so no further fragmentation needs to
happen, thus optimizing transmission of the remainder.
2025-11-29 12:44:23 +01:00
logicog
51c5bd75eb
Add mirroring web-calls
2025-10-29 15:39:47 +01:00
René van Dorst
d0b6a73bf2
Merge pull request #30 from logicog/crc16
...
CRC-16 Calculation and verification
2025-10-26 21:59:50 +00:00
logicog
9c062edc75
Fix CRC calculation during upload
2025-10-26 14:20:07 +01:00
logicog
ba902a68d4
Defer cmd execution for console and via http POST
2025-10-21 18:05:33 +02:00
logicog
726b421824
Add EEE httpd support
2025-10-21 17:46:18 +02:00
logicog
4d17d9ff00
Add CRC verification
2025-10-20 07:29:39 +02:00
logicog
7546d0c685
Fix bug in usage of CONST segment in banked code. Use #pragma constseg
2025-10-14 18:41:52 +02:00
logicog
8efb9fb305
Fix counter GET
2025-10-11 13:09:47 +02:00
René van Dorst
928cf1cf58
http: upload: make sure we don't cross flash page boundaries.
...
This causes the address pointer to wrap back to the front of the page.
Which results in that the beginnen of the page can have data for the next page.
2025-10-07 21:19:36 +02:00
René van Dorst
52fa41760c
Don't pass the first 16-bit argument via xdata.
...
Calling confention already uses the DPTR registers as the first two byte arguments.
So adds a lot of code to put the 16-bit value on xdata, still passes the 16-bit xdata ptr in DPTR registers, then read the xdata value.
So it doesn't save any sram bytes.
2025-10-05 16:22:23 +02:00