On Jan 8, 2011, at 4:20 PM, Claudio Jeker wrote:

> provide a diff for this soon. Btw. I would be interested in the ldpd -dv
> output of the failures you get when the JUNOS has RFC 3479 enabled or when
> a different transport addr is used.

This time I removed the statement 'set protocols ldp transport-address
interface' from junos and get the following ldpd -dv output (I added the
output of src.sin_addr to the log_debug msg, diff further down). 192.168.100.3
is the routers loopback address. Openbsd has a route to that loopback. The
router does send the LDP hello's from the interface IP address, but initiates
the TCP session from its loopback. Let me know if you need more details.

# ldpd -dv
fast = "2"
startup
mpath route not found
if_fsm: event UP resulted in action START and changing state for interface em2
from DOWN to ACTIVE
if_fsm: interface lo1, event UP not expected in state LOOP
kernel add route 0.0.0.0/0
kernel add route 10.0.5.0/24
kernel add route 192.168.56.0/24
kernel add route 192.168.91.0/24
kernel add route 192.168.91.0/24
kernel add route 192.168.91.0/24
kernel add route 192.168.92.0/24
kernel add route 192.168.93.0/24
kernel add route 192.168.93.0/24
kernel add route 192.168.94.0/24
kernel add route 192.168.95.0/24
kernel add route 192.168.100.1/32
kernel add route 192.168.100.2/32
kernel add route 192.168.100.3/32
kernel add route 192.168.100.4/32
nbr_fsm: event HELLO RECEIVED resulted in action START INACTIVITY TIMER and
changing state for neighbor ID 192.168.100.3 from DOWN to PRESENT
disc_recv_packet: cannot find a matching interface:: 192.168.100.3
disc_recv_packet: cannot find a matching interface:: 192.168.100.3
disc_recv_packet: cannot find a matching interface:: 192.168.100.3
disc_recv_packet: cannot find a matching interface:: 192.168.100.3
disc_recv_packet: cannot find a matching interface:: 192.168.100.3
disc_recv_packet: cannot find a matching interface:: 192.168.100.3
^Cif_fsm: event DOWN resulted in action RESET and changing state for interface
em2 from ACTIVE to DOWN
if_fsm: event DOWN resulted in action NOTHING and changing state for interface
lo1 from LOOP to DOWN
ldp engine exiting
label decision engine exiting
kernel routing table decoupled
terminating
#

-------------------------
# cvs diff -u packet.c
Index: packet.c
===================================================================
RCS file: /cvs/src/usr.sbin/ldpd/packet.c,v
retrieving revision 1.13
diff -u -r1.13 packet.c
--- packet.c    4 Nov 2010 09:52:16 -0000       1.13
+++ packet.c    8 Jan 2011 19:19:06 -0000
@@ -272,7 +273,8 @@
        session_socket_blockmode(newfd, BM_NONBLOCK);

        if ((iface = session_find_iface(xconf, src.sin_addr)) == NULL) {
-               log_debug("sess_recv_packet: cannot find a matching
interface");
+               log_debug("disc_recv_packet: cannot find a matching
interface:: %s",
+                   inet_ntoa(src.sin_addr));
                close(newfd);
                return;
        }
#

Reply via email to