If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.

0
U

Property:tcpsvd

From BoxMatrix
(Redirected from tcpsvd)


BoxMatrix >> Shell-Commands >> tcpsvd @ BoxMatrix   -   IRC-Chat   -   Translate: de es fr it nl pl
News Selectors Models Accessories Components Environment Config Commands System Webif Software Develop Lexicon Community Project Media

Startup-Scr Hotplug-Scr BusyBox-Cmds Bash-Cmds AVM-Cmds Chipset-Cmds Linux-Cmds Shared-Libs Kernel-Mods Research

BusyBox-Command

Goto:   GPL-Browser  -  Dependencies   -   Model-Matrix   -   Symbols   -   SMW-Browser

Details

This command is used on the 5590 for Inter-CPU remote logging and supportdata and date serving.

On Hawkeye:

On the Falcon:

Excerpt from:   BusyBox manual   >>   tcpsvd command

tcpsvd [-hEv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] IP PORT PROG
Create TCP socket, bind  to IP:PORT and listen
for incoming connection. Run PROG for each connection.
        IP              IP to listen on. '0' = all
        PORT            Port to listen on
        PROG [ARGS]     Program to run
        -l NAME         Local hostname (else looks up local hostname in DNS)
        -u USER[:GRP]   Change to user/group after bind
        -c N            Handle up to N connections simultaneously
        -b N            Allow a backlog of approximately N TCP SYNs
        -C N[:MSG]      Allow only up to N connections from the same IP
                        New connections from this IP address are closed
                        immediately. MSG is written to the peer before close
        -h              Look up peer's hostname
        -E              Do not set up environment variables
        -v              Verbose

Excerpt from:   BusyBox source   >>   tcpsvd command   -   Last update: 2024-11-21 04:55 GMT.

Usage:
    tcpsvd [-hEv] [-c N] [-C N[:MSG]] [-b N] [-u USER] [-l NAME] IP PORT PROG

Create TCP socket, bind to IP:PORT and listen for incoming connections.
Run PROG for each connection.

        IP PORT                IP:PORT to listen on
        PROG ARGS        Program to run
        -u USER[:GRP]        Change to user/group after bind
        -c N                Up to N connections simultaneously (default 30)
        -b N                Allow backlog of approximately N TCP SYNs (default 20)
        -C N[:MSG]        Allow only up to N connections from the same IP:
                        new connections from this IP address are closed
                        immediately, MSG is written to the peer before close
        -E                Don't set up environment
        -h                Look up peer's hostname
        -l NAME                Local hostname (else look up local hostname in DNS)
        -v                Verbose

Environment if no -E:
PROTO='TCP'
TCPREMOTEADDR='ip:port'
TCPLOCALADDR='ip:port'
TCPORIGDSTADDR='ip:port' of destination before firewall
        Useful for REDIRECTed-to-local connections:
        iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to 8080
TCPCONCURRENCY=num_of_connects_from_this_ip
If -h:
TCPLOCALHOST='hostname' (-l NAME is used if specified)
TCPREMOTEHOST='hostname'
Usage:
    tcpsvd [-hEv] [-c N] [-u USER] [-l NAME] IP PORT PROG

Create UDP socket, bind to IP:PORT and wait for incoming packets.
Run PROG for each packet, redirecting all further packets with same
peer ip:port to it.

        IP PORT                IP:PORT to listen on
        PROG ARGS        Program to run
        -u USER[:GRP]        Change to user/group after bind
        -c N                Up to N connections simultaneously (default 30)
        -E                Don't set up environment
        -h                Look up peer's hostname
        -l NAME                Local hostname (else look up local hostname in DNS)
        -v                Verbose

Environment if no -E:
PROTO='UDP'
UDPREMOTEADDR='ip:port'
UDPLOCALADDR='ip:port'
If -h:
UDPLOCALHOST='hostname' (-l NAME is used if specified)
UDPREMOTEHOST='hostname'

Note that some options may not be compiled in. If Usage: is shown multiple times these are compile options.

GPL-Browser

Daily updated index of all tcpsvd code findings on the GPL-Browser. Last update: 2024-11-21 05:11 GMT.
The Browse column points to the Path containing the respective source code on the gpl.boxmatrix.info service.
The SoC column lists the Chip-Codenames, the Model column lists the nicks of the Box-Models.
The Diff column links the comparison of the AVM Kernel to the pristine original from Kernel.org.
The Download column links the full tarball the respective directory content is extracted from.
The presence of the source does not mean it fits the respective model and architecture. See the Model-Matrix where it's used.

Excerpt from:   BusyBox manual   >>   tcpsvd command   -   Last update: 2009-10-02 09:23 GMT.

Dependencies

Daily updated index of all dependencies of this command. Last update: 2024-11-21 07:52 GMT.
A * in the Mod column marks info from Supportdata-Probes, which will always stay incomplete.

Relation Typ Object Mod Firmware Info Origin
Symlink to cmd busybox (bbcmd) 7 7.39 - 8.00 The BusyBox executable itself. Contains the code for all applets. BusyBox
1 dependency for this command

Model-Matrix

Daily updated index of the presence, path and size of this command for each model. Last update: 2024-11-21 05:56 GMT.
Showing all models using this command. Click any column header (click-wait-click) to sort the list by the respective data.
The (main/scrpn/boot/arm/prx/atom/rtl) label in the Model column shows which CPU is meant for Multi-Linux models.
Note that this list is merged from Firmware-Probes of all known AVM firmware for a model, including Recovery.exe and Labor-Files.
The path <bb> means the applet could be located in the busybox binary and could be called busybox tcpsvd.
If a path is shown and no <bb> marker, then this is a dead link to a missing applet.

Model Firmware Path Size
FRITZ!Box 4060 7.39 - 7.90 /usr/bin, <bb> Link
FRITZ!Box 5530 Fiber (main) 7.39 - 8.00 /usr/bin, <bb> Link
FRITZ!Box 5590 Fiber (main) 7.29 - 8.00 /usr/bin, <bb> Link
FRITZ!Box 5590 Fiber (prx) 7.29 - 8.00 /usr/bin, <bb> Link
FRITZ!Box 5690 Pro (main) 7.62 - 7.90 /usr/bin, <bb> Link
FRITZ!Box 7690 7.61 - 7.90 /usr/bin, <bb> Link
FRITZ!Repeater 6000 7.39 - 7.58 /usr/bin, <bb> Link
7 models use this command

Symbols

Daily updated index of all symbols of this command. Last update: 2024-11-21 07:52 GMT.

Firmware Symbol
0 symbols for this command

SMW-Browser

Information is currently being retrieved from the backend.
 

Synonyms

Showing 1 related property.

t