Skip to content

Merge master into dev (#199, #203) - #204

Merged
antonio-leblanc merged 3 commits into
forefireAPI:devfrom
antonio-leblanc:merge/master-into-dev
Oct 21, 2026
Merged

antonio-leblanc merged 3 commits into
forefireAPI:devfrom
antonio-leblanc:merge/master-into-dev

Conversation

@antonio-leblanc

Copy link
Copy Markdown
Collaborator

Brings the listenHTTP changes from master into dev. Conflicts in CHANGELOG.md, Command.cpp and Command.h were both sides adding lines; kept both.

antonio-leblanc and others added 3 commits October 21, 2026 23:59
…#199)

* listenHTTP: bind to the given host, localhost by default

Warn when the server is reachable from the network, refuse systemExec
over HTTP, and keep the file server out of .. and absolute paths.

Reported by @HugoFara.

* listenHTTP: refuse systemExec for any command coming from HTTP

Check in systemExec itself, so include[] and @t= events scheduled over
HTTP are covered too.
Bind inside Docker with listenHTTP[0.0.0.0:8000] in the docs, treat an
empty host as localhost, write the real hostname to httpConnectInfo.txt
on 0.0.0.0, close the socket when bind fails, restore remoteCommand and
cout on exceptions, and refuse commands from another site or host name.

Thanks @HugoFara for the review.
# Conflicts:
#	CHANGELOG.md
#	src/Command.cpp
#	src/Command.h
@antonio-leblanc
antonio-leblanc merged commit 3eb20d5 into forefireAPI:dev Oct 21, 2026
4 checks passed
@antonio-leblanc
antonio-leblanc deleted the merge/master-into-dev branch October 23, 2026 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant