Hi Chip,

I don't know what is wrong but a couple small directions to try:

Does "iptables -L" confirm that the firewall rules have been flushed
out?

Can you rule out any potential connection to your socket code by
reproducing the problem with netcat/nc?

On the server:

  nc -l -p PORT HOST

On the client:

  echo "Hello World" | nc PORT HOST

If it works, you should see the message printed by the server and not
get any error.  If this also fails, say any error messages and it may
help others reproduce the problem themselves.


Luck,
-Brett.


Charles Campbell <charles.e.campb...@nasa.gov> writes:

> Hello!
>
> I'm pretty sure that I'm running into a security blockade.  I have
> several small example sockets programs which have compiled and worked
> in the past on other platforms.  However, they are not working under
> SL 6.3, even when I change ports multiple times.
>
> I have:
>
>   * disabled SELINUX  (I first tried setenforce 0 as root to make it
> simply permissive, but no luck, so I disabled it instead)
>   * turned iptables off:  /etc/init.d/iptables stop
>
> Still, after having done both of these, I can't get a simple socket
> and client example to work.  The /var/log/messages file simply shows
> my shutting off of iptables.
>
> Is there another thing that I can do to get some simple sockets
> examples to work?   I figure once I have located the problems, I can
> begin to attack the rules needed to get it to work.
>
> Regards, and thank you,
> Chip Campbell

Attachment: pgpS6UznfMrdc.pgp
Description: PGP signature

Reply via email to