Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Every second incoming packet not replicated with "WARN[XXXX]: Couldn't forward packetwrite ... write: connection refused" debug message #7

Open
Koguni31 opened this issue Sep 19, 2024 · 0 comments

Comments

@Koguni31
Copy link

Every even incoming packet not replicated and sent with "WARN[0044]: Couldn't forward packetwrite ... write: connection refused" debug message. Odd incoming packets are replicated, even - not.

1st replicated and sent, 2nd - not, 3rd - sent, 4th - not and vice versa.

tcpdump approves that above, replicated odd packets are sent, even - not.

replicator output:
[12:43]root@LOGREPLICATOR:/home/centos/udp-replicator-master#./replicator --listen-ip=0.0.0.0 --listen-port=9000 --forward=10.10.10.145:514 --forward=10.10.10.146:514 --debug INFO[0000] Server started ip=0.0.0.0 port=9000 INFO[0000] Forwarding target configured addr="10.10.10.145:514" num=1 total=2 INFO[0000] Forwarding target configured addr="10.10.10.146:514" num=2 total=2 DEBU[0003] Recieved packet body="<13>1 2024-09-19T12:44:07.411481+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"57069\"] Test" source="10.10.10.166:51648" DEBU[0003] Wrote to target body="<13>1 2024-09-19T12:44:07.411481+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"57069\"] Test" source="10.10.10.166:51648" target="10.10.10.145:514" DEBU[0003] Wrote to target body="<13>1 2024-09-19T12:44:07.411481+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"57069\"] Test" source="10.10.10.166:51648" target="10.10.10.146:514" DEBU[3053] Recieved packet body="<13>1 2024-09-19T13:34:58.072172+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"34140\"] Test" source="10.10.10.166:42520" WARN[3053] Could not forward packetwrite udp 10.10.10.162:49160->10.10.10.145:514: write: connection refused body="<13>1 2024-09-19T13:34:58.072172+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"34140\"] Test" source="10.10.10.166:42520" target="10.10.10.145:514" WARN[3053] Could not forward packetwrite udp 10.10.10.162:52942->10.10.10.146:514: write: connection refused body="<13>1 2024-09-19T13:34:58.072172+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"34140\"] Test" source="10.10.10.166:42520" target="10.10.10.146:514" DEBU[3059] Recieved packet body="<13>1 2024-09-19T13:35:03.791543+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"36640\"] Test" source="10.10.10.166:39011" DEBU[3059] Wrote to target body="<13>1 2024-09-19T13:35:03.791543+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"36640\"] Test" source="10.10.10.166:39011" target="10.10.10.145:514" DEBU[3059] Wrote to target body="<13>1 2024-09-19T13:35:03.791543+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"36640\"] Test" source="10.10.10.166:39011" target="10.10.10.146:514" DEBU[3070] Recieved packet body="<13>1 2024-09-19T13:35:14.310357+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"42140\"] Test" source="10.10.10.166:47956" WARN[3070] Could not forward packetwrite udp 10.10.10.162:49160->10.10.10.145:514: write: connection refused body="<13>1 2024-09-19T13:35:14.310357+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"42140\"] Test" source="10.10.10.166:47956" target="10.10.10.145:514" WARN[3070] Could not forward packetwrite udp 10.10.10.162:52942->10.10.10.146:514: write: connection refused body="<13>1 2024-09-19T13:35:14.310357+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"42140\"] Test" source="10.10.10.166:47956" target="10.10.10.146:514" DEBU[3073] Recieved packet body="<13>1 2024-09-19T13:35:17.736449+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"43640\"] Test" source="10.10.10.166:52114" DEBU[3073] Wrote to target body="<13>1 2024-09-19T13:35:17.736449+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"43640\"] Test" source="10.10.10.166:52114" target="10.10.10.145:514" DEBU[3073] Wrote to target body="<13>1 2024-09-19T13:35:17.736449+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"43640\"] Test" source="10.10.10.166:52114" target="10.10.10.146:514" DEBU[3079] Recieved packet body="<13>1 2024-09-19T13:35:23.973106+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"46640\"] Test" source="10.10.10.166:44713" WARN[3079] Could not forward packetwrite udp 10.10.10.162:49160->10.10.10.145:514: write: connection refused body="<13>1 2024-09-19T13:35:23.973106+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"46640\"] Test" source="10.10.10.166:44713" target="10.10.10.145:514" WARN[3079] Could not forward packetwrite udp 10.10.10.162:52942->10.10.10.146:514: write: connection refused body="<13>1 2024-09-19T13:35:23.973106+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"46640\"] Test" source="10.10.10.166:44713" target="10.10.10.146:514" DEBU[3083] Recieved packet body="<13>1 2024-09-19T13:35:27.405625+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"48640\"] Test" source="10.10.10.166:59452" DEBU[3083] Wrote to target body="<13>1 2024-09-19T13:35:27.405625+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"48640\"] Test" source="10.10.10.166:59452" target="10.10.10.145:514" DEBU[3083] Wrote to target body="<13>1 2024-09-19T13:35:27.405625+03:00 LOGSOURCE.home.local root - - [timeQuality tzKnown=\"1\" isSynced=\"1\" syncAccuracy=\"48640\"] Test" source="10.10.10.166:59452" target="10.10.10.146:514"

@Koguni31 Koguni31 changed the title Every second incoming packet not replicated with "WARN[0044]: Couldn't forward packetwrite ... write: connection refused" debug message Every second incoming packet not replicated with "WARN[XXXX]: Couldn't forward packetwrite ... write: connection refused" debug message Sep 19, 2024
@github-staff github-staff deleted a comment from nhatlaso1 Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant