<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/tor-hs/files, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2025-05-20T11:20:46Z</updated>
<entry>
<title>tor-hs: put torrc_generated into in-memory folder /var/run/</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-02-07T22:01:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=94de72970ebcb98e2933aa1764c267ec90f3f97c'/>
<id>urn:sha1:94de72970ebcb98e2933aa1764c267ec90f3f97c</id>
<content type='text'>
On each tor-hs service restart it generates a config file /etc/tor/torrc_generated.
The /etc/ is stored on a disk and kills it and slow.

Instead create a dedicated tor service Runtime Dir in the temp /var/run/.
It will be accessible only to the tor user.

Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: create hs folder only if not exists</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-02-07T18:59:33Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=2f505ed7d8e3c2afcc931cc47886d905f14207cb'/>
<id>urn:sha1:2f505ed7d8e3c2afcc931cc47886d905f14207cb</id>
<content type='text'>
Previously the chown/chmod was performed each time even if the folder already existed.

Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: add validation</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-02-06T22:15:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=07f37d9dcc9753092bf9edeeb25601c8e2978752'/>
<id>urn:sha1:07f37d9dcc9753092bf9edeeb25601c8e2978752</id>
<content type='text'>
Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: Use config_get_bool for enable_hs</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-02-04T20:58:32Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4f3c7711af43d9635761002c78714bfd34e5049b'/>
<id>urn:sha1:4f3c7711af43d9635761002c78714bfd34e5049b</id>
<content type='text'>
Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: reformat and cleanup</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2024-02-04T20:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=a97989f0c26aee8ce5cd0a5db3ab9443919e178c'/>
<id>urn:sha1:a97989f0c26aee8ce5cd0a5db3ab9443919e178c</id>
<content type='text'>
Remove unused description.
Quote variables.
Use hostname_file variable.
Remove unnecessary quotes around "common".
Use echo -n to truncate a TORRC_FILE.

Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: cleanup tor-hs.conf</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2023-07-23T09:14:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=783b92d5b3e41a0dc6bddf08bb838da6a2d0e5f0'/>
<id>urn:sha1:783b92d5b3e41a0dc6bddf08bb838da6a2d0e5f0</id>
<content type='text'>
Replace boolean "true"/"false" with more frequently used 1/0.
This may avoid configuration mistakes which is critical for Tor.
The Luci app anyway will set it as 1/0.

Make sections named. This is not required but again safes from mistakes when executing uci command.

Uncomment sections but disable them by default.
Then in a Luci app a user can quickly figure out what to change.
Ideally a user may just enable the config and start using it.

In the nextcloud config use a single 80 instead of 80;80.
This simpler configuration is now supported.

Instead of "Hidden service" the Tor team now uses "Onion service".

Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: tor-hs.init skip onion service when Name empty</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2023-08-04T14:19:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=eee8f9e1e757875846a079a02aa0a9cea623bd14'/>
<id>urn:sha1:eee8f9e1e757875846a079a02aa0a9cea623bd14</id>
<content type='text'>
The Name is used as a HS folder name and can't be empty.

Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: tor-hs.init remove unused clean_hs()</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2023-08-04T08:23:44Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=1f591bcc1c1e0ee4e09410bcce6a360b4b7211e7'/>
<id>urn:sha1:1f591bcc1c1e0ee4e09410bcce6a360b4b7211e7</id>
<content type='text'>
Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: tor-hs.init handle_hs_ports_conf split ports</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2023-07-15T14:27:39Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=c709e7a09feef4e0bb8033c3c4d671d41e8cfe4f'/>
<id>urn:sha1:c709e7a09feef4e0bb8033c3c4d671d41e8cfe4f</id>
<content type='text'>
Using substring instead of awk.
It changes behaviour when only one port is specified.
Previously:
value="80" =&gt; public="80" local=""
Now:
value="80" =&gt; public="80" local="80"

It simplifies configuration of one-to-one ports.

Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
<entry>
<title>tor-hs: tor-hs.init handle_hs_ports_conf: remove unused name var</title>
<updated>2025-05-20T11:20:46Z</updated>
<author>
<name>Sergey Ponomarev</name>
</author>
<published>2023-07-15T14:16:38Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=910041d39fda5ed802c0150ef0e430ed8b716fc3'/>
<id>urn:sha1:910041d39fda5ed802c0150ef0e430ed8b716fc3</id>
<content type='text'>
Signed-off-by: Sergey Ponomarev &lt;stokito@gmail.com&gt;
</content>
</entry>
</feed>
