Jamesdev
Newcomer
- Joined
- Jan 8, 2022
- Messages
- 1
- Reaction score
- 0
Hi, I'm working on a secondary firewall for connections through a third-party proxy (with a forwarded ip) using lua and modsecurity. I was wondering if anyone knows if it's possible to use lua to check ipset in an efficient way? I know os.execute is possible but I feel that might be inefficient on a busy network.
I have a working lua script that can check a list of IPs stored in a text file. I'd prefer to access the Linux ipset if possible.
Any tips, clues or ideas would be greatly appreciated.
Thanks!
I have a working lua script that can check a list of IPs stored in a text file. I'd prefer to access the Linux ipset if possible.
Any tips, clues or ideas would be greatly appreciated.
Thanks!