[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: blocking ports



> Chain input (policy ACCEPT):
> target     prot opt     source                destination           ports
> DENY       tcp  ------  0.0.0.0/0            myip			       * ->   111
> DENY       tcp  ------  0.0.0.0/0            myip			       * ->   515

that is the correct rule.

so if the remote host is: 172.16.120.1 it should block it. try this
command - its the ipchains Checking system - you can check misc packets
against it.

ipchains -C input -s remoteip portnumber -d yourip 515 -p 6 -i eth0

see what it tells you.

and/or turn on your logging with -l and see whats REALLY going on :)

> # rpcinfo -p
>    program vers proto   port
>     100000    2   tcp    111  portmapper
>     100000    2   udp    111  portmapper
>  545580417    1   udp   1000  ugidd
>  545580417    1   tcp   1002  ugidd

I didn't really mean to HUP them b/c I'm not sure if the reregister after
a hup.

do you have anything in /etc/exports?

-sv




Reply to: