Commit Graph

11 Commits

Author SHA1 Message Date
Italo Cunha 30add2e41b Allow setting log history size
BIRD-LG currently keeps log files indefinitely. This patch allows
setting the number of days logs should be kept for by adding
a `LOG_NUM_DAYS` parameter in the configuration files.

This change is backwards compatible: Running the updated code with
old configuration files will keep logs indefinitely as before; new
deployments based on the example configuration will keep logs
indefinitely.
2021-06-06 19:29:51 +02:00
Baptiste Jonglez a45ae45408 Basic python reformatting
Transform all tabs to spaces and remove trailing spaces.
2020-06-15 22:34:25 +02:00
Guillaume Marsay 96c33da446 Add SHARED_SECRET 2020-06-15 17:33:50 +02:00
zorun 6f277c23cb
Merge pull request #60 from vidister/master
Add shebang to lgproxy.py
2020-06-14 18:42:35 +02:00
vidister 1a13a41db7 Add shebang to lgproxy.py 2020-04-29 14:01:45 +02:00
Peter Hansen 71226a4ed3 specify config file as cli argument 2019-12-28 11:32:00 +01:00
Stefan a3babe00d9 bind lgproxy.py optionally to an IP
Add the options
```BIND_IP = "0.0.0.0"
BIND_PORT = 5000```
which allows to bind lgproxy.py to an IP/interface.

As ports on routers shouldn't be exposed too much, it probably also makes sense to others to have this function. Tested.
2018-04-07 12:18:09 +02:00
Martin Pels 9de7dee49c Specify bird socket file location in config 2015-09-08 11:46:07 +02:00
Mehdi Abaakouk af2c305049 Merge remote-tracking branch 'zorun/master' 2014-03-18 14:09:36 +01:00
Mehdi Abaakouk cbdaa9138c Change lg-proxy to lgproxy to easly import it in wsgi part2 2014-02-18 11:57:44 +01:00
Mehdi Abaakouk 63e978f84f Change lg-proxy to lgproxy to easly import it in wsgi 2014-02-18 11:52:43 +01:00
Renamed from lg-proxy.py (Browse further)