Timo Röhling
af7a24ac27
Add dual stack support
Closes #46
vor 8 Jahren
Timo Röhling
e2ed71fa64
Fix comment
vor 8 Jahren
Timo Röhling
9f302b8d6b
Fix header includes for FreeBSD compatibility
Fixes #45
vor 8 Jahren
Timo Röhling
772b420203
Remove space between -X and its optional argument
Fixes #44
vor 8 Jahren
Timo Röhling
855bd4652a
Fix command line corruption on empty option arguments
Fixes #33
vor 9 Jahren
Timo Röhling
d549b3ff35
1.3
vor 9 Jahren
Timo Röhling
bcc6c2ba9a
Warn explicitly about configuration file updates
The configuration file will never be overwritten automatically.
Therefore, changes need to be applied by the user manually.
vor 9 Jahren
Timo Röhling
050c6a2407
Update startup scripts
vor 9 Jahren
Timo Röhling
90718d708b
Make SRS separator configurable
vor 9 Jahren
Timo Röhling
8653cca9b1
A few corrections
Use char instead of char* for the single character and don't do this
weird casting thing where a char gets stored in the pointer.
vor 9 Jahren
nichivo
1d7e242fa6
Add an argument for the first separator character after SRS0 and SRS1. The default is now = instead of +
vor 9 Jahren
Timo Röhling
541cf6e7f3
Merge pull request #32 from bjoe2k4/master
Read config directly from environment variables
vor 9 Jahren
bjoe2k4
1e2f2d535d
Revert "Bind to both ipv4 and ipv6 by default."
This reverts commit cdb223542a .
vor 9 Jahren
bjoe2k4
546399561a
Update systemd file
Network is not need anymore to start postsrsd.
vor 9 Jahren
bjoe2k4
e12167c202
Read config from environment
vor 9 Jahren
bjoe2k4
cdb223542a
Bind to both ipv4 and ipv6 by default.
vor 9 Jahren
Timo Röhling
b161cb4358
Merge pull request #28 from bjoe2k4/master
Remove addrinfo flags
vor 9 Jahren
bjoe2k4
10e8b8214d
Remove addrinfo flags
Remove flags since they require the network to be up and routable for no reason.
vor 9 Jahren
Oxan van Leeuwen
e69a69c6ef
Fix typo in systemd service
vor 9 Jahren
Timo Röhling
b02a1db057
Improve configuration
vor 10 Jahren
Timo Röhling
2e41017de3
Typo
vor 10 Jahren
Timo Röhling
031c5b4e87
Known issue with rewriting
Closes #14
Closes #17
vor 10 Jahren
Timo Röhling
ed482a33e1
Known issue with CentOS 6
As reported in #25
vor 10 Jahren
Timo Röhling
1d1c8f46e8
Use openssl binary of no base64 binary is available
Suggested by maxfieb (#21 )
vor 10 Jahren
Timo Röhling
505f09d135
Link against libsocket and libnsl on Solaris
Fixes #21
vor 10 Jahren
Timo Röhling
51e9288c93
1.2
vor 10 Jahren
Timo Röhling
a557a77ef4
Add more flags to be passed to makefile fragment
vor 10 Jahren
Timo Röhling
0442b31227
Fix more warnings
vor 10 Jahren
Timo Röhling
9548316977
Allow INIT_FLAVOR override in makefile fragment
vor 10 Jahren
Timo Röhling
f0ec8943b4
Move most defaults to default file
vor 10 Jahren
Timo Röhling
6aa118f5a7
Move init-related stuff to its own folder
vor 10 Jahren
Timo Röhling
fefe8efceb
Merge initial systemd support from bjoe2k4
vor 10 Jahren
bjoe2k4
32d2cd0abd
Fix file path of default file in postinstall
vor 10 Jahren
bjoe2k4
45bdf8e363
Small fix for systemd service file
vor 10 Jahren
bjoe2k4
037a57ba50
Set secret file in default file at compile time
vor 10 Jahren
bjoe2k4
f097d1be4c
Rename postsrsd.default
vor 10 Jahren
bjoe2k4
b4bcb77ca7
Initial systemd support
vor 10 Jahren
Timo Röhling
1493d5f38c
Bind IPv4 ports by default
vor 10 Jahren
Timo Röhling
a4a53c7b9f
Flush before waiting for new input, not after
vor 10 Jahren
Timo Röhling
859796b126
Workaround for Solaris libc
The Solaris libc has some issues with alternating input and output
on sockets passed to fdopen(). Apparently there is a shared buffer
which has to be emptied, either by fseek() or fflush(), whenever
the direction of the data flow changes.
vor 10 Jahren
Timo Röhling
70878f964c
Whitespace fix
vor 10 Jahren
Timo Röhling
a534a528f7
Check for headers which may or may not be available
vor 10 Jahren
Timo Röhling
69275bebaa
Fix pointer conversion warnings
vor 10 Jahren
Timo Röhling
931406ebdd
Update README
vor 10 Jahren
TomBoehm
5b08179493
Add preliminary Mac OS X support
vor 10 Jahren
Timo Röhling
f430c83b82
Load timezone info before chroot
Fixes #13
vor 10 Jahren
Timo Röhling
174337768c
Merge pull request #16 from crispygoth/master
A couple of small fixes: closing listen sockets in child and ignoring EINTR errors from main poll
vor 10 Jahren
Chris Butler
6abd042ee3
Ignore EINTR errors from main poll() loop
When trying to connect the strace tool to the daemon's main process, the
daemon would die because strace interrupted the poll() causing it to
return EINTR.
It should be safe to ignore EINTR errors from poll in this case. Either
the received signal will be otherwise ignored by the process, or it will
cause it to terminate.
vor 10 Jahren
Chris Butler
0fc199d5bc
Close the listen sockets in child processes
By keeping the listen sockets open, the children were preventing the
daemon from being restarted cleanly. Once the child has forked these
listen sockets are no longer needed by that process, so can be closed.
vor 10 Jahren
Timo Röhling
6e582bc915
Merge pull request #15 from rvrangel/master
add status check to LSB init script
vor 10 Jahren