Compare commits

...

14 Commits

Author SHA1 Message Date
idk
540ae83901 add OS check 2021-10-28 15:53:29 -04:00
idk
325b02c332 add the bat script to the portable profiles. 2021-10-21 23:13:24 -04:00
idk
4eff5b3075 upgrade the bat script to support running from the script directory 2021-10-21 23:08:46 -04:00
idk
47b77bfe02 remove wrapper.config 2021-10-21 20:32:25 -04:00
idk
4f0fb1e786 Start to give it the ability to pre-generate a portable bundle, portable in the storage device sense where it can be taken on a flash drive between machines. 2021-10-21 19:17:59 -04:00
idk
3c01ebd094 generate releases.json from make target. 2021-10-20 16:37:08 -04:00
idk
60ac2d7ec4 generate releases.json from make target. 2021-10-20 00:50:49 -04:00
idk
3d51872275 Set path to %ProgramFiles%/I2P correctly per-platform and without depending on global envars 2021-10-06 14:17:49 -04:00
idk
a793e11176 add missing release instruction to README.md 2021-09-14 16:32:27 -04:00
idk
b50cd8c55b Switch I2P_VERSION back to using tags. New bundle was build with i2pversion_override 1.5.0 2021-09-14 12:22:47 -04:00
idk
3c5208d50e Make some of the make targets a little better for releasing 2021-09-14 12:11:56 -04:00
idk
42eb5fdecd bump version number to 1.05.0 since it's embedding a 1.5 I2P router and it is version 04 of the profile. Embedding a router being a huge milestone, after all. 2021-09-13 22:11:45 -04:00
idk
ec700d725d upgrade i2pipb version 2021-09-09 19:15:22 -04:00
idk
6dbee9db3c Merge branch 'EXPERIMENTAL-docker' into 'master'
Add a Dockerfile and Docker instructions

Closes #6

See merge request i2p-hackers/i2p.firefox!4
2021-08-22 21:46:59 +00:00
20 changed files with 371 additions and 67 deletions

View File

@ -1 +0,0 @@
https://addons.mozilla.org/firefox/downloads/file/3716461/2021.7.13/https_everywhere-2021.7.13-an+fx.xpi

View File

@ -8,6 +8,7 @@ preset=`rm .version; make .version`
include .version include .version
PROFILE_VERSION=$(MAJOR).$(MINOR).$(BUILD) PROFILE_VERSION=$(MAJOR).$(MINOR).$(BUILD)
OS=`uname -s | tr '[:upper:]' '[:lower:]'`
all: .version install.exe all: .version install.exe
@ -34,7 +35,7 @@ help: .version
@echo "$(MAJOR).$(MINOR).$(BUILD)" @echo "$(MAJOR).$(MINOR).$(BUILD)"
@echo "$(preset)" @echo "$(preset)"
prep: profile.tgz app-profile.tgz profile build/licenses build/I2P build/I2P/config launchers prep: profile.tgz app-profile.tgz build/licenses build/I2P build/I2P/config launchers
cp src/nsis/*.nsi build cp src/nsis/*.nsi build
cp src/nsis/*.nsh build cp src/nsis/*.nsh build
cp src/icons/*.ico build cp src/icons/*.ico build
@ -46,7 +47,7 @@ export RES_DIR="../i2p.i2p/installer/resources"
export PKG_DIR="../i2p.i2p/pkg-temp" export PKG_DIR="../i2p.i2p/pkg-temp"
export I2P_JBIGI="../i2p.i2p/installer/lib/jbigi" export I2P_JBIGI="../i2p.i2p/installer/lib/jbigi"
distclean: clean distclean: clean clean-extensions
rm -rf I2P rm -rf I2P
I2P: I2P:
@ -67,7 +68,7 @@ src/I2P/config:
cp -v $(RES_DIR)/i2ptunnel.config src/I2P/config/ cp -v $(RES_DIR)/i2ptunnel.config src/I2P/config/
cp -v $(RES_DIR)/wrapper.config src/I2P/config/ cp -v $(RES_DIR)/wrapper.config src/I2P/config/
#grep -v 'router.updateURL' $(RES_DIR)/router.config > src/I2P/config/router.config #grep -v 'router.updateURL' $(RES_DIR)/router.config > src/I2P/config/router.config
cat router.config >> src/I2P/config/router.config cat router.config >> src/I2P/config/router.config
cp -v $(RES_DIR)/hosts.txt src/I2P/config/hosts.txt cp -v $(RES_DIR)/hosts.txt src/I2P/config/hosts.txt
cp -R $(RES_DIR)/certificates src/I2P/config/certificates cp -R $(RES_DIR)/certificates src/I2P/config/certificates
cp -R $(RES_DIR)/eepsite src/I2P/config/eepsite cp -R $(RES_DIR)/eepsite src/I2P/config/eepsite
@ -92,12 +93,18 @@ build/licenses: build
unix2dos build/licenses/LICENSE.index unix2dos build/licenses/LICENSE.index
clean: clean:
rm -rf build app-profile-*.tgz profile-*.tgz I2P-Profile-Installer-*.exe *.deb src/I2P/config *.su3 rm -rf build app-profile-*.tgz profile-*.tgz I2P-Profile-Installer-*.exe *.deb src/I2P/config/* *.su3 .version
build: build:
@echo "creating build directory" @echo "creating build directory"
mkdir -p build mkdir -p build
portable-profile: .version I2P build/I2P
make profile.tgz
cp -rv build/profile build/portable-profile-$(OS)
cp src/win/i2pbrowser.bat build/portable-profile-$(OS)
cp src/win/i2pbrowser-private.bat build/portable-profile-$(OS)
profile: build/profile/user.js build/profile/prefs.js build/profile/bookmarks.html build/profile/storage-sync.sqlite copy-xpi profile: build/profile/user.js build/profile/prefs.js build/profile/bookmarks.html build/profile/storage-sync.sqlite copy-xpi
profile.tgz: .version profile profile.tgz: .version profile
@ -119,10 +126,17 @@ build/profile/bookmarks.html: build/profile src/profile/bookmarks.html
build/profile/storage-sync.sqlite: build/profile src/profile/storage-sync.sqlite build/profile/storage-sync.sqlite: build/profile src/profile/storage-sync.sqlite
cp src/profile/storage-sync.sqlite build/profile/storage-sync.sqlite cp src/profile/storage-sync.sqlite build/profile/storage-sync.sqlite
copy-xpi: build/NoScript.xpi build/HTTPSEverywhere.xpi build/i2prhz@eyedeekay.github.io.xpi build/profile/extensions copy-xpi: build/NoScript.xpi build/HTTPSEverywhere.xpi build/i2ppb@eyedeekay.github.io.xpi build/profile/extensions
cp build/NoScript.xpi "build/profile/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" cp build/NoScript.xpi "build/profile/extensions/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi"
cp build/HTTPSEverywhere.xpi "build/profile/extensions/https-everywhere-eff@eff.org.xpi" cp build/HTTPSEverywhere.xpi "build/profile/extensions/https-everywhere-eff@eff.org.xpi"
cp build/i2prhz@eyedeekay.github.io.xpi build/profile/extensions/i2prhz@eyedeekay.github.io.xpi cp build/i2ppb@eyedeekay.github.io.xpi build/profile/extensions/i2ppb@eyedeekay.github.io.xpi
portable-app-profile: .version I2P build/I2P
make app-profile.tgz
cp -rv build/app-profile build/portable-app-profile-$(OS)
cp src/win/i2pbrowser.bat build/portable-app-profile-$(OS)
cp src/win/i2pbrowser-private.bat build/portable-app-profile-$(OS)
cp src/win/i2pconfig.bat build/portable-app-profile-$(OS)
app-profile: .version build/app-profile/user.js build/app-profile/prefs.js build/app-profile/chrome/userChrome.css build/app-profile/bookmarks.html build/app-profile/storage-sync.sqlite copy-app-xpi app-profile: .version build/app-profile/user.js build/app-profile/prefs.js build/app-profile/chrome/userChrome.css build/app-profile/bookmarks.html build/app-profile/storage-sync.sqlite copy-app-xpi
@ -148,14 +162,14 @@ build/app-profile/bookmarks.html: build/app-profile src/app-profile/bookmarks.ht
build/app-profile/storage-sync.sqlite: build/app-profile src/app-profile/storage-sync.sqlite build/app-profile/storage-sync.sqlite: build/app-profile src/app-profile/storage-sync.sqlite
cp src/app-profile/storage-sync.sqlite build/app-profile/storage-sync.sqlite cp src/app-profile/storage-sync.sqlite build/app-profile/storage-sync.sqlite
copy-app-xpi: build/NoScript.xpi build/HTTPSEverywhere.xpi build/i2prhz@eyedeekay.github.io.xpi build/app-profile/extensions copy-app-xpi: build/NoScript.xpi build/HTTPSEverywhere.xpi build/i2ppb@eyedeekay.github.io.xpi build/app-profile/extensions
cp build/HTTPSEverywhere.xpi "build/app-profile/extensions/https-everywhere-eff@eff.org.xpi" cp build/HTTPSEverywhere.xpi "build/app-profile/extensions/https-everywhere-eff@eff.org.xpi"
cp build/i2prhz@eyedeekay.github.io.xpi build/app-profile/extensions/i2prhz@eyedeekay.github.io.xpi cp build/i2ppb@eyedeekay.github.io.xpi build/app-profile/extensions/i2ppb@eyedeekay.github.io.xpi
build-extensions: build/i2prhz@eyedeekay.github.io.xpi build/NoScript.xpi build/HTTPSEverywhere.xpi build-extensions: build/i2ppb@eyedeekay.github.io.xpi build/NoScript.xpi build/HTTPSEverywhere.xpi
build/i2prhz@eyedeekay.github.io.xpi: i2psetproxy.url build/i2ppb@eyedeekay.github.io.xpi: i2psetproxy.url
curl -L `cat i2psetproxy.url` > build/i2prhz@eyedeekay.github.io.xpi curl -L `cat i2psetproxy.url` > build/i2ppb@eyedeekay.github.io.xpi
build/NoScript.xpi: NoScript.url build/NoScript.xpi: NoScript.url
curl -L `cat NoScript.url` > build/NoScript.xpi curl -L `cat NoScript.url` > build/NoScript.xpi
@ -169,14 +183,15 @@ clean-extensions:
extensions:HTTPSEverywhere.url NoScript.url i2psetproxy.url extensions:HTTPSEverywhere.url NoScript.url i2psetproxy.url
HTTPSEverywhere.url: HTTPSEverywhere.url:
@echo "https://addons.mozilla.org/firefox/downloads/file/3716461/"`./amo-version.sh https-everywhere`"/https_everywhere-"`./amo-version.sh https-everywhere`"-an+fx.xpi" > HTTPSEverywhere.url @echo "https://addons.mozilla.org/firefox/downloads/file/3809748/"`./amo-version.sh https-everywhere`"/https-everywhere-eff@eff.org.xpi" > HTTPSEverywhere.url
NoScript.url: NoScript.url:
@echo "https://addons.mozilla.org/firefox/downloads/file/3534184/"`./amo-version.sh noscript`"/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" > NoScript.url @echo "https://addons.mozilla.org/firefox/downloads/file/3534184/"`./amo-version.sh noscript`"/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" > NoScript.url
i2psetproxy.url: i2psetproxy.url:
@echo "https://addons.mozilla.org/firefox/downloads/file/3784917/"`./amo-version.sh i2pipb-rhizome-variant`"/i2prhz@eyedeekay.github.io" > i2psetproxy.url @echo "https://addons.mozilla.org/firefox/downloads/file/3821635/"`./amo-version.sh i2p-in-private-browsing`"/i2ppb@eyedeekay.github.io.xpi" > i2psetproxy.url
#https://addons.mozilla.org/firefox/downloads/file/3821635/i2p_in_private_browsing-0.112.1-an+fx.xpi
#i2ppb@eyedeekay.github.io.xpi #i2ppb@eyedeekay.github.io.xpi
build/profile/extensions: build/profile build/profile/extensions: build/profile
@ -234,7 +249,7 @@ uninstall:
/usr/share/applications/i2pbrowser.desktop \ /usr/share/applications/i2pbrowser.desktop \
/usr/share/applications/i2pconfig.desktop /usr/share/applications/i2pconfig.desktop
checkinstall: version checkinstall: .version
checkinstall \ checkinstall \
--default \ --default \
--install=no \ --install=no \
@ -261,7 +276,7 @@ $(GOPATH)/src/i2pgit.org/idk/su3-tools/su3-tools:
go mod vendor && go build go mod vendor && go build
su3: $(GOPATH)/src/i2pgit.org/idk/su3-tools/su3-tools su3: $(GOPATH)/src/i2pgit.org/idk/su3-tools/su3-tools
$(GOPATH)/src/i2pgit.org/idk/su3-tools/su3-tools -name "I2P-Profile-Installer-$(PROFILE_VERSION)" -signer "$(SIGNER)" -version "$(I2P_VERSION)" $(GOPATH)/src/i2pgit.org/idk/su3-tools/su3-tools -name "I2P-Profile-Installer-$(PROFILE_VERSION)-signed" -signer "$(SIGNER)" -version "$(I2P_VERSION)"
docker: docker:
docker build -t geti2p/i2p.firefox . docker build -t geti2p/i2p.firefox .
@ -276,3 +291,32 @@ run: docker xhost
-v /tmp/.X11-unix:/tmp/.X11-unix \ -v /tmp/.X11-unix:/tmp/.X11-unix \
geti2p/i2p.firefox firefox --profile /src/build/profile geti2p/i2p.firefox firefox --profile /src/build/profile
I2P_DATE=`date +%Y-%m-%d`
prepupdate:
cp -v "I2P-Profile-Installer-$(PROFILE_VERSION)-signed.exe" i2pwinupdate.su3
i2pwinupdate.su3.torrent: prepupdate
mktorrent --announce=http://mb5ir7klpc2tj6ha3xhmrs3mseqvanauciuoiamx2mmzujvg67uq.b32.i2p/a i2pwinupdate.su3
torrent: i2pwinupdate.su3
MAGNET=`bttools torrent printinfo i2pwinupdate.su3.torrent | grep 'MagNet' | sed 's|MagNet: ||g'`
releases.json: torrent
@echo "[" | tee ../i2p.newsxml/data/win/beta/releases.json
@echo " {" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"date\": \"$(I2P_DATE)\"," | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"version\": \"$(I2P_VERSION)\"," | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"minVersion\": \"1.5.0\"," | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"minJavaVersion\": \"1.8\"," | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"updates\": {" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"su3\": {" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"torrent\": \"$(MAGNET)\"," | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"url\": [" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " \"http://ekm3fu6fr5pxudhwjmdiea5dovc3jdi66hjgop4c7z7dfaw7spca.b32.i2p/i2pwinupdate.su3\"" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " ]" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " }" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " }" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo " }" | tee -a ../i2p.newsxml/data/win/beta/releases.json
@echo "]" | tee -a ../i2p.newsxml/data/win/beta/releases.json

View File

@ -1 +0,0 @@
https://addons.mozilla.org/firefox/downloads/file/3534184/11.2.11/{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi

View File

@ -93,6 +93,10 @@ with `sudo service i2p start` then you can run the script:
Including a jpackaged I2P Router(EXPERIMENTAL) Including a jpackaged I2P Router(EXPERIMENTAL)
---------------------------------------------- ----------------------------------------------
It is strongly advised that you use an up-to-date JDK 17 to build your
jpackage! Releases will be built with an up-to-date OpenJDK LTS. Builds occur
on a Windows 10 laptop, hashed, and transferred to a Linux laptop for signing.
In order to include a jpackaged(dependency-free) I2P router in the Profile In order to include a jpackaged(dependency-free) I2P router in the Profile
Bundle you will need to build the jpackaged I2P router as an "App Image" on Bundle you will need to build the jpackaged I2P router as an "App Image" on
a Windows system and place it into a directory called `I2P` in your `i2p.firefox` a Windows system and place it into a directory called `I2P` in your `i2p.firefox`
@ -184,13 +188,21 @@ TODO: Add links to the respective instructions for each of these.
ant clean pkg ant clean pkg
cd .. cd ..
7. Move into the i2p.firefox directory. Run the `./build.sh` script. 4. Move into the i2p.firefox directory. Run the `./build.sh` script.
cd i2p.firefox cd i2p.firefox
./build.sh ./build.sh
5. Run `make` to build the installer. 5. Run `make` to build the installer.
Doing a Release
---------------
Once you have the installer `.exe` file produced by NSIS, you're almost ready to
do a release. As a final step, someone must sign the `.exe` file using a
Certificate which Windows will recognize. The current signer of the Windows
bundle is Zlatinb. Standard Windows signing tools are used.
Building a signed update file Building a signed update file
----------------------------- -----------------------------
@ -207,6 +219,9 @@ With that dependency satisfied, you can then run:
to build the signing tool if necessary and then package the installer in a to build the signing tool if necessary and then package the installer in a
signed update file. signed update file.
It's also probably possible to do this with the Java I2P distribution and a
`.bat` script.
Docker Support Docker Support
-------------- --------------

View File

@ -1 +0,0 @@
https://addons.mozilla.org/firefox/downloads/file/3784917/0.108/i2prhz@eyedeekay.github.io

View File

@ -3,13 +3,13 @@
#Comment this out to build from an alternate branch or #Comment this out to build from an alternate branch or
# the tip of the master branch. # the tip of the master branch.
#I2P_VERSION=0.9.50 I2P_VERSION=1.5.0
#export I2P_VERSION=0.9.50 export I2P_VERSION=1.5.0
#VERSION=i2p-$I2P_VERSION VERSION=i2p-"$I2P_VERSION"
#export VERSION="$VERSION" export VERSION="$VERSION"
#Uncomment this to build from the tip of the master. #Uncomment this to build from the tip of the master.
I2P_VERSION=0.9.50 #I2P_VERSION=0.9.50
export I2P_VERSION=0.9.50 #export I2P_VERSION=0.9.50
VERSION=master #VERSION=master
export VERSION="$VERSION" #export VERSION="$VERSION"

View File

@ -26,7 +26,13 @@ import static net.i2p.update.UpdateType.*;
*/ */
public class WinLauncher { public class WinLauncher {
private static WindowsUpdatePostProcessor wupp = new WindowsUpdatePostProcessor(); private static WindowsUpdatePostProcessor wupp = new WindowsUpdatePostProcessor();
private static boolean portable;
public static void main(String[] args) throws Exception { public static void main(String[] args) throws Exception {
for (int i = 0; i < args.length; i++) {
if (args[i] == "portable") {
portable = true;
}
}
File programs = wupp.selectProgramFile(); File programs = wupp.selectProgramFile();
if (!programs.exists()) if (!programs.exists())
programs.mkdirs(); programs.mkdirs();
@ -89,7 +95,7 @@ public class WinLauncher {
} }
private static File selectHome() { //throws Exception { private static File selectHome() { //throws Exception {
if (SystemVersion.isWindows()) { if (SystemVersion.isWindows() && !portable) {
File home = new File(System.getProperty("user.home")); File home = new File(System.getProperty("user.home"));
File appData = new File(home, "AppData"); File appData = new File(home, "AppData");
File local = new File(appData, "Local"); File local = new File(appData, "Local");
@ -100,7 +106,7 @@ public class WinLauncher {
} else { } else {
File jrehome = new File(System.getProperty("java.home")); File jrehome = new File(System.getProperty("java.home"));
File programs = new File(jrehome.getParentFile().getParentFile(), ".i2p"); File programs = new File(jrehome.getParentFile().getParentFile(), ".i2p");
System.out.println("Linux portable jpackage wrapper started, using: " + programs + " as base config"); System.out.println("portable jpackage wrapper started, using: " + programs + " as base config");
return programs.getAbsoluteFile(); return programs.getAbsoluteFile();
} }
} }

View File

@ -0,0 +1,11 @@
should_publish=false
proxy_host=127.0.0.1
proxy_port=4444
update_delay=1
log=../log/addrbook_log.txt
last_modified=../log/addrbook_last_modified.txt
etags=../log/addrbook_etags.txt
subscriptions=subscriptions.txt
local_addressbook=userhosts.txt
router_addressbook=../hosts.txt
published_addressbook=../eepsite/hosts.txt

View File

@ -0,0 +1,15 @@
clientApp.0.main=net.i2p.router.web.RouterConsoleRunner
clientApp.0.name=I2P Router Console
clientApp.0.args=7657 127.0.0.1 ./webapps/
clientApp.0.delay=0
clientApp.0.startOnLoad=true
clientApp.1.main=net.i2p.i2ptunnel.TunnelControllerGroup
clientApp.1.name=Application tunnels
clientApp.1.args=i2ptunnel.config
clientApp.1.delay=120
clientApp.1.startOnLoad=true
clientApp.2.main=net.i2p.apps.systray.UrlLauncher
clientApp.2.name=Open Router Console in web browser at startup
clientApp.2.args=http://127.0.0.1:7657/index.jsp
clientApp.2.delay=15
clientApp.2.startOnLoad=true

View File

@ -0,0 +1,119 @@
tunnel.0.description=HTTP proxy for browsing eepsites and the web
tunnel.0.i2cpHost=127.0.0.1
tunnel.0.i2cpPort=7654
tunnel.0.interface=127.0.0.1
tunnel.0.listenPort=4444
tunnel.0.name=I2P HTTP Proxy
tunnel.0.option.i2cp.closeIdleTime=1800000
tunnel.0.option.i2cp.closeOnIdle=false
tunnel.0.option.i2cp.delayOpen=false
tunnel.0.option.i2cp.newDestOnResume=false
tunnel.0.option.i2cp.reduceIdleTime=900000
tunnel.0.option.i2cp.reduceOnIdle=false
tunnel.0.option.i2cp.reduceQuantity=1
tunnel.0.option.i2p.streaming.connectDelay=1000
tunnel.0.option.inbound.backupQuantity=1
tunnel.0.option.inbound.length=2
tunnel.0.option.inbound.lengthVariance=0
tunnel.0.option.inbound.nickname=shared clients
tunnel.0.option.inbound.quantity=2
tunnel.0.option.outbound.backupQuantity=1
tunnel.0.option.outbound.length=2
tunnel.0.option.outbound.lengthVariance=0
tunnel.0.option.outbound.nickname=shared clients
tunnel.0.option.outbound.quantity=2
tunnel.0.option.persistentClientKey=false
tunnel.0.proxyList=false.i2p,blue.proxynet.i2p
tunnel.0.sharedClient=true
tunnel.0.startOnLoad=true
tunnel.0.type=httpclient
tunnel.1.description=IRC proxy to access the anonymous IRC network
tunnel.1.i2cpHost=127.0.0.1
tunnel.1.i2cpPort=7654
tunnel.1.interface=127.0.0.1
tunnel.1.listenPort=6668
tunnel.1.name=IRC Proxy
tunnel.1.option.i2cp.closeIdleTime=1200000
tunnel.1.option.i2cp.closeOnIdle=false
tunnel.1.option.i2cp.delayOpen=true
tunnel.1.option.i2cp.newDestOnResume=false
tunnel.1.option.i2cp.reduceIdleTime=600000
tunnel.1.option.i2cp.reduceOnIdle=true
tunnel.1.option.i2cp.reduceQuantity=1
tunnel.1.option.i2p.streaming.connectDelay=1000
tunnel.1.option.inbound.backupQuantity=0
tunnel.1.option.inbound.length=2
tunnel.1.option.inbound.lengthVariance=0
tunnel.1.option.inbound.nickname=IRC Proxy
tunnel.1.option.inbound.quantity=2
tunnel.1.option.outbound.backupQuantity=0
tunnel.1.option.outbound.length=2
tunnel.1.option.outbound.lengthVariance=0
tunnel.1.option.outbound.nickname=IRC Proxy
tunnel.1.option.outbound.quantity=2
tunnel.1.option.persistentClientKey=false
tunnel.1.privKeyFile=i2ptunnel1-privKeys.dat
tunnel.1.sharedClient=false
tunnel.1.startOnLoad=true
tunnel.1.targetDestination=irc.postman.i2p,irc.freshcoffee.i2p
tunnel.1.type=ircclient
tunnel.2.description=smtp server
tunnel.2.i2cpHost=127.0.0.1
tunnel.2.i2cpPort=7654
tunnel.2.interface=127.0.0.1
tunnel.2.listenPort=7659
tunnel.2.name=smtp.postman.i2p
tunnel.2.option.i2cp.closeIdleTime=1800000
tunnel.2.option.i2cp.closeOnIdle=false
tunnel.2.option.i2cp.delayOpen=true
tunnel.2.option.i2cp.newDestOnResume=false
tunnel.2.option.i2cp.reduceIdleTime=900000
tunnel.2.option.i2cp.reduceOnIdle=true
tunnel.2.option.i2cp.reduceQuantity=1
tunnel.2.option.i2p.streaming.connectDelay=1000
tunnel.2.option.inbound.backupQuantity=1
tunnel.2.option.inbound.length=2
tunnel.2.option.inbound.lengthVariance=0
tunnel.2.option.inbound.nickname=shared clients
tunnel.2.option.inbound.quantity=2
tunnel.2.option.outbound.backupQuantity=1
tunnel.2.option.outbound.length=2
tunnel.2.option.outbound.lengthVariance=0
tunnel.2.option.outbound.nickname=shared clients
tunnel.2.option.outbound.quantity=2
tunnel.2.option.persistentClientKey=false
tunnel.2.privKeyFile=i2ptunnel4-privKeys.dat
tunnel.2.sharedClient=true
tunnel.2.startOnLoad=true
tunnel.2.targetDestination=smtp.postman.i2p
tunnel.2.type=client
tunnel.3.description=pop3 server
tunnel.3.i2cpHost=127.0.0.1
tunnel.3.i2cpPort=7654
tunnel.3.interface=127.0.0.1
tunnel.3.listenPort=7660
tunnel.3.name=pop3.postman.i2p
tunnel.3.option.i2cp.closeIdleTime=1800000
tunnel.3.option.i2cp.closeOnIdle=false
tunnel.3.option.i2cp.delayOpen=false
tunnel.3.option.i2cp.newDestOnResume=false
tunnel.3.option.i2cp.reduceIdleTime=900000
tunnel.3.option.i2cp.reduceOnIdle=true
tunnel.3.option.i2cp.reduceQuantity=1
tunnel.3.option.i2p.streaming.connectDelay=1000
tunnel.3.option.inbound.backupQuantity=1
tunnel.3.option.inbound.length=2
tunnel.3.option.inbound.lengthVariance=0
tunnel.3.option.inbound.nickname=shared clients
tunnel.3.option.inbound.quantity=2
tunnel.3.option.outbound.backupQuantity=1
tunnel.3.option.outbound.length=2
tunnel.3.option.outbound.lengthVariance=0
tunnel.3.option.outbound.nickname=shared clients
tunnel.3.option.outbound.quantity=2
tunnel.3.option.persistentClientKey=false
tunnel.3.privKeyFile=i2ptunnel5-privKeys.dat
tunnel.3.sharedClient=true
tunnel.3.startOnLoad=true
tunnel.3.targetDestination=pop.postman.i2p
tunnel.3.type=client

View File

@ -0,0 +1,10 @@
logger.format=d p [t] c: m
logger.dateFormat=HH:mm:ss.SSS
logger.displayOnScreen=TRUE
logger.logFileName=logs/log-#.txt
logger.logFileSize=10m
logger.logRotationLimit=2
logger.defaultLevel=WARN
logger.minimumOnScreenLevel=CRIT
logger.consoleBufferSize=20
# log limit overrides:

View File

@ -0,0 +1,27 @@
# NOTE: This I2P config file must use UTF-8 encoding
i2np.bandwidth.inboundBurstKBytes=22520
i2np.bandwidth.inboundBurstKBytesPerSecond=128
i2np.bandwidth.inboundKBytesPerSecond=128
i2np.bandwidth.outboundBurstKBytes=22520
i2np.bandwidth.outboundBurstKBytesPerSecond=128
i2np.bandwidth.outboundKBytesPerSecond=128
i2np.laptopMode=false
i2np.ntcp.autoip=true
i2np.ntcp.enable=true
i2np.udp.addressSources=local,upnp,ssu
i2np.upnp.enable=true
i2p.dir.config=.
prng.buffers=16
router.dynamicKeys=false
router.maxParticipatingTunnels=150
router.newsRefreshFrequency=86400000
router.sharePercentage=80
router.updatePolicy=notify
router.updateProxyHost=127.0.0.1
router.updateProxyPort=4444
router.updateThroughProxy=true
router.updateURL=http://echelon.i2p/i2p/i2pupdate.sud,http://stats.i2p/i2p/i2pupdate.sud,http://www.i2p2.i2p/_static/i2pupdate.sud,http://update.postman.i2p/i2pupdate.sud
router.updateUnsigned=false
routerconsole.lang=en
routerconsole.summaryRefresh=30
time.disabled=false

View File

@ -0,0 +1,14 @@
# NOTE: The system tray control currently only works on Windows and KDE.
# The filename (with full path if needed) of the browser to be used by the
# system tray control to launch the router console. You may also append command
# line parameters like so:
#
# browser=/usr/bin/opera -newpage
#
# If you set this value to 'default', systray will attempt to identify and use
# your system's default browser.
browser=default
# The port the router console listens on.
port=7657

View File

@ -0,0 +1,4 @@
# NOTE: This I2P config file must use UTF-8 encoding
webapps.addressbook.startOnLoad=true
webapps.i2ptunnel.startOnLoad=true
webapps.routerconsole.startOnLoad=true

View File

@ -1 +1 @@
0.04.0 1.05.0

View File

@ -310,7 +310,7 @@ Section Install
SetOutPath "$INSTDIR\firefox.profile.i2p\extensions" SetOutPath "$INSTDIR\firefox.profile.i2p\extensions"
File "profile\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" File "profile\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi"
File profile\extensions\https-everywhere-eff@eff.org.xpi File profile\extensions\https-everywhere-eff@eff.org.xpi
File profile\extensions\i2prhz@eyedeekay.github.io.xpi File profile\extensions\i2ppb@eyedeekay.github.io.xpi
# Install the config profile # Install the config profile
createDirectory "$INSTDIR\firefox.profile.config.i2p" createDirectory "$INSTDIR\firefox.profile.config.i2p"
@ -324,7 +324,7 @@ Section Install
createDirectory "$INSTDIR\firefox.profile.config.i2p\extensions" createDirectory "$INSTDIR\firefox.profile.config.i2p\extensions"
SetOutPath "$INSTDIR\firefox.profile.config.i2p\extensions" SetOutPath "$INSTDIR\firefox.profile.config.i2p\extensions"
File profile\extensions\https-everywhere-eff@eff.org.xpi File profile\extensions\https-everywhere-eff@eff.org.xpi
File profile\extensions\i2prhz@eyedeekay.github.io.xpi File profile\extensions\i2ppb@eyedeekay.github.io.xpi
# Install the config userChrome # Install the config userChrome
createDirectory "$INSTDIR\firefox.profile.config.i2p\chrome" createDirectory "$INSTDIR\firefox.profile.config.i2p\chrome"
@ -414,10 +414,10 @@ Section "uninstall"
# Uninstall the extensions # Uninstall the extensions
Delete "$INSTDIR\firefox.profile.i2p\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi" Delete "$INSTDIR\firefox.profile.i2p\extensions\{73a6fe31-595d-460b-a920-fcc0f8843232}.xpi"
Delete "$INSTDIR\firefox.profile.i2p\extensions\https-everywhere-eff@eff.org.xpi" Delete "$INSTDIR\firefox.profile.i2p\extensions\https-everywhere-eff@eff.org.xpi"
Delete "$INSTDIR\firefox.profile.i2p\extensions\i2prhz@eyedeekay.github.io.xpi" Delete "$INSTDIR\firefox.profile.i2p\extensions\i2ppb@eyedeekay.github.io.xpi"
Delete "$INSTDIR\firefox.profile.config.i2p\extensions\https-everywhere-eff@eff.org.xpi" Delete "$INSTDIR\firefox.profile.config.i2p\extensions\https-everywhere-eff@eff.org.xpi"
Delete "$INSTDIR\firefox.profile.config.i2p\extensions\i2prhz@eyedeekay.github.io.xpi" Delete "$INSTDIR\firefox.profile.config.i2p\extensions\i2ppb@eyedeekay.github.io.xpi"
Delete "$INSTDIR\firefox.profile.config.i2p\config\userChrome.css" Delete "$INSTDIR\firefox.profile.config.i2p\config\userChrome.css"

View File

@ -1,3 +1,3 @@
!define VERSIONMAJOR 0 !define VERSIONMAJOR 1
!define VERSIONMINOR 04 !define VERSIONMINOR 05
!define VERSIONBUILD 0 !define VERSIONBUILD 0

View File

@ -1 +1 @@
0.04.0 1.05.0

View File

@ -1,37 +1,58 @@
@echo on @echo on
if not exist "%ProgramFiles%\I2P\" ( if exist "%ProgramFiles%\I2P\" (
set "ProgramFiles=C:\Program Files" set "I2PPath=%ProgramFiles%\I2P\"
set "I2PProfilePath=%ProgramFiles%\I2P\I2PBrowser-Launcher\firefox.profile.i2p"
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\" (
echo "profile is configured, updating extensions"
xcopy /s /i /y "%I2PProfilePath%\extensions" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\extensions"
) else (
echo "configuring profile"
xcopy /s /i /y "%I2PProfilePath%" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
)
set "I2PProfilePath=%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
) )
if exist "%ProgramFiles%\I2P\jpackaged" ( if exist "%ProgramFiles(x86)%\I2P\" {
start "i2p" /D "%LOCALAPPDATA%\I2P" "%ProgramFiles%\I2P\i2p.exe" set "I2PPath=%ProgramFiles(x86)%\I2P"
set "I2PProfilePath=%ProgramFiles%\I2P\I2PBrowser-Launcher\firefox.profile.i2p"
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\" (
echo "profile is configured, updating extensions"
xcopy /s /i /y "%I2PProfilePath%\extensions" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\extensions"
) else (
echo "configuring profile"
xcopy /s /i /y "%I2PProfilePath%" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
)
set "I2PProfilePath=%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
}
set "scriptPath=%~dp0"
if exist "%scriptPath%\I2P\" (
set "I2PPath=%scriptPath%\I2P\"
set "I2PProfilePath=%scriptPath%\"
set "PortableArg=portable"
)
if exist "%I2PPath%\jpackaged" (
start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe" "%PortableArg%"
) else ( ) else (
start "i2p" "%ProgramFiles%\I2P\i2p.exe" start "i2p" "%I2PPath%\i2p.exe"
) )
timeout /t 3 timeout /t 3
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\" (
echo "profile is configured, updating extensions"
xcopy /s /i /y "%ProgramFiles%\I2P\I2PBrowser-Launcher\firefox.profile.i2p\extensions" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\extensions"
) else (
echo "configuring profile"
xcopy /s /i /y "%ProgramFiles%\I2P\I2PBrowser-Launcher\firefox.profile.i2p" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
)
if exist "%USERPROFILE%/Desktop/Tor Browser/Browser/firefox.exe" ( if exist "%USERPROFILE%/Desktop/Tor Browser/Browser/firefox.exe" (
start "i2pbrowser" "%USERPROFILE%/Desktop/Tor Browser/Browser/firefox.exe" -no-remote -profile "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p" -private-window about:blank start "i2pbrowser" "%USERPROFILE%/Desktop/Tor Browser/Browser/firefox.exe" -no-remote -profile "%I2PProfilePath%" -private-window about:blank
exit exit
) )
if exist "%USERPROFILE%/OneDrive/Desktop/Tor Browser/Browser/firefox.exe" ( if exist "%USERPROFILE%/OneDrive/Desktop/Tor Browser/Browser/firefox.exe" (
start "i2pbrowser" "%USERPROFILE%/OneDrive/Desktop/Tor Browser/Browser/firefox.exe" -no-remote -profile "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p" -private-window about:blank start "i2pbrowser" "%USERPROFILE%/OneDrive/Desktop/Tor Browser/Browser/firefox.exe" -no-remote -profile "%I2PProfilePath%" -private-window about:blank
exit exit
) )
if exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" ( if exist "%ProgramFiles%\Mozilla Firefox\firefox.exe" (
start "i2pbrowser" "%ProgramFiles%\Mozilla Firefox\firefox.exe" -no-remote -profile "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p" -private-window about:blank start "i2pbrowser" "%ProgramFiles%\Mozilla Firefox\firefox.exe" -no-remote -profile "%I2PProfilePath%" -private-window about:blank
exit exit
) )

View File

@ -1,25 +1,46 @@
@echo on @echo on
if not exist "%ProgramFiles%\I2P\" ( if exist "%ProgramFiles%\I2P\" (
set "ProgramFiles=C:\Program Files" set "I2PPath=%ProgramFiles%\I2P\"
set "I2PProfilePath=%ProgramFiles%\I2P\I2PBrowser-Launcher\firefox.profile.i2p"
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\" (
echo "profile is configured, updating extensions"
xcopy /s /i /y "%I2PProfilePath%\extensions" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\extensions"
) else (
echo "configuring profile"
xcopy /s /i /y "%I2PProfilePath%" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
)
set "I2PProfilePath=%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
) )
if exist "%ProgramFiles%\I2P\jpackaged" ( if exist "%ProgramFiles(x86)%\I2P\" {
start "i2p" /D "%LOCALAPPDATA%\I2P" "%ProgramFiles%\I2P\i2p.exe" set "I2PPath=%ProgramFiles(x86)%\I2P"
set "I2PProfilePath=%ProgramFiles%\I2P\I2PBrowser-Launcher\firefox.profile.i2p"
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\" (
echo "profile is configured, updating extensions"
xcopy /s /i /y "%I2PProfilePath%\extensions" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\extensions"
) else (
echo "configuring profile"
xcopy /s /i /y "%I2PProfilePath%" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
)
set "I2PProfilePath=%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
}
set "scriptPath=%~dp0"
if exist "%scriptPath%\I2P\" (
set "I2PPath=%scriptPath%\I2P\"
set "I2PProfilePath=%scriptPath%\"
set "PortableArg=portable"
)
if exist "%I2PPath%\jpackaged" (
start "i2p" /D "%LOCALAPPDATA%\I2P" "%I2PPath%\i2p.exe" "%PortableArg%"
) else ( ) else (
start "i2p" "%ProgramFiles%\I2P\i2p.exe" start "i2p" "%I2PPath%\i2p.exe"
) )
timeout /t 3 timeout /t 3
if exist "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\" (
echo "profile is configured, updating extensions"
xcopy /s /i /y "%ProgramFiles%\I2P\I2PBrowser-Launcher\firefox.profile.i2p\extensions" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p\extensions"
) else (
echo "configuring profile"
xcopy /s /i /y "%ProgramFiles%\I2P\I2PBrowser-Launcher\firefox.profile.i2p" "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p"
)
if exist "%USERPROFILE%/Desktop/Tor Browser/Browser/firefox.exe" ( if exist "%USERPROFILE%/Desktop/Tor Browser/Browser/firefox.exe" (
start "i2pbrowser" "%USERPROFILE%/Desktop/Tor Browser/Browser/firefox.exe" -no-remote -profile "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p" -url %1 start "i2pbrowser" "%USERPROFILE%/Desktop/Tor Browser/Browser/firefox.exe" -no-remote -profile "%LOCALAPPDATA%\I2PBrowser-Launcher\firefox.profile.i2p" -url %1
exit exit