Daniel Adolfsson
bc70f587ef
Refactor source
...
- Change coding style
- Switch from own implementation of smart pointers to std::smart_ptr
and std::weak_ptr
2012-01-28 20:28:07 +01:00
Daniel Adolfsson
6fda405a59
Add required #include when compiling for OpenWrt
0.2.1
2012-01-26 11:38:54 +01:00
Daniel Adolfsson
d78bee25a7
Updated author's e-mail address
2012-01-26 11:21:07 +01:00
Daniel Adolfsson
d1a4c3eb77
Add ChangeLog
2011-10-11 09:24:47 +02:00
Daniel Adolfsson
f2138db118
Fix Makefile to allow LDFLAGS to be overridden
2011-10-10 21:56:08 +02:00
Daniel Adolfsson
4bebf388a5
Update Makefile and fix compilation errors
2011-10-10 13:05:24 +02:00
Daniel Adolfsson
5208248f25
Release 0.2.1
2011-10-07 10:45:11 +02:00
Daniel Adolfsson
65ae331c00
Update documentation in README and ndppd.1
2011-09-19 15:53:59 +02:00
Daniel Adolfsson
cc3a075b6f
Fix Makefile
2011-09-19 10:41:38 +02:00
Daniel Adolfsson
23e1bfa3b8
Change version to 0.2.1~rc1
2011-09-18 19:31:34 +02:00
Daniel Adolfsson
db6598fd4a
Update manpage ndppd(1) to include '-p' option
2011-09-18 15:23:47 +02:00
Daniel Adolfsson
d03e890269
Add support for creating pidfile through '-p' option
2011-09-18 15:22:30 +02:00
Daniel Adolfsson
1a5c251046
Add description to manpage ndppd(1).
2011-09-18 12:44:44 +02:00
Daniel Adolfsson
97f72a0a4b
Makefile and manpages
...
- Update Makefile to provide 'install'.
- Add manpages ndppd(1) and ndppd.conf(5).
2011-09-18 12:40:48 +02:00
Daniel Adolfsson
00a2308486
Update README
2011-09-18 10:49:19 +02:00
Daniel Adolfsson
5ddcf7aef5
Update version to 0.2-beta
2011-09-18 05:04:36 +02:00
Daniel Adolfsson
fb1e8ebe81
Update README and add LICENSE
2011-09-18 05:03:34 +02:00
Daniel Adolfsson
27684524ef
Add ndppd.conf.example and fix .gitignore
2011-09-18 03:43:27 +02:00
Daniel Adolfsson
17bdd6ebac
Add two more configuration options
...
- 'ttl' to control how long a session will stay in the cache once the
session becomes valid or invalid. Default is 30 seconds.
- 'timeout' to control how long a session will wait for a Neighbor
Advertisement before being invalidated. Default is 500 ms.
2011-09-18 03:33:18 +02:00
Daniel Adolfsson
869fdbca2a
Add support for static rules
2011-09-18 02:46:51 +02:00
Daniel Adolfsson
9bf5799109
Multiple changes
...
* Change Makefile so release is the default mode, use DEBUG=1 to turn
on debugging.
* Clean up 'conf' a bit.
* Add a new option 'router' (valid in 'proxy' section) to turn on/off
the ND_NA_FLAG_ROUTER flag for adverts.
2011-09-18 02:25:43 +02:00
Daniel Adolfsson
f65d5c0e14
Switch from setsockopt(SO_BINDTODEVICE) to bind() for _pfd
2011-09-18 01:51:47 +02:00
Daniel Adolfsson
c5b542e79c
Small changes
...
* Make iface::read() return a bit more generic address (sockaddr).
* Add is_unicast() and is_multicast() to address.
* Set default config path to "/etc/ndppd.conf".
* Silently ignore solicit messages with bad saddr and/or daddr.
2011-09-18 01:31:27 +02:00
Daniel Adolfsson
d3139b660e
Set IPV6_UNICAST_HOPS to 255 on _ifd
2011-09-17 23:38:08 +02:00
Daniel Adolfsson
eefa9cb881
Multiple changes
...
* Add '-d' to "daemonize". Will also enable syslogging.
* Fix a couple of bugs in 'session'.
* Clean up 'log', and use LOG_* macros instead.
* Add syslog(bool) to 'log' to enable/disable the use of syslog.
2011-09-17 16:37:24 +02:00
Daniel Adolfsson
70933e0830
iface proper destructor
...
Inside iface::~iface(), make sure to close any open sockets
and restore ALLMULTI to it's original value.
2011-09-17 02:22:33 +02:00
Daniel Adolfsson
62edaf3c6b
Fix several bugs and clean up the code
2011-09-17 01:10:23 +02:00
Daniel Adolfsson
370ba70182
Multiple changes
...
- Clean up some junk code that was left over.
- Replace ptr<> with strong_ptr<> and weak_ptr<> to easier distinguish
between weak and strong pointers.
- Fix a couple of bugs.
2011-09-16 22:59:37 +02:00
Daniel Adolfsson
6a1306cdd5
Major changes
2011-09-16 22:59:35 +02:00
Daniel Adolfsson
e37df74b8e
Major changes
2011-09-16 22:59:33 +02:00
Daniel Adolfsson
456813fb9e
Update copyright headers to include an e-mail address
2011-09-16 22:59:31 +02:00
Daniel Adolfsson
35567ed082
Major changes
2011-09-16 22:59:29 +02:00
Daniel Adolfsson
77b328ad15
Fix ptr<> nested release()
...
Fix a bug with ptr<> that at some occasions will try to free _ref
multiple times when release() becomes nested.
2011-09-16 22:59:25 +02:00
Daniel Adolfsson
5efe4124d7
Update copyright headers to include an e-mail address
2011-09-16 22:59:22 +02:00
Daniel Adolfsson
7d84dbeb18
Initial commit
2011-09-13 21:26:12 +02:00