This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

[7.507] default drop not working on local interfaces

I noticed recently that I could SSH from my home firewall to my LAN. 
I figured I must have left a PF rule for that on, but when I checked, there was no such rule.

Furthermore, I've now found that I can make TCP connections to any address/any port from the firewall, including ports for which I have no services defined. [:(]

To rule out a bad PF, I've tried adding a PF rule at the top:
source External (Address), any, any, logdrop.

I've disabled my 1 SNAT rule, and double-checked all my DNATs.

But I can still make outgoing connections on random ports.

I can't figure this out; anyone have an idea?

I can give SSH access to Astaro personnel.

I'll attach my iptables output in a minute.

Thanks,
Barry


This thread was automatically locked due to age.
Parents
  • For the record, on 6.3, as expected, outgoing traffic on port 80 is dropped and logged:

    # curl Google

    2010:09:15-14:52:40 fw ulogd[2538]: DROP: IN= OUT=eth5 MAC= SRC=x.x.x.x DST=74.125.19.99 LEN=56 TOS=00 PREC=0x00 TTL=64 ID=14013 DF PROTO=TCP SPT=55464 DPT=80 SEQ=1599536615 ACK=0 WINDOW=5840 SYN URGP=0 

    Barry
Reply
  • For the record, on 6.3, as expected, outgoing traffic on port 80 is dropped and logged:

    # curl Google

    2010:09:15-14:52:40 fw ulogd[2538]: DROP: IN= OUT=eth5 MAC= SRC=x.x.x.x DST=74.125.19.99 LEN=56 TOS=00 PREC=0x00 TTL=64 ID=14013 DF PROTO=TCP SPT=55464 DPT=80 SEQ=1599536615 ACK=0 WINDOW=5840 SYN URGP=0 

    Barry
Children
  • I've played with this one myself and asked around.  It is not just 7.507, but is the way V7 has been (not sure if from the beginning, but it is not new behavior, I've confirmed it in a handful of older systems).

    V7 systems have allowed outbound access for the system itself, that allows ssh, wget, etc. from the ASG without having to add PF rules.  This shouldn't be an issue if access to the shell is restricted as it should be.