skarnet / s6-networking Goto Github PK
View Code? Open in Web Editor NEWThe skarnet.org networking tools
Home Page: https://skarnet.org/software/s6-networking/
License: ISC License
The skarnet.org networking tools
Home Page: https://skarnet.org/software/s6-networking/
License: ISC License
Hello,
Thanks for a very useful set of programs.
The rarely used IDENT protocol isn't correctly handled in s6-tcpclient
, because of uninitialized len
variable. Should I create a PR for it? The fix is trivial:
--- a/src/libs6net/s6net_ident_reply_get.c 2023-01-23 01:50:12.066973124 +0100
+++ b/src/libs6net/s6net_ident_reply_get.c 2023-01-23 01:50:28.143873049 +0100
@@ -12,11 +12,11 @@
#include <s6-networking/ident.h>
ssize_t s6net_ident_reply_get (char *s, ip46 const *remoteip, uint16_t remoteport, ip46 const *localip, uint16_t localport, tain const *deadline, tain *stamp)
{
- size_t len ;
+ size_t len = 0 ;
int fd ;
if (ip46_is6(remoteip) != ip46_is6(localip)) return (errno = EAFNOSUPPORT, -1) ;
fd = socket_tcp46(ip46_is6(remoteip)) ;
if (fd < 0) return -1 ;
if (socket_bind46(fd, localip, 0) < 0) goto err ;
I apologize for the silly question. Is the s6-networking/dns package a replacement for dhcpcd/network manger of choice?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.