Skip to content

Commit fa74f85

Browse files
Merge pull request #4 from noris-network/ipv6
Enabled listening on IPv6 for SocketTCPServer
2 parents ef298e9 + 5814bcc commit fa74f85

5 files changed

Lines changed: 15 additions & 4 deletions

File tree

CHANGES.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,8 @@ All notable changes to this project will be documented in this file.
5858
#### 2025-02-19
5959

6060
* Added `./.github/workflows/build-deb.yml` file to build and release debian package with Github Actions
61-
* Updated `./debian/build_deb.sh` script to automatically update the debian changelog before building the debian package
61+
* Updated `./debian/build_deb.sh` script to automatically update the debian changelog before building the debian package
62+
63+
#### 2025-05-30
64+
65+
* `./pysieved/main.py`: Enabled listening to IPv6 addresses in `class Server(SocketServer.ForkingTCPServer)`.

build_deb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
export BUILD_VERSION=${BUILD_VERSION:-0.2.0}
3+
export BUILD_VERSION=${BUILD_VERSION:-0.2.1}
44

55
docker build -t pysieved-deb-builder .
66
docker run --name pysieved-builder pysieved-deb-builder bash -c "

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
pysieved (0.2.1) jammy; urgency=medium
2+
3+
* Enabled listening on IPv6
4+
5+
-- Team noris SKG-PRJ <prj-d@noris.de> Fri, 30 MAY 2025 16:10:32 +0300
6+
17
pysieved (0.2.0) jammy; urgency=medium
28

39
* Added pysieved service

pysieved/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
1919
## USA
2020
#
21-
# 24 January 2025 - Modified by F. Ioannidis.
21+
# 30 May 2025 - Modified by F. Ioannidis.
2222

2323

2424
import optparse
@@ -41,6 +41,7 @@
4141

4242
class Server(SocketServer.ForkingTCPServer):
4343
allow_reuse_address = True
44+
address_family = socket.AF_INET6
4445

4546

4647
def main():

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
setup(
66
name="pysieved",
77
description="Core daemon for the pysieved project",
8-
version=os.getenv("BUILD_VERSION", "0.2.0"),
8+
version=os.getenv("BUILD_VERSION", "0.2.1"),
99
packages=find_packages(where="."),
1010
entry_points={
1111
"console_scripts": [

0 commit comments

Comments
 (0)