Package Details: kcptun-bin 20170218-1

Git Clone URL: https://aur.archlinux.org/kcptun-bin.git (read-only)
Package Base: kcptun-bin
Description: An extremely simple udp tunnel based on KCP
Upstream URL: https://github.com/xtaci/kcptun
Licenses: MIT
Conflicts: kcptun
Provides: kcptun
Submitter: kasei
Maintainer: kasei
Last Packager: kasei
Votes: 4
Popularity: 0.618293
First Submitted: 2016-08-09 02:29
Last Updated: 2017-02-18 04:57

Latest Comments

bubbles commented on 2017-02-18 04:53

xtaci deleted tag v20170217
xtaci created tag v20170218
Thanks.

kasei commented on 2016-11-15 14:24

OK. Auto restarting has been added to systemd service file. Please let me know if there are any more problems.

phoenixyip commented on 2016-11-15 01:30

+1 for adding parameter to the service file or pin the comment:
Restart=always
RestartSec=5

now it's no need to start the service manually and save my day! thank u

callofdutyops commented on 2016-11-13 18:42

@kasei
Thanks! This does work!
It seems that this parameter is important:
RestartSec=5
Because before I ask here I have done a lot of search and I have modified your systemd script without this parameter but it doesn't work.
And also I think you could update this systemd script or if you don't want to make things dirty you can comment in your PKGBUILD file or clarify here in comments and pin it before this issue is solved. :)

kasei commented on 2016-11-04 06:44

@callofdutyops
That's because reaching network.target doesn't mean you get an available ip address or network connection.( https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ )
In this case kcptun will abort. I think this should be an upstream issus.
But there is an workaround, you can tell systemd to restart kcptun until it's up and run. Like this:
----------------------------------
[Unit]
Description=Kcptun Client Service
After=network.target

[Service]
Type=simple
User=nobody
ExecStart=/usr/bin/kcptun_client -c /etc/kcptun/%i.json
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
----------------------------------

callofdutyops commented on 2016-11-03 21:14

Thanks for your hard work!
I #enable# the systemd service but I got the error when boot:
dial udp (#my remote server ip#):(#port#): connect: network is unreachable
But I #start# the systemd service after I enter Xorg get no error.

adam900710 commented on 2016-08-15 04:16

@bubbles Please try the complie from git version: https://aur.archlinux.org/packages/kcptun-git/

@kasei Considering it's not hard to compile from git source, would you like to remove this package? Thanks

bubbles commented on 2016-08-09 17:42

x86_64的sha256sums校验和不对啊,作者提供了md5sums
md5sums=('77a17b70fe36c1286071e143e48f3139')
另外,PKGBUILD里面写了386,却没给出source地址.