Skip to content

Commit

Permalink
v5.24: ssh filelistings, Container.c added, Rotate logs when not open
Browse files Browse the repository at this point in the history
  • Loading branch information
Colum Paget committed Aug 20, 2024
1 parent c035b3a commit df6fe3f
Show file tree
Hide file tree
Showing 22 changed files with 795 additions and 500 deletions.
16 changes: 8 additions & 8 deletions CGI.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

char *CGIReadDocument(char *RetStr, STREAM *S)
{
const char *ptr;
const char *ptr;

ptr=getenv("CONTENT_LENGTH");
if (StrValid(ptr))
{
S->Size=atoi(ptr);
}
ptr=getenv("CONTENT_LENGTH");
if (StrValid(ptr))
{
S->Size=atoi(ptr);
}

RetStr=STREAMReadDocument(RetStr, S);
return(RetStr);
RetStr=STREAMReadDocument(RetStr, S);
return(RetStr);
}
10 changes: 9 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
v5.24 (2024-08-20)
* Move namespace/container code to Containers.c and make general improvments
* Exit out of TerminalReadText if escape or ctrl-c entered
* Added 'l' option (list files on remote server) to SSH streams
* CHANGED ARGUMENTS TO SSHConnect AND SSHOpen
* ssh streams can now accept config options bind=<address> and config=<path>
* Rotate logfiles even if not open by app

v5.23 (2024-07-26)
* Improve attribution of base64 and hashing functions
* Improve attribution of base64 and hashing functions
* fix -net/nonet (flag meaning was inverted)
* ProcessNoNewPrivs now handles 'already set' and is no longer static.
* Call setsid before setting controlling tty in PtySpawnFunction
Expand Down
2 changes: 1 addition & 1 deletion ConnectionChain.c
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ static STREAM *ConnectHopSSHSpawnHelper(const char *ProxyURL, const char *Fmt, c
LocalPort=(rand() % (0xFFFF - 9000)) +9000;
if (strncmp(Fmt,"stdin:",6)==0) Tempstr=FormatStr(Tempstr, Fmt, RemoteHost, RemotePort);
else Tempstr=FormatStr(Tempstr, Fmt, LocalPort, RemoteHost, RemotePort);
tmpS=SSHConnect(SshHost, SshPort, SshUser, SshPassword, Tempstr, 0);
tmpS=SSHConnect(SshHost, SshPort, SshUser, SshPassword, Tempstr, "");
if (tmpS)
{
Tempstr=FormatStr(Tempstr, "%d", LocalPort);
Expand Down
Loading

0 comments on commit df6fe3f

Please sign in to comment.