Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Mar 2010
Problem in sending/receiving using sockets between two systems using IPv6 addresses
on the fedora 10 system
# iptables -X
# iptables -t nat -F
# iptables -t nat -X
# iptables -t mangle -F
# iptables -t mangle -X
# iptables -P INPUT ACCEPT
# iptables -P FORWARD ACCEPT
# iptables -P OUTPUT ACCEPT
on the openSuse system.
The error we get in trying to ssh from the openSuse system to the fedora system is :
ssh: connect to host 2001:0db8:0:f101::1 port 22: Connection refused
There is also another problem. We're trying to write server and client code to send data from one system to the other using SOCK_DGRAM. The code works fine when we run both the client and server on the same system. However, we are not able to send data from one system to another when we use the IPv6 addresses to run the client and server programs. The error we get is:
sendto(): Operation not permitted
The codes we are using for the server and client programs can be found in beej's guide SOCK_DRAM client and server code
We've only substituted the appropriate addresses in the right places...
Could anyone tell us what else could be the problem? We've disabled the iptables...