Guus Sliepen
c217d214f4
Remove all occurences of $Id$.
2009-09-24 23:39:16 +02:00
Guus Sliepen
c23fcf555e
Update copyright information.
...
- Update year numbers in copyright headers.
- Add copyright information for Michael Tokarev and Florian Forster to the
copyright headers of files to which they have contributed significantly.
- Mention Michael and Florian in AUTHORS.
- Mention that tinc is GPLv3 or later if compiled with the --enable-tunemu
flag.
2009-09-24 23:29:46 +02:00
Guus Sliepen
633c0cf1b0
Use access() instead of stat() for checking whether scripts exist.
2009-09-15 00:36:07 +02:00
Guus Sliepen
a60a0a1f13
Don't stat() on iPhone/iPod.
...
Grzegorz Dymarek noted that tinc segfaults at the stat() call in
execute_script() on the iPhone. We can omit the stat() call for the moment,
the subsequent call to system() will fail with just a warning.
2009-09-10 19:51:08 +02:00
Guus Sliepen
f52ea0a7eb
UNIX signal numbers start at 1.
2009-09-08 18:21:52 +02:00
Guus Sliepen
73d77dd416
Replace asprintf() by xasprintf().
2009-09-08 18:18:36 +02:00
Guus Sliepen
e9576632dc
Update copyright information.
2008-12-22 20:27:52 +00:00
Guus Sliepen
d7ca0300a3
Handle SERVICE_CONTROL_INTERROGATE requests. Thanks to Carsten Ralle for noticing this.
2007-08-17 22:09:00 +00:00
Guus Sliepen
45fca3c723
Apply patch from Scott Lamb fixing some memory and resource leaks.
2007-02-14 09:21:34 +00:00
Guus Sliepen
de78d79db8
Update copyright notices, remove Ivo's email address.
2006-04-26 13:52:58 +00:00
Guus Sliepen
df3220a154
Update copyright notices.
2005-05-04 18:09:30 +00:00
Guus Sliepen
fe0bfa3e65
Correct size argument for strncat().
2005-01-04 22:18:58 +00:00
Guus Sliepen
faff649882
Don't let tinc service depend on NDIS component.
2004-11-01 15:18:22 +00:00
Guus Sliepen
6411e0d8bd
strndupa() is too arcane for some environments.
2004-10-01 18:24:41 +00:00
Guus Sliepen
e5e0dd7534
Clean up environment after executing scripts.
2004-06-14 14:32:10 +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
a3cd273751
Missing space between words.
2003-12-07 14:29:02 +00:00
Guus Sliepen
0b5e6cf04e
Complain if pid file cannot be created.
2003-11-27 23:24:59 +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
3e0b28b0c4
Remove debug message.
2003-08-22 15:07:57 +00:00
Guus Sliepen
570e7e9c61
Don't overwrite the first " when installing a service.
2003-08-22 15:05:01 +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
fd40130eb6
stat() batch files under Windows.
2003-08-16 12:11:11 +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
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
691907caae
Readd quotes.
2003-08-08 17:17:13 +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
070aee3be1
Tell windows to be patient.
2003-08-08 12:55:05 +00:00
Guus Sliepen
62a7fa9a7b
Simplify translation
2003-08-03 21:45:13 +00:00
Guus Sliepen
3671ed806d
Keep Windows happy.
2003-08-03 12:38:18 +00:00
Guus Sliepen
f08fc359a0
Install tinc as a service under Windows (MinGW). Remove cleanup_and_exit(),
...
either exit() directly on errors or let main_loop() shutdown gracefully.
2003-08-02 20:50:38 +00:00
Guus Sliepen
2531ff59b7
Woops!
2003-07-31 14:24:19 +00:00
Guus Sliepen
d798b8b3d8
Prevent definitions from messing up attributes.
2003-07-30 21:52:41 +00:00
Guus Sliepen
0e94541331
More checks for missing functions.
2003-07-28 22:06:09 +00:00
Guus Sliepen
eefa28059a
Use bools and enums where appropriate.
2003-07-22 20:55:21 +00:00
Guus Sliepen
e169244e4b
Use functions from logger.c
2003-07-21 14:47:43 +00:00
Guus Sliepen
e449d94cae
Big header file cleanup: everything that has to do with standard system
...
libraries is moved to system.h.
2003-07-17 15:06:27 +00:00
Guus Sliepen
5db596c684
Simplify logging, update copyrights and some minor cleanups.
2003-07-12 17:41:48 +00:00
Guus Sliepen
2a7f11c0e9
More missing IPv6 definitions and autoconf checks to make sure it compiles
...
under Solaris 2.6.
2003-07-11 16:13:00 +00:00
Guus Sliepen
1401faf608
Sprinkling the source with static and attributes.
2003-07-06 23:16:29 +00:00
Guus Sliepen
0b9175e998
Define logger(), cleans up source code and allows us to write log entries
...
to a separate file.
2003-07-06 22:11:37 +00:00
Ivo Timmermans
e310cc82d3
Fix saving of debug level for startup level 0
2002-09-30 19:04:37 +00:00
Guus Sliepen
5eca9520d9
Small fixes so tinc compiles out of the box on SunOS 5.8
2002-09-15 14:55:54 +00:00
Guus Sliepen
161f917dd0
Fix compiler warnings.
2002-09-10 09:40:25 +00:00
Guus Sliepen
6f9f6779e6
Remove redundant spaces.
2002-09-09 22:33:31 +00:00
Guus Sliepen
f75dcef72a
Switch to K&R style indentation.
2002-09-09 21:25:28 +00:00
Guus Sliepen
5fc1ed17f4
Cleanups:
...
- Convert cp to cp(); so that automatic indenters work.
- Convert constructions like if(x == NULL) to if(!x).
- Move all assignments out of conditions.
2002-09-09 19:40:12 +00:00