Run jsmpp and Cloudhopper against our server: sar_* fragmentation confirmed and a truncated TLV tail silently accepted

This commit is contained in:
2026-09-06 07:00:45 +02:00
parent 4194816d6b
commit 0d1da1dc87
16 changed files with 2147 additions and 1 deletions
+40
View File
@@ -0,0 +1,40 @@
x-log-limits: &log-limits
logging:
driver: json-file
options:
max-file: "3"
max-size: 20m
services:
jsmpp:
build: ./interop-tests/peers/jsmpp
image: interop-jsmpp:3.0.3-a24db96
command: ["node", "2775"]
<<: *log-limits
healthcheck:
test: ["CMD-SHELL", "bash -c 'exec 3<>/dev/tcp/127.0.0.1/8080'"]
interval: 1s
retries: 30
timeout: 2s
# jsmpp only ever dials node:2775 on this container's own network namespace, so this sees exactly
# its side of every scenario below (same pattern as compose.kannel.yaml).
capture:
image: nicolaka/netshoot:v0.16
network_mode: "service:jsmpp"
cap_add:
- NET_ADMIN
- NET_RAW
depends_on:
jsmpp:
condition: service_started
command: ["dumpcap", "-i", "any", "-f", "tcp port 2775", "-w", "/captures/jsmpp.pcapng"]
volumes:
- ./interop-tests/captures:/captures
node:
depends_on:
capture:
condition: service_started
jsmpp:
condition: service_healthy