snf-nfdhcpd
10 years agoBump version to 0.12.1-1~wheezy debian/0.12.1-1wheezy
Dimitris Aragiorgis [Thu, 6 Feb 2014 15:52:59 +0000 (17:52 +0200)]
Bump version to 0.12.1-1~wheezy

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoMerge branch 'master' into debian-wheezy
Dimitris Aragiorgis [Thu, 6 Feb 2014 15:52:32 +0000 (17:52 +0200)]
Merge branch 'master' into debian-wheezy

10 years agoBump version to 0.12.1 0.12.1
Dimitris Aragiorgis [Thu, 6 Feb 2014 15:51:47 +0000 (17:51 +0200)]
Bump version to 0.12.1

10 years agoMerge branch 'develop'
Dimitris Aragiorgis [Thu, 6 Feb 2014 15:51:14 +0000 (17:51 +0200)]
Merge branch 'develop'

10 years agoProvide DNS Search List in DHCH6_Reply
Dimitris Aragiorgis [Wed, 5 Feb 2014 14:01:28 +0000 (16:01 +0200)]
Provide DNS Search List in DHCH6_Reply

In case of an IPv6 only VM we have to serve a Domain Search List
so that Windows VM can find the kms server by issuing:

nslookup -type=srv _vlmcs._tcp

An extra config option in ipv6 section is added; domains
This is a list of search domains included in DHCP6_Reply.
Since we validate it with force_list() there is no need for a
trailing comma.

This info could be passed in RAs but DNSSL options is not currently
supported by scapy's inet6.py.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoBump version to 0.12.0-1~wheezy debian/0.12.0-1wheezy
Dimitris Aragiorgis [Fri, 17 Jan 2014 17:58:03 +0000 (19:58 +0200)]
Bump version to 0.12.0-1~wheezy

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoMerge branch 'master' into debian-wheezy
Dimitris Aragiorgis [Fri, 17 Jan 2014 17:56:59 +0000 (19:56 +0200)]
Merge branch 'master' into debian-wheezy

10 years agoBump version to 0.12.0 0.12.0
Dimitris Aragiorgis [Fri, 17 Jan 2014 17:56:01 +0000 (19:56 +0200)]
Bump version to 0.12.0

10 years agoMerge branch 'develop'
Dimitris Aragiorgis [Fri, 17 Jan 2014 17:55:23 +0000 (19:55 +0200)]
Merge branch 'develop'

10 years agoIntroduce a helper script to analyze tcpdumps
Dimitris Aragiorgis [Fri, 17 Jan 2014 17:45:59 +0000 (19:45 +0200)]
Introduce a helper script to analyze tcpdumps

1) # tcpdump -i tap10 -vvv -w tcpdump.pcap to save capture in a tmp file
2) # python analyze_pcap.py tcpdump.pcap to see on-liner logs
3) # python analyze_pcap.py tcpdump.pcap -n 14 to see a packet's details

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoSupport ra-stateless IPv6 configuration
Dimitris Aragiorgis [Fri, 17 Jan 2014 17:32:45 +0000 (19:32 +0200)]
Support ra-stateless IPv6 configuration

This means that IPv6 will be auto-configured but DNS info
will be obtained via DHCPv6 requests.

With other words our router advertisements have the "O" flag set
and we add another handler that serves DHCPv6 requests by
passing DNS info.

Use a separate NFQUEUE to mangle the DHCPv6 traffic. Add another
ferm rule to achieve that.

This is done because Windows do not support RFC 6101:

http://tools.ietf.org/search/rfc6106
http://social.technet.microsoft.com/Forums/windowsserver/en-US/5757980a-5983-4efc-a5f3-27687b90fe41/does-win7-or-w2k8-server-support-rfc-6106?forum=ipv6

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoBump version to 0.11.8-1~wheezy debian/0.11.8-1wheezy
Dimitris Aragiorgis [Mon, 16 Dec 2013 09:19:57 +0000 (11:19 +0200)]
Bump version to 0.11.8-1~wheezy

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoMerge branch 'master' into debian-wheezy
Dimitris Aragiorgis [Mon, 16 Dec 2013 09:16:57 +0000 (11:16 +0200)]
Merge branch 'master' into debian-wheezy

10 years agoBump version to 0.11.8 0.11.8
Dimitris Aragiorgis [Mon, 16 Dec 2013 09:15:52 +0000 (11:15 +0200)]
Bump version to 0.11.8

10 years agoMerge branch 'develop'
Dimitris Aragiorgis [Mon, 16 Dec 2013 09:14:40 +0000 (11:14 +0200)]
Merge branch 'develop'

10 years agoAllow binding files without IP entry
Dimitris Aragiorgis [Mon, 16 Dec 2013 01:11:05 +0000 (03:11 +0200)]
Allow binding files without IP entry

This is needed for NIC that obtain only IPv6.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoBump version to 0.11.7-1~wheezy debian/0.11.7-1wheezy
Dimitris Aragiorgis [Wed, 2 Oct 2013 15:14:43 +0000 (18:14 +0300)]
Bump version to 0.11.7-1~wheezy

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoMerge branch 'master' into debian-wheezy
Dimitris Aragiorgis [Wed, 2 Oct 2013 15:13:30 +0000 (18:13 +0300)]
Merge branch 'master' into debian-wheezy

10 years agoMerge branch 'debian-develop' into debian-wheezy
Dimitris Aragiorgis [Wed, 2 Oct 2013 15:12:30 +0000 (18:12 +0300)]
Merge branch 'debian-develop' into debian-wheezy

10 years agoBump version to 0.11.7 0.11.7
Dimitris Aragiorgis [Wed, 2 Oct 2013 15:11:16 +0000 (18:11 +0300)]
Bump version to 0.11.7

10 years agoMerge branch 'develop'
Dimitris Aragiorgis [Wed, 2 Oct 2013 15:10:57 +0000 (18:10 +0300)]
Merge branch 'develop'

Conflicts:
version

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoChange source format to quilt
Dimitris Aragiorgis [Wed, 2 Oct 2013 12:43:30 +0000 (15:43 +0300)]
Change source format to quilt

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoRequire python-nfqueue > 0.4-3
Dimitris Aragiorgis [Wed, 2 Oct 2013 11:57:42 +0000 (14:57 +0300)]
Require python-nfqueue > 0.4-3

This way will not install python-nfqueue from wheezy
but our custom 0.4+physindev-1 which support get_physindev.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoSome pylint fixes
Dimitris Aragiorgis [Wed, 2 Oct 2013 10:51:08 +0000 (13:51 +0300)]
Some pylint fixes

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoSupport nfqueue of squeeze and wheezy
Dimitris Aragiorgis [Wed, 2 Oct 2013 10:04:16 +0000 (13:04 +0300)]
Support nfqueue of squeeze and wheezy

Support both callback function signatures.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoBump version to 0.11.6next
Christos Stavrakakis [Fri, 30 Aug 2013 14:31:48 +0000 (17:31 +0300)]
Bump version to 0.11.6next

10 years agoBump version to 0.11.6-1~wheezy debian/0.11.6-1wheezy
Christos Stavrakakis [Fri, 30 Aug 2013 14:30:57 +0000 (17:30 +0300)]
Bump version to 0.11.6-1~wheezy

Signed-off-by: Christos Stavrakakis <cstavr@grnet.gr>

10 years agoMerge branch 'master' into debian-wheezy
Christos Stavrakakis [Fri, 30 Aug 2013 14:30:45 +0000 (17:30 +0300)]
Merge branch 'master' into debian-wheezy

10 years agoBump version to 0.11.6 0.11.6
Christos Stavrakakis [Fri, 30 Aug 2013 14:28:53 +0000 (17:28 +0300)]
Bump version to 0.11.6

10 years agoUse devflow
Christos Stavrakakis [Fri, 30 Aug 2013 10:37:13 +0000 (13:37 +0300)]
Use devflow

* add devflow.conf
* add base version file

10 years agoBump new upstream version debian/0.11.5-2
Dimitris Aragiorgis [Fri, 30 Aug 2013 11:19:18 +0000 (14:19 +0300)]
Bump new upstream version

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoMerge branch 'master' into debian
Dimitris Aragiorgis [Fri, 30 Aug 2013 11:18:52 +0000 (14:18 +0300)]
Merge branch 'master' into debian

10 years agoMove ferm to Suggests
Dimitris Aragiorgis [Fri, 30 Aug 2013 11:11:16 +0000 (14:11 +0300)]
Move ferm to Suggests

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

10 years agoUse devflow
Christos Stavrakakis [Fri, 30 Aug 2013 10:37:13 +0000 (13:37 +0300)]
Use devflow

* add devflow.conf
* add base version file

10 years agoRevert "Change nameservers in nfdhcpd.conf"
Vangelis Koukis [Tue, 6 Aug 2013 10:08:54 +0000 (13:08 +0300)]
Revert "Change nameservers in nfdhcpd.conf"

This reverts commit be1030abdbce3fb12eb9682c7260b55c31786fa2.

All IPv4 and IPv6 examples should use the documentation/test
ranges, see
https://tools.ietf.org/html/rfc5737 and
https://tools.ietf.org/html/rfc3849.

Conflicts:
nfdhcpd.conf

Signed-off-by: Vangelis Koukis <vkoukis@grnet.gr>

11 years agoMerge branch 'snf-master' into snf-debian debian/v0.11.5
Dimitris Aragiorgis [Fri, 5 Oct 2012 09:31:28 +0000 (12:31 +0300)]
Merge branch 'snf-master' into snf-debian

11 years agoOne socket per client and few logging fixes
Dimitris Aragiorgis [Thu, 4 Oct 2012 20:06:40 +0000 (23:06 +0300)]
One socket per client and few logging fixes

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoprocess_pending(num) depending on nfqueue
Dimitris Aragiorgis [Thu, 4 Oct 2012 13:33:47 +0000 (16:33 +0300)]
process_pending(num) depending on nfqueue

dhcp - process_pending(5000)
rs - process_pending(10)
ns - process_pending(10)

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoMinor changes in logging and process_pending(10)
Dimitris Aragiorgis [Thu, 4 Oct 2012 12:19:22 +0000 (15:19 +0300)]
Minor changes in logging and process_pending(10)

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoAdd handler for SIGUSR1 to show current state
Dimitris Aragiorgis [Wed, 3 Oct 2012 14:59:15 +0000 (17:59 +0300)]
Add handler for SIGUSR1 to show current state

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoAdd logrotate file
Dimitris Aragiorgis [Wed, 3 Oct 2012 10:41:41 +0000 (13:41 +0300)]
Add logrotate file

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoUse start-stop-daemon istead of start_daemon
Dimitris Aragiorgis [Wed, 3 Oct 2012 10:16:07 +0000 (13:16 +0300)]
Use start-stop-daemon istead of start_daemon

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoAdd logrotate file
Dimitris Aragiorgis [Wed, 3 Oct 2012 10:35:24 +0000 (13:35 +0300)]
Add logrotate file

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoChange RotatingFileHAndler to WatchedFileHandler
Dimitris Aragiorgis [Wed, 3 Oct 2012 10:27:58 +0000 (13:27 +0300)]
Change RotatingFileHAndler to WatchedFileHandler

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoChange id before becoming a daemon
Dimitris Aragiorgis [Thu, 20 Sep 2012 13:40:46 +0000 (16:40 +0300)]
Change id before becoming a daemon

This will create a logfile with proper permitions and the RotatingFileHandler
will not produce any error when bytes exceed maxBytes.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoFix init script, look for correct process title
Vangelis Koukis [Fri, 21 Sep 2012 10:26:05 +0000 (13:26 +0300)]
Fix init script, look for correct process title

Fix the init script to look for the daemon name inside
the process title instead of the python interpreter, now
that python-setproctitle is in use.

11 years agoMerge branch 'master' into debian
Vangelis Koukis [Fri, 21 Sep 2012 10:04:34 +0000 (13:04 +0300)]
Merge branch 'master' into debian

11 years agoOnly set executable name with python-setproctitle
Vangelis Koukis [Fri, 21 Sep 2012 10:03:36 +0000 (13:03 +0300)]
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.

11 years agoMerge branch 'master' into debian
Vangelis Koukis [Fri, 21 Sep 2012 09:28:26 +0000 (12:28 +0300)]
Merge branch 'master' into debian

11 years agoAdd python-setproctitle dependency
Vangelis Koukis [Fri, 21 Sep 2012 09:26:59 +0000 (12:26 +0300)]
Add python-setproctitle dependency

11 years agoChange process title to simplify 'ps' display
Vangelis Koukis [Fri, 21 Sep 2012 09:24:09 +0000 (12:24 +0300)]
Change process title to simplify 'ps' display

Use python-setproctitle to change the process title
of the running daemon. Make it appear as a native executable
to simplify administration.

11 years agoBump version 0.11.2
Dimitris Aragiorgis [Mon, 17 Sep 2012 15:05:47 +0000 (18:05 +0300)]
Bump version 0.11.2

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoMerge branch 'snf-master' into snf-debian
Dimitris Aragiorgis [Mon, 17 Sep 2012 14:59:34 +0000 (17:59 +0300)]
Merge branch 'snf-master' into snf-debian

11 years agoFix a bug related to capng_update()
Dimitris Aragiorgis [Sun, 16 Sep 2012 21:41:22 +0000 (00:41 +0300)]
Fix a bug related to capng_update()

We need to update CAP_NET_RAW, CAP_NET_ADMIN separetly.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoNice logging
Dimitris Aragiorgis [Sun, 16 Sep 2012 21:23:33 +0000 (00:23 +0300)]
Nice logging

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoFix two minor typos in debug messages
Vangelis Koukis [Wed, 12 Sep 2012 10:40:42 +0000 (13:40 +0300)]
Fix two minor typos in debug messages

11 years agoFix bug that causes nfdhcpd to freeze
Dimitris Aragiorgis [Tue, 11 Sep 2012 14:35:42 +0000 (17:35 +0300)]
Fix bug that causes nfdhcpd to freeze

nfdhcpd opens a socket during init. socket.send() blocks in case
SO_SNDBUF is full. This might happen when packages are pushed to
buffer but never consumed (e.g. VM is shuting down).

To fix this we use non-blocking send with MSG_DONTWAIT and catch
the error when the resource is not available.

In order to empty the socket buffer we close the socket and re-open it.
To this end we need CAP_NET_RAW capability otherwise operation
(socket.socket()) is not permitted.

Add various logging messages (during client creation, opening a
socket, etc.)

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoMerge branch 'snf-master' into snf-debian
Dimitris Aragriorgs [Thu, 6 Sep 2012 14:36:58 +0000 (17:36 +0300)]
Merge branch 'snf-master' into snf-debian

11 years agoFix two more logs
Christos Stavrakakis [Thu, 6 Sep 2012 14:19:13 +0000 (17:19 +0300)]
Fix two more logs

11 years agoFix bug in log msg
Christos Stavrakakis [Thu, 6 Sep 2012 13:42:28 +0000 (16:42 +0300)]
Fix bug in log msg

11 years agoImprove log msgs
Christos Stavrakakis [Thu, 6 Sep 2012 12:57:49 +0000 (15:57 +0300)]
Improve log msgs

11 years agoAdd umask inside daemon context
Christos Stavrakakis [Thu, 6 Sep 2012 12:28:02 +0000 (15:28 +0300)]
Add umask inside daemon context

11 years agoMerge branch 'snf-master' into snf-debian
Dimitris Aragriorgs [Thu, 6 Sep 2012 12:17:04 +0000 (15:17 +0300)]
Merge branch 'snf-master' into snf-debian

11 years agoAdd try-except in DaemonContext.open()
Dimitris Aragriorgs [Thu, 6 Sep 2012 11:58:58 +0000 (14:58 +0300)]
Add try-except in DaemonContext.open()

It catches locking exceptions.

Signed-off-by: Dimitris Aragriorgs <dimara@grnet.gr>

11 years agoReplace killproc with start-stop-daemon
Dimitris Aragriorgs [Thu, 6 Sep 2012 10:43:40 +0000 (13:43 +0300)]
Replace killproc with start-stop-daemon

killproc removes only the pidfile (not the lockfile). python daemon
implementation needs either no file or both a lock and a pidfile to be
present.

Signed-off-by: Dimitris Aragriorgs <dimara@grnet.gr>

11 years agoBump version 0.11
Dimitris Aragriorgs [Thu, 6 Sep 2012 09:52:44 +0000 (12:52 +0300)]
Bump version 0.11

Signed-off-by: Dimitris Aragriorgs <dimara@grnet.gr>

11 years agoMerge branch 'snf-master' into snf-debian
Dimitris Aragriorgs [Thu, 6 Sep 2012 09:52:17 +0000 (12:52 +0300)]
Merge branch 'snf-master' into snf-debian

11 years agoRemove rm -f pidfile
Dimitris Aragriorgs [Thu, 6 Sep 2012 09:11:09 +0000 (12:11 +0300)]
Remove rm -f pidfile

If exists a locking timeout it generated.

Signed-off-by: Dimitris Aragriorgs <dimara@grnet.gr>

11 years agoFix previous commit concerning pidfile
Dimitris Aragriorgs [Wed, 5 Sep 2012 12:02:53 +0000 (15:02 +0300)]
Fix previous commit concerning pidfile

Signed-off-by: Dimitris Aragriorgs <dimara@grnet.gr>

11 years agoCatch IPy exceptions for invalid networks/subnets
Stratos Psomadakis [Wed, 5 Sep 2012 11:31:11 +0000 (14:31 +0300)]
Catch IPy exceptions for invalid networks/subnets

Signed-off-by: Stratos Psomadakis <psomas@grnet.gr>

11 years agoRemove stale pid lock file
Dimitris Aragriorgs [Thu, 30 Aug 2012 19:32:54 +0000 (22:32 +0300)]
Remove stale pid lock file

Signed-off-by: Dimitris Aragriorgs <dimara@grnet.gr>

11 years agoIn case of make_ll64 fails return
Dimitris Aragiorgis [Tue, 7 Aug 2012 17:35:23 +0000 (20:35 +0300)]
In case of make_ll64 fails return

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoAdd try: except: in places of possible exceptions
Dimitris Aragiorgis [Tue, 7 Aug 2012 15:15:47 +0000 (18:15 +0300)]
Add try: except: in places of possible exceptions

pkt.lladdr
ns.lladdr
sendp

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoRefactor nfdhcpd to support get_physindev()
Dimitris Aragiorgis [Tue, 7 Aug 2012 14:38:11 +0000 (17:38 +0300)]
Refactor nfdhcpd to support get_physindev()

If get_physindev is supported in nfqueue then the clients are indexed
by their tap ifindex. If not then clients are indexed by their macs.

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoAdd nice debug messages for nfdhcpd clients
Dimitris Aragiorgis [Mon, 6 Aug 2012 13:41:42 +0000 (16:41 +0300)]
Add nice debug messages for nfdhcpd clients

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoAdd ferm dependency
Dimitris Aragiorgis [Thu, 26 Jul 2012 17:00:42 +0000 (20:00 +0300)]
Add ferm dependency

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoRemove iptables from init scripts
Dimitris Aragiorgis [Sat, 21 Jul 2012 09:20:24 +0000 (12:20 +0300)]
Remove iptables from init scripts

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoChange ferm
Dimitris Aragiorgis [Sat, 21 Jul 2012 09:18:34 +0000 (12:18 +0300)]
Change ferm

Mangle packets comming from tap+ and prv+ devices

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoReapply option for serving domain
Dimitris Aragiorgis [Thu, 19 Jul 2012 16:18:51 +0000 (19:18 +0300)]
Reapply option for serving domain

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoRemove mac2eui64 and refactor debian dir
Dimitris Aragiorgis [Thu, 5 Jul 2012 15:24:59 +0000 (18:24 +0300)]
Remove mac2eui64 and refactor debian dir

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoChange debian/changelog
Dimitris Aragiorgis [Tue, 3 Jul 2012 10:59:11 +0000 (13:59 +0300)]
Change debian/changelog

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoAdd debug option
Dimitris Aragiorgis [Tue, 3 Jul 2012 10:34:57 +0000 (13:34 +0300)]
Add debug option

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoinit.d changes
Dimitris Aragiorgis [Tue, 3 Jul 2012 10:33:00 +0000 (13:33 +0300)]
init.d changes

We manage mangle rules when starting/stoping nfdhcpd

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoChange nfdhcpd.ferm to support bridged clients
Dimitris Aragiorgis [Tue, 3 Jul 2012 10:18:17 +0000 (13:18 +0300)]
Change nfdhcpd.ferm to support bridged clients

Mangle packets comming from all interfaces and not only from taps

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoChange nameservers in nfdhcpd.conf
Dimitris Aragiorgis [Tue, 3 Jul 2012 10:17:55 +0000 (13:17 +0300)]
Change nameservers in nfdhcpd.conf

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoRefactor nfdhcp
Dimitris Aragiorgis [Tue, 3 Jul 2012 10:13:54 +0000 (13:13 +0300)]
Refactor nfdhcp

Get all info from binding file. Do not parse routing tables. Keep
track of clients depending on their mac. Support clients connected
on bridges. Insteed of patching NFQUEUE add new slot in bindings
that shows the physical device the incomming request originates (tap).

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

11 years agoAdd debian/gbp.conf for git-buildpackage
Dimitris Aragiorgis [Tue, 3 Jul 2012 10:00:39 +0000 (13:00 +0300)]
Add debian/gbp.conf for git-buildpackage

Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>

12 years agoMove pidfile under /var/run/nfdhcpd
Costas Drogos [Tue, 3 Apr 2012 13:44:10 +0000 (16:44 +0300)]
Move pidfile under /var/run/nfdhcpd

Fix permission error for unprivileged server when trying to remove pidfile
on exit, move pidfile under /var/run/nfdhcpd, modify initscript
accordingly.

Signed-off-by: Vangelis Koukis <vkoukis@grnet.gr>

12 years agoMerge branch 'master' into debian
Costas Drogos [Tue, 3 Apr 2012 13:43:48 +0000 (16:43 +0300)]
Merge branch 'master' into debian

12 years agoChanged pidfile location in configfile by vkoukis
Costas Drogos [Tue, 3 Apr 2012 13:35:30 +0000 (16:35 +0300)]
Changed pidfile location in configfile by vkoukis

12 years agoDebian Changelog for 0.6+nmu1
Costas Drogos [Mon, 2 Apr 2012 07:44:05 +0000 (10:44 +0300)]
Debian Changelog for 0.6+nmu1

12 years agoMerge branch 'master' into debian
Costas Drogos [Mon, 2 Apr 2012 07:20:58 +0000 (10:20 +0300)]
Merge branch 'master' into debian

12 years agoSmall typo introduced on df3e8face1cf
Costas Drogos [Mon, 2 Apr 2012 06:57:28 +0000 (09:57 +0300)]
Small typo introduced on df3e8face1cf

12 years agoOption for serving domain from nfdhcpd to clients
Costas Drogos [Tue, 27 Mar 2012 22:28:41 +0000 (01:28 +0300)]
Option for serving domain from nfdhcpd to clients

    On some occasions the clients do not send an fqdn as hostname,
    so another way to send a domain is needed.

    For that, a new optional config directive is introduced, called
    "domain", as a way to hardcode the domain we serve.

    If this directive is not defined, the traditional
    'find domain through hostname' technique is used.

12 years agoRevert "Option for serving domain from nfdhcpd to clients"
Costas Drogos [Tue, 27 Mar 2012 22:19:17 +0000 (01:19 +0300)]
Revert "Option for serving domain from nfdhcpd to clients"

This reverts commit 99915273041fc33631d34858a6e6b315492b8f84.

Should commit to master first.

12 years agoOption for serving domain from nfdhcpd to clients
Costas Drogos [Fri, 23 Mar 2012 09:50:26 +0000 (11:50 +0200)]
Option for serving domain from nfdhcpd to clients

On some occasions the clients do not send an fqdn as hostname,
so another way to send a domain is needed.

For that, a new optional config directive is introduced, called
"domain", as a way to hardcode the domain we serve.

If this directive is not defined, the traditional
'find domain through hostname' technique is used.

12 years agoMerge branch 'master' into debian
Faidon Liambotis [Wed, 12 Oct 2011 14:41:54 +0000 (17:41 +0300)]
Merge branch 'master' into debian

12 years agomac2eui64: exit on an invalid IPv6 prefix
Faidon Liambotis [Wed, 12 Oct 2011 14:38:03 +0000 (17:38 +0300)]
mac2eui64: exit on an invalid IPv6 prefix

12 years agoHandle pidfile properly, redirect stderr in daemon
Vangelis Koukis [Wed, 7 Sep 2011 11:53:17 +0000 (14:53 +0300)]
Handle pidfile properly, redirect stderr in daemon

Handle pidfile creation properly, as part of daemonization process.
Parse config file and setup logging before daemonization.
Redirect stderr to logfile upon daemonization, otherwise numerous
unexpected exceptions get lost.

12 years agoAdd mac2eui64 utility
Apollon Oikonomopoulos [Wed, 12 Oct 2011 14:34:43 +0000 (17:34 +0300)]
Add mac2eui64 utility