Guus Sliepen
|
c46f56a8b8
|
subnet-up/down hooks
|
2004-12-01 20:06:05 +00:00 |
|
Guus Sliepen
|
0077cfaae1
|
Make sure broadcast packet reach the local network interface.
|
2004-11-16 19:02:54 +00:00 |
|
Guus Sliepen
|
d8fe2ecdd8
|
Set BSD tuns to broadcast mode. On OpenBSD, this enables IPv6 on the tun device!
|
2004-11-10 23:20:59 +00:00 |
|
Guus Sliepen
|
4fe7aff4d1
|
Add BlockingTCP option, useful when using TCPOnly on slow or congested links.
|
2004-11-10 21:56:31 +00:00 |
|
Guus Sliepen
|
5bba3124c8
|
Support tunneling IPv6 on Solaris.
|
2004-11-10 21:14:08 +00:00 |
|
Guus Sliepen
|
d02d81ff9d
|
Let compiler decide when to inline.
|
2004-11-10 19:36:02 +00:00 |
|
Guus Sliepen
|
923abcfa35
|
Use the generic BSD tun/tap code.
|
2004-11-10 18:11:44 +00:00 |
|
Guus Sliepen
|
e8b11b1cca
|
Missing check for NULL-pointer.
|
2004-11-10 18:10:59 +00:00 |
|
Guus Sliepen
|
ca7948fc06
|
Hopefully this really fixes late packet handling.
|
2004-11-09 09:51:35 +00:00 |
|
Guus Sliepen
|
f7b9761000
|
Fixed another bug in late packet handling.
|
2004-11-08 22:30:13 +00:00 |
|
Guus Sliepen
|
14eab17829
|
Update to make it compile again.
|
2004-11-08 22:11:33 +00:00 |
|
Guus Sliepen
|
1f00810da3
|
static
|
2004-11-01 17:02:19 +00:00 |
|
Guus Sliepen
|
82b29e9a3b
|
Generic device driver for *BSD and MacOS/X
|
2004-11-01 17:01:56 +00:00 |
|
Guus Sliepen
|
922e5b7bea
|
Support alternative tun/tap driver from http://www-user.rhrk.uni-kl.de/~nissler/tuntap/
|
2004-11-01 15:18:53 +00:00 |
|
Guus Sliepen
|
faff649882
|
Don't let tinc service depend on NDIS component.
|
2004-11-01 15:18:22 +00:00 |
|
Guus Sliepen
|
396ac4be80
|
Correct return value.
|
2004-11-01 15:16:12 +00:00 |
|
Guus Sliepen
|
58153cca98
|
Allow tinc to work with the latest TAP-Win32 driver.
|
2004-10-01 18:26:15 +00:00 |
|
Guus Sliepen
|
6411e0d8bd
|
strndupa() is too arcane for some environments.
|
2004-10-01 18:24:41 +00:00 |
|
Guus Sliepen
|
b0a80007e8
|
Fix several #includes.
|
2004-10-01 18:23:08 +00:00 |
|
Guus Sliepen
|
7717cb0c54
|
Remove duplicate #include "system.h"
|
2004-09-20 20:56:14 +00:00 |
|
Guus Sliepen
|
5373129344
|
Marking potential late packets was in the wrong place.
|
2004-09-20 20:55:49 +00:00 |
|
Guus Sliepen
|
c44f69a302
|
Don't set $INTERFACE automatically, don't quit on EINTR/EAGAIN.
|
2004-07-17 12:04:30 +00:00 |
|
Guus Sliepen
|
dcec713675
|
Added UML network socket handling.
Now you can use tinc instead of uml_switch.
|
2004-07-17 00:09:14 +00:00 |
|
Guus Sliepen
|
fe84fafcb6
|
Handle timeouts during connecting the same way as other errors.
|
2004-06-21 14:37:52 +00:00 |
|
Guus Sliepen
|
e5e0dd7534
|
Clean up environment after executing scripts.
|
2004-06-14 14:32:10 +00:00 |
|
Guus Sliepen
|
9e44f116bf
|
Increase MTU by 4 bytes to allow VLAN tagged Ethernet frames in hub and switch mode.
|
2004-04-15 14:09:56 +00:00 |
|
Guus Sliepen
|
7926a156e5
|
Update copyrights, links, email addresses and let Subversion update $Id$ keywords.
|
2004-03-21 14:21:22 +00:00 |
|
Guus Sliepen
|
af86a3226e
|
Revert Martin Kihlgren's patch, it doesn't work the way it should.
|
2004-03-20 22:23:42 +00:00 |
|
Guus Sliepen
|
8df2224829
|
Fix declaration of update_node_address().
|
2004-03-20 15:33:07 +00:00 |
|
Guus Sliepen
|
56aad1bb48
|
Applied Martin Kihlgren's IdentityGenerosity patch,
simplified and renamed to StrictSource.
|
2004-03-20 15:28:55 +00:00 |
|
Guus Sliepen
|
a92c471a2b
|
Only read our public key if it wasn't already in the private key file.
|
2004-03-15 18:15:02 +00:00 |
|
Guus Sliepen
|
a67a21ef3c
|
Eat trailing whitespace in config files.
|
2004-03-15 18:05:41 +00:00 |
|
Guus Sliepen
|
4350704d65
|
Remove CVS related cruft.
|
2004-03-15 17:54:19 +00:00 |
|
Guus Sliepen
|
519d63bedb
|
Don't forget to update destination MAC address.
|
2003-12-27 16:32:52 +00:00 |
|
Guus Sliepen
|
aebc97a77f
|
Small fixes for PMTU discovery.
|
2003-12-24 10:48:15 +00:00 |
|
Guus Sliepen
|
35399784b6
|
Improvements for PMTU discovery and IPv4 packet fragmentation.
|
2003-12-22 11:04:17 +00:00 |
|
Guus Sliepen
|
6d41b429a2
|
Better name, show probed MTU in dump.
|
2003-12-20 21:25:17 +00:00 |
|
Guus Sliepen
|
9bab08e972
|
More sensible name, and try to set PMTU discovery on IPv6 sockets as well.
|
2003-12-20 21:09:33 +00:00 |
|
Guus Sliepen
|
6b12bea62f
|
Let tinc figure out the exact MTU of the link.
|
2003-12-20 19:47:53 +00:00 |
|
Guus Sliepen
|
e8fbef5de6
|
Forget multicast. Always inline some function.
|
2003-12-13 21:50:26 +00:00 |
|
Guus Sliepen
|
5a1406adef
|
Code beautification, start of multicast support.
|
2003-12-12 19:52:25 +00:00 |
|
Guus Sliepen
|
354b7ab20e
|
Fix proxy-neighborsolicitation.
|
2003-12-08 12:00:40 +00:00 |
|
Guus Sliepen
|
331cef948d
|
Don't retry if configuration is wrong from the beginning.
|
2003-12-07 14:31:09 +00:00 |
|
Guus Sliepen
|
a3cd273751
|
Missing space between words.
|
2003-12-07 14:29:02 +00:00 |
|
Guus Sliepen
|
25447b3841
|
Read MaxTimeout from tinc.conf like the manpage says.
|
2003-12-07 14:28:39 +00:00 |
|
Guus Sliepen
|
0b5e6cf04e
|
Complain if pid file cannot be created.
|
2003-11-27 23:24:59 +00:00 |
|
Guus Sliepen
|
e3220cacb5
|
Replace Opaque and Strict options with a TunnelServer option.
|
2003-11-17 15:30:18 +00:00 |
|
Guus Sliepen
|
0e59fb022c
|
Add Opaque option which prevent information from being forwarded to certain nodes.
|
2003-11-10 22:31:53 +00:00 |
|
Guus Sliepen
|
d35a510fff
|
Fix another bug in meta.c.
|
2003-10-12 11:40:00 +00:00 |
|
Guus Sliepen
|
ffb7327c20
|
Fix bug that could lead to an assertion failure in libcrypto when multiple
requests arrive and TCP packets are heavily fragmented.
|
2003-10-11 14:18:52 +00:00 |
|
Guus Sliepen
|
258b7ce220
|
Parentheses in the wrong spots.
|
2003-10-11 12:28:48 +00:00 |
|
Guus Sliepen
|
a1ab57e275
|
Check all EVP_ function calls.
|
2003-10-11 12:16:13 +00:00 |
|
Guus Sliepen
|
b0dd705a26
|
Check return value of EVP_* functions, and check if length before en/decryption
matches that after in meta.c.
|
2003-10-10 16:24:24 +00:00 |
|
Guus Sliepen
|
9d2bf718f2
|
Fix ASCII art.
|
2003-10-10 16:23:30 +00:00 |
|
Guus Sliepen
|
98edfb14fc
|
Some platforms don't know sa_family_t or define it other than uint16_t.
|
2003-10-08 12:09:37 +00:00 |
|
Guus Sliepen
|
f2ebdf7580
|
Set media status for newer TAP-Win32 driver.
|
2003-10-08 11:37:53 +00:00 |
|
Guus Sliepen
|
acf5f9c968
|
Missing declaration.
|
2003-10-08 11:37:20 +00:00 |
|
Guus Sliepen
|
ad39db95fe
|
Make sure type of AF_UNKNOWN is sa_family_t.
|
2003-10-06 16:49:42 +00:00 |
|
Guus Sliepen
|
5900c07fab
|
PIDs are of type pid_t, and use %ld when reading/writing them to the pidfile.
|
2003-10-06 16:13:08 +00:00 |
|
Guus Sliepen
|
6350334aa4
|
Don't confuse users with "Address family not supported" warnings.
|
2003-10-06 14:41:45 +00:00 |
|
Guus Sliepen
|
0842998c0b
|
Unused variable in struct.
|
2003-10-06 14:33:04 +00:00 |
|
Guus Sliepen
|
c97b8827ed
|
const
|
2003-10-06 13:57:12 +00:00 |
|
Guus Sliepen
|
60943122f7
|
Copy structs from packets to the stack before using them, to prevent
alignment issues.
|
2003-10-06 13:49:57 +00:00 |
|
Guus Sliepen
|
acbb9d6692
|
Better length checks.
|
2003-10-01 09:14:01 +00:00 |
|
Guus Sliepen
|
eeb97e3ef4
|
Generate keys with 0x10001 as public exponent, which has less prime factors
than 0xFFFF.
|
2003-09-25 10:34:16 +00:00 |
|
Guus Sliepen
|
288d956728
|
Check for short packets from the tun/tap device and from other tinc daemons.
|
2003-09-23 20:59:01 +00:00 |
|
Guus Sliepen
|
cbf5a741aa
|
Remove pidfile when exitting.
|
2003-09-08 21:52:47 +00:00 |
|
Guus Sliepen
|
0dba26267c
|
Prevent multiple inclusions.
|
2003-09-03 16:20:33 +00:00 |
|
Guus Sliepen
|
6c5f3d8b74
|
We don't have to tell GCC how to cast.
|
2003-08-28 21:05:11 +00:00 |
|
Guus Sliepen
|
762cc2d279
|
Remove old edges from unreachable nodes to us. This prevents the hosts/NAME-up
script from being called twice in some situations.
|
2003-08-28 15:27:12 +00:00 |
|
Guus Sliepen
|
3e0b28b0c4
|
Remove debug message.
|
2003-08-22 15:07:57 +00:00 |
|
Guus Sliepen
|
89c9f3ed8f
|
When purging nodes, only delete them if nobody references them anymore.
|
2003-08-22 15:04:26 +00:00 |
|
Guus Sliepen
|
22dd23b650
|
Add checkpoints.
|
2003-08-22 15:03:59 +00:00 |
|
Guus Sliepen
|
570e7e9c61
|
Don't overwrite the first " when installing a service.
|
2003-08-22 15:05:01 +00:00 |
|
Guus Sliepen
|
72bdc05cb7
|
Allow tinc to handle unknown type addresses from other tinc daemons.
|
2003-08-22 11:18:42 +00:00 |
|
Guus Sliepen
|
5ac4179df6
|
If we're not in main_loop() and the service is stopped, exit immediately.
|
2003-08-17 12:05:08 +00:00 |
|
Guus Sliepen
|
46cfe61994
|
Do what the SDK documentation tells.
|
2003-08-17 12:04:35 +00:00 |
|
Guus Sliepen
|
3112e6a863
|
Use the event log under Windows.
|
2003-08-17 09:04:00 +00:00 |
|
Guus Sliepen
|
5e7c52610f
|
Fix --logfile under Windows.
|
2003-08-17 09:03:30 +00:00 |
|
Guus Sliepen
|
f4e80cc5e0
|
Don't getsockopt() SO_ERROR. We get the error from send()/recv() anyway.
|
2003-08-16 12:40:01 +00:00 |
|
Guus Sliepen
|
fd40130eb6
|
stat() batch files under Windows.
|
2003-08-16 12:11:11 +00:00 |
|
Guus Sliepen
|
7ed2559025
|
Fix permissions check for rsa_key.priv.
|
2003-08-14 14:21:35 +00:00 |
|
Guus Sliepen
|
1f2670aab2
|
Small fixes.
|
2003-08-12 14:48:13 +00:00 |
|
Guus Sliepen
|
ae070b9170
|
Add a description for the Service control panel.
|
2003-08-10 13:35:05 +00:00 |
|
Guus Sliepen
|
7eed829d28
|
Only system() needs script name quoted.
|
2003-08-08 22:45:46 +00:00 |
|
Guus Sliepen
|
9bde92ce97
|
Simpler checking of permissions on private RSA key and other fixes.
|
2003-08-08 22:11:54 +00:00 |
|
Guus Sliepen
|
96f5d98fc2
|
Small things.
|
2003-08-08 19:56:11 +00:00 |
|
Guus Sliepen
|
ef65a64443
|
Better error checking and reporting.
|
2003-08-08 19:49:47 +00:00 |
|
Guus Sliepen
|
bb2f18a3fc
|
Under Windows, the installation directory can be found in the registry.
|
2003-08-08 19:45:21 +00:00 |
|
Guus Sliepen
|
7f05445047
|
Quote when needed and don't try stuff that doesn't work under Windows.
|
2003-08-08 19:43:47 +00:00 |
|
Guus Sliepen
|
b4c913aaa9
|
Log error first, try to close later.
|
2003-08-08 19:42:35 +00:00 |
|
Guus Sliepen
|
6f30995955
|
Typo.
|
2003-08-08 17:20:12 +00:00 |
|
Guus Sliepen
|
691907caae
|
Readd quotes.
|
2003-08-08 17:17:13 +00:00 |
|
Guus Sliepen
|
7e74e00d16
|
Allow empty lines in config files.
|
2003-08-08 14:59:27 +00:00 |
|
Guus Sliepen
|
863349638b
|
Simplify execute_script(). It will probably work under Windows as well.
|
2003-08-08 14:48:33 +00:00 |
|
Guus Sliepen
|
deba3ed900
|
Correct error message when remote host closed connection.
|
2003-08-08 14:24:09 +00:00 |
|
Guus Sliepen
|
070aee3be1
|
Tell windows to be patient.
|
2003-08-08 12:55:05 +00:00 |
|
Guus Sliepen
|
adb68b9c2a
|
Windows uses backslashes...
|
2003-08-08 12:24:52 +00:00 |
|
Guus Sliepen
|
ef091d1ddb
|
Sync CABAL branch with release-1_0 branch.
|
2003-08-08 11:45:37 +00:00 |
|
Guus Sliepen
|
5193a14dde
|
Use our own port when connecting to ourself.
|
2003-08-03 21:45:41 +00:00 |
|