Daniel Adolfsson
e277b86838
Remove extra log line
2019-12-19 11:29:20 +01:00
Daniel Adolfsson
eb18db8184
Use hash table for session tracking
2019-12-19 11:26:50 +01:00
Daniel Adolfsson
5ba34bdfae
Amalgamate .h files
2019-12-18 09:22:52 +01:00
Daniel Adolfsson
9a8f45a313
Simplify config and add support for target #54
...
Add support for "target <lladdr>" in proxy/rules section to change the
target link-layer address when sending NAs
2019-12-18 03:45:24 +01:00
Daniel Adolfsson
d34c994171
Use promiscuous mode
...
- Enable BIOCPROMISC on *nix
- Switch to the safer PACKET_MR_ALLMULTI on Linux
2019-12-18 01:31:37 +01:00
Daniel Adolfsson
e742bfc375
Hop-by-hop support in BPF, and allow MLD packets
2019-12-17 23:36:19 +01:00
Daniel Adolfsson
fd54f47594
nd_addr_t and nd_lladdr_t
2019-12-17 17:03:32 +01:00
Daniel Adolfsson
0e6fd1c2ce
Support parsing hop-by-hop
2019-12-17 13:17:26 +01:00
Daniel Adolfsson
1b7497bcd9
Cleanup + refactor ndL_send_icmp6 & co
2019-12-17 12:27:09 +01:00
Daniel Adolfsson
9ce0c3446b
Enable MLD in test script
2019-12-16 22:38:41 +01:00
Daniel Adolfsson
3a8b1d9262
Add support for network namespace (--netns NAMESPACE)
2019-12-16 22:07:15 +01:00
Daniel Adolfsson
749ac25d4d
Simple testing
2019-12-16 21:27:58 +01:00
Daniel Adolfsson
9c97925b43
man1 -> man8
2019-12-16 09:11:30 +01:00
Daniel Adolfsson
2d201f025d
Use correct all-nodes multicast address
2019-12-16 07:53:30 +01:00
Daniel Adolfsson
b15f317c3b
Send NA to all-nodes multicast if NS came from unspecified source
...
#52
2019-12-16 07:48:15 +01:00
Daniel Adolfsson
892ee43c74
Fix typo
2019-12-15 19:43:47 +01:00
Daniel Adolfsson
565c6dd404
Use initializers instead of memset
2019-12-15 18:05:17 +01:00
Daniel Adolfsson
724fa74974
1TBS
2019-12-15 13:47:16 +01:00
Daniel Adolfsson
17bb6145e5
Must specify "auto", "static", or "iface"
2019-12-15 04:29:23 +01:00
Daniel Adolfsson
4db6b7f7a5
Add support for rewriting target
...
As discussed in issue #53
2019-12-15 02:22:14 +01:00
Daniel Adolfsson
87cd8abe9e
Update README
2019-12-15 01:05:02 +01:00
Daniel Adolfsson
5027c3009a
Autowire support
...
Solves #29 and #34
2019-12-14 23:06:58 +01:00
Daniel Adolfsson
196cf6455b
Move logic related to sessions into sessions.c
2019-12-14 22:15:33 +01:00
Daniel Adolfsson
b87c50b594
Remove "owned" routes
...
For now, owned routes are simply routes that have protocol 72 on Linux,
or PROTO3 flag on BSD. This first implementation removes all owned routes
when ndppd starts. #32
2019-12-14 12:44:14 +01:00
Daniel Adolfsson
f31f2c1a73
Add iface configuration
2019-12-14 10:20:09 +01:00
Daniel Adolfsson
35e6b521f5
Add nd_rt_remove_route
2019-12-14 02:02:18 +01:00
Daniel Adolfsson
d383218100
Commenting style
2019-12-14 01:22:57 +01:00
Daniel Adolfsson
41627fe276
Add nd_rt_add_route
2019-12-14 01:05:09 +01:00
Daniel Adolfsson
b9652aa6cc
Rename rtnl to rt
2019-12-13 12:58:41 +01:00
Daniel Adolfsson
7d8330b9be
Cleanup and add support for rule->table
2019-12-13 12:33:55 +01:00
Daniel Adolfsson
abf0c56055
Support for tracking new IPs using AF_ROUTE
2019-12-13 11:32:48 +01:00
Daniel Adolfsson
fa335d066a
Support for tracking routes using AF_ROUTE
2019-12-13 03:14:03 +01:00
Daniel Adolfsson
25f6efa8ab
Add support for /dev/bpf
2019-12-12 18:44:17 +01:00
Daniel Adolfsson
7b17dcc12f
Cleanup
2019-12-12 02:25:14 +01:00
Daniel Adolfsson
f0e0d767f3
Refactor how the AF_PACKET socket is used
2019-12-12 00:01:46 +01:00
Daniel Adolfsson
be97afdf83
Start tracking DELADDR + cleanup
2019-12-11 17:19:00 +01:00
Daniel Adolfsson
ef90c04257
Add LICENSE
2019-12-11 15:34:32 +01:00
Daniel Adolfsson
b18077fb58
Update README.md
2019-12-11 15:26:38 +01:00
Daniel Adolfsson
e980a38b4e
Cleanup
2019-12-11 14:41:00 +01:00
Daniel Adolfsson
89864c330c
More work on updating sessions
2019-12-11 13:44:55 +01:00
Daniel Adolfsson
8028e2d487
Continue work on handling TTLs
2019-12-11 13:21:29 +01:00
Daniel Adolfsson
141f39f20a
Initial commit
2019-12-11 11:34:34 +01:00