| From | Subject | Date |
|---|---|---|
| Alexander Hall | [patch] install.sub - input cleanup
Input cleanup of install.sub
- Kill the "noglob" statements (which I strongly believe is pure legacy
code). Please inform me if I'm wrong.
- ask() cleanup:
- Strip everything from the first whitespace on by default (much code
does not properly handle whitespace in $resp anyway).
- A third parameter to ask() can be set to "no" if whitespace is to
be kept.
- Now uses "read -r" (since I cannot see a need for escapes).
- Shell command (e.g. "! ls /mnt") uses 'sh -c' instead of ...
| May 2, 4:49 pm 2009 |
| DIGITAL MEDIA | BESPLATNO: 3miliona email adresa kupaca + Biznis Plan - ...
CD BIZNIS XXXL Do sada najprodavanije poslovno izdanje u 2009 godini.
Izadjite iz svetske ekonomske krize kao pobednik, koristeci cetiri veoma mocna
alata.
Ne dozvolite strahu od otpustanja da preovlada Vama, uzmite stvari u svoje
ruke: zapocnite ili vodite biznis uspesno - dajemo Vam kupce BESPLATNO.
CD izdanje sadrzi cetiri elektronska izdanja na jednom mediju:
1. Registracija preduzeca sve o registraciji preduzeca na jednom mestu +
2. Ideje i primeri za Vas biznis Pravljenje ...
| May 2, 2:46 am 2009 |
| patrick keshishian | Re: traceroute AS printing
Check for snprintf() return value is incorrect. Should be more
like so:
i = snprintf(buf, sizeof(buf), BGPCTL
" -s %s show rib %s 2> /dev/null", bgpsock, addr);
if (i >= sizeof(buf)) /* buf is too small */
return -1;
--patrick
| May 2, 5:36 am 2009 |
| Claudio Jeker | Re: traceroute AS printing
Actually I think it should directly talk to the socket and not fork of
bgpctl for every lookup.
| May 2, 7:05 am 2009 |
| Stuart Henderson | Re: traceroute AS printing
Oh, good point, bgpsock is a user-supplied value not a known-length
value like addr is (the latter can be no more than 15 bytes), so it is
possible that this string could be too long if someone pokes at it,
so this case needs checking too.
Still, with Claudio's suggestion, I should be able to dispense with
the string handling mess.
I was roughly following the model of bgplg, but you're right, that
does make more sense in this (simpler) case.
It would also make sense to display the ...
| May 2, 1:32 pm 2009 |
| Gilles Chehade | Re: traceroute AS printing
Actually it should be more like so:
i = snprintf(buf, sizeof(buf), BGPCTL,
" -s %s show rib %s 2> /dev/null", bgpsock, addr);
if (i >= sizeof(buf) || i == -1)
return -1;
Gilles
--
Gilles Chehade
http://www.poolp.org/~gilles/
| May 2, 6:39 am 2009 |
| Stuart Henderson | traceroute AS printing
This is a work-in-progress, but it might be useful for some people
who are currently looking at certain AS-path-related things.
It uses bgpctl to print the originating AS of the IP address of
each hop in traceroute.
*It's no use unless you have an internet routing table in bgpd*.
(Some other versions of traceroute do this with IRR data via whois,
but that method sucks pretty badly).
I should really add something like "bgpctl sh fib 1.2.3.4 origin"
giving simple output so I can avoid the ...
| May 2, 4:11 am 2009 |
| Alexander Hall | [patch] install.sub - suggest snapshots dir for servers ...
Suggest the snapshots directory if we're installing -current and
selecting a host from the list of known servers.
/Alexander
Index: install.sub
===================================================================
RCS file: /store/openbsd/cvs/src/distrib/miniroot/install.sub,v
retrieving revision 1.508
diff -u -p -r1.508 install.sub
--- install.sub 1 May 2009 16:36:07 -0000 1.508
+++ install.sub 2 May 2009 10:13:22 -0000
@@ -1182,7 +1182,7 @@ install_url() {
[[ $# -lt 1 ]] && { echo ...
| May 2, 3:19 am 2009 |
| Brandon Mercer | Re:
Yup, try http://www.linux.org.
| May 1, 6:59 pm 2009 |
| terry d | (No subject)
i,m trying to download this musta clicked wrong one..can u help
| May 1, 5:52 pm 2009 |
| previous day | today | next day |
|---|---|---|
| May 1, 2009 | May 2, 2009 | May 3, 2009 |
