Guus Sliepen
dc3b7d47f3
Some device.c files weren't synchronised.
2003-08-27 13:47:52 +00:00
Guus Sliepen
013a2e159e
Synchronise HEAD with CABAL branch.
2003-08-24 20:38:31 +00:00
Ivo Timmermans
a9bb66367d
Moved event.c/h
2002-05-02 13:11:55 +00:00
Ivo Timmermans
474aab6325
Callbacks
2002-05-02 11:52:28 +00:00
Ivo Timmermans
4c1a4e8a79
Another file moved; random interface stuff.
2002-05-02 11:50:07 +00:00
Ivo Timmermans
a77b35e748
Commit diff test
2002-04-29 20:19:42 +00:00
Ivo Timmermans
04d33be4bd
Moving files, first attempt at gcrypt compatibility, more interface
...
abstraction
2002-04-28 12:46:26 +00:00
Ivo Timmermans
b0a676988a
*** empty log message ***
2002-04-28 12:43:40 +00:00
Ivo Timmermans
fa8faff84b
Print newline when writing to stderr
2002-04-13 18:01:58 +00:00
Ivo Timmermans
fbebc5b656
...
2002-04-13 11:24:25 +00:00
Ivo Timmermans
7c75090025
Rename libvpn to libtinc
2002-04-13 11:23:46 +00:00
Ivo Timmermans
2389dcd573
Include logging.h
2002-04-13 11:21:58 +00:00
Ivo Timmermans
246ce12c92
Use new logging system
2002-04-13 11:21:01 +00:00
Ivo Timmermans
a5b3ec4121
Things to ignore...
2002-04-13 11:15:43 +00:00
Ivo Timmermans
e239504524
Compile in logging.c
2002-04-13 11:14:50 +00:00
Ivo Timmermans
e26dd56416
Use logging.h instead of syslog.h
2002-04-13 11:08:31 +00:00
Ivo Timmermans
72cd8938e2
Added prototype for log_syslog
2002-04-13 11:00:41 +00:00
Ivo Timmermans
48b80c93d3
log_default_hook was renamed to log_default
2002-04-13 10:55:42 +00:00
Ivo Timmermans
b63c3a1f00
Added priority definitions from syslog.h
2002-04-13 10:50:48 +00:00
Ivo Timmermans
490b13edcf
Some magic
2002-04-13 10:45:56 +00:00
Ivo Timmermans
738389581b
Add syslog wrapper
2002-04-13 10:43:10 +00:00
Ivo Timmermans
efa59f7cf4
Add syslog() wrapper
2002-04-13 10:40:09 +00:00
Ivo Timmermans
8822481d7b
Rename log_message to log
2002-04-13 10:29:07 +00:00
Ivo Timmermans
cc603e2765
New logging system to replace syslog() calls with a generic function.
2002-04-13 10:25:38 +00:00
Ivo Timmermans
131327a729
Remove debug_lvl
2002-04-13 10:04:46 +00:00
Ivo Timmermans
191dcd5add
Also compile in pokey/
2002-04-11 20:18:02 +00:00
Ivo Timmermans
c351b9e25b
Pokey interface definition
2002-04-11 14:27:35 +00:00
Ivo Timmermans
17b308f0f0
Main pokey interface files.
2002-04-11 14:23:56 +00:00
Ivo Timmermans
77dd7b5580
More...
2002-04-09 15:51:26 +00:00
Ivo Timmermans
86dc60b980
Ok, I forgot these ;)
2002-04-09 15:32:14 +00:00
Ivo Timmermans
af23dfa5ef
Updating HEAD branch #5 ; Last files from CABAL.
2002-04-09 15:28:45 +00:00
Ivo Timmermans
462ab530e5
Updating HEAD branch #4 ; Merging CABAL -> HEAD.
2002-04-09 15:26:01 +00:00
Ivo Timmermans
e64ef59df4
Updating HEAD branch #3 ; more obsolete files removed.
2002-04-09 15:07:27 +00:00
Ivo Timmermans
30df5e95db
Bring head revision up to date with cabal (try #3 )
2000-10-18 20:12:10 +00:00
Ivo Timmermans
77be52422d
Miscellaneous copyright updates.
2000-05-31 18:23:06 +00:00
Ivo Timmermans
8cb4bb619d
Handle locale settings.
2000-05-31 18:21:27 +00:00
Ivo Timmermans
17fa07510a
Only accept an ADD_HOST request for a host that already exists in our conn_list if the nexthop field matches the sender. This is a workaround for older clients.
2000-05-30 21:36:16 +00:00
Ivo Timmermans
e7f22d2f5f
In terminate_connection, only send a notification to hosts that are directly connected to us. (DEL_HOST gets forwarded automatically.)
2000-05-30 12:38:15 +00:00
Ivo Timmermans
2fdda8e4fa
When a connection is terminated, all hosts that are still connected get notified of the lost connections.
2000-05-30 12:31:41 +00:00
Ivo Timmermans
f826301889
Added new configuration directive `Hostnames', which controls the resolving of IP addresses to hostnames.
2000-05-30 11:18:12 +00:00
Guus Sliepen
a7ad161d2b
Only activate a connection upon receiving it's public key if it's an
...
incoming connection. When it's outgoing, we need to receive an ack first.
2000-05-29 23:40:05 +00:00
Ivo Timmermans
a822c7466a
Bounds check for request id (between 0 and 255).
2000-05-29 22:20:04 +00:00
Ivo Timmermans
386a62ff57
Define LOCALEDIR in CFLAGS.
2000-05-29 21:40:51 +00:00
Ivo Timmermans
9fd02ffcb0
Internationalization of tinc.
2000-05-29 21:01:26 +00:00
Guus Sliepen
61e71ab74a
Terminate a connection on any error. Furthermore, disallow del_host,
...
add_host and other important requests until remote host has properly
authenticated itself.
2000-05-27 20:23:01 +00:00
Guus Sliepen
cc01b18bc6
Made tinc persistent. If no outgoing connection can be established right
...
after the start of the daemon, it won't quit anymore but will retry in 5
minutes. Also, 5 minutes is now the maximum time to wait for a retry.
2000-05-27 19:44:04 +00:00
Guus Sliepen
028659bfbf
Fixed typos. When terminating a connection, it's status is not only set to
...
remove=1 but also active=0.
2000-05-27 19:23:20 +00:00
Guus Sliepen
e4ff969a98
Fix for a DoS attack:
...
A remote user could telnet to the tinc daemon and type only this line:
61 6 00000000/00000000:28f
This would deny any packets to be sent to other tinc networks (except
for to the hosts that run tincd's themselves). Solution is to skip
hosts in lookup_conn() that have not been activated yet.
Fixed potential conn_list table corruption:
If a new connection is accepted but a connection with the same subnet
would already exist in the connection list, the OLD connection is
terminated.
2000-05-27 19:04:12 +00:00
Guus Sliepen
85963f4c85
Stub for VpnMask config directive.
2000-05-16 13:09:15 +00:00
Ivo Timmermans
7e817fcf0f
Unlimited length in the config file, thanks to Cris van Pelt.
2000-05-15 18:28:45 +00:00