Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Repeated peer confirmation and kernelisation messages

Aperta
#1,633 31 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
15/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
linux, perl

Direzione di ricerca

Start by grepping the rtpengine daemon source for the two log strings quoted in the payload, 'Confirmed peer address' and 'Kernelizing media stream', to find the confirm and kernelisation paths in the media-stream core. Reproduce with a single offer/answer and verbose logging (the reporter confirmed no re-invites and no duplicate iptables -j RTPENGINE rules), then trace why the same peer/port pair re-confirms hundreds of times. Done when one media stream kernelises once and the repeated INFO lines stop.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

In mr11.2.1.5 on kernel 4.18.0-425.10.1.el8_7.x86_64, on some calls, we are seeing hundreds of messages like this from rtpengine logs, essentially instantaneously:

Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 54928]: [core] Confirmed peer address as z.z.z.z:52108
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Kernelizing media stream: y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as x.x.x.x:28202
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 54928]: [core] Confirmed peer address as z.z.z.z:52108
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Kernelizing media stream: y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as x.x.x.x:28202
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 54928]: [core] Confirmed peer address as z.z.z.z:52108
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Kernelizing media stream: y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as x.x.x.x:28202
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 54928]: [core] Confirmed peer address as z.z.z.z:52108
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Kernelizing media stream: y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as x.x.x.x:28202
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 54928]: [core] Confirmed peer address as z.z.z.z:52108
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Kernelizing media stream: y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as x.x.x.x:28202
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 54928]: [core] Confirmed peer address as z.z.z.z:52108
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Kernelizing media stream: y.y.y.y:39412
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 43562]: [core] Confirmed peer address as x.x.x.x:28202
Mar 21 20:18:18 rtp-relay rtpengine[1237]: INFO: [SDgmmb201-ed3883e83407be71a657612939715d49-v300g00 port 54928]: [core] Confirmed peer address as z.z.z.z:52108

On this call, it was 400+.

I confirmed via wire protocol trace that there was only a single offer, answer and delete command, so no re-invites. There's nothing unusual about the SDP, it's as banal as can be.

Offer:

v=0
o=Sonus_UAC 20105 5717 IN IP4 y.y.y.y
s=SIP Media Capabilities
c=IN IP4 y.y.y.y
t=0 0
m=audio 39412 RTP/AVP 0 8 18 101
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=maxptime:20

Answer:

v=0
o=xxx 1679377785 1679377786 IN IP4 z.z.z.z
s=xxx
c=IN IP4 10.100.153.236
t=0 0
m=audio 52108 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=ptime:20
a=rtcp:52109 IN IP4 z.z.z.z

I cannot find any correlation between any SDP attributes and this phenomenon occurring.

I also checked to make sure there were no duplicate -j RTPENGINE rules in the INPUT chain; there are not.

Would appreciate any insight into the cause of this!

Lingua principale
Perl
Stelle
992
Fork
459
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sipwise/rtpengine

Tutte le issue di sipwise/rtpengine

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.