6 Commits

Author SHA1 Message Date
lucheng
c3e8b29a83 Add TODO use hash map to get ip from pool
1. Use username as input to count hash then get ip index
2. Change test env cidr
2024-08-05 09:20:04 +08:00
lucheng
6460f1d8e5 Make AES key configurable
1. Use SetAESKey to set AES key
2. Check config.yaml and make port and log info with default value
3. Make will generate new random AES key in config.yaml
2024-06-27 15:35:49 +08:00
lucheng
3728d64c35 Add nat to dev env 2024-06-11 15:43:22 +08:00
wj
2fdc3d9476 Add packet counts and upstream and downstream traffic counts 2024-06-11 05:52:50 +00:00
lucheng
31483d17ce Add script to setup dev env 2024-06-07 11:47:07 +08:00
lucheng
97a0e46915 Add aes encrypt and decrypt
1. Add aes encrypt and decrypt
2. Generate AESKEY before build
2024-04-24 09:46:29 +08:00