adulau / Forban

Forban is a p2p application for link-local and local area networks. Forban works independently from the Internet and uses only the local area capabilities to announce, discover, search or share files. Forban relies on HTTP and it is "opportunistic".
http://www.foo.be/forban/
134 stars 24 forks source link

ipv4 Interface issues #13

Closed MaStr closed 12 years ago

MaStr commented 12 years ago

Somehow Forban does not find its ipv4 interface anymore. You can access Forban with your browser as usual. It only shows up v6 , no v4

It only sends ipv6 anouncements, too. But no ipv4 announcements.

00:20:30.103977 IP6 fe80::fad1:11ff:febd:575c.60618 > ff02::1.12555: UDP, length 113 00:21:30.367215 IP6 fe80::fad1:11ff:febd:575c.34404 > ff02::1.12555: UDP, length 113

root@piratebox:~# ifconfig br-lan Link encap:Ethernet HWaddr F8:D1:11:BD:57:5C inet addr:192.168.56.10 Bcast:192.168.56.255 Mask:255.255.255.0 inet6 addr: fe80::fad1:11ff:febd:575c/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2517 errors:0 dropped:2 overruns:0 frame:0 TX packets:1985 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:166242 (162.3 KiB) TX bytes:271136 (264.7 KiB)

eth0 Link encap:Ethernet HWaddr F8:D1:11:BD:57:5C UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2560 errors:0 dropped:41 overruns:0 frame:0 TX packets:1985 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:204624 (199.8 KiB) TX bytes:271136 (264.7 KiB) Interrupt:4

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:291 errors:0 dropped:0 overruns:0 frame:0 TX packets:291 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:24854 (24.2 KiB) TX bytes:24854 (24.2 KiB)

mon.wlan0 Link encap:UNSPEC HWaddr F8-D1-11-BD-57-5C-00-48-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:52609 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:10311911 (9.8 MiB) TX bytes:0 (0.0 B)

wlan0 Link encap:Ethernet HWaddr F8:D1:11:BD:57:5C UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:201 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:32 RX bytes:0 (0.0 B) TX bytes:24061 (23.4 KiB)

MaStr commented 12 years ago

Can you add some debug output on the interface finding stuff? Maybe we can get something out of it?

MaStr commented 12 years ago

Hi, it is a firewall Issue on the OpenWRT system. Broadcasts to 255.255.255.255 are filtered by default.

Matthias

MaStr commented 12 years ago

same issue like #8

adulau commented 11 years ago

Merged with #15. Thank you for your patches. I just tagged as Forban 0.0.33.