Re: Where is strnlen() ?
Thordur Ivar B. wrote: While porting software from a friend wich was developed under Linux, I stumbled upon an error: src/socket.c:236: warning: implicit declaration of function `strnlen' Now my programming experience is nothing to brag about but I wonder why strnlen is not a part of FreeBSD's libc. I think that the use of strlen() insted of strnlen() could resault in buffer-overflow risks and my fellows (most of them are more experienced in the art of programming say that bounds checking is always good.) I see one small, specialiezed use. That is in a structure were a string for max length doesn't get the terminator, this would prevent reading throught the rest of the data to find a null somewhere. Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - It's always a long day, 86400 doesn't fit into a short. smime.p7s Description: S/MIME Cryptographic Signature
Loosing STDOUT after file rotation
I have a program that I have the is supposed to run forever. I log any output to a log file. It is run in a startup script like thie: program_name $err_log 21 The problem is that after newsyslog rotates the $err_log file, no more data is written to the file. I can not stop and restart the program. I can accept a signal. But what do I need to do in program_name to allow the data to be written after the rotation of the file. Thanks, Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - The wise man built his network upon Un*x. The foolish man built his network upon Windows. smime.p7s Description: S/MIME Cryptographic Signature
Loosing STDOUT after file rotation
I have a program that I have the is supposed to run forever. I log any output to a log file. It is run in a startup script like thie: program_name $err_log 21 The problem is that after newsyslog rotates the $err_log file, no more data is written to the file. I can not stop and restart the program. I can accept a signal. But what do I need to do in program_name to allow the data to be written after the rotation of the file. Thanks, Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - The wise man built his network upon Un*x. The foolish man built his network upon Windows. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: BDM under current
sebastian ssmoller wrote: hi, does anyone know whether i can use gdb + bdm under freebsd ? i found this page http://bdm.thehousleys.net/ which seems to be out of date. Probably not, I had it working well under 3.x, never really got it working in 4.x Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - Studies show that 1 out of every 4 Americans suffer some form of mental illness. So look at your three best friends, if they are okay it is YOU! smime.p7s Description: S/MIME Cryptographic Signature
Re: Boston area BSD meeting (or user group?)
Martin Cracauer wrote: Hi, folks, seems we have no user group in Boston. What about a few of us get together for some BSD chatting? If so,let me know what kind of meeting you'd like (beer, hacking etc.). Martin Sounds good to me, but I am not on freebsd-usergroups. I live on the South Shore. -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net [EMAIL PROTECTED] http://www.SimTel.Net - Unix is very user-friendly. It's just picky who its friends are. smime.p7s Description: S/MIME Cryptographic Signature
Re: serial console com1 to com1 == login race condition?
Dan Langille wrote: I have two remote boxes. My colocation hosts have strung a crossover serial cable from com1 to com1 on these boxes. The idea is that if I paint myself into a corner on one box, I can get access to it from the other box via the serial cable. But... I will need to set up serial consoles on each box in advance of a problem arising. But won't I get a race condition with each box thinking the other is trying to login? [1] - my apologies to those with whom I have already discussed this issue. One option is com1 to com2 . It takes 2 cable, but if ttyd1 (com2) doesn't have getty running then the race won't exist. Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net [EMAIL PROTECTED] http://www.SimTel.Net - A Microsoft Certified Systems Engineer is to computing what a McDonalds Certified Food Specialist is to fine cuisine. -- Jack O'Neill To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Where are the closed PR's ?
Wayne Pascoe wrote: Hi there, I am trying to break into contributing to FreeBSD. I've been reading through the PR database, but the one thing that I do not see is the closed PR's. The reason I want to see these is to see some sample problems, and how they were closed. Being able to see the patch, etc. would also be great. So in short, where can I find the closed PR's ? I assume you are at http://www.FreeBSD.org/cgi/query-pr-summary.cgi , right. In the last paragraph before all the PRs this is a link to Include closed reports too Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net [EMAIL PROTECTED] http://www.SimTel.Net - It's a damn poor mind that can only think of one way to spell a word. -- Andrew Jackson To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Possible bug in kernel w/pppoe ipf ?
Rob Zietlow wrote: Ahh yes, I knew I forgot something, Thank you Jim. yes My rulest was both the original that worked before the DSL pppoe wackiness. I also had the same routing issues when my /etc/ipf.rules said: pass in all pass out all I still received the no route to host message. I also added into my rc.conf ipfilter_rules=etc/ipf.rulesas the rc.conf in /etc/defaults/rc.conf had listed in it. I don't know if this is your problem or not, but I use IPFW so this may not be the same as ipf, it may also not exist any more for IPFW either. But I have 1 machine connected vie a cable modem and dhclient. I have another machine connected via DSL and PPPoE and dhclient. Both of these machines had to, might not be true any more but one is in a different country and don't want to mess with it, configure the kernel to IPFIREWALL_DEFAULT_TO_ACCEPT to ensure the dhclient could connect on boot. After that I load a more restrictive firewall. But my basic problem was that during boot, dhclient was being run before the firewall rules were being loaded. Again, I don't know if this is still the case. Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net [EMAIL PROTECTED] http://www.SimTel.Net - ...there's no idea that's so good you can't ruin it with a few well-placed idiots. -- Charles Spickman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: which port for libcrypto.so.2
Alwyn Goodloe wrote: When trying to run ethereal I get the message %./ethereal /usr/libexec/ld-elf.so.1: Shared object libcrypto.so.2 not found Anyone know which package I can get this from??? Check the compat port, they add the libraries from previous versions of FreeBSD. misc/compat2x misc/compat3x misc/compat4x Check the pkg-plist files. My guess is compat3x Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net [EMAIL PROTECTED] http://www.SimTel.Net - Your mouse has moved. Windows NT must be restarted for the change to take effect! Reboot now? [OK] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Jul 30 changes to ppp break my Telstra ADSL PPPoE connection
Greg Lane wrote: G'day all, I have a problem with PPPoE over Telstra ADSL (Australia). A full description of the problem can be found in freebsd-questions (see [EMAIL PROTECTED] dated Nov 30) with the subject: ADSL PPPoE (Telstra Aust.) began to hang between 4.3- and 4.4-RELEASE The short of it is that at some point during my cvsup history certain types of traffic would hang, specifically most web traffic and certain types of ssh (e.g. ls -l of a long directory). This was reminiscent of the MTU/MRU problems at the beginning of the year. I backdated to 4.3-RELEASE which worked and I forgot about it until recently when I decided to change my gateway machine. I have now chased it up in earnest by going back through various dated cvsup's and making the world. On July 30th there were some changes to src/usr.sbin/ppp that break ppp and cause this problem. Strangely enough the changes were related to MRU's :- !! I can reliably make my DSL connection work on three different machines using four different network cards (ed, de, vr, rl) with source dated Jul 30 12:01am, and reliably break it with anything after Jul 31 12:01am. The changes made to ppp on that day were to: src/usr.sbin/ppp/command.c src/usr.sbin/ppp/lpc.c src/usr.sbin/ppp/nat_cmd.c src/usr.sbin/ppp/nat_cmd.h src/usr.sbin/ppp/ppp.8 The most likely problem is lpc.c because 1) it looks the most complicated(!!) and 2) it is supposed to: MFC: Handle peer REQ/NAKs of 1500 byte MRUs when we have no preference The other diffs were small and were to implement two issues: MFC: If the peer REJects our MRU REQ, stop REQing it -- *EVEN* if we're doing PPPoE and the default MRU is therefore too big. MFC: Actually add the ``nat proto'' command I'm afraid my lack of knowledge stops me going on from here. My ppp.conf is below and I start ppp with ppp -ddial -nat -quiet bigpond Can anyone see the problem and suggest further detective work I can perform or even better, a fix or workaround? Cheers, Greg P.S. I have cross-posted to questions since the thread started there and hackers since I believe I have narrowed down the problem and it is technical. I hope this is OK. Please confine your reply to whatever list you feel is appropriate, I am subscribed to both. --- default: #Only enable logging for troubleshooting #set log CBCP CCP Chat Connect Command IPCP tun Phase Warning Debug LCP sync set device PPPoE:rl0:bigpond set speed sync set mru 1454 set mtu 1454 I had a similar problem, but haven't been able to fully track it down. I did file a PR http://www.freebsd.org/cgi/query-pr.cgi?pr=32040 . A LCP log of both versions was requested. Also if you read the new man page there is set mtu max x and set mru max x options, the I might have mistyped when I tried. Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net [EMAIL PROTECTED] http://www.SimTel.Net - If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's windows. -- Luiz de Barros To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Anyone see todays Wall Street Journal article: Microsoft Using Free Software (or something to that effect)
Jonathan Slivko wrote: While I didn't read the article (I saw it when someone was reading the opposite page on the subway today), I thought it might make for some interesting conversation and views on the list. I will try and get a URL for you all to look at later. Thanks. -- Jonathan It already has been posted at http://www.daemonnews.org/ Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: Strange request: Reading RX-50 (aka DEC Rainbow 100) disks
Mark Hittinger wrote: MSDOS world only and not CPM. I'd bet there are utilities on simtel20 that would read a CPM format floppy in 40 track format. I formatted them on the A quick search returned 10 matches with this one looking like what you want. http://www.simtel.net/pub/pd/44392.shtml Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - It's always a long day, 86400 doesn't fit into a short. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
ppp problems on 4.3-RELEASE and PPPoE
I have been having problems with the the newer Windows machines, 2000 Me, not being able to access some websites. I have had to manually edit the registry to change the MTU. This should not be needed, because I am running 4.3-RELEASE which has had the tcpmssfixup feature for a while. It is enabled. Unfortunately this maching is in an office in Canada, and I am not in Canada. I am using natd and ipfw for NAT and the firewall. The link has a static IP if it matters. Below I am attaching ppp.conf. I have watched some of the data with tcpdump on both tun0 and ed0, but I am not sure what to look for. Suggestion on how to proceed. Jim ppp.conf default: ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that device references the correct serial port # for your modem. (cuaa0 = COM1, cuaa1 = COM2) # set device /dev/cuaa1 set log Phase Chat LCP IPCP CCP tun command set speed 115200 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set timeout 180# 3 minute idle timer (the default) add default HISADDR# Add a (sticky) default route enable dns # request DNS info (for resolv.conf) magma: ident set device PPPoE:ed0 set MRU 1492 set MTU 1492 set authname ** set authkey *** set log Phase Chat Connect set dial set login set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0/0 0.0.0.0/0 set timeout 0 set server +3000 *** enable tcpmssfixup disable dns set cd 5 set crtscts off enable pap disable pred1 -- -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - The wise man built his network upon Un*x. The foolish man built his network upon Windows. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: ppp problems on 4.3-RELEASE and PPPoE
Brian Somers wrote: Try reducing the interface MTU further. It's possible that there's a misconfigured router between you and the sites *and* a part of the route has an mtu of less than 1492. ``set mtu 1480'' or ``set mtu 1460'' may work. That fixed it. I fat-fingered it to 1450. But is now working. I will, when bored, try raising it up to 1480, for a little more performance. I hadn't considered the possibility that the 1492, which their Windoze software uses, would be too big. Thanks again all. Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - ...there's no idea that's so good you can't ruin it with a few well-placed idiots. -- Charles Spickman To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: real time
Wes Peters wrote: Charles: -Original Message- Joao Carlos [EMAIL PROTECTED] asked: Does FreeBSD has any related work about it as an real time operating system? Where can i find information about that ?? Here's one starting point, http://www.rtmx.com/ They offer extensions to OpenBSD. Used to. RTMX contributed the RTMX code base to OpenBSD and stopped distributing it themselves over a year ago. Since then, it has disappeared, with no mention of it on the OpenBSD web site. Neither OpenBSD.org, rtmx.com, nor rtmx.net has a search feature, so looking for it is nearly impossible. There is nothing in the OpenBSD change logs mentioning RTMX, either. RTEMS, http://www.oarcorp.com, does compile and run on FreeBSD. I have been contacted/contacting one of their main people about closer ties. The tools are in the ports tree. Jim -- /\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - microsoft: where do you want to go today? linux: where do you want to go tomorrow? BSD: are you guys coming, or what? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message
Re: PPPoE
Drew Sanford wrote: It's been a while since I set up PPPoE on my box here, but if memory serves, the handbook covers it very well - I believe it calls for the addition of: options netgraph options netgraph_pppoe options netgraph_socket Yes and all of these can be loaded at runtime as KLDs Jim -- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ - [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's windows. -- Luiz de Barros To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: jail and sysvipc (was Re: 4.2beta and shmget)
Stephanie Wehner wrote: On Sat, Nov 04, 2000 at 10:47:27AM -0700, Wes Peters wrote: It works fine for me. Try this little program and see if it successfully attaches the shared memory segment: thx :) actually I think it might have something to do with jail then, cause this test works fine on the actual host machine but not in the jail. Looking at the jail manpage, you now have to set jail.sysvipc_allowed in order to make it work. Are there any plans to adapt jail to work with (as stated in the manpage) multiple namespaces for sysv stuff ? From discussion on this and/or other lists, I forget where. This was done to make 4.2 "secure" or at least not bad in reference to SHM and jail code. The same discussions mentioned plans to actually fix/DTRT, but hat will take time. Jim -- [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - "It's a damn poor mind that can only think of one way to spell a word." -- -Andrew Jackson To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: FreeBSD vs. Linux
FengYue wrote: On Sat, 21 Oct 2000, Frederik Meerwaldt wrote: -Differences... FreeBSD is a real Unix, while Linux is a ..how should I Hmmm. FreeBSD is not a UNIX, rather it's a UNIX alike OS. (Which really doesn't matter IMHO) Don't forget UNIX is a trademark of Open Group. I believe a correct and true statement is "FreeBSD is a direct decendant of Unix(TM). Based on the BSD sources" Jim -- [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's windows. -- Luiz de Barros To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Blocking Napster (WAS: IPFW bug/incoming TCP connections being let in.)
Nate Williams wrote: I had blocked incoming TCP connections coming into my network using IPFW, and I noticed that my brother was able to establish a Napster connection, even though I had blocked it earlier. *sigh* Thanks to Guy Helmer for being patient with me as I fretted about this. I just found out that Napster leaves a client running in the background, and even though I had added firewall rules to block new connections to the server, the old 'established' connection was still up and running. This might be helpful to you and others. Since napster uses what ever ports it can find the best way is to block the servers. # Napster $fwcmd add deny tcp from any to 208.178.163.56/29 via tun0 $fwcmd add deny tcp from any to 208.178.175.128/29 via tun0 $fwcmd add deny tcp from any to 208.49.239.240/28 via tun0 $fwcmd add deny tcp from any to 208.49.228.0/24 via tun0 $fwcmd add deny tcp from any to 208.184.216.0/24 via tun0 Jim -- [EMAIL PROTECTED] http://www.FreeBSD.org The Power to Serve [EMAIL PROTECTED] http://www.TheHousleys.net - Unix is very user-friendly. It's just picky who its friends are. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: What exactly does this mean? (ld: size of symbol changed)
"Jacques A. Vidrine" wrote: I hope someone might be able to clue me in. I'm having a hard time tracking this down. I've added some code to libc, and while building the world I get this misery in src/sbin/dhclient: cc -O -pipe -I/usr/src/sbin/dhclient/../../contrib/isc-dhcp/includes -I/usr/src/sbin/dhclient/../../contrib/isc-dhcp -DCLIENT_PATH='"PATH=/sbin:/bin:/usr/sbin:/usr/bin"'-static -o dhclient clparse.o dhclient.o alloc.o bpf.o conflex.o convert.o dispatch.o errwarn.o ethernet.o hash.o icmp.o inet.o inet_addr.o memory.o nit.o options.o packet.o parse.o print.o raw.o socket.o tables.o tree.o upf.o /usr/lib/libc.a(err.o): In function `warn': err.o(.text+0x1e0): multiple definition of `warn' errwarn.o(.text+0xd8): first defined here /usr/libexec/elf/ld: Warning: size of symbol `warn' changed from 141 to 30 in err.o *** Error code 1 My guess is that you (or someone) have redefined the function warn(). errwarn.c is dhclient. Are you compiling dhclient from /usr/src/contrib/isc-dhcp instead of /usr/src/sbin/dhclient? The second is the correct locaion. Jim -- Studies show that 1 out of every 4 Americans suffer some form of mental illness. So look at your three best friends, if they are okay it is YOU! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
de driver problems
I have a DLink DE-660 10Mbit PCMCIA card in my laptop. If it is connected to my DLink DSS-8+ 10/100 switch negoation is not always successful and the link doesn't always come up. If I attach it to a hub plugged into the switch everything is fine. I have every reason to believe the two work to gether nicely, but I could be wrong. I noticed about 1 week ago there was a fix to the wx driver for a similar problem. I know were the source files are and such, but how do I go about trying to fix this or assist someone fixing this? Jim -- Artificial intelligence is no match for natural stupidity. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: 4.0-Stable/XFree86-4.0/syscons switching crash
Graham Wheeler wrote: Much more distressing: if I switch out of X to a text mode console with Ctrl-Alt-Fn, and then switch back to X, the machine freezes up completely and has to be power-cycled. It does first switch back into graphics mode, and I can see the top part of the screen is messed up, so it hasn't restored the low memory. I had similar problems. I removed splash_bmp from my loader.conf, splash screen/screen saver, and the problems has gone away for me. My would lockup if I tried to return to X from text after the delay time. Jim -- Studies show that 1 out of every 4 Americans suffer some form of mental illness. So look at your three best friends, if they are okay it is YOU! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Using TCP_WRAPPERS in code
I would like to use tcp_wrappers (libwrap) in a program. I din't see any examples or a reference to a web site. I have read the man page. Is there a good example of a program in the FreeBSD 4 tree that is not inetd spawned and uses libwrap? Thanks, Jim -- Unix is very user-friendly. It's just picky who its friends are. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Using TCP_WRAPPERS in code
David Malone wrote: On Sun, Jun 04, 2000 at 07:34:54PM -0400, James Housley wrote: I would like to use tcp_wrappers (libwrap) in a program. I din't see any examples or a reference to a web site. I have read the man page. Is there a good example of a program in the FreeBSD 4 tree that is not inetd spawned and uses libwrap? The source to tcpd, which just uses libwrap, is fairly easy to read.. Have a look at /usr/src/contrib/tcp_wrappers/tcpd.c I guess that qualifies as a DU. Pointy hat to me. I looked in that directory and never even thought about tcpd.c Thanks Jim -- Unix is very user-friendly. It's just picky who its friends are. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
IPv6 and hosts.allow
Is inetd wrapping and hosts.allow supposed to support IPv6 addresses? Because it isn't for me. Not only that but added an IPv6 address to hosts.allow seems to prevent processing of IPv4 anddress on that line. If it should and is broken I will submit a PR. If not I will look and see if I can submit a PR with code. BTW this is 4.0 cvsupd and compile with cvs-cur-6351.gz of this morning (2000/5/16) Jim -- Studies show that 1 out of every 4 Americans suffer some form of mental illness. So look at your three best friends, if they are okay it is YOU! To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: IPv6 and hosts.allow
"Hajimu UMEMOTO (梅本 肇)" wrote: Yes, I wrote IPv6 support code for tcp_wrappers. And, actually, I'm using it. How do you specify IPv6 address? IPv6 address has `:' in it and it conflict with tcp_wrappers's field separator. So, you need to wrap IPv6 address with `[' and `]'. Like this? Would you like me to submit a PR with this or can you commit the changes or better ones??? Jim -- Studies show that 1 out of every 4 Americans suffer some form of mental illness. So look at your three best friends, if they are okay it is YOU! --- hosts.allow Fri May 5 13:58:34 2000 +++ hosts.allow.new Tue May 16 16:34:05 2000 @@ -33,6 +33,8 @@ # name) *MUST* be specified for portmap(8). ALL : localhost 127.0.0.1 : allow ALL : my.machine.example.com 192.0.2.35 : allow +# To use IPv6 addresses you must enclose them in []'s +ALL : [fe80::/10] # Sendmail can help protect you against spammers and relay-rapers sendmail : localhost : allow
Re: ps does not work after a cvsupdate to 4.0-STABLE
David Miller wrote: On Sun, 7 May 2000, Henk Wevers wrote: Yes i did, i found the solution in the Dutch FreeBSD mailinglist [EMAIL PROTECTED] FAQ IIRC. libkvm is out of sync. [make libkvm and ps] This did work fine. I suffered the same problem, and got to wondering; why would make buildworld after the cvsup not do this? I thought the whole point of buildworld was to compile and install everything as a coordinated set? make buildworld does just that "builds everything". make installworld install everything. You have to do both. Jim -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
IPv6
Is there a IPv6 Mailing list for FreeBSD/*BSD specifically? Has there been any additional article since the Feb 2000 FreeBSDzine article, which is out of date? Jim -- Unix is very user-friendly. It's just picky who its friends are. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Upgrade from 3.4 to 4.0 with ida driver
"Christopher T. Griffiths" wrote: I sent this to freebsd-questions with no luck. I am desperately trying to figure out this problem. Any help would be appreciated. Have you looked at this article on DaemonNews ? http://www.daemonnews.org/23/cpqraid.html Jim -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: bad link in 'in the press'?
Julian Elischer wrote: The article referenced in FreeBSD's "in the press" section for March 29 seems to point to a domain name that returns as unkown for me.. sfbg.com (It's registered, but I can't ping it from anywhere..) is that the corrent reference? Works fine for me. The IP is : 204.31.38.63 Jim -- Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
mod_auth_mysql-2.20
I am having trouble installing mod_auth_mysql-2.20 with the apache13-php3 port. I was able to install/configure/use it with the plan apache13 port. MySQL client and server are both install. PHP3 works fine. However it get a mod_auth_sql.c in found error from apache, and different errors. I have tried server different things, including trying to compile it as a DSO. Is there anyone that has done this, and remembers how, that would be willing to give me acouple of pointers? Jim -- The wise man built his network upon U*nx. The foolish man built his network upon Windows. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Finding percent idle
I am trying to find out the current % idle of the machine from within a program. I have looked at the valuse provided by sysctl and found loadavg but not system idle. I have also looked through the source for top and haven't been able to figure that out. All pointers would be appreciated. Jim -- microsoft: "where do you want to go today?" linux: "where do you want to go tomorrow?" BSD: "are you guys coming, or what?" Unix is like a wigwam -- no Gates, no Windows, and an Apache inside. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Device driver KLD module
History: I had a device driver for a BDM (Background Debug Module for Motorola 683xx CPUs) that worked fine as a kernel device and a LKM. It was based upon the LPT driver, because it attached to the parallel port, and the JOY LKM, cause it was simple. Present: I have updated the driver, it does work as a kernel device. It does not work as a KLD. It does not print its startup nor create a device. It was updated to match the current JOY KLD. It also appears the JOY KLD may not be working. Questions: 1) Does the JOY KLD actually work? What is the simplest way to test it. I have a joystick, but not sure how to read info from it. 2) If not I will fix it, if possible, while fixing my BDM. 3) Looking around it would seem that the VESA KLD might be the simplest KLD to look at. Is this true, or is there a better one? My source for the BDM driver is available, for anyone who wants to peek, is at: http://bdm.thehousleys.net/bdm.tgz . The full page with some more info is at: http://bdm.thehousleys.net . Thanks for all help. Jim -- microsoft: "where do you want to go today?" linux: "where do you want to go tomorrow?" BSD: "are you guys coming, or what?" To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message