SC_ATTACH(1)
π SC_ATTACH(1) π
okay bestie so this is the manual for sc_attach from the General Commands Manual section β yes, section 1, we love a user command β¨
β¨ NAME β¨
sc_attach β simple scamper driver. that's it, that's the name, no cap π
π¦ SYNOPSIS π¦
sc_attach [-?dDv] [-c command] [-i infile] [-o outfile] [-O options]
[-p [ip:]port] [-P priority] [-R unix-domain] [-U unix-domain]
πΈ DESCRIPTION πΈ
so the way sc_attach works is: it lets you connect to a scamper(1) instance that's already running, get a whole set of commands (defined in a file) executed, and then have the output written into a single file β in warts format. iconic behavior honestly. π
the options are as follows:
-?β prints a list of command line options plus a synopsis of each. your little cheat sheet, love that for you π-dβ prints each command sent to scamper(1) over onstderr. so you can watch the tea being spilled in real time π-Dβ causessc_attachto operate as a daemon. main character energy, running in the background π-vβ prints the current revision ofsc_attachand then exits. bye bestie π-ccommand β specifies the scamper(1) command to prepend to each address in the input file. like, every address gets this command glued on the front π«Ά-iinfile β specifies the name of the input file, which consists of a sequence of scamper(1) commands or addresses (with the-coption), one per line. and if you pass'-', commands are read fromstdininstead π-ooutfile β specifies the name of the output file to be written. the output file will use the warts format. and if you pass'-', output gets sent tostdoutπ-Ooptions β lets the behavior ofsc_attachbe further tailored. the current choices for this option are:random: shuffle the input commands randomly. chaos, but make it β¨intentionalβ¨impatient: send commands to scamper without waiting for scamper to ask for them. no thoughts, just send π₯
-p[ip:]port β specifies the IP address and port where a scamper(1) is accepting control socket connections. if an IP address is not specified,sc_attachconnects to the specified port on the local host π-Ppriority β specifies the mixing priority scamper(1) should assign to the source ποΈ-Runix-domain β specifies the unix domain socket on the local host where a remote scamper(1) instance is accepting commands π-Uunix-domain β specifies the unix domain socket on the local host where a local scamper(1) instance is accepting commands π»
π EXAMPLES π
so say you've got a set of commands in a file named infile.txt:
tbit -M 1280 -u 'http://www.example.com/' 2620:0:2d0:200::10
trace -P udp-paris -M 192.0.2.1
ping -P icmp-echo 192.0.32.10
and a scamper(1) daemon listening on port 31337, then these commands can be executed using:
sc_attach -i infile.txt -o outfile.warts -p 31337
now, say you've got a set of addresses in a file named infile2.txt:
2620:0:2d0:200::10
192.0.2.1
192.0.32.10
these addresses can be pinged with sc_attach operating as a daemon with:
sc_attach -D -c 'ping' -i infile2.txt -o outfile2.warts -p 31337
slay. π
π SEE ALSO π
scamper(1), sc_wartsdump(1), sc_warts2json(1)
go read those too bestie, iykyk π¦
π AUTHORS π
sc_attach was written by Matthew Luckie <mjl@luckie.org.nz>. absolute legend, we stan π«Ά
and that's the whole vibe check, bestie β this page came to you from Debian, dated February 2, 2016. periodt. πβ¨
π¦ where this page comes from
- debian bookworm: scamper 20211212-1.1 Β· GPL-2.0-or-later
- debian trixie: scamper 20211212-1.2+b1 Β· GPL-2.0-or-later
- ubuntu jammy: scamper 20191102-1 Β· GPL-2.0-or-later
- ubuntu noble: scamper 20211212-1.2build1 Β· GPL-2.0-or-later
- ubuntu questing: scamper 20211212-1.2build1
- ubuntu resolute: scamper 20211212-1.2build2 Β· GPL-2.0-or-later
- ubuntu stonking: scamper 20211212-1.2build2 Β· GPL-2.0-or-later
- Copyright (c) 2010 University of Waikato
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms