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

UDPTransportTest.testBroadcastUDP:97 » WebService Could not send Message. #1

Open
wolfc opened this issue Oct 6, 2014 · 1 comment

Comments

@wolfc
Copy link

wolfc commented Oct 6, 2014

Just like a RHEL system a Fedora system doesn't allow broadcast by default.

As a workaround: iptables -F

@asoldano
Copy link

asoldano commented Oct 7, 2014

On Fedora you can replace the firewall available on latest version with the
former one (iptables). To achieve that:

*) systemctl stop firewalld.service ; systemctl disable firewalld.service
*) yum install system-config-firewall
*) run system-config-firewall and create a base config (file
/etc/sysconfig/iptables will be created)
*) edit the created config
*) systemctl start iptables.service ; systemctl enable iptables.service
; systemctl status iptables.service
*) systemctl start ip6tables.service ; systemctl enable
ip6tables.service ; systemctl status ip6tables.service
*) use systemctl -t service -a to see the currently running services

Below is an example of conf allowing cxf tests to pass (192.168.1.255 being the default gw; 3702 is the default port for WS-Discovery):

Firewall configuration written by system-config-firewall

Manual customization of this file is not recommended.

*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 5353 -d 224.0.0.251
-j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 3702 -d
239.255.255.250 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp -d 192.168.1.255 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp-host-prohibited
-A FORWARD -j REJECT --reject-with icmp-host-prohibited
COMMIT

jimma pushed a commit that referenced this issue Aug 24, 2015
Create jaxws_spring_boot Client
jimma pushed a commit to jimma/cxf that referenced this issue Mar 2, 2022
Set compiler target to 11; Fix several issues in JAXBUtils
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

2 participants