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

broadcast T5313: UDP Broadcast Broken #2055

Closed
wants to merge 1 commit into from

Conversation

cuongdt1994
Copy link
Contributor

@cuongdt1994 cuongdt1994 commented Jun 25, 2023

In Example:

To forward all broadcast packets received on UDP port 1900 on eth3, eth4 or eth5 to all other interfaces in this configuration.

set service broadcast-relay id 1 description 'SONOS'
set service broadcast-relay id 1 interface 'eth3'
set service broadcast-relay id 1 interface 'eth4'
set service broadcast-relay id 1 interface 'eth5'
set service broadcast-relay id 1 port '1900'

When set more 2 interface, service udp broadcast not running and have error:

https://vyos.dev/file/data/sq7wcmruqazef5ld7shq/PHID-FILE-ot4zaecftehga4izek5s/image.png

and Remove interfaces:

https://vyos.dev/file/data/hgoibpsakrelap4dapmq/PHID-FILE-j464jvsnvypv76lrpm32/image.png

Change Summary

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes)
  • Migration from an old Vyatta component to vyos-1x, please link to related PR inside obsoleted component
  • Other (please describe):

Related Task(s)

Component(s) name

Proposed changes

How to test

Result tested in here:
https://vyos.dev/T5313

Checklist:

  • I have read the CONTRIBUTING document
  • I have linked this PR to one or more Phabricator Task(s)
  • I have run the components SMOKETESTS if applicable
  • My commit headlines contain a valid Task id
  • My change requires a change to the documentation
  • I have updated the documentation accordingly

When set more 2 interface, service udp broadcast not running and have error.
@vyosbot vyosbot requested a review from a team June 25, 2023 06:16
@vyosbot vyosbot requested review from dmbaturin, sarthurdev, zdc, jestabro, sever-sever and c-po and removed request for a team June 25, 2023 06:16
@c-po
Copy link
Member

c-po commented Jun 25, 2023

I think you are facing a different problem.

cpo@LR1.wue3# sudo systemctl status udp-broadcast-relay@1
● udp-broadcast-relay@1.service - UDP-bcast-relay
     Loaded: loaded (/lib/systemd/system/udp-broadcast-relay@.service; disabled; preset: enabled)
     Active: active (running) since Sun 2023-06-25 17:31:56 CEST; 16s ago
   Main PID: 13015 (udp-broadcast-r)
      Tasks: 1 (limit: 4683)
     Memory: 184.0K
        CPU: 5ms
     CGroup: /system.slice/system-udp\x2dbroadcast\x2drelay.slice/udp-broadcast-relay@1.service
             └─13015 /usr/sbin/udp-broadcast-relay -d 1 1900 eth3 eth2 eth1

Jun 25 17:31:56 LR1.wue3 systemd[1]: Started udp-broadcast-relay@1.service - UDP-bcast-relay.

Did you ensure all your interfaces where you "relay to" have an IP address specified? There is no verify() code that checks this (yet).

@cuongdt1994
Copy link
Contributor Author

Ok checked, I wrong.

@cuongdt1994 cuongdt1994 deleted the patch-fix branch June 25, 2023 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants