소스 검색

logging info

tags/v1.0.0
Pascal Gloor 6 년 전
부모
커밋
8edd707ca6
2개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 9
    0
      README.md
  2. 2
    2
      dhcp_protect.conf

+ 9
- 0
README.md 파일 보기

blacklist_time = 55s blacklist_time = 55s
queue = 67 queue = 67
``` ```

# Logging

The program will log to system every time a client is added or removed from the blacklist.

```
Oct 23 16:50:18 router dhcp_protect[9706]: 00000000021b: blacklisting started
Oct 23 16:52:18 router dhcp_protect[9706]: 00000000021b: blacklisting ended
```

+ 2
- 2
dhcp_protect.conf 파일 보기



# debug # debug
# enable debugging, warning, very verbose # enable debugging, warning, very verbose
debug=1
debug=0


# blacklist_time # blacklist_time
# number of seconds this client will be ignored once # number of seconds this client will be ignored once
# this can be used for testing, syslog will still display the blacklisting # this can be used for testing, syslog will still display the blacklisting
# actions. # actions.
# Set to 0 for production. # Set to 0 for production.
dryrun=1
dryrun=0

Loading…
취소
저장