changed -d to -t; -d is now for daemonizing, removed -f; drop privileges if run as root and in daemon mode and chroot

This commit is contained in:
git@daemon.de
2015-04-27 14:04:57 +02:00
parent b34aab38b6
commit e8d40a7dc5
8 changed files with 198 additions and 87 deletions

View File

@@ -10,8 +10,8 @@ compiler:
script:
- make
- sudo make install
- sudo udpxd -l 127.0.0.1:53 -d 8.8.8.8:53
- sudo udpxd -l [::1]:53 -d [2001:4860:4860::8888]:53
- sudo udpxd -l 127.0.0.1:53 -d 8.8.8.8:53 -d
- sudo udpxd -l [::1]:53 -t [2001:4860:4860::8888]:53 -d
- dig +nocmd +noall +answer google.de a @127.0.0.1
- dig +nocmd +noall +answer google.de a @::1
- sudo killall udpxd