summaryrefslogtreecommitdiff
path: root/usr.sbin
AgeCommit message (Collapse)Author
2005-07-12recognize both versions of the nat-t-draft v2 vendor IDsHans-Joerg Hoexer
ok ho@
2005-07-12rev 1.305Brad Smith
Use the correct length when copying trailing data!! From brian FreeBSD
2005-07-12rev 1.298Brad Smith
Fix ``set ifaddr''. The code was actually using an uninitialised variable, but conveniently, because ncpaddr.ncpaddr_family != AF_INET, the call to ncpaddr_getip4addr() became a no-op leaving the local address as it was (defaulting to whatever my hostname resolves to). From brian FreeBSD
2005-07-12rev 1.45Brad Smith
Add a missing memcpy From brian FreeBSD
2005-07-12rev 1.117Brad Smith
If the peer gives us 0.0.0.0 as his IP number, NAK it rather than accepting it as being in range. set ifaddr 1.2.3.4/0 5.6.7.8/0 no longer allows 0.0.0.0 as a valid IP. From brian FreeBSD
2005-07-12- support ipv6cpretry and ipv6cpretries, which are IPv6 versionsBrad Smith
of ipcpretry and ipcpretries. - improve handling of IPv6 link-local addresses From brian FreeBSD
2005-07-12rev 1.14Brad Smith
Though manpage says that 0.0.0.0 can be used as HISADDR for gw in Framed-Route, it didn't work. Since ncprange_aton() treats 0.0.0.0 and :: as prefixlen=0, we need to care the case. From ume FreeBSD
2005-07-11rev 1.12Brad Smith
When session is over, IPv6 default route to tun should be removed, too. From ume FreeBSD
2005-07-11rev 1.30Brad Smith
If IPCP is disabled, susccess of IPV6CP negotiation is sufficient to communicate by IPv6. So, the prompt should be `PPP' rather than `PPp'. From ume FreeBSD ok deraadt@
2005-07-11Don't install wrong IPv6 route by add command.Brad Smith
From ume FreeBSD ok deraadt@
2005-07-11rev 1.32Brad Smith
Add IPv6 support to pppctl by using getaddrinfo() and trying each address it returns. This allows it to connect to the server side again, which has been listening on IPv6 addresses exclusively for more than 3 years. From tjr FreeBSD Fixes the issue noted in PR's 2780, 3570 and 3751. ok deraadt@
2005-07-11More descriptive error if a signal causes the child to exit; ok henning@Darren Tucker
2005-07-11Print privsep user and dir when in debug mode; ok henning@Darren Tucker
2005-07-11Print actual error when in debug mode; ok henning@Darren Tucker
2005-07-09IP-address -> IP address;Jason McIntyre
from tamas tevesz;
2005-07-09rev 1.85Brad Smith
Ignore case when comparing CHAP/CHAP81 responses rev 1.84 Do a case insensitive comparison when comparing the ms-chap response string. From brian FreeBSD ok canacar@
2005-07-09rev 1.45Brad Smith
Use the length of the interface name, not the length of its address when printing the name. From brooks FreeBSD
2005-07-08Don't mistakenly match groups with partial name matches in "usermod -G".Todd C. Miller
Reported and fix confirmed by Maxim Bourmistrov
2005-07-08proto is `ip6', not `ipv6';Jason McIntyre
initial report from robert hansen; confirmed by otto@
2005-07-07when reading of sadb/spd data fails don't callMoritz Jodeit
memset with a len of (unsigned)-1. ok ho@
2005-07-06rev 1.8Brad Smith
Handle a malloc() failure when allocating urgent ports From brian FreeBSD ok deraadt@
2005-07-06Add a bunch of malloc() return checksBrad Smith
From brian FreeBSD ok deraadt@ tdeval@
2005-07-06add another non-fatal error for recvfrom; ok henning@Darren Tucker
2005-07-06rev 1.7Brad Smith
Reduce MAXMSS limit by 12 bytes to allow for rfc 1323. From brian FreeBSD ok deraadt@
2005-07-05Save transmit time for each peer for later use as refid for SNTPv4Darren Tucker
replies. ok henning@
2005-07-04whitespace;Jason McIntyre
2005-07-04spacingTheo de Raadt
2005-07-04nicer textTheo de Raadt
2005-07-04describe the difference between radiotap and pcap modeReyk Floeter
2005-07-04update the hostapd.conf(5) manual page with a more detailed descriptionReyk Floeter
of the configuration language and grammar. thanks to jmc@ and jaredy@
2005-07-04remove command line options -i, -a and -b (iapp interface, hostap interfaceReyk Floeter
and broadcast mode). please use the configuration file hostapd.conf(5) instead, it is now mandatory to run hostapd with it.
2005-07-04print error messages to stderr instead of syslog on startup.Reyk Floeter
suggested by deraadt@
2005-07-04add 'random' action address and auth open request/responseReyk Floeter
2005-07-04New function filterset_cmp() used two compare two struct filter_set forClaudio Jeker
equality. This function is a bit more complicated than a memcmp() because there are types that need to be considered equal e.g. ACTION_SET_MED and ACTION_SET_RELATIVE_MED. Also ACTION_SET_COMMUNITY and ACTION_SET_NEXTHOP need some special care. OK henning@
2005-07-04Switch some parser rules from "string" to "STRING". "string" is to greedyClaudio Jeker
and hides possible typos. e.g. set { rtlabel foo localperf 100 } was a valid syntax but the result was a route label with name "foo localperf 100". OK henning@
2005-07-01More spacesClaudio Jeker
2005-07-01tab after spaceClaudio Jeker
2005-07-01fix breakage; if this proves to be wrong, will be fixed later. at leastFederico G. Schwindt
make build will work now.
2005-07-01Switch filter_sets form SIMPLEQ to TAILQ, needed for upcomming stuff.Claudio Jeker
2005-07-01The newly introduced function filterset_free() existed already asClaudio Jeker
rde_free_set(), I just missed it when I was looking for it. Kill rde_free_set() and use the more correct filterset_free() from now on.
2005-07-01Make the pftable filter set use the name2id "cache" like the route labels.Claudio Jeker
This saves 14 bytes per aspath. OK henning@
2005-06-29Usage().Marc Espie
noticed by deraadt@
2005-06-29stop if no pkgname.Marc Espie
from deraadt@. also lock_db later, since we can.
2005-06-29make Getopt show full option name.Marc Espie
noticed by deraadt@
2005-06-29rtlabel support via filter sets. Just use "set rtlabel foobar" in filtersClaudio Jeker
network and neighbor statements and the routes are labeled accordingly. While doing that fix some mem-leaks by introducing filterset_free() and remove the free on send option of send_filterset(). This took a bit longer because we need to carefully track the rtlabel id refcnts or bad things may happen on reloads. henning@ looks fine
2005-06-28Make it possible to specify interfaces just by using "interface em0" withoutClaudio Jeker
a {} block. Only drawback is that it is no longer possible to do "interface em0\n{ ...". OK henning@ norby@ some time ago
2005-06-28Add pkg_merge and doc.Marc Espie
okay naddy@, jmc@
2005-06-28Remove 'ab' (apache benchmark) from the tree becauseRobert Nagy
we don't install it, and 'ab' itself is buggy so that it will give false results. ok henning@
2005-06-28Try to fit 0x200 into an u_int8_t is not so clever. Pass the flags asClaudio Jeker
u_int16_t so that "bgpctl show rib 4/8 all" works again.
2005-06-28some more ike payload typesHans-Joerg Hoexer
ok ho@