Snoopys Woodstock wrote:
>> Try again after also allowing the NetBIOS ports 137/udp, 138/udp and 139/tcp.
> 
> I did but still no better result.

I think ufw writes messages about failed connection attempts to 
/var/log/messages. Do this:

1) Open a terminal.
2) Enter "iptables -L > /tmp/iptables.txt"
3) Enter "tail -f /var/log/messages > /tmp/ufwlog.txt"
4) Try to connect to the share again.
5) After you get the error, go back to the terminal and press Ctrl-C.
6) Post both files (/tmp/iptables.txt and /tmp/ufwlog.txt) here.

The files are attached.


_______________________________________________
gNewSense-users mailing list
gNewSense-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnewsense-users
Chain INPUT (policy DROP)
target     prot opt source               destination         
ufw-before-input  all  --  anywhere             anywhere            
ufw-after-input  all  --  anywhere             anywhere            

Chain FORWARD (policy DROP)
target     prot opt source               destination         
ufw-before-forward  all  --  anywhere             anywhere            
ufw-after-forward  all  --  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
ufw-before-output  all  --  anywhere             anywhere            
ufw-after-output  all  --  anywhere             anywhere            

Chain ufw-after-forward (1 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere            limit: avg 3/min 
burst 10 LOG level warning prefix `[UFW BLOCK FORWARD]: ' 
RETURN     all  --  anywhere             anywhere            

Chain ufw-after-input (1 references)
target     prot opt source               destination         
RETURN     udp  --  anywhere             anywhere            udp dpt:netbios-ns 
RETURN     udp  --  anywhere             anywhere            udp 
dpt:netbios-dgm 
RETURN     tcp  --  anywhere             anywhere            tcp 
dpt:netbios-ssn 
RETURN     tcp  --  anywhere             anywhere            tcp 
dpt:microsoft-ds 
RETURN     udp  --  anywhere             anywhere            udp dpt:bootps 
RETURN     udp  --  anywhere             anywhere            udp dpt:bootpc 
LOG        all  --  anywhere             anywhere            limit: avg 3/min 
burst 10 LOG level warning prefix `[UFW BLOCK INPUT]: ' 
RETURN     all  --  anywhere             anywhere            

Chain ufw-after-output (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            

Chain ufw-before-forward (1 references)
target     prot opt source               destination         
ufw-user-forward  all  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere            

Chain ufw-before-input (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     all  --  anywhere             anywhere            ctstate 
RELATED,ESTABLISHED 
DROP       all  --  anywhere             anywhere            ctstate INVALID 
ACCEPT     icmp --  anywhere             anywhere            icmp 
destination-unreachable 
ACCEPT     icmp --  anywhere             anywhere            icmp source-quench 
ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded 
ACCEPT     icmp --  anywhere             anywhere            icmp 
parameter-problem 
ACCEPT     icmp --  anywhere             anywhere            icmp echo-request 
ACCEPT     udp  --  anywhere             anywhere            udp spt:bootps 
dpt:bootpc 
ufw-not-local  all  --  anywhere             anywhere            
ACCEPT     all  --  base-address.mcast.net/4  anywhere            
ACCEPT     all  --  anywhere             base-address.mcast.net/4 
ufw-user-input  all  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere            

Chain ufw-before-output (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere            
ACCEPT     tcp  --  anywhere             anywhere            state 
NEW,RELATED,ESTABLISHED 
ACCEPT     udp  --  anywhere             anywhere            state 
NEW,RELATED,ESTABLISHED 
ufw-user-output  all  --  anywhere             anywhere            
RETURN     all  --  anywhere             anywhere            

Chain ufw-not-local (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            ADDRTYPE match 
dst-type LOCAL 
RETURN     all  --  anywhere             anywhere            ADDRTYPE match 
dst-type MULTICAST 
RETURN     all  --  anywhere             anywhere            ADDRTYPE match 
dst-type BROADCAST 
LOG        all  --  anywhere             anywhere            limit: avg 3/min 
burst 10 LOG level warning prefix `[UFW BLOCK NOT-TO-ME]: ' 
DROP       all  --  anywhere             anywhere            

Chain ufw-user-forward (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            

Chain ufw-user-input (1 references)
target     prot opt source               destination         
ACCEPT     tcp  --  anywhere             anywhere            tcp 
dpt:microsoft-ds 
ACCEPT     udp  --  anywhere             anywhere            udp dpt:netbios-ns 
ACCEPT     udp  --  anywhere             anywhere            udp 
dpt:netbios-dgm 
ACCEPT     tcp  --  anywhere             anywhere            tcp 
dpt:netbios-ssn 
RETURN     all  --  anywhere             anywhere            

Chain ufw-user-output (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere            
Jul 17 21:33:20 longus-cocus kernel: [30459.955882] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:33:51 longus-cocus kernel: [30490.914743] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:34:22 longus-cocus kernel: [30521.873132] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:34:53 longus-cocus kernel: [30552.831910] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:35:24 longus-cocus kernel: [30583.790321] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:35:55 longus-cocus kernel: [30614.749085] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:36:26 longus-cocus kernel: [30645.707547] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:36:57 longus-cocus kernel: [30676.666306] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:37:28 longus-cocus kernel: [30707.624878] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:37:59 longus-cocus kernel: [30738.583589] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:38:30 longus-cocus kernel: [30769.541998] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
Jul 17 21:39:01 longus-cocus kernel: [30800.500787] [UFW BLOCK INPUT]: IN=eth0 
OUT= MAC= SRC=192.168.0.3 DST=192.168.0.255 LEN=201 TOS=0x00 PREC=0x00 TTL=64 
ID=0 DF PROTO=UDP SPT=631 DPT=631 LEN=181 
_______________________________________________
gNewSense-users mailing list
gNewSense-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/gnewsense-users

Reply via email to