Commit Graph

  • 6cfacd05d8
    Fix for broken strerr_r definition in alpine burble.dn42 Simon Marsh 2021-12-21 10:04:08 +00:00
  • e1746bb597 Experimental use-kernel flag 1.0-devel Daniel Adolfsson 2020-06-13 03:53:03 +02:00
  • c99eb16373 Disable strict aliasing rules Daniel Adolfsson 2020-06-13 03:17:20 +02:00
  • e01d67a864
    Clarification master Daniel Adolfsson 2020-05-22 16:20:26 +02:00
  • f2fc683bbd Radability Daniel Adolfsson 2019-12-19 15:32:13 +01:00
  • cad611b323 Subscribe to NA Daniel Adolfsson 2019-12-19 15:06:55 +01:00
  • 45998b8c32 Easier memory management Daniel Adolfsson 2019-12-19 14:25:17 +01:00
  • e277b86838 Remove extra log line Daniel Adolfsson 2019-12-19 11:29:20 +01:00
  • eb18db8184 Use hash table for session tracking Daniel Adolfsson 2019-12-19 11:26:50 +01:00
  • 5ba34bdfae Amalgamate .h files Daniel Adolfsson 2019-12-18 09:22:52 +01:00
  • 9a8f45a313 Simplify config and add support for target #54 Daniel Adolfsson 2019-12-18 03:45:24 +01:00
  • d34c994171 Use promiscuous mode Daniel Adolfsson 2019-12-18 01:31:37 +01:00
  • e742bfc375 Hop-by-hop support in BPF, and allow MLD packets Daniel Adolfsson 2019-12-17 21:57:11 +01:00
  • fd54f47594 nd_addr_t and nd_lladdr_t Daniel Adolfsson 2019-12-17 17:03:32 +01:00
  • 0e6fd1c2ce Support parsing hop-by-hop Daniel Adolfsson 2019-12-17 13:17:26 +01:00
  • 1b7497bcd9 Cleanup + refactor ndL_send_icmp6 & co Daniel Adolfsson 2019-12-17 12:27:09 +01:00
  • 9ce0c3446b Enable MLD in test script Daniel Adolfsson 2019-12-16 22:38:41 +01:00
  • 3a8b1d9262 Add support for network namespace (--netns NAMESPACE) Daniel Adolfsson 2019-12-16 22:07:15 +01:00
  • 749ac25d4d Simple testing Daniel Adolfsson 2019-12-16 21:27:58 +01:00
  • 9c97925b43 man1 -> man8 Daniel Adolfsson 2019-12-16 09:11:30 +01:00
  • 2d201f025d Use correct all-nodes multicast address Daniel Adolfsson 2019-12-16 07:53:30 +01:00
  • b15f317c3b Send NA to all-nodes multicast if NS came from unspecified source Daniel Adolfsson 2019-12-16 07:48:15 +01:00
  • 892ee43c74 Fix typo Daniel Adolfsson 2019-12-15 19:43:47 +01:00
  • 565c6dd404 Use initializers instead of memset Daniel Adolfsson 2019-12-15 18:05:17 +01:00
  • 724fa74974 1TBS Daniel Adolfsson 2019-12-15 13:47:16 +01:00
  • 17bb6145e5 Must specify "auto", "static", or "iface" Daniel Adolfsson 2019-12-15 04:29:23 +01:00
  • 2eb55c8e2b
    Create README.md Daniel Adolfsson 2019-12-15 03:01:26 +01:00
  • 4db6b7f7a5 Add support for rewriting target Daniel Adolfsson 2019-12-15 02:22:14 +01:00
  • 87cd8abe9e Update README Daniel Adolfsson 2019-12-15 01:05:02 +01:00
  • 5027c3009a Autowire support Daniel Adolfsson 2019-12-14 23:06:58 +01:00
  • 196cf6455b Move logic related to sessions into sessions.c Daniel Adolfsson 2019-12-14 22:15:33 +01:00
  • b87c50b594 Remove "owned" routes Daniel Adolfsson 2019-12-14 12:44:14 +01:00
  • f31f2c1a73 Add iface configuration Daniel Adolfsson 2019-12-14 10:20:09 +01:00
  • 35e6b521f5 Add nd_rt_remove_route Daniel Adolfsson 2019-12-14 02:02:18 +01:00
  • d383218100 Commenting style Daniel Adolfsson 2019-12-14 01:22:57 +01:00
  • 41627fe276 Add nd_rt_add_route Daniel Adolfsson 2019-12-14 01:05:09 +01:00
  • b9652aa6cc Rename rtnl to rt Daniel Adolfsson 2019-12-13 12:58:41 +01:00
  • 7d8330b9be Cleanup and add support for rule->table Daniel Adolfsson 2019-12-13 12:33:55 +01:00
  • abf0c56055 Support for tracking new IPs using AF_ROUTE Daniel Adolfsson 2019-12-13 11:32:48 +01:00
  • fa335d066a Support for tracking routes using AF_ROUTE Daniel Adolfsson 2019-12-13 01:14:22 +01:00
  • 25f6efa8ab Add support for /dev/bpf Daniel Adolfsson 2019-12-12 03:10:36 +01:00
  • 7b17dcc12f Cleanup Daniel Adolfsson 2019-12-12 02:25:14 +01:00
  • f0e0d767f3 Refactor how the AF_PACKET socket is used Daniel Adolfsson 2019-12-12 00:01:46 +01:00
  • be97afdf83 Start tracking DELADDR + cleanup Daniel Adolfsson 2019-12-11 17:19:00 +01:00
  • ef90c04257 Add LICENSE Daniel Adolfsson 2019-12-11 15:34:32 +01:00
  • b18077fb58 Update README.md Daniel Adolfsson 2019-12-11 15:26:38 +01:00
  • e980a38b4e Cleanup Daniel Adolfsson 2019-12-11 14:41:00 +01:00
  • 89864c330c More work on updating sessions Daniel Adolfsson 2019-12-11 13:44:55 +01:00
  • 8028e2d487 Continue work on handling TTLs Daniel Adolfsson 2019-12-11 13:21:29 +01:00
  • 141f39f20a Initial commit Daniel Adolfsson 2019-12-11 11:34:34 +01:00
  • b7571fdaa7
    Merge pull request #44 from torbennehmer/master Daniel Adolfsson 2019-05-06 21:17:39 +02:00
  • 97754c0a53
    Merge pull request #47 from Lalufu/bugfix/disappearing-if Daniel Adolfsson 2019-05-06 21:12:08 +02:00
  • b67f560309 Handle disappearing interfaces Ralf Ertzinger 2019-01-26 18:46:26 +01:00
  • caef398f85 Added init script working on Debian Jessie, just copy the file to /etc/init.d/ndppd. Probably works on current stable as well, but I couldn't test this so far. root 2018-10-20 11:02:21 +02:00
  • 13473e5259 Fix issue #39, configure interfaces after daemonization, as otherwise we loose the ALLMULTI flag on the listening interfaces during the whole process. Probable cause is the parent restoring the original state of the interface flags before exitting. root 2018-10-20 10:53:29 +02:00
  • eb81b8f2d6 Merge pull request #36 from bgentry/remove-nd-proxy-from-makefile Daniel Adolfsson 2017-09-20 15:13:11 +02:00
  • 8ed532809f
    remove cp nd-proxy from make install Blake Gentry 2017-08-27 14:26:23 -07:00
  • 6ef7a57b2e Merge pull request #30 from john-sharratt/master Daniel Adolfsson 2017-08-07 13:18:13 +02:00
  • a008fad5f4 Doing some debugging on an issue with the routes not working from gateway hosted IPs John Sharratt 2017-07-05 07:36:39 +02:00
  • 4ca86ef88e Added a fix to stop nasty NDP loops when being proactive on the NDP adverts John Sharratt 2017-07-04 23:52:43 +02:00
  • e8e3739126 Added session keepalive with retries that will ensure the routes are kept up during high traffic when no proactive NDP soliciations are sent by the sender John Sharratt 2017-07-04 22:00:03 +02:00
  • 9341e7f0b7 Added some documentation on why autowire does not work with static and auto rules defined in the configuration John Sharratt 2017-07-04 21:37:29 +02:00
  • 1f50dc5b5a NDP proxy will now respond to Solicitation requests to gateway addresses that it holds on secondary interfaces John Sharratt 2017-07-03 20:12:36 +02:00
  • a690d128e7 Added a global list of all the IP addresses that the interfaces of the local machine which will be used to cover some missing solicitation requests John Sharratt 2017-07-03 17:15:54 +02:00
  • 89130bf099 Now creating session on receiving NDP adverts even if no one has specifically asked for one yet thus ensuring the routes are created and that the latecy on proxy solicitation is kept much lower John Sharratt 2017-07-02 22:38:23 +02:00
  • f6ef3fe494 Was touching all the sessions rather than the one that had an solicitation request causing none of the sessions to really expire John Sharratt 2017-07-02 21:50:23 +02:00
  • f2d5804959 Added additional logging on system calls and ensured that an error message rather than an error code is returned for easier debugging John Sharratt 2017-07-02 15:53:35 +02:00
  • 0fd1dc0308 Added some additional debug information that help help track down what triggers a particular failure path John Sharratt 2017-07-02 15:13:16 +02:00
  • 5c56cd3a6d Now restoring the promiscuous state of the interface when the appliance terminates John Sharratt 2017-07-02 12:11:30 +02:00
  • 4f11b9a4f0 Now restoring the promiscuous state of the interface when the appliance terminates John Sharratt 2017-07-02 11:57:01 +02:00
  • 890d1a7821 Added a promiscuous mode that allows the proxy interface to also respond to queries send from the gateway (for instance when it needs to route to a WAN address thats local) John Sharratt 2017-07-02 10:27:47 +02:00
  • 4316aa58dd The manual had the wrong setting name for autowire john-sharratt 2017-07-01 13:59:09 +02:00
  • b6b3487152 Changelog updated john-sharratt 2017-07-01 13:57:32 +02:00
  • 1a691255e3 Now properly exiting if any of the interfaces are not opened rather than silently continuing John Sharratt 2017-07-01 13:16:06 +02:00
  • 2f10118a5c Now daemonizing after the configuration rather than before so that more errors are caught on the command line rather than via an ASYNC process John Sharratt 2017-07-01 13:09:46 +02:00
  • 55ad4b11f0 Now only unwiring if the NDP proxy did the wiring in the first place John Sharratt 2017-07-01 12:25:19 +02:00
  • 701476417a Added some more debug information for what session is no longer valid when it times out John Sharratt 2017-07-01 12:06:25 +02:00
  • 2ceb687bdc Added some debugging when a valid session becomes invalid John Sharratt 2017-07-01 11:40:48 +02:00
  • f8ea51ab5e Added automatic renewal of active sessions (what determines if its active can be improved in future) John Sharratt 2017-07-01 11:31:50 +02:00
  • 7e0948bf96 Added automatic unwiring when a session expires John Sharratt 2017-07-01 11:14:51 +02:00
  • e11d1943e9 Added a command that updates the routing tables John Sharratt 2017-07-01 10:55:41 +02:00
  • 37181c81ca Added some more debug information for when a advert is received John Sharratt 2017-07-01 10:42:38 +02:00
  • 68240908bc Separated the TTL so that invalid sessions can be expired faster than valid sessions (DDOS protection and better error handling) John Sharratt 2017-07-01 10:21:14 +02:00
  • aaaed4fce9 Added debug information that informs the autowire mode when creating a session John Sharratt 2017-07-01 10:10:05 +02:00
  • 8ed35f841f Put in the skeleton around the auto wiring functionality John Sharratt 2017-07-01 09:28:39 +02:00
  • ca91245d3f Merge pull request #28 from meeuw/master Daniel Adolfsson 2017-05-17 12:24:57 +02:00
  • f37e8eb33d Add a systemd service file Dick Marinus 2017-05-17 07:34:47 +02:00
  • eec9657b28 Merge pull request #23 from FRuffy/master Daniel Adolfsson 2017-05-16 23:11:09 +02:00
  • b30b654871 Add support for XSI-compliant strerror_r Daniel Adolfsson 2017-05-08 12:47:20 +02:00
  • 8a8f7b065c Fix compilation problems and issue #20 Daniel Adolfsson 2017-05-08 12:31:13 +02:00
  • 3caf569a1f Fix makefile, switch ${OBS} and ${LIBS}. FRuffy 2017-04-10 19:56:19 -07:00
  • ce3815d954 Merge pull request #18 from alliedtelesis/master Daniel Adolfsson 2016-11-07 11:08:16 +01:00
  • ab7b2aa3bb Add functionality to reply to NS packets which are destined for a proxied interface. Jason Rippon 2016-10-26 18:12:16 +13:00
  • a35def5b52 Make nd-proxy handle the interface being shutdown gracefully Carl Smith 2016-10-19 11:34:03 +13:00
  • df16c053b0 New nd-proxy for RS/RA proxying Carl Smith 2016-09-21 12:28:37 +12:00
  • cf244c10f7 Send proxied NA to the correct destination address Blair Steven 2016-09-21 14:53:28 +12:00
  • 8afd356df3 ND proxy support for dynamic interfaces Isaac Lee 2016-09-21 14:49:17 +12:00
  • 771f9ca29d Various changes (referencing issue #6); Daniel Adolfsson 2016-05-17 08:51:50 +02:00
  • 9709759270 Remove the default rule behavior 'static', this must now be specified. Bump version to 0.2.5 0.2.5 Daniel Adolfsson 2016-04-18 19:14:27 +02:00
  • 9499745013 Add cerrno include to logger.cc Daniel Adolfsson 2016-04-18 18:45:43 +02:00