mirror of https://github.com/oxen-io/lokinet
Merge branch 'master' of https://github.com/loki-project/loki-network
commit
5248283128
@ -0,0 +1,18 @@
|
||||
#!/usr/sbin/dtrace -s
|
||||
|
||||
syscall:::entry
|
||||
/pid == $target/
|
||||
{
|
||||
@calls[ustack(10), probefunc] = count();
|
||||
}
|
||||
|
||||
profile:::tick-1sec
|
||||
{
|
||||
/** print */
|
||||
printa(@calls);
|
||||
/** clear */
|
||||
clear(@calls);
|
||||
trunc(@calls, 15);
|
||||
}
|
||||
|
||||
|
@ -1,35 +1,58 @@
|
||||
.TH "lokinet" "1" "Aug 09, 2018"
|
||||
.TH "lokinet" "1" "Oct 28, 2018"
|
||||
|
||||
.SH "NAME"
|
||||
lokinet \- Reference implementation for LLARP.
|
||||
.SH "SYNOPSIS"
|
||||
.B lokinet
|
||||
[\fIconfig.ini\fR]
|
||||
[\fI options ... \fR] [\fI config.ini \fR]
|
||||
.SH "DESCRIPTION"
|
||||
|
||||
.PP
|
||||
For a number of years, work has been proceeding in order to bring prefection
|
||||
to the crudely concieved idea of a packet based onion routing protocol with a
|
||||
cryptoeconomic insentive sybil resistence that not only would be able to
|
||||
cryptoeconomical sybil resistence incentive that not only would be able to
|
||||
provide low latency anonymous internet access but also be capable of
|
||||
automatically tunneling all local network traffic over said mixnet. Such an a
|
||||
program would be the turbo encab-, rather, lokinet. Now basically the only new
|
||||
principal involved is that now instead of restricting the user to using TCP and
|
||||
program would be the turbo encabu...\fBlokinet\fR . Now basically the only new
|
||||
principle involved is that now instead of restricting the user to using TCP and
|
||||
exposing a socks proxy or transparent proxy like Tor, an ip tunnel is provided
|
||||
with a dns resolver for intercepting lookups for the .loki tld. The original
|
||||
implementation was in C but eventually devolved into C++ in such a way that
|
||||
there is a public C api but internally entirely implemented with C++11 wrapped
|
||||
with a foriegn function interface. The latter being more rapidly developable,
|
||||
but I digres.
|
||||
but I digress ...
|
||||
|
||||
.SH "OPTIONS"
|
||||
|
||||
.IP \fB-g\fR
|
||||
Generate config file
|
||||
.IP \fB-f\fR
|
||||
Force overwrite of existing config file
|
||||
.IP \fB-r\fR
|
||||
Configure to be a relay
|
||||
|
||||
.RE
|
||||
|
||||
.SH "FILES"
|
||||
daemon.ini
|
||||
.RS 4
|
||||
default configuration file (auto generated if not present)
|
||||
|
||||
.I $HOME/.lokinet/
|
||||
|
||||
.IP
|
||||
The default runtime directory
|
||||
|
||||
.RE
|
||||
|
||||
.I $HOME/.lokinet/lokinet.ini
|
||||
|
||||
.IP
|
||||
The default config file.
|
||||
|
||||
.RE
|
||||
.SH "SEE ALSO"
|
||||
Documentation for lokinet configuration with loki service nodes.
|
||||
.SH "AUTHOR"
|
||||
This manual page was written by Jeff <\m[blue]\fBjeff@i2p\&.rocks\fR\m[]> for ubuntu xenial.
|
||||
This manual page was written by Jeff <\m[blue]\fBjeff@i2p\&.rocks\fR\m[]>
|
||||
.PP
|
||||
Permission is granted to copy, distribute and/or modify this document under the terms of the same license of lokinet source code.
|
||||
.RE
|
||||
See the LICENSE file for more information.
|
||||
See the LICENSE file for more information.
|
||||
|
@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env sh
|
||||
#
|
||||
# this shell script will be replaced by a proper program in the future (probably)
|
||||
#
|
||||
|
||||
if [ "X$1" = "X" ] ; then url="https://i2p.rocks/i2procks.signed" ; else url="$1" ; fi
|
||||
echo "downloading $url"
|
||||
wget -O $HOME/.lokinet/bootstrap.signed "$url" &> /dev/null || echo "failed to download bootstrap from $url"
|
||||
wget -O $HOME/.lokinet/bootstrap.signed "$url" || echo "failed to download bootstrap from $url"
|
||||
|
Loading…
Reference in New Issue