tcpip20250403.txt


(C) David Vajda
2025-04-03
TCP/IP Networking and Bundeswehr KDO - cmd!

ASCII Code
NUL         Nullzeichen
SOH         Start of Heading
STX         Start of Text
ETX         End of Text
EOT         End of Transmission
ETB         End of Transmission Block
LF          Line Feed
FF          Form Feed
HT          Horizontal Tab
VT          Vertical Tab
DEL         Delete
CAN         Cancel
ESC         Escape
AKN         Acknowlege
NAK         Not Ackowlege
SO          Shift Out
SI          Shift In
DC1         Device Controll 1
...

RS-232 CCITT-5

GND         Ground
TxD         Transmission Data
RxD         Recieve Data
CTS         Clear To Send
DSR         Data Set Ready
DTR         Data Terminal Ready
RTS         Ready To Send

1 oder 2 Stopbit
1 Startbit
gerade ungerade keine Paritaet
5 6 7 8 9 daten bits

baudrate
    1200
    2400
    4800
    9600

UBRR - USART Baud Rate Register
UBRRL UBRRH
UCSRC UCSRB UCSRA USART Control and Status Register
UDR USART Data Register

TXEN - Transmit Enable
RXEN - Recieve Enable
UDRE - USART Data register Empty

25 ~ 2400

Terminal - Datenendgeraet
Modem - Datenuebertragungsgeraet

Data Flow Controll
    Harware
    Software
    Protocol

Application Layer Ports
    15  netstat
    20  ftp
    22  ssh
    25  smtp
    53  dns
    80  http
    110 pop3
    143 imap
    443 https
    587 smtps

DNS - Records
    A           IPv4
    AAAA        IPv6
    TXT         Text Record
    MX          mail eXchange Record
    PTR         Pointer record
    CNAME       Cannonical Name record - cannonical - kanonisch - richtschnur

TCP
    Source Port (2 Byte)
    destination port (2 byte)
    sequence number (4 byte)
    ack number (4 Byte)
    data offset (5 Bit)
    reserved
    flags
        ...
    recieved window
    checksum
    urgent pointer
    options

IP
    Source IP Address
    Destination IP Address
    TTL
    IHL
    DSCP

    ...

Binarys - TCP/IP
    ip ifconfig
    netstat
    telnet
    ping
    wget
    traceroute tracepath

iptables - options
    tables
    chains

    tables
        filter
        nat
        mangle
        raw
    chains
        INPUT
        PREROUTING
        FORWARD
        POSTROUTING
        OUTPUT
    ACTIONS
        DROP
        REJECT
        ACCEPT
        LOG
        ...

    -j ACTION
    -A CHAIN
            INPUT
            OUTPUT
            ...

    -d destination address
    -s source address

    -dport --destination-port
    -sport --source-port

    -p protocoll
        tcp/icmp/udp

IDEA 3DEST CAST5 BLOWFISH
TWOFISH
AES-192 AES-256 AES
CAMELLIA-192 CAMELLIA-256 CAMELLIA-512

kdo - kommando
ankuendingskommando: ank
ausfuehrungskommando: ausf

ankkdo: erziehung
ausfkdo: langsam