CVS commit: src/sbin/ping6

2015-05-15 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri May 15 08:02:39 UTC 2015

Modified Files:
src/sbin/ping6: ping6.8 ping6.c

Log Message:
Add options -X for deadline and -x for reply maxwait (flag names matching
FreeBSD). Unline FreeBSD, currently -x doesn't count late packets to statistics.
After discussion with, and help from ozaki-r@
Should fix PR/49896


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sbin/ping6/ping6.8
cvs rdiff -u -r1.86 -r1.87 src/sbin/ping6/ping6.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2015-05-15 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri May 15 18:03:45 UTC 2015

Modified Files:
src/sys/netinet: tcp_input.c

Log Message:
Don't try to do PCB lookup for bad checksummed segments
Fixes PR/43510 and PR/48452


To generate a diff of this commit:
cvs rdiff -u -r1.339 -r1.340 src/sys/netinet/tcp_input.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2015-05-15 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat May 16 01:15:34 UTC 2015

Modified Files:
src/sys/netinet: tcp_output.c

Log Message:
Don't put segment on the wire if security request can't be fulfilled


To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 src/sys/netinet/tcp_output.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2015-05-16 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat May 16 10:09:20 UTC 2015

Modified Files:
src/sys/netinet: tcp_subr.c

Log Message:
Don't overexpose tcp_iss_secret and don't bother compute it unless
RFC1948 compliance is activated


To generate a diff of this commit:
cvs rdiff -u -r1.260 -r1.261 src/sys/netinet/tcp_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2015-05-19 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue May 19 17:33:44 UTC 2015

Modified Files:
src/sys/netinet: tcp_subr.c

Log Message:
Use RUN_ONCE to initialize iss secret. Suggested by riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.261 -r1.262 src/sys/netinet/tcp_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2015-05-27 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed May 27 16:40:33 UTC 2015

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/net/mpls: Makefile
Added Files:
src/tests/net/mpls: t_mpls_fw6.sh

Log Message:
Add a simple IPv6/MPLS test


To generate a diff of this commit:
cvs rdiff -u -r1.625 -r1.626 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.4 -r1.5 src/tests/net/mpls/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/net/mpls/t_mpls_fw6.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2015-05-27 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed May 27 18:13:14 UTC 2015

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/net/mpls: Makefile
Added Files:
src/tests/net/mpls: t_mpls_fw64.sh

Log Message:
Add another simple MPLS test but using this time a mixed IPv4/IPv6 LSR
This test encapsulates IPv6 packets, pass them over MPLS to an IPv6
neighbour that switches label and passes forward to an IPv4
neighbour. There, the IPv6 packet is decapsulated and passed to IPv6 stack
For the return path we test both implicit and explicit null encapsulations


To generate a diff of this commit:
cvs rdiff -u -r1.626 -r1.627 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.5 -r1.6 src/tests/net/mpls/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/net/mpls/t_mpls_fw64.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2012-06-28 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jun 28 16:34:07 UTC 2012

Modified Files:
src/etc/mtree: special
src/usr.sbin/postinstall: postinstall

Log Message:
add ldpd rc.d script here too


To generate a diff of this commit:
cvs rdiff -u -r1.141 -r1.142 src/etc/mtree/special
cvs rdiff -u -r1.137 -r1.138 src/usr.sbin/postinstall/postinstall

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2012-11-12 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Nov 12 18:39:01 UTC 2012

Modified Files:
src/usr.sbin/ldpd: Makefile conffile.c fsm.c ldp.h ldp_peer.c
ldp_peer.h ldpd.8 main.c notifications.h socketops.c socketops.h
tlv.h tlv_stack.c

Log Message:
* add initial IPv6 support - still incomplete at this moment, but it sends
  out there IPv6 hellos. Interoperability not yet tested.
* sync man page with reality


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/Makefile \
src/usr.sbin/ldpd/conffile.c src/usr.sbin/ldpd/ldp.h \
src/usr.sbin/ldpd/ldp_peer.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/fsm.c src/usr.sbin/ldpd/ldpd.8
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/ldpd/ldp_peer.h \
src/usr.sbin/ldpd/notifications.h src/usr.sbin/ldpd/tlv.h
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/main.c
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/ldpd/socketops.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/socketops.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/tlv_stack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2012-11-12 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Nov 13 06:58:59 UTC 2012

Modified Files:
src/usr.sbin/ldpd: socketops.c

Log Message:
Use local-link address as source for hellos


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-16 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Jan 16 08:28:46 UTC 2013

Modified Files:
src/usr.sbin/ldpd: mpls_routes.h socketops.c

Log Message:
Make sure there is enough space for sockaddr subtypes
Use u_char for IP_MULTICAST_LOOP as specified in in.h


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/ldpd/mpls_routes.h
cvs rdiff -u -r1.15 -r1.16 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet6

2013-01-25 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri Jan 25 10:33:53 UTC 2013

Modified Files:
src/sys/netinet6: ip6_output.c

Log Message:
don't return hlim when asked for multicast loop flag


To generate a diff of this commit:
cvs rdiff -u -r1.150 -r1.151 src/sys/netinet6/ip6_output.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jan 26 17:29:56 UTC 2013

Modified Files:
src/usr.sbin/ldpd: fsm.c fsm.h label.c label.h ldp.h ldp_command.c
ldp_errors.c ldp_errors.h ldp_peer.c ldp_peer.h mpls_interface.c
mpls_interface.h mpls_routes.c mpls_routes.h pdu.c pdu.h
socketops.c socketops.h tlv.h tlv_stack.c tlv_stack.h

Log Message:
modify structures in order to accomodate IPv6 according to
draft-ietf-mpls-ldp-ipv6. Correct a little bit IPv6 hello path


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/fsm.c \
src/usr.sbin/ldpd/mpls_interface.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/ldpd/fsm.h src/usr.sbin/ldpd/label.h \
src/usr.sbin/ldpd/mpls_interface.h src/usr.sbin/ldpd/pdu.c \
src/usr.sbin/ldpd/pdu.h src/usr.sbin/ldpd/tlv_stack.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/label.c \
src/usr.sbin/ldpd/ldp_errors.h src/usr.sbin/ldpd/socketops.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/ldp.h src/usr.sbin/ldpd/ldp_peer.c
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/ldpd/ldp_command.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/ldp_errors.c \
src/usr.sbin/ldpd/ldp_peer.h src/usr.sbin/ldpd/mpls_routes.h \
src/usr.sbin/ldpd/tlv.h
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ldpd/mpls_routes.c
cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/ldpd/socketops.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/tlv_stack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jan 26 17:46:50 UTC 2013

Modified Files:
src/usr.sbin/ldpd: socketops.c

Log Message:
allow compile without -DINET6


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jan 26 19:44:52 UTC 2013

Modified Files:
src/usr.sbin/ldpd: ldp.h socketops.c

Log Message:
use predefined group consts/macros instead of ptoning strings


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/ldp.h
cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jan 26 21:07:49 UTC 2013

Modified Files:
src/usr.sbin/ldpd: conffile.c conffile.h socketops.c

Log Message:
 * add a new keyword for config file - passive-if and check if it's
   allowed to use the interface before join/send mcast
 * check if interface supports multicast before join/send mcast


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/conffile.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/ldpd/conffile.h
cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jan 27 05:53:21 UTC 2013

Modified Files:
src/usr.sbin/ldpd: ldp_peer.c

Log Message:
re-enable peer authentication


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/ldp_peer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-28 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jan 28 20:06:52 UTC 2013

Modified Files:
src/usr.sbin/ldpd: fsm.c ldp_command.c socketops.c socketops.h

Log Message:
Fix the transport address TLV mess I created after INET6 convert
Use a single loop to decrement and check hello list keepalives
Display transport address in show hello output


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/ldpd/fsm.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/ldpd/ldp_command.c
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/ldpd/socketops.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/socketops.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-28 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jan 28 20:32:05 UTC 2013

Modified Files:
src/usr.sbin/ldpd: socketops.c

Log Message:
permit notifications even if session not fully established


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-28 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jan 28 21:08:14 UTC 2013

Modified Files:
src/usr.sbin/ldpd: ldp_command.c ldp_peer.c

Log Message:
Use satos instead of inet_ntop
Fix an alloc problem


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ldpd/ldp_command.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/ldp_peer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-01-28 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jan 28 21:35:35 UTC 2013

Modified Files:
src/usr.sbin/ldpd: ldp_errors.h ldp_peer.c pdu.c socketops.c

Log Message:
Be a little more strict when sending notifications and checking PDU


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/ldp_errors.h
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/ldpd/ldp_peer.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/pdu.c
cvs rdiff -u -r1.22 -r1.23 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2013-02-01 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Feb  2 07:00:42 UTC 2013

Modified Files:
src/sys/netinet: ip_output.c

Log Message:
get rid of ip_len local variable. Use ntohs(ip->ip_len) like the rest
of the code in the two places this variable was used


To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218 src/sys/netinet/ip_output.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-02-03 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Feb  3 19:41:59 UTC 2013

Modified Files:
src/usr.sbin/ldpd: fsm.c fsm.h socketops.c

Log Message:
Don't try to connect to peers before sending hellos


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/ldpd/fsm.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/fsm.h
cvs rdiff -u -r1.23 -r1.24 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-02-04 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Feb  4 09:52:43 UTC 2013

Modified Files:
src/usr.sbin/ldpd: ldp_peer.c

Log Message:
correct the sockaddr compare
modify a couple of debug messages


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/ldpd/ldp_peer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-02-04 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Feb  4 10:53:15 UTC 2013

Modified Files:
src/usr.sbin/ldpd: ldpd.8

Log Message:
Mention IPv6, operation mode and re-section a bit


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/ldpd/ldpd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-02-04 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Feb  4 17:14:32 UTC 2013

Modified Files:
src/usr.sbin/ldpd: ldp_peer.c ldp_peer.h pdu.c socketops.c

Log Message:
* Don't assume INET in connection path
* Lookup in hello list in order to get the correct LDP ID, instead of
  transport address
* Improve an error message


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ldpd/ldp_peer.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/ldp_peer.h src/usr.sbin/ldpd/pdu.c
cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-02-04 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Feb  4 20:28:24 UTC 2013

Modified Files:
src/usr.sbin/ldpd: ldp_peer.c socketops.c

Log Message:
move code around a little bit in order to call get_ldp_peer correctly
check also for transport_address in get_ldp_peer


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/ldpd/ldp_peer.c
cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-02-05 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Feb  5 13:02:33 UTC 2013

Modified Files:
src/usr.sbin/ldpd: fsm.c

Log Message:
Stop confusing peer hello source with peer transport address


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ldpd/fsm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2010-05-02 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun May  2 19:17:56 UTC 2010

Modified Files:
src/sys/net: route.c rtsock.c

Log Message:
Permit the existence of a route with unlinked ifp and ifa,
enabling this way the posibility to send a packet on an interface with
source address from another interface.


To generate a diff of this commit:
cvs rdiff -u -r1.121 -r1.122 src/sys/net/route.c
cvs rdiff -u -r1.127 -r1.128 src/sys/net/rtsock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/route

2010-05-12 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed May 12 19:26:33 UTC 2010

Modified Files:
src/sbin/route: keywords.sh

Log Message:
Update also keywords.{c,h} generator in order to reflect latest changes.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sbin/route/keywords.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2010-06-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jun 26 14:24:29 UTC 2010

Modified Files:
src/sys: Makefile
src/sys/conf: files
src/sys/net: Makefile if_ethersubr.c if_gre.c netisr.h
netisr_dispatch.h route.c route.h rtsock.c
src/sys/netinet: ip_icmp.c ip_icmp.h
src/sys/sys: param.h socket.h
Added Files:
src/sys/net: if_mpls.c if_mpls.h
src/sys/netmpls: Makefile mpls.h mpls_proto.c mpls_ttl.c mpls_var.h
src/sys/rump/net/lib/libnet/opt: opt_mpls.h

Log Message:
Add MPLS support, proposed on tech-net@ a couple of days ago

Welcome to 5.99.33


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/sys/Makefile
cvs rdiff -u -r1.989 -r1.990 src/sys/conf/files
cvs rdiff -u -r1.27 -r1.28 src/sys/net/Makefile
cvs rdiff -u -r1.181 -r1.182 src/sys/net/if_ethersubr.c
cvs rdiff -u -r1.143 -r1.144 src/sys/net/if_gre.c
cvs rdiff -u -r0 -r1.1 src/sys/net/if_mpls.c src/sys/net/if_mpls.h
cvs rdiff -u -r1.39 -r1.40 src/sys/net/netisr.h
cvs rdiff -u -r1.14 -r1.15 src/sys/net/netisr_dispatch.h
cvs rdiff -u -r1.122 -r1.123 src/sys/net/route.c
cvs rdiff -u -r1.74 -r1.75 src/sys/net/route.h
cvs rdiff -u -r1.128 -r1.129 src/sys/net/rtsock.c
cvs rdiff -u -r1.122 -r1.123 src/sys/netinet/ip_icmp.c
cvs rdiff -u -r1.25 -r1.26 src/sys/netinet/ip_icmp.h
cvs rdiff -u -r0 -r1.1 src/sys/netmpls/Makefile src/sys/netmpls/mpls.h \
src/sys/netmpls/mpls_proto.c src/sys/netmpls/mpls_ttl.c \
src/sys/netmpls/mpls_var.h
cvs rdiff -u -r0 -r1.1 src/sys/rump/net/lib/libnet/opt/opt_mpls.h
cvs rdiff -u -r1.367 -r1.368 src/sys/sys/param.h
cvs rdiff -u -r1.97 -r1.98 src/sys/sys/socket.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists

2010-06-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jun 26 14:27:56 UTC 2010

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/comp: mi

Log Message:
add MPLS header files


To generate a diff of this commit:
cvs rdiff -u -r1.870 -r1.871 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1473 -r1.1474 src/distrib/sets/lists/comp/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/route

2010-06-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jun 26 14:29:36 UTC 2010

Modified Files:
src/sbin/route: keywords.c keywords.h keywords.sh route.c show.c

Log Message:
add MPLS clue - mpls and tag keywords


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sbin/route/keywords.c
cvs rdiff -u -r1.10 -r1.11 src/sbin/route/keywords.h
cvs rdiff -u -r1.8 -r1.9 src/sbin/route/keywords.sh
cvs rdiff -u -r1.120 -r1.121 src/sbin/route/route.c
cvs rdiff -u -r1.40 -r1.41 src/sbin/route/show.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/netstat

2010-06-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jun 26 14:30:31 UTC 2010

Modified Files:
src/usr.bin/netstat: show.c

Log Message:
add MPLS clue for showing routes


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.bin/netstat/show.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/arch/i386/conf

2010-06-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jun 26 14:36:48 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC

Log Message:
add pseudo-device mpls - commented in GENERIC for now


To generate a diff of this commit:
cvs rdiff -u -r1.258 -r1.259 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.984 -r1.985 src/sys/arch/i386/conf/GENERIC

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys

2010-06-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jun 26 15:17:56 UTC 2010

Modified Files:
src/sys/arch/i386/conf: ALL GENERIC
src/sys/conf: files
src/sys/net: if_mpls.c
Added Files:
src/sys/netmpls: files.netmpls

Log Message:
Fix build for MPLS import: add options MPLS, changed pseudo-device mpls
to pseudo-device ifmpls


To generate a diff of this commit:
cvs rdiff -u -r1.259 -r1.260 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.985 -r1.986 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.990 -r1.991 src/sys/conf/files
cvs rdiff -u -r1.1 -r1.2 src/sys/net/if_mpls.c
cvs rdiff -u -r0 -r1.1 src/sys/netmpls/files.netmpls

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2010-06-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jun 27 06:48:41 UTC 2010

Modified Files:
src/sys/net: netisr.h

Log Message:
Style fix: Tab consistency with the lines around it


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/net/netisr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/netstat

2010-06-26 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jun 27 06:52:38 UTC 2010

Modified Files:
src/usr.bin/netstat: main.c netstat.1 netstat.h route.c show.c

Log Message:
Add -T flag, that shows tags in route output


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/usr.bin/netstat/main.c \
src/usr.bin/netstat/route.c
cvs rdiff -u -r1.55 -r1.56 src/usr.bin/netstat/netstat.1
cvs rdiff -u -r1.40 -r1.41 src/usr.bin/netstat/netstat.h
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/netstat/show.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2010-06-27 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jun 27 13:39:11 UTC 2010

Modified Files:
src/sys/net: if_ethersubr.c if_mpls.c

Log Message:
Don't assume that rt_tag family is AF_MPLS but verify it.
This way rt_tag can be used for other future work also, not only MPLS


To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 src/sys/net/if_ethersubr.c
cvs rdiff -u -r1.2 -r1.3 src/sys/net/if_mpls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2010-06-28 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jun 28 17:26:11 UTC 2010

Modified Files:
src/sys/net: rtsock.c

Log Message:
we need to set rt_ifp even if ifa is the same. Fixes the case when one
changes route to a different ifp but wants to keep the same ifa


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sys/net/rtsock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/doc

2010-06-28 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jun 28 17:29:38 UTC 2010

Modified Files:
src/doc: CHANGES

Log Message:
mention MPLS support
XXX: I have to write down mpls man page


To generate a diff of this commit:
cvs rdiff -u -r1.1408 -r1.1409 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/netstat

2010-06-29 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 29 12:38:13 UTC 2010

Modified Files:
src/usr.bin/netstat: main.c netstat.1

Log Message:
Add mpls into family address list


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/usr.bin/netstat/main.c
cvs rdiff -u -r1.56 -r1.57 src/usr.bin/netstat/netstat.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2010-06-29 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 29 14:10:04 UTC 2010

Modified Files:
src/share/man/man4: Makefile
Added Files:
src/share/man/man4: mpls.4

Log Message:
add mpls(4) manpage created with great help from wiz@


To generate a diff of this commit:
cvs rdiff -u -r1.519 -r1.520 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/mpls.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists/man

2010-06-29 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 29 14:10:35 UTC 2010

Modified Files:
src/distrib/sets/lists/man: mi

Log Message:
add mpls(4) manpage


To generate a diff of this commit:
cvs rdiff -u -r1.1221 -r1.1222 src/distrib/sets/lists/man/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netinet

2010-07-02 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri Jul  2 07:02:00 UTC 2010

Modified Files:
src/sys/netinet: ip_icmp.c

Log Message:
manually adjust m_data and m_len so it can later be prepended with a
struct ip in case that a cluster is used. icmp len panic is not valid for
cluster case.

Fixes PR/43548


To generate a diff of this commit:
cvs rdiff -u -r1.123 -r1.124 src/sys/netinet/ip_icmp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/traceroute

2010-07-02 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri Jul  2 12:13:11 UTC 2010

Modified Files:
src/usr.sbin/traceroute: traceroute.c

Log Message:
Fix incomplete extensions sanity checks


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/usr.sbin/traceroute/traceroute.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netmpls

2010-07-02 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri Jul  2 12:25:54 UTC 2010

Modified Files:
src/sys/netmpls: mpls_ttl.c

Log Message:
* correct packet size
* fix crash when cluster was involved
* extension offset is constant
* fix endianess issues in BoS loop
* free cluster if INET not defined but icmp_respond sysctl != 1


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/netmpls/mpls_ttl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/netmpls

2010-07-05 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jul  5 09:54:26 UTC 2010

Modified Files:
src/sys/netmpls: mpls_ttl.c

Log Message:
do some rudimentary checks on ip4 header before passing packet to
mpls_icmp_error


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/netmpls/mpls_ttl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-14 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 14 11:23:02 UTC 2011

Modified Files:
src/usr.sbin/ldpd: fsm.c

Log Message:
Use IN_LOOPBACKNET where is the case
Don't forget to freeifaddrs() in case of error
Update a couple of debug messages


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/fsm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-14 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 14 11:28:51 UTC 2011

Modified Files:
src/usr.sbin/ldpd: conffile.c ldp_errors.h main.c mpls_interface.c
mpls_routes.c socketops.c socketops.h

Log Message:
* add no-default-route option into configuration file and check it before
rejecting default-route
* exit process in case of error into the main loop
* complete FSM for RTM_CHANGE
* Check if we overflow pollfd array


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/conffile.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/ldpd/ldp_errors.h \
src/usr.sbin/ldpd/socketops.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/main.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/mpls_interface.c \
src/usr.sbin/ldpd/mpls_routes.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-15 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Jun 15 13:24:48 UTC 2011

Modified Files:
src/usr.sbin/ldpd: socketops.c

Log Message:
simplify the rtsock read sequence
apply a little bit of KNF


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-15 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Jun 15 18:16:48 UTC 2011

Modified Files:
src/usr.sbin/ldpd: tlv_stack.c

Log Message:
we need to add mapping even if there is no route for the prefix


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/tlv_stack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-15 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jun 16 06:05:48 UTC 2011

Modified Files:
src/usr.sbin/ldpd: socketops.c

Log Message:
clear the error condition
KNF a little bit


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-16 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jun 16 07:11:52 UTC 2011

Modified Files:
src/usr.sbin/ldpd: mpls_routes.c

Log Message:
shorten some execution paths related to check_route() and get_route()
statify a bit
don't assume AF_INET in a debug message


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/mpls_routes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-16 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jun 16 08:27:28 UTC 2011

Modified Files:
src/usr.sbin/ldpd: ldp_command.c ldp_command.h

Log Message:
Introduce 'show labels' command that reports about labels received from
unsolicited label-maps. Statify.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/ldp_command.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/ldpd/ldp_command.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-16 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jun 16 14:48:30 UTC 2011

Modified Files:
src/usr.sbin/ldpd: fsm.c ldp.h socketops.c

Log Message:
obey RFC3036 3.5.2 regarding holdtimes
wire SIGINT


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/fsm.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/ldp.h
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2011-06-16 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jun 16 19:47:31 UTC 2011

Modified Files:
src/sys/net: if_ethersubr.c if_mpls.c

Log Message:
use ETHERTYPE_MPLS only for unicast packets (RFC3032)


To generate a diff of this commit:
cvs rdiff -u -r1.187 -r1.188 src/sys/net/if_ethersubr.c
cvs rdiff -u -r1.3 -r1.4 src/sys/net/if_mpls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-06-16 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jun 16 20:42:15 UTC 2011

Modified Files:
src/usr.sbin/ldpd: mpls_routes.c

Log Message:
Correct prefixlen->sockaddr calculation. Now ldpd may finally allow MPLS
forwarding for default route.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/ldpd/mpls_routes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2011-06-17 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri Jun 17 09:15:24 UTC 2011

Modified Files:
src/sys/net: if_loop.c if_mpls.c

Log Message:
teach loopback about MPLS. Prerequisite for MPLS tunnels


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/net/if_loop.c
cvs rdiff -u -r1.4 -r1.5 src/sys/net/if_mpls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2011-06-20 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jun 20 09:43:27 UTC 2011

Modified Files:
src/sys/net: if_loop.c

Log Message:
Avoid computing INET[6] cksums for MPLS packets


To generate a diff of this commit:
cvs rdiff -u -r1.74 -r1.75 src/sys/net/if_loop.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2011-06-21 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 21 14:30:20 UTC 2011

Modified Files:
src/sys/net: if_mpls.c

Log Message:
learn mpls interface how to prepend multiple shims by using a vector of
smpls_addrs in sockaddr_mpls. The number of smpls_addrs is found from
smpls_len. First label encountered is BoS.
XXX: need to do the same for LSE and this feature needs to be documented.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/net/if_mpls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/route

2011-06-21 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 21 14:33:14 UTC 2011

Modified Files:
src/sbin/route: route.c

Log Message:
Alloc dynamically sockunions in sou.
Teach route(8) about multiple tags. E.G.: -tag 100,20,33
XXX: needs documentation


To generate a diff of this commit:
cvs rdiff -u -r1.128 -r1.129 src/sbin/route/route.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/netstat

2011-06-21 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 21 19:42:46 UTC 2011

Modified Files:
src/usr.bin/netstat: netstat.h route.c show.c

Log Message:
print multiple tags if exists, comma separated


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/netstat/netstat.h
cvs rdiff -u -r1.77 -r1.78 src/usr.bin/netstat/route.c
cvs rdiff -u -r1.13 -r1.14 src/usr.bin/netstat/show.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.bin/netstat

2011-06-21 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jun 21 19:46:36 UTC 2011

Modified Files:
src/usr.bin/netstat: netstat.1

Log Message:
add a sentence regarding multiple tags


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/usr.bin/netstat/netstat.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/route

2011-06-21 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Jun 22 04:57:28 UTC 2011

Modified Files:
src/sbin/route: route.c

Log Message:
don't compile tag functions if SMALL is defined. Should fix the build


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.130 src/sbin/route/route.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2011-06-22 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Jun 22 19:08:29 UTC 2011

Modified Files:
src/sys/net: if_mpls.c

Log Message:
make LSE prepend the rest of the shims in they exist


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/net/if_mpls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-07-02 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jul  2 18:17:12 UTC 2011

Modified Files:
src/usr.sbin/ldpd: main.c

Log Message:
return EXIT_SUCCESS and EXIT_FAILURE instead on 0 and -1


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2011-07-03 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jul  3 07:00:48 UTC 2011

Modified Files:
src/share/man/man4: mpls.4

Log Message:
correct two examples and add a couple more for multiple tags


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/mpls.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sbin/route

2011-07-03 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jul  3 07:20:37 UTC 2011

Modified Files:
src/sbin/route: route.8

Log Message:
Mention -mpls and -tag and xref mpls(4)
bin/45071


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sbin/route/route.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/share/man/man4

2011-07-03 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jul  3 07:25:52 UTC 2011

Modified Files:
src/share/man/man4: route.4

Log Message:
add RTA_TAG as defined in 


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/share/man/man4/route.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2011-07-03 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jul  3 18:46:12 UTC 2011

Modified Files:
src/sys/net: if_mpls.c

Log Message:
Avoid putting implicit null labels on the wire


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/net/if_mpls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-07-06 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jul  7 05:20:16 UTC 2011

Modified Files:
src/usr.sbin/ldpd: ldpd.8

Log Message:
Mention that it doesn't support Path Vectors and Hop Counts
Mention RFC3037 and xref ldpd.conf


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/ldpd.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin

2010-12-07 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Dec  8 07:20:15 UTC 2010

Modified Files:
src/usr.sbin: Makefile
Added Files:
src/usr.sbin/ldpd: Makefile TODO fsm.c fsm.h label.c label.h ldp.d
ldp.h ldp_command.c ldp_command.h ldp_errors.c ldp_errors.h
ldp_peer.c ldp_peer.h ldpd.8 main.c mpls_interface.c
mpls_interface.h mpls_routes.c mpls_routes.h notifications.c
notifications.h pdu.c pdu.h socketops.c socketops.h tlv.c tlv.h
tlv_stack.c tlv_stack.h

Log Message:
Add ldpd, a RFC 3036 compatible LDP speaker.


To generate a diff of this commit:
cvs rdiff -u -r1.248 -r1.249 src/usr.sbin/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.sbin/ldpd/Makefile src/usr.sbin/ldpd/TODO \
src/usr.sbin/ldpd/fsm.c src/usr.sbin/ldpd/fsm.h src/usr.sbin/ldpd/label.c \
src/usr.sbin/ldpd/label.h src/usr.sbin/ldpd/ldp.d src/usr.sbin/ldpd/ldp.h \
src/usr.sbin/ldpd/ldp_command.c src/usr.sbin/ldpd/ldp_command.h \
src/usr.sbin/ldpd/ldp_errors.c src/usr.sbin/ldpd/ldp_errors.h \
src/usr.sbin/ldpd/ldp_peer.c src/usr.sbin/ldpd/ldp_peer.h \
src/usr.sbin/ldpd/ldpd.8 src/usr.sbin/ldpd/main.c \
src/usr.sbin/ldpd/mpls_interface.c src/usr.sbin/ldpd/mpls_interface.h \
src/usr.sbin/ldpd/mpls_routes.c src/usr.sbin/ldpd/mpls_routes.h \
src/usr.sbin/ldpd/notifications.c src/usr.sbin/ldpd/notifications.h \
src/usr.sbin/ldpd/pdu.c src/usr.sbin/ldpd/pdu.h \
src/usr.sbin/ldpd/socketops.c src/usr.sbin/ldpd/socketops.h \
src/usr.sbin/ldpd/tlv.c src/usr.sbin/ldpd/tlv.h \
src/usr.sbin/ldpd/tlv_stack.c src/usr.sbin/ldpd/tlv_stack.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/distrib/sets/lists

2010-12-07 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Dec  8 07:21:00 UTC 2010

Modified Files:
src/distrib/sets/lists/base: mi
src/distrib/sets/lists/man: mi

Log Message:
add usr/sbin/ldpd and its man page


To generate a diff of this commit:
cvs rdiff -u -r1.896 -r1.897 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.1261 -r1.1262 src/distrib/sets/lists/man/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2010-12-07 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Dec  8 07:34:08 UTC 2010

Removed Files:
src/usr.sbin/ldpd: ldp.d

Log Message:
Remove accidentally added file


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r0 src/usr.sbin/ldpd/ldp.d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2010-12-30 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Dec 30 11:29:22 UTC 2010

Modified Files:
src/usr.sbin/ldpd: Makefile TODO label.c ldp.h ldp_command.c ldp_peer.c
ldpd.8 main.c socketops.c
Added Files:
src/usr.sbin/ldpd: conffile.c conffile.h

Log Message:
* add config file so one can control id, timers and label assignment and
  use neighbour specific options - XXX: needs documentation
* add peer authentication using TCP_MD5SIG. Interoperability tested with
  Cisco IOS
* use SLIST_FOREACH_SAFE when deleting labels instead of re-looping.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/Makefile src/usr.sbin/ldpd/label.c \
src/usr.sbin/ldpd/ldp_command.c src/usr.sbin/ldpd/ldp_peer.c \
src/usr.sbin/ldpd/ldpd.8 src/usr.sbin/ldpd/main.c \
src/usr.sbin/ldpd/socketops.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/ldpd/TODO src/usr.sbin/ldpd/ldp.h
cvs rdiff -u -r0 -r1.1 src/usr.sbin/ldpd/conffile.c \
src/usr.sbin/ldpd/conffile.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2010-12-31 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri Dec 31 11:29:34 UTC 2010

Modified Files:
src/usr.sbin/ldpd: ldp_command.c

Log Message:
show in neighbour information if peer is MD5 authenticated


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/ldp_command.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-01-04 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jan  4 10:18:42 UTC 2011

Modified Files:
src/usr.sbin/ldpd: mpls_interface.c

Log Message:
Fix more memory leaks in case malloc fails


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/mpls_interface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-01-04 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jan  4 10:58:15 UTC 2011

Modified Files:
src/usr.sbin/ldpd: mpls_routes.c

Log Message:
check from_cidr_to_union() result


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/mpls_routes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/fs/vfs

2011-01-11 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jan 11 14:03:39 UTC 2011

Modified Files:
src/tests/fs/vfs: t_vnops.c

Log Message:
add test for kern/43321, blessed by pooka@


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/fs/vfs/t_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/fs/puffs

2011-01-11 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jan 11 14:04:54 UTC 2011

Modified Files:
src/sys/fs/puffs: puffs_sys.h puffs_vnops.c

Log Message:
add advlock to puffs. ok pooka@
should fix kern/43321


To generate a diff of this commit:
cvs rdiff -u -r1.76 -r1.77 src/sys/fs/puffs/puffs_sys.h
cvs rdiff -u -r1.149 -r1.150 src/sys/fs/puffs/puffs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/rump/librump/rumpvfs

2011-01-11 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jan 11 14:05:33 UTC 2011

Modified Files:
src/sys/rump/librump/rumpvfs: rumpfs.c

Log Message:
add advlock to rumpfs, ok pooka@


To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/sys/rump/librump/rumpvfs/rumpfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src

2011-01-13 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jan 13 10:55:20 UTC 2011

Modified Files:
src/distrib/sets/lists/etc: mi
src/etc/defaults: rc.conf
src/etc/rc.d: Makefile
Added Files:
src/etc/rc.d: ldpd

Log Message:
add ldpd rc script


To generate a diff of this commit:
cvs rdiff -u -r1.217 -r1.218 src/distrib/sets/lists/etc/mi
cvs rdiff -u -r1.109 -r1.110 src/etc/defaults/rc.conf
cvs rdiff -u -r1.80 -r1.81 src/etc/rc.d/Makefile
cvs rdiff -u -r0 -r1.1 src/etc/rc.d/ldpd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-01-22 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jan 22 19:35:01 UTC 2011

Modified Files:
src/usr.sbin/ldpd: socketops.c

Log Message:
use SLIST_FOREACH_SAFE when deleting a peer in loop


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-01-22 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sat Jan 22 19:46:46 UTC 2011

Modified Files:
src/usr.sbin/ldpd: socketops.c

Log Message:
avoid advertising 0/8 transport address (conforming RFC1122
Section 3.2.1.3)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-02-09 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed Feb  9 11:38:57 UTC 2011

Modified Files:
src/usr.sbin/ldpd: mpls_interface.c mpls_routes.c

Log Message:
use RT_ROUNDUP provided by net/route.h


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/mpls_interface.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/mpls_routes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2011-02-09 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Feb 10 07:42:18 UTC 2011

Modified Files:
src/sys/net: rtsock.c

Log Message:
Allow changing route flags. Should fix PR/40455
OK'ed: dyoung@


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/sys/net/rtsock.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/tests/net/route

2011-02-09 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Feb 10 07:47:50 UTC 2011

Modified Files:
src/tests/net/route: t_change.sh

Log Message:
Problem was fixed, don't expect to fail anymore


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/net/route/t_change.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-02-10 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Feb 10 12:44:41 UTC 2011

Modified Files:
src/usr.sbin/ldpd: tlv_stack.c

Log Message:
stop processing a label mapping message if we don't have a route for it.
This way we avoid failing an assert later in mpls_add_label()


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/tlv_stack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2011-02-14 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Feb 14 11:43:59 UTC 2011

Modified Files:
src/usr.sbin/ldpd: mpls_routes.c

Log Message:
get rid of unused variable/assignments


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/mpls_routes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-05-08 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Wed May  8 08:57:46 UTC 2013

Modified Files:
src/usr.sbin/ldpd: socketops.c

Log Message:
First send initialize and keep alive after that. Fixes inter-operability
issues regarding session initialization.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/usr.sbin/ldpd/socketops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-06-23 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Sun Jun 23 06:40:26 UTC 2013

Modified Files:
src/usr.sbin/ldpd: mpls_interface.c

Log Message:
allow INET6 gateways, split some long lines


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/ldpd/mpls_interface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-07-10 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jul 11 05:45:23 UTC 2013

Modified Files:
src/usr.sbin/ldpd: fsm.c fsm.h label.c label.h ldp_peer.c ldp_peer.h
mpls_interface.c mpls_interface.h notifications.c notifications.h
pdu.c pdu.h socketops.c socketops.h tlv_stack.c tlv_stack.h

Log Message:
Constify a little bit


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/ldpd/fsm.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/fsm.h
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/label.c \
src/usr.sbin/ldpd/ldp_peer.h src/usr.sbin/ldpd/pdu.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/label.h \
src/usr.sbin/ldpd/mpls_interface.h src/usr.sbin/ldpd/notifications.c \
src/usr.sbin/ldpd/notifications.h src/usr.sbin/ldpd/pdu.h \
src/usr.sbin/ldpd/tlv_stack.h
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/ldpd/ldp_peer.c
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/ldpd/mpls_interface.c
cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/ldpd/socketops.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/socketops.h
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/tlv_stack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-07-10 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jul 11 05:55:13 UTC 2013

Modified Files:
src/usr.sbin/ldpd: fsm.c ldp_peer.c ldp_peer.h

Log Message:
Local addresses vector is not needed anymore


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/ldpd/fsm.c
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/ldpd/ldp_peer.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/ldp_peer.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-07-11 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jul 11 09:11:35 UTC 2013

Modified Files:
src/usr.sbin/ldpd: mpls_routes.c

Log Message:
speed up a little bit the string<->prefixlen transforms


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/ldpd/mpls_routes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-07-11 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jul 11 10:46:19 UTC 2013

Modified Files:
src/usr.sbin/ldpd: conffile.c conffile.h label.c label.h mpls_routes.c
mpls_routes.h tlv_stack.c tlv_stack.h

Log Message:
sprinkle more const


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/ldpd/conffile.c \
src/usr.sbin/ldpd/label.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/ldpd/conffile.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/label.h \
src/usr.sbin/ldpd/mpls_routes.h src/usr.sbin/ldpd/tlv_stack.h
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/ldpd/mpls_routes.c
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/ldpd/tlv_stack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-07-11 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Thu Jul 11 18:02:03 UTC 2013

Modified Files:
src/usr.sbin/ldpd: mpls_routes.c tlv.h

Log Message:
add code for address and address withdraw messages
get rid of unused fields in tlv struct


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/ldpd/mpls_routes.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/tlv.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-07-12 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Fri Jul 12 08:55:52 UTC 2013

Modified Files:
src/usr.sbin/ldpd: fsm.c mpls_routes.c

Log Message:
correct loopback address test
correct addr add/del handling


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/ldpd/fsm.c
cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/ldpd/mpls_routes.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/sys/net

2013-07-15 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Mon Jul 15 12:10:34 UTC 2013

Modified Files:
src/sys/net: if_mpls.c

Log Message:
stop abusing kmem during softint context


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/net/if_mpls.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/ldpd

2013-07-15 Thread Mihai Chelaru
Module Name:src
Committed By:   kefren
Date:   Tue Jul 16 02:54:33 UTC 2013

Modified Files:
src/usr.sbin/ldpd: label.c ldp_command.c ldp_errors.c mpls_routes.c
mpls_routes.h

Log Message:
retire union_ntoa, replace it with satos
check for valid sizes on PF_ROUTE socket
minor comment update


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/ldpd/label.c
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/ldpd/ldp_command.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/ldpd/ldp_errors.c
cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/ldpd/mpls_routes.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/ldpd/mpls_routes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



  1   2   >