1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-25 10:59:53 +03:00
Commit Graph

60 Commits

Author SHA1 Message Date
Darik Horn
d68db9f2ce Change GetExeDir to GetStateDir in Cedar and Mayaqua.
Resolve this AppArmor error by ensuring that certificate files files are
written into /var/lib/softether instead of the current working directory:

	Profile: /usr/sbin/softetherd
	Operation: mkdir
	Name: /usr/sbin/chain_certs
	Denied: c
	Logfile: /var/log/kern.log

	type=1400 audit: apparmor="DENIED" operation="mkdir" profile="/usr/sbin/softetherd" name="/usr/sbin/chain_certs/" pid=36448 comm="softetherd" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
2014-10-03 13:30:37 -04:00
Darik Horn
64dd780905 Create a non-forking softetherd for upstart and systemd.
Implement a daemon that expects to be invoked by a new-style init like upstart
or systemd as:

	/usr/sbin/softetherd [vpnbridge|vpnclient|vpnserver]

Alternatively, if the command line argument is empty, then use the
`SOFTETHER_MODE` environment variable instead.

Conflicts:
	src/bin/hamcore/strtable_en.stb
2014-10-03 13:30:24 -04:00
Darik Horn
b9420c3bfc Use FHS installation directories.
Install to `/usr/sbin`, `/usr/lib`, and `/var/lib` according to the Linux
filesystem hierarchy standard if SoftEther is built through autotools.

In a managed installation, the FHS stipulates that the application must
accomodate a read-only installation path.  This requires a new `GetStateDir`
function that substitues `GetExeDir` in some parts of the code.
2014-10-03 13:28:30 -04:00
Darik Horn
75625af541 Create libsoftether.so and dynamically link the userland.
Sharing object code between vpnbridge, vpnclient, vpnserver, and vpncmd
reduces the binary size of SoftEther by 85% and its administrative memory
footprint by 50%.
2014-10-03 13:28:30 -04:00
Darik Horn
c5e5d7e93c Create autotools plumbing for SoftEther.
Add autoconf and automake capabilities to SoftEther so that it can be built
like this:

	# autoreconf --force --install
	# ./configure
	# make install DESTDIR=/tmp/softether

All standard configure parameters are supported, plus:

	# ./configure --enable-debug

Autotools support makes porting, cross compiling, and optimization much easier.

These GNU autoconf-archive components are used for dependency checking:

  * ax_check_openssl.m4
  * ax_check_zlib.m4
  * ax_lib_readline.m4
  * ax_pthread.m4
  * ax_with_curses.m4

NB: http://www.gnu.org/software/autoconf-archive/
2014-10-03 13:28:30 -04:00
dnobori
10d4b2c43d v4.10-9505-beta 2014-10-04 00:09:23 +09:00
dnobori
16b713b98d v4.10-9473-beta 2014-07-12 03:00:27 +09:00
dnobori
9f7d8578a7 v4.10-9472-beta 2014-07-12 02:06:20 +09:00
Daiyuu Nobori
ee8d609030 Merge pull request #64 from ahrefs/master
update debian packaging, install init script
2014-07-11 22:59:26 +09:00
Igor Pikovets
efa56effde update debian packaging, install init script 2014-06-17 11:55:24 +08:00
dnobori
f75a2c2a12 v4.09-9451-beta 2014-06-09 11:57:10 +09:00
dnobori
ea38eef377 v4.08-9449-rtm 2014-06-08 16:40:44 +09:00
dnobori
719ee999d6 v4.07-9448-rtm 2014-06-06 06:53:20 +09:00
dnobori
7839d2939e v4.06-9437-beta 2014-04-09 11:30:07 +09:00
dnobori
a3a4ad0b0a v4.06-9436-beta 2014-04-09 09:35:00 +09:00
Daiyuu Nobori
a22f8216ae Merge pull request #45 from sahal/master
A few minor fixes
2014-04-08 22:26:37 +09:00
Sahal Ansari
0f49c92c31 missed a pair of quotation marks 2014-04-01 14:52:52 +00:00
Sahal Ansari
759e4789f6 One can now launch the script from any location, not just debian/ 2014-04-01 14:46:02 +00:00
Sahal Ansari
358357db1e -z instead of -e for non-files 2014-03-31 07:43:37 +00:00
Daiyuu Nobori
19ca16ef2b Merge pull request #42 from sahal/master
This version is more logical and less ugly
2014-03-30 21:32:36 +09:00
Sahal Ansari
8508f7c594 This version is more logical, less ugly, and incorporates and as described in the Debian manual. 2014-03-30 10:56:27 +00:00
Daiyuu Nobori
d8fc11d0ff Merge pull request #41 from sahal/master
quick and dirty (emphasis on dirty) debian changelog generator
2014-03-29 17:14:51 +09:00
Sahal Ansari
86b5ea39cb quick and dirty (emphasis on dirty) debian changelog generator for SoftEtherVPN 2014-03-29 07:11:07 +00:00
dnobori
16d73ccb57 v4.06-9435-beta 2014-03-26 12:38:30 +09:00
dnobori
e61fca4d9d v4.06-9433-beta 2014-03-21 14:07:45 +09:00
dnobori
dc5d3ee2ae v4.06-9432-beta 2014-03-20 17:05:40 +09:00
dnobori
cf2a6a42bc v4.06-9430-beta 2014-03-20 05:45:05 +09:00
Daiyuu Nobori
dcd9b94381 Merge pull request #34 from nattoheaven/osxtune
Several Fixes for OS X
2014-03-19 20:30:42 +09:00
Daiyuu Nobori
d2d61b2da5 Merge pull request #30 from yfdyh000/patch-1
Update strtable_cn.stb
2014-03-19 20:25:52 +09:00
nattoheaven
4c48388b12 Several Tunings for OS X 2014-03-12 08:06:21 +09:00
dnobori
14e8693421 Merge branch 'master' of https://github.com/thepoch/SoftEtherVPN into thepoch-master 2014-03-06 23:38:31 +09:00
Dexter Ang
a67b4e30b6 Workaround for when vpnserver hangs on stop. 2014-03-03 15:54:21 +08:00
YF
923c97a946 Update strtable_cn.stb
update and fixes the translation.
2014-02-21 06:22:55 +08:00
dnobori
496167ee81 v4.05-9423-beta 2014-02-18 20:09:33 +09:00
Daiyuu Nobori
a832506f35 Merge pull request #29 from thepoch/master
Files for building CentOS/RHEL RPM.
2014-02-18 20:08:03 +09:00
Dexter Ang
8fe51b74cf Files for building CentOS/RHEL RPM. 2014-02-18 06:20:37 +08:00
dnobori
e8ce5fa014 v4.05-9422-beta 2014-02-17 03:16:50 +09:00
Daiyuu Nobori
bad6a4c22b Merge pull request #23 from el1n/autoconnect
Client Manager supporting /hostname and /password
2014-02-17 01:05:37 +09:00
Daiyuu Nobori
4abd47fd9a Merge pull request #25 from hsaito/master
Adding to check for armv6l so Debian package can be built on Raspberry P...
2014-02-10 15:42:46 +09:00
Hideki Saito
ec484dba12 Adding to check for armv6l so Debian package can be built on Raspberry Pi 2014-02-09 22:26:55 -08:00
ELIN
9a574f5300 /hostname and /password 2014-02-08 06:33:39 +00:00
ELIN
6f031a61fb Merge branch 'master' into autoconnect 2014-02-08 06:06:19 +00:00
dnobori
d2be460d7c v4.05-9418-beta 2014-02-06 13:20:11 +09:00
dnobori
bb853cc18b v4.05-9416-beta 2014-02-06 01:36:42 +09:00
Daiyuu Nobori
8920d01a37 Merge pull request #21 from renaudallard/master
Enable compilation on OpenBSD
2014-02-06 01:35:49 +09:00
Daiyuu Nobori
6b9269e019 Merge pull request #20 from mosquito/master
Add simple debian packaging
2014-02-06 01:35:43 +09:00
Daiyuu Nobori
ef054055b0 Merge pull request #14 from el1n/adminipcidr
adminip.txt CIDR Support
2014-02-06 01:35:38 +09:00
Daiyuu Nobori
cdd4540baa Merge pull request #10 from nattoheaven/tuntaposx
Supporting VLAN for Mac OS X using TunTapOSX
2014-02-06 01:35:26 +09:00
Renaud Allard
02ddb08236 Enable compilation on OpenBSD 2014-02-05 11:28:28 +01:00
Dmitry Orlov
b3611304b5 Add simple debian packaging 2014-02-04 21:50:54 +00:00