Bump version to 0.12.2-1~wheezy
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Merge branch 'master' into debian-wheezy
Bump version to 0.12.2
Merge branch 'develop'
Print eui64 too while printing clients
ra: Set O=1 in periodic RA too
..so that rs responses (RA) and periodic ra are identical. Otherwisesome OSes seem to lose already obtained DNS configuration afterreceiving an RA with O flag unset.
dhcp6: return if no IPv6 network attached to tap
Add doc section
Bump version to 0.12.1-1~wheezy
Bump version to 0.12.1
Provide DNS Search List in DHCH6_Reply
In case of an IPv6 only VM we have to serve a Domain Search Listso that Windows VM can find the kms server by issuing:
nslookup -type=srv _vlmcs._tcp
An extra config option in ipv6 section is added; domainsThis is a list of search domains included in DHCP6_Reply....
Bump version to 0.12.0-1~wheezy
Bump version to 0.12.0
Introduce a helper script to analyze tcpdumps
1) # tcpdump -i tap10 -vvv -w tcpdump.pcap to save capture in a tmp file2) # python analyze_pcap.py tcpdump.pcap to see on-liner logs3) # python analyze_pcap.py tcpdump.pcap -n 14 to see a packet's details...
Support ra-stateless IPv6 configuration
This means that IPv6 will be auto-configured but DNS infowill be obtained via DHCPv6 requests.
With other words our router advertisements have the "O" flag setand we add another handler that serves DHCPv6 requests by...
Bump version to 0.11.8-1~wheezy
Bump version to 0.11.8
Allow binding files without IP entry
This is needed for NIC that obtain only IPv6.
Bump version to 0.11.7-1~wheezy
Merge branch 'debian-develop' into debian-wheezy
Bump version to 0.11.7
Conflicts: version
Change source format to quilt
Require python-nfqueue > 0.4-3
This way will not install python-nfqueue from wheezybut our custom 0.4+physindev-1 which support get_physindev.
Some pylint fixes
Support nfqueue of squeeze and wheezy
Support both callback function signatures.
Bump version to 0.11.6next
Bump version to 0.11.6-1~wheezy
Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>
Bump version to 0.11.6
Use devflow
Bump new upstream version
Merge branch 'master' into debian
Move ferm to Suggests
Revert "Change nameservers in nfdhcpd.conf"
This reverts commit be1030abdbce3fb12eb9682c7260b55c31786fa2.
All IPv4 and IPv6 examples should use the documentation/testranges, seehttps://tools.ietf.org/html/rfc5737 andhttps://tools.ietf.org/html/rfc3849....
Merge branch 'snf-master' into snf-debian
One socket per client and few logging fixes
process_pending(num) depending on nfqueue
dhcp - process_pending(5000)rs - process_pending(10)ns - process_pending(10)
Minor changes in logging and process_pending(10)
Add handler for SIGUSR1 to show current state
Add logrotate file
Use start-stop-daemon istead of start_daemon
Change RotatingFileHAndler to WatchedFileHandler
Change id before becoming a daemon
This will create a logfile with proper permitions and the RotatingFileHandlerwill not produce any error when bytes exceed maxBytes.
Fix init script, look for correct process title
Fix the init script to look for the daemon name insidethe process title instead of the python interpreter, nowthat python-setproctitle is in use.
Only set executable name with python-setproctitle
Cannot set individual values for arguments using python-setproctitle.See https://code.google.com/p/py-setproctitle/issues/detail?id=23&can=1.
Add python-setproctitle dependency
Change process title to simplify 'ps' display
Use python-setproctitle to change the process titleof the running daemon. Make it appear as a native executableto simplify administration.
Bump version 0.11.2
Nice logging
Fix a bug related to capng_update()
We need to update CAP_NET_RAW, CAP_NET_ADMIN separetly.
Fix two minor typos in debug messages
Fix bug that causes nfdhcpd to freeze
nfdhcpd opens a socket during init. socket.send() blocks in caseSO_SNDBUF is full. This might happen when packages are pushed tobuffer but never consumed (e.g. VM is shuting down).
To fix this we use non-blocking send with MSG_DONTWAIT and catch...
Fix two more logs
Improve log msgs
Fix bug in log msg
Add umask inside daemon context
Add try-except in DaemonContext.open()
It catches locking exceptions.
Signed-off-by: Dimitris Aragriorgs <dimara@grnet.gr>
Replace killproc with start-stop-daemon
killproc removes only the pidfile (not the lockfile). python daemonimplementation needs either no file or both a lock and a pidfile to bepresent.
Bump version 0.11
Remove rm -f pidfile
If exists a locking timeout it generated.
Fix previous commit concerning pidfile
Catch IPy exceptions for invalid networks/subnets
Signed-off-by: Stratos Psomadakis <psomas@grnet.gr>
Remove stale pid lock file
In case of make_ll64 fails return
Add try: except: in places of possible exceptions
pkt.lladdrns.lladdrsendp
Refactor nfdhcpd to support get_physindev()
If get_physindev is supported in nfqueue then the clients are indexedby their tap ifindex. If not then clients are indexed by their macs.
Add nice debug messages for nfdhcpd clients
Add ferm dependency
Remove iptables from init scripts
Change ferm
Mangle packets comming from tap+ and prv+ devices
Reapply option for serving domain
Remove mac2eui64 and refactor debian dir
Change debian/changelog
Add debug option
init.d changes
We manage mangle rules when starting/stoping nfdhcpd
Change nfdhcpd.ferm to support bridged clients
Mangle packets comming from all interfaces and not only from taps
Change nameservers in nfdhcpd.conf
Refactor nfdhcp
Get all info from binding file. Do not parse routing tables. Keeptrack of clients depending on their mac. Support clients connectedon bridges. Insteed of patching NFQUEUE add new slot in bindingsthat shows the physical device the incomming request originates (tap)....
Add debian/gbp.conf for git-buildpackage
Move pidfile under /var/run/nfdhcpd
Fix permission error for unprivileged server when trying to remove pidfileon exit, move pidfile under /var/run/nfdhcpd, modify initscriptaccordingly.
Signed-off-by: Vangelis Koukis <vkoukis@grnet.gr>
Changed pidfile location in configfile by vkoukis
Debian Changelog for 0.6+nmu1