Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux.slackware > #35607

Re: inetutils for Slackware

From jayjwa <jayjwa@atr2.ath.cx.invalid>
Newsgroups alt.os.linux.slackware
Subject Re: inetutils for Slackware
Date 2026-05-31 18:27 -0400
Organization atr2net 2026
Message-ID <87jysjqkp7.fsf@atr2.ath.cx> (permalink)
References <87zf1gmy90.fsf@atr2.ath.cx> <10vh5q8$1fbhg$2@dont-email.me>

Show all headers | View raw


Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> writes:

> "Note: None of these programs provide encryption or strong
> authentication of network connections. As such, their use is
> discouraged. The "ssh" protocol and package is a cryptographically
> secure replacement."
If you can get TOPS-10, TOPS-20, or ITS speaking SSH I'd love to see it
:-))) . Mostly I use the clients, and ftp is being handled by proftpd
at the moment.

> Which did you choose? Uninstallation of the conflicting packages?
I just blacklisted the official ones and let inetutils clobber what was
already there.

> It would be fully possible to do the same with the stock Slackware 
> binaries:
Of course. But when I got shot down suggesting mtr-packet be set
cap_net_raw I realized I didn't want to fight this battle - at least on
LQ.

> However, the setcap properties will get lost in gnu tar 
> archives:
You put that code in doinst.sh. That's what my build does. The files
install correctly. doinst.sh runs after binaries are installed
in-system. All this is in the .tar.gz linked yesterday.

## doinst.sh for inetutils
##
## Give Linux capabilities(7) permissions to those few
## binaries that need it rather than using full
## setruid. "setcap" is in /sbin which should always
## be PATH'd

# Function to give cap_net_raw for all files given
lx_cap_setraw() {
    local infile
    for infile in $@; do
	setcap cap_net_raw=eip usr/bin/${infile}
    done
}

# Function to give cap_net_bind_service for all files given
lx_cap_setbind() {
    local infile
    for infile in $@; do
	setcap cap_net_bind_service=eip usr/bin/${infile}
    done
}

# Give binaries that need raw sockets special powers
lx_cap_setraw ping ping6 traceroute

# Give binaries that need a privileged port special powers
lx_cap_setbind rcp rlogin rsh rexec

## EOF


> Is that the reason you haven't created any SlackBuild to create a 
> Slackware package?
Umm...that's exactly what I did. That is the point of my posting
this. If you mean the compiled binaries, that package is on the same ftp
server, but in the pub/operating-systems/linux/slackware-package/
area. I assume most people want to build the binaries themselves. 

-- 
PGP Key ID: 781C A3E2 C6ED 70A6 B356  7AF5 B510 542E D460 5CAE
       "The Internet should always be the Wild West!"

Back to alt.os.linux.slackware | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

inetutils for Slackware jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-05-30 16:35 -0400
  Re: inetutils for Slackware Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-05-31 11:24 +0000
    Re: inetutils for Slackware kaukasoina3dore73js4@sci.fi (Petri Kaukasoina) - 2026-05-31 12:27 +0000
      Re: inetutils for Slackware kaukasoina3dore73js4@sci.fi (Petri Kaukasoina) - 2026-05-31 12:55 +0000
    Re: inetutils for Slackware jayjwa <jayjwa@atr2.ath.cx.invalid> - 2026-05-31 18:27 -0400
      Re: inetutils for Slackware Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-06-01 05:24 +0000
  Re: inetutils for Slackware Marco Moock <mm@dorfdsl.de> - 2026-05-31 19:36 +0200
    Re: inetutils for Slackware Henrik Carlqvist <Henrik.Carlqvist@deadspam.com> - 2026-06-01 05:28 +0000
  Re: inetutils for Slackware Sylvain Robitaille <syl@therockgarden.ca> - 2026-06-01 04:41 +0000

csiph-web