Mailing List Archive

[Bug 360] ifam_read() don't set iface flags when
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=360





------- Additional Comments From aef@bryansktel.ru 2007-05-07 14:16 -------
Created an attachment (id=146)
--> (http://bugzilla.quagga.net/attachment.cgi?id=146&action=view)
Simple patch for this problem

set flags to ZEBRA_IFA_PEER if interface is pointtopoint

------- Additional Comments From ajschorr@alumni.princeton.edu 2007-05-12 14:56 -------
Created an attachment (id=148)
--> (http://bugzilla.quagga.net/attachment.cgi?id=148&action=view)
detect peer addresses properly

Please try this untested patch and let me know if it fixes the problem.
Unfortunately, I do not have a FreeBSD system to test this on.
If it does not work, please post the 'debug kernel' output
so I can see what the problem is.

If it does work, this patch should be more generally correct
than the one previously posted.

Regards,
Andy



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 360] ifam_read() don't set iface flags when [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=360


ajschorr@alumni.princeton.edu changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|ifam_read() don't set iface |ifam_read() don't set iface
|flags when |flags when
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1




------- Additional Comments From ajschorr@alumni.princeton.edu 2007-05-12 14:58 -------
Definitely a bug. With any luck, the patch I posted will fix
the problem.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 360] ifam_read() don't set iface flags when [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=360





------- Additional Comments From aef@bryansktel.ru 2007-05-14 06:14 -------
your patch don't fix _my_ problem.

Point-to-point interfaces still detected as broadcast.

quagga# sh int tun0
Interface tun0 is up, line protocol detection is disabled
index 8 metric 1 mtu 1500
flags: <UP,POINTOPOINT,RUNNING,MULTICAST>
~~~~~~~~~~~
inet 172.10.16.1/32 broadcast 172.30.16.245
~~~~~~~~~




------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 360] ifam_read() don't set iface flags when [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=360





------- Additional Comments From aef@bryansktel.ru 2007-05-14 06:59 -------
Created an attachment (id=149)
--> (http://bugzilla.quagga.net/attachment.cgi?id=149&action=view)
Modified version of "detect peer" patch

Additional check for p2p interfaces added



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 360] ifam_read() don't set iface flags when [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=360





------- Additional Comments From ajschorr@alumni.princeton.edu 2007-05-14 13:01 -------
Sorry that the patch doesn't work. Is it possible for you
to run with 'debug zebra kernel' enabled and post the
debugging output? That may help a bit.

But the critical question here is how FreeBSD identifies
the peer address. I had guessed that it would provide
the peer in the RTA_DST field, but I guess that's probably
not the case, given that the patch didn't work.
It would be better not to rely upon testing the interface
type: the goal here is to get away from that, so we can
support PtP over ethernet, for example. But if FreeBSD
is incapable of configuring PtP over ethernet, then it may
be OK simply to test the interface type. Are there any
FreeBSD experts out there who can help answer these
questions?

Thanks,
Andy



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 360] ifam_read() don't set iface flags when [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=360





------- Additional Comments From aef@bryansktel.ru 2007-05-14 13:47 -------
debug zebra kernel (when p2p interface started)

2007/05/14 16:39:01 ZEBRA: Kernel: Len: 116 Type: RTM_NEWADDR
2007/05/14 16:39:01 ZEBRA: Kernel:
2007/05/14 16:39:01 ZEBRA: Kernel: message seq 520
2007/05/14 16:39:01 ZEBRA: Kernel: pid 0, rtm_addrs 0x7
2007/05/14 16:39:01 ZEBRA: ifam_read_mesg: RTA_SDL_GET nlen 4, alen 0
2007/05/14 16:39:01 ZEBRA: ifam_read_mesg: ifindex 7, ifname tun0, ifam_addrs
0xb4, addr 172.16.1.218/32 broad 172.16.1.1 dst 0.0.0.0
2007/05/14 16:39:01 ZEBRA: Kernel: Len: 124 Type: RTM_ADD
2007/05/14 16:39:01 ZEBRA: Kernel: UP HOST
2007/05/14 16:39:01 ZEBRA: Kernel: message seq 0
2007/05/14 16:39:01 ZEBRA: Kernel: pid 0, rtm_addrs 0x3
2007/05/14 16:39:01 ZEBRA: Kernel: Len: 124 Type: RTM_CHANGE
2007/05/14 16:39:01 ZEBRA: Kernel: UP DONE STATIC
2007/05/14 16:39:01 ZEBRA: Kernel: message seq 1
2007/05/14 16:39:01 ZEBRA: Kernel: pid 78343, rtm_addrs 0x3


#ifconfig tun0
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1500
inet 172.16.1.218 --> 172.16.1.1 netmask 0xffffffff
Opened by PID 78343


#route -v get 172.16.1.1
u: inet 172.16.1.1; u: link ; RTM_GET: Report Metrics: len 164, pid: 0, seq 1,
errno 0, flags:<UP,GATEWAY,HOST,STATIC>
locks: inits:
sockaddrs: <DST,IFP>
172.16.1.1
route to: 172.16.1.1
destination: 172.16.1.1
interface: tun0
flags: <UP,HOST,DONE>
recvpipe sendpipe ssthresh rtt,msec rttvar hopcount mtu expire
0 0 0 0 0 0 1500 0

locks: inits:
sockaddrs: <DST,GATEWAY,IFP,IFA,BRD>
172.16.1.1 172.16.1.218 tun0 172.16.1.218 172.16.1.1





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs
[Bug 360] ifam_read() don't set iface flags when [ In reply to ]
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.quagga.net/show_bug.cgi?id=360


ajschorr@alumni.princeton.edu changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |CLOSED
Resolution| |FIXED




------- Additional Comments From ajschorr@alumni.princeton.edu 2007-05-17 16:01 -------
Should now be fixed in CVS.



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
Quagga-bugs mailing list
Quagga-bugs@lists.quagga.net
http://lists.quagga.net/mailman/listinfo/quagga-bugs