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

Help needed analyzing logs

Hi all,

I'm new with this kind of UTM equipment so I'm having some problems with some computers or smartphones connecting to outside (WLAN), I've tryed to see on the logs what protocols are being blocked but the logs are difficult to analyze, could someone gime me some hints?

Next are some example os blocked traffic that I cannot see what is being blocked.

LIVE LOG:

10:23:34 Default DROP TCP 192.168.2.199:50037→173.194.78.222:5228 [SYN] len=60 ttl=63 tos=0x00 srcmac=c8:60:0:f:cb[:D] dstmac=0:27:e:3[:D]2:14


FIREWALL LOG:

2013:07:04-10:23:34 UTM-MYHOME ulogd[4308]: id="2001" severity="info" sys="SecureNet" sub="packetfilter" name="Packet dropped" action="drop" fwrule="60002" initf="eth0" outitf="eth1" srcmac="c8:60:0:f:cb[:D]" dstmac="0:27:e:3[:D]2:14" srcip="192.168.2.199" dstip="173.194.78.222" proto="6" length="60" tos="0x00" prec="0x00" ttl="63" srcport="50037" dstport="5228" tcpflags="SYN" 

Thanks in Advance!


This thread was automatically locked due to age.
  • Hi,
    Your 192.168.2.199 device is trying to talk to 173.194.78.222 (Google) on TCP port 5228 (used by Android Market)

    Assuming your 192.168.2.199 device is an Android, you probably want to allow this traffic; create a Firewall rule:
    source: 192.168.2.199 (or Internal NETWORK)
    dest: ANY
    service: create a service; TCP, source ports 1024-65535, dest port 5228

    Port 5228 (tcp/udp) :: SpeedGuide.net
    Professional Toolset | DNSstuff

    Barry
  • Hi,
    Your 192.168.2.199 device is trying to talk to 173.194.78.222 (Google) on TCP port 5228 (used by Android Market)

    Assuming your 192.168.2.199 device is an Android, you probably want to allow this traffic; create a Firewall rule:
    source: 192.168.2.199 (or Internal NETWORK)
    dest: ANY
    service: create a service; TCP, source ports 1024-65535, dest port 5228

    Port 5228 (tcp/udp) :: SpeedGuide.net
    Professional Toolset | DNSstuff

    Barry


    Hi Barry,

    So if I understand the destination port, is the "service" that is being blocked?

    DROP TCP 192.168.2.199:50037→173.194.78.222:5228

    Thanks!
  • Yes, and you also need to determine if it's TCP or UDP, etc.

    Barry
  • Barry,

    one last question regarding this post, is there any tools to help analyze the firewall logs?
    When I open the firewall logs I see lots of information without break lines and its very difficult to read them.

    Thanks.
  • Download Notepad++, and set it as the default for opening txt and log files. 

    Cheers - Bob

    Sorry for any short responses.  Posted from my iPhone.
     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA
  • I like to use tail and grep on the console; e.g.
    tail -f /var/log/ips.log /var/log/packetfilter.log | grep --color 192.168.2.199

    Much quicker than having to download the logs, and you don't have to download them again every time you re-test something.
    The live logs are OK, but some columns are missing.

    Barry