Commit graph

160 commits

Author SHA1 Message Date
Florian Hoss
492d6bee0e Update .gitignore 2022-04-21 15:43:16 +02:00
Florian Hoss
c8f38a3d17 Update .gitignore 2022-04-21 15:33:52 +02:00
Florian Hoss
7548497ac0 Delete extensions.json 2022-04-21 13:33:35 +00:00
Florian Hoss
a7540a9504 move files around 2022-04-21 15:32:04 +02:00
Florian Hoss
4594215a23 move ignore files 2022-04-21 15:31:52 +02:00
Florian Hoss
db80be44de Merge branch '9-auth-for-api' into 'main'
Resolve "Auth for API"

Closes #9

See merge request toheer/iot-security-tools!4
2022-04-21 13:16:54 +00:00
Florian Hoss
b531b5b360 Resolve "Auth for API" 2022-04-21 13:16:54 +00:00
Florian Hoss
6aee231a4e Merge branch 'seperate-classes' into 'main'
Seperate classes

See merge request toheer/iot-security-tools!3
2022-04-20 19:35:57 +00:00
Florian Hoss
a8cd48c756 all working as intended 2022-04-20 21:35:36 +02:00
Florian Hoss
a08ea4803b using SPIFFS for cert, eeprom for the rest 2022-04-20 21:17:34 +02:00
Florian Hoss
c86be9feb4 move helper functions to types 2022-04-20 19:58:15 +02:00
Florian Hoss
71b6fee0a6 all working as expected 2022-04-20 19:54:46 +02:00
Florian Hoss
89886a65e3 storing and reading works 2022-04-20 19:42:30 +02:00
Florian Hoss
d457949a76 get certificate from storage 2022-04-20 16:02:10 +02:00
Florian Hoss
fe65ae4866 store cert method 2022-04-20 15:53:54 +02:00
Florian Hoss
d05ccef834 use preferences instead of eeprom 2022-04-20 15:43:02 +02:00
Florian Hoss
e5c061ff32 rename... 2022-04-20 14:37:21 +02:00
Florian Hoss
beddd88653 introduce namespace 2022-04-20 13:08:12 +02:00
Florian Hoss
73533e5d15 cleanup classes 2022-04-20 11:40:00 +02:00
Florian Hoss
0c7cbae18a ip needs to be c_str for console 2022-04-20 11:06:17 +02:00
Florian Hoss
d0eeab9c52 remove old imports 2022-04-20 08:21:04 +02:00
Florian Hoss
790371a099 works with inheritance 2022-04-20 08:17:55 +02:00
Florian Hoss
b2c2a967d9 create seperate api class 2022-04-20 07:58:06 +02:00
Florian Hoss
1a2b495ff7 changing types 2022-04-19 21:35:32 +02:00
Florian Hoss
61966d6791 clean filenames 2022-04-19 21:26:43 +02:00
Florian Hoss
69eaf1cead create seperate types file 2022-04-19 21:15:55 +02:00
Florian Hoss
aa725f995f only show wifi reconnection in debug log level 2022-04-19 00:17:03 +02:00
Florian Hoss
4712b5eba2 Merge branch 'https' into 'main'
implement https

See merge request toheer/iot-security-tools!2
2022-04-18 22:11:37 +00:00
Florian Hoss
7aca5ebf04 communication is encrypted
needed to use PR#91 from https_server for callback functions support
2022-04-19 00:09:06 +02:00
Florian Hoss
c155d986e2 Update .gitignore 2022-04-19 00:08:14 +02:00
Florian Hoss
34db1a88d1 start to move to https 2022-04-18 22:56:30 +02:00
Florian Hoss
b635eb38df cleanup 2022-04-18 18:45:37 +02:00
Florian Hoss
e966638f86 Merge branch 'eeprom' into 'main'
Eeprom

See merge request toheer/iot-security-tools!1
2022-04-18 16:41:12 +00:00
Florian Hoss
4a34439fd2 eeprom successfully implemented for firewall rules 2022-04-18 18:40:23 +02:00
Florian Hoss
66dffbc2fc create firewall rule set on startup 2022-04-18 17:55:34 +02:00
Florian Hoss
06b122de64 read all firewall rules stored in eeprom 2022-04-18 17:46:17 +02:00
Florian Hoss
d017f28254 rule can be written to eeprom 2022-04-18 17:35:52 +02:00
Florian Hoss
d7520c15fd store amount of rules in eeprom 2022-04-18 13:11:02 +02:00
Florian Hoss
d269eff8ee communicating with eeprom 2022-04-18 11:16:01 +02:00
Florian Hoss
ae73e2081d performance enhancement for firewall rule size 2022-04-18 10:59:02 +02:00
Florian Hoss
dff1f4f0aa delete firewall rule works 2022-04-11 22:17:55 +02:00
Florian Hoss
cd41ce6129 speed and clean code 2022-04-11 21:27:27 +02:00
Florian Hoss
f1dbc95de5 find a specific firewall rule in the linked list 2022-04-11 18:40:57 +02:00
Florian Hoss
945f1fd3b6 get firewall rule over url parameter and regex 2022-04-11 18:19:03 +02:00
Florian Hoss
0e1bf6a915 check for parameter 2022-04-11 18:06:21 +02:00
Florian Hoss
c33414ade1 firewall routes can be created 2022-04-11 17:46:44 +02:00
Florian Hoss
9dfd1d06ab replace webserver with async type 2022-04-11 17:02:58 +02:00
Florian Hoss
3b6c5e0561 add post request 2022-04-11 13:49:48 +02:00
Florian Hoss
bbea1428e5 example firewall data 2022-04-11 11:50:13 +02:00
Florian Hoss
2cc20a1d62 add firewall rule, return all rules 2022-04-11 11:47:50 +02:00