Re: IPNAT seems to affect network performance? of jails on lo0 (10.0.0.0/24) - why?
I know that ssh does a reverse dns lookup of the ip you connect from - no matter if its local or not. On Tue, Jun 26, 2012 at 4:58 PM, Christopher J. Ruwe c...@cruwe.de wrote: On Mon, 25 Jun 2012 18:23:56 -0400 Robert Huff roberth...@rcn.com wrote: Christopher J. Ruwe writes: On a KVM virtualized host, I run FreeBSD 8.3-RELEASE-p3 and some qjails, 8.3-RELEASE. The jails are connected all via lo0 on 10.0.0.0. While by the large working as expected, I have noticed one pecularity I have failed to pinpoint: When launching processes with some network interaction, like sshing into one of the jails from the platform or launching emacs, the command spends ages ( ~(1-2) minutes) idling? (nothing happens) before becoming interactive. If the number is very close to 90 seconds, my first guess would be you have a DNS problem. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks for the hint. It was DNS ... I have copied a resolv.conf into the jails for future use, but did not enable NAT from the start. The issue disappeared when I commented out the nameserver entries and switched NAT off again, i.e., I could login using ssh in a matter of seconds, not minutes. Now to the followup: Why does ssh and emacs! require DNS for entirely local connections or just to be started? Anyway, thanks for that hint, cheers, -- Christopher TZ: GMT + 2h -- Med Venlig Hilsen Kalle R. Møller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Understanding XDM
I am using slim to login which can choose Window Manager by pressing F1 key. Can XDM choose Window Manager when loginning ? Reagrds! - e^(π.i) + 1 = 0 -- View this message in context: http://freebsd.1045724.n5.nabble.com/Understanding-XDM-tp5721476p5724072.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Understanding XDM
On Tue, 3 Jul 2012 23:27:21 -0700 (PDT), sw2wolf wrote: I am using slim to login which can choose Window Manager by pressing F1 key. Can XDM choose Window Manager when loginning ? No, xdm cannot do this. But as far as I remember, wdm can -- it has some look feel of the original CDE display manager and it designed to work well with WindowMaker, but it's a very nice replacement for xdm if you need that specific functionality. It's quite lightweight (compared to gdm or kdm) and easily configurable. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Networking IP Address Issues : NetBSD on Xen VM
On 04-Jul-2012, at 10:22 AM, dhaneshk k wrote: List, Please ignore my previous mail with the same subject line because there was a terrible formatting mistake. Please see the attached pdf which briefs the problem in assigning the IP address to the netbsd virtual machine. The Xen VM is running on Debian/ GNU Linux. I am assuming you are trying to get a bridge setup working. What is the bridge configuration in dom0? On a separate note, your email still is not proper. Learn to put contents in an email rather describing your problem in a PDF. Thanks -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 From: sub...@80386.org Date: Wed, 4 Jul 2012 00:06:56 +0530 To: dhanes...@hotmail.com CC: freebsd-questions@freebsd.org Subject: Re: Networking IP Address Issues : NetBSD on Xen VM On 03-Jul-2012, at 12:34 PM, dhaneshk k wrote: The Same problems discussed here were faced. Any hints to solve these issues much appreciated. No hints till you learn how to format your email properly, a basic requirement when posting to a mailing list. Thank you You are welcome. Subhro -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org NETBSD-AS-A-VIRTUAL-MACHINE-IPAddress_Issues.pdf___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tweetless
On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote: On Wed, 4 Jul 2012, Subhro Sankha Kar wrote: Hello, On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote: Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner: Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16) when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully load, give me the slow loading banner, and the page (not browser or X) freezes, but no such problems were evident before, and twitter seems entirely normal in Opera 12.00. Disabling SPDY in about:config (a solution proposed on the net) didn't fix this issue. Another thing that doesn't work is rebuilding firefox from the ground up with portupgrade -fR firefox. Where does it burp? Can you post, say, the last 10-15 lines of the compile? Can you post the contents of about:config and also try to launch FF from command line and see if there is anything interesting reported back? Also, I hope you do not have any funky CFLAGS set in your make.conf? Of course firefox will not run from the command line (Error: no display specified), but there are no messages as firefox fails repeated to load twitter pages fully when firefox is launched in an xterm. Sorry for the ambiguity, I indeed meant to launch FF from xterm (or some equivalent Terminal Emulator in X) and report back the error. But since you say there is no problem with that, guess things should be good. make.conf: QT4_OPTIONS= CUPS WITH_GCC = yes # added by use.perl 2012-07-03 02:17:12 PERL_VERSION=5.16.0 This looks pretty generic, so nothing to complain about. I hate GUIs, so my mouse-fu skills are not good enough to copy about.config, but here is a save as snip Okay, try this out. Go to preferences and disable hardware acceleration. Also go to about:config and search for gfx. Set the property gfx.direct2d.disabled to true. Bounce the browser and go to about:support. At the bottom of the page, GPU Accelerated Windows should read 0/1. See if that makes a difference. Thanks Subhro -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Jailed slapd process not visible with ps within a jail
On 04/07/2012 06:20, Matthias Petermann wrote: When I now do ps aux within the Jail, it doesn't show me the slapd process but doing the same in the Host system, I can see it. [matthias@netti2 /usr/home/matthias]$ ps ax|grep slap 6255 ?? IsJ0:00,06 /usr/local/libexec/slapd -h ldapi://%2fvar%2frun%2fop What I am doing wrong? Did I miss some important fact? What does # ps -uxp 6255 show, from within the jail? (if you've restarted slapd since, substitute the current PID, obviously.) Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Networking IP Address Issues : NetBSD on Xen VM
On 04/07/2012 05:52, dhaneshk k wrote: Please ignore my previous mail with the same subject line because there was a terrible formatting mistake. Please see the attached pdf which briefs the problem in assigning the IP address to the netbsd virtual machine. The Xen VM is running on Debian/ GNU Linux. Please find the attached document for detailed description. Any hints much appreciated. Why do you think asking about NetBSD on a FreeBSD list is going to give you better reesults than asking about NetBSD on a NetBSD list? Or even on a Xen list? Out of all the information in your message, you describe the actual issues pretty baldly. -- unable to set the IP number in a Xen instance * How exactly did you try to set the IP Address manually? * What happened? Showing ifconfig(8) output for the interface concerned would be good. -- avoiding the necessity for human interaction when booting on Amazon EC2 Your description looks as if the netbsd image is stopping at single user mode, which it will do if there are certain problems. A typical reason for this would be the need to run fsck to fix filesystem problems, but there are many other possible causes. Look at the console output just before it prompts you for which shell to run to work out what the actual problem is. Once you've got the system booting up to multi-user correctly, the normal init scripts should take care of running dhclient etc. for you, given that you have configured them properly. Cheers, Matthew PS. FreeBSD runs well as a Xen domU (ie guest) instance, both on generic Xen and on Amazon EC2. See http://wiki.freebsd.org/FreeBSD/Xen FreeBSD doesn't have Xen dom0 (ie host) support yet. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Understanding XDM
2012/7/4 Polytropon free...@edvax.de: On Tue, 3 Jul 2012 23:27:21 -0700 (PDT), sw2wolf wrote: I am using slim to login which can choose Window Manager by pressing F1 key. Can XDM choose Window Manager when loginning ? No, xdm cannot do this. But as far as I remember, wdm can -- it has some look feel of the original CDE display manager and it designed to work well with WindowMaker, but it's a very nice replacement for xdm if you need that specific functionality. It's quite lightweight (compared to gdm or kdm) and easily configurable. xdm is very simple, it just logs you in and runs a shell script. with default settings the shell script just executes your ~/.xinitrc here is an example how to add shutdown button to xdm http://neilt.org/computing/xdmshutdownbutton.php you can use it as an example to hack your own 'change wm' feature, or just use some xdm replacement that has that. Cheers, Łukasz Gruner ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WITHOUT_MODULES in /etc/make.conf doesn't work
from Polytropon free...@edvax.de: Yes, /etc/src.conf uses WITHOUT_* on a per-module basis, so you need to explicitely name the modules not to build. But you're right, there's only WITHOUT_USB (for not building the USB-related parts), so going with kernel configuration would be a good point to start -- the more precise you can define your test setting and its variables, the better you can diagnose the problem. In /etc/make.conf, you could use MODULES_OVERRIDE to define the set of modules you want (because only _those_ will then be build) and keeping their functionality out of the kernel. In this case, you have control over your test setting using the modules. The same files offers NO_MODULES=yes to avoid building modules at all (use custom kernel instead). If you decide to use WITHOUT_MODULES, you can define the set of modules you want to avoid building, everything else will be built. Would WITHOUT_MODULES= ulpt work better in /etc/src.conf than in /etc/make.conf ? No, /etc/src.conf as (according to its manpage) a defined set of variables that will be considered when building (or _not_ building) certain modules. Besides the toxic (?) ulpt.ko, there are a lot of modules that would never be used on my hardware, and other modules that could be built in the kernel as non-modules (such as support for msdosfs and ext2fs, which I don't want to be without). That's a good setting for using a custom kernel and not even building the modules for the non-used functionalities. :-) I suppose modules save RAM by being loaded only when needed, but see the virtue of NO_MODULES=yes or MODULES_OVERRIDE in combination with putting everything needed in kernel config. Building WITHOUT_USB would cause a severe loss of functionality, USB sticks, USB hard drives, even USB mice and keyboards wouldn't work. from Jakub Lach jakub_l...@mailplus.pl: Try with: WITHOUT_MODULES= usb/ulpt I'll have to try that on my build/update of FreeBSD 9.0_STABLE i386 on USB stick. Thanks for the hint! This would be from the USB stick but with source base directory /STABLE1/usr/src (on hard drive). I had already built FreeBSD 9.0_STABLE i386 on the USB stick from FreeBSD 9.0_STABLE amd64, and was successful booting that USB stick. Sort of a dirty trick that you have to use usb/ulpt as opposed to ulpt, and a deficiency in the documentation. Now is there any way to prevent ulpt.ko from loading when a USB printer is connected? Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Understanding XDM
On Wed, 4 Jul 2012 10:40:05 +0200, uki wrote: 2012/7/4 Polytropon free...@edvax.de: On Tue, 3 Jul 2012 23:27:21 -0700 (PDT), sw2wolf wrote: I am using slim to login which can choose Window Manager by pressing F1 key. Can XDM choose Window Manager when loginning ? No, xdm cannot do this. But as far as I remember, wdm can -- it has some look feel of the original CDE display manager and it designed to work well with WindowMaker, but it's a very nice replacement for xdm if you need that specific functionality. It's quite lightweight (compared to gdm or kdm) and easily configurable. xdm is very simple, it just logs you in and runs a shell script. with default settings the shell script just executes your ~/.xinitrc I always thouzght startx (so xinit) executes ~/.xinitrc, and xdm executes ~/.xession. In fact, I have a cascade for this, so I can use whatever I want. This is .xsession: #!/bin/csh source ~/.cshrc exec ~/.xinitrc It does simply obtain the settings for the dialog shell (in this case, the C shell, the system's default dialog shell) and continues executing as .xinitrc, just as if it had been called vial startx (so xinit command). And .xinitrc contains the usual stuff, ending in calling the window manager desired: #!/bin/sh [ -f ~/.xmodmaprc ] xmodmap ~/.xmodmaprc # ... other stuff ... xsetroot -solid rgb:3b/4c/7a xset b 100 1000 15 xset r rate 250 30 xset s off xset -dpms exec wmaker This of course does not taking into account _changing_ the window manager while logging in! here is an example how to add shutdown button to xdm http://neilt.org/computing/xdmshutdownbutton.php you can use it as an example to hack your own 'change wm' feature, or just use some xdm replacement that has that. Interesting extension, thanks! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: WITHOUT_MODULES in /etc/make.conf doesn't work
Sort of a dirty trick that you have to use usb/ulpt as opposed to ulpt, and a deficiency in the documentation. No, I'm just borderline sure that WITHOUT_MODULES works the same way as MODULES_OVERRIDE, that is it looks in top directory in /usr/src/sys/modules/ and ulpt is in /usr/src/sys/modules/usb/ulpt Speaking of RAM savings, things you would always load should be compiled in kernel, modules per design take more RAM than compiled in stuff. -- View this message in context: http://freebsd.1045724.n5.nabble.com/WITHOUT-MODULES-in-etc-make-conf-doesn-t-work-tp5723832p5724110.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how to update the revision information
Hi All, The blow information can be found when we boot up the system, also can use command uname -v my question is how can I change this, and I cannot rebuild it ,because on my freebsd, I dont have src anymore . [image: Inline image 1] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Jailed slapd process not visible with ps within a jail
Hi Matthew, thanks for your response. On Wed, 04 Jul 2012 08:05:00 +0100 Matthew Seaman matt...@freebsd.org wrote: What does # ps -uxp 6255 show, from within the jail? (if you've restarted slapd since, substitute the current PID, obviously.) This is funny, I restarted the whole system since my last mail and now I cannot reproduce the issue. The process shows up in both the host and the jail. When I had the issue I also tried the ps aux without grep but did not see the process too. Actually the jail is very thin, so this could be overseen. Following man(1) the -p switch does apply a filter by process id, I guess the process should have been visible also without? Kind regards, Matthias -- Matthias Petermann matth...@d2ux.net ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tweetless
On Wed, 4 Jul 2012, Subhro Sankha Kar wrote: On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote: On Wed, 4 Jul 2012, Subhro Sankha Kar wrote: Hello, On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote: Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner: Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16) when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully load, give me the slow loading banner, and the page (not browser or X) freezes, but no such problems were evident before, and twitter seems entirely normal in Opera 12.00. Disabling SPDY in about:config (a solution proposed on the net) didn't fix this issue. Another thing that doesn't work is rebuilding firefox from the ground up with portupgrade -fR firefox. Where does it burp? Can you post, say, the last 10-15 lines of the compile? Oh, no, the rebuilds go perfectly. What I meant was, it does not work to solve the problem. Can you post the contents of about:config and also try to launch FF from command line and see if there is anything interesting reported back? Also, I hope you do not have any funky CFLAGS set in your make.conf? Of course firefox will not run from the command line (Error: no display specified), but there are no messages as firefox fails repeated to load twitter pages fully when firefox is launched in an xterm. Sorry for the ambiguity, I indeed meant to launch FF from xterm (or some equivalent Terminal Emulator in X) and report back the error. But since you say there is no problem with that, guess things should be good. make.conf: QT4_OPTIONS=CUPS WITH_GCC = yes # added by use.perl 2012-07-03 02:17:12 PERL_VERSION=5.16.0 This looks pretty generic, so nothing to complain about. I hate GUIs, so my mouse-fu skills are not good enough to copy about.config, but here is a save as snip Okay, try this out. Go to preferences and disable hardware acceleration. Also go to about:config and search for gfx. Set the property gfx.direct2d.disabled to true. Bounce the browser and go to about:support. At the bottom of the page, GPU Accelerated Windows should read 0/1. See if that makes a difference. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD vs Hurd what is the differences?
http://pastehtml.com/view/c3kw80dyq.html - Does anyone know if FreeBSD core developers left FreeBSD to work in Google? What will be the future of FreeBSD and Google? FreeBSD vs Hurd what is the differences? Is this Hurd now made for Google by FreeBSD? -- View this message in context: http://freebsd.1045724.n5.nabble.com/FreeBSD-vs-Hurd-what-is-the-differences-tp5724143.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to update the revision information
On 04/07/2012 12:13, Bill Yuan wrote: The blow information can be found when we boot up the system, also can use command uname -v Unfortunately the mailing list software has stripped your attachment. For this sort of thing, its good to put your image up on a pastebin site and include the link in your e-mail. my question is how can I change this, and I cannot rebuild it ,because on my freebsd, I dont have src anymore . Well, the info that uname(1) prints out is generated from the source code at compile time. Recompiling the kernel, or updating the kernel via eg. freebsd-update(8) are the only ways to change it. If you're asking about the perennial I just security-patched my system with freebsd-update, but uname still shows the old patch-level thing, then yeah. Unless freebsd-update supplies you with a whole new kernel image, which only happens when a security bug involves the kernel, then the uname output will not be changed. It's a flaw, but any solutions involving being able to tweak uname settings without changing kernels open up a whole can of security worms[*] which are, on the whole, worse than living with some mildly outdated data. Cheers, Matthew [*] J. Random Blackhat could fake you into thinking the system was patched and up to date when in fact it was still vulnerable to exploitation. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: FreeBSD vs Hurd what is the differences?
On 04/07/2012 13:47, IamTrying wrote: http://pastehtml.com/view/c3kw80dyq.html - Does anyone know if FreeBSD core developers left FreeBSD to work in Google? What will be the future of FreeBSD and Google? Yes, there are some FreeBSD developers who have gone to work for Google and have subsequently not been particularly active in the FreeBSD project. Same goes for Apple -- case in point being Jordan Hubbard, one time pretty much the leader of the FreeBSD project, now some incredibly important bod within Apple. It doesn't always happen that way round. Ben Laurie, for instance, had been working for Google for many years before becoming a FreeBSD committer. (Of course, his involvement with Apache and OpenSSL long pre-dated his joining Google.) Developers come and go, and always have done. It's the same for any reasonably long-lived open source project. Nothing new and nothing to be alarmed at. FreeBSD vs Hurd what is the differences? Is this Hurd now made for Google by FreeBSD? FreeBSD and Hurd are two completely different operating systems. As far as I know, Google has no particular interest in either of them, although it does support such projects in general through things like Summer of Code and sponsoring various collaborations. See for instance https://www.cl.cam.ac.uk/research/security/capsicum/ for a project with a great deal of involvement by both Google and FreeBSD developers. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: Tweetless
On Wed, 4 Jul 2012, Subhro Sankha Kar wrote: On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote: On Wed, 4 Jul 2012, Subhro Sankha Kar wrote: Hello, On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote: Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner: Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16) when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully load, give me the slow loading banner, and the page (not browser or X) freezes, but no such problems were evident before, and twitter seems entirely normal in Opera 12.00. Disabling SPDY in about:config (a solution proposed on the net) didn't fix this issue. Okay, try this out. Go to preferences and disable hardware acceleration. Could not find this. Also go to about:config and search for gfx. Set the property gfx.direct2d.disabled to true. Did not exist, so I edited prefs.js directly. Bounce the browser and go to about:support. At the bottom of the page, GPU Accelerated Windows should read 0/1. See if that makes a difference. Adapter Description GLXtest process failed (exited with status 1): GLX version older / than the required 1.3 WebGL Renderer: Blocked for your graphics card because of unresolved driver issues. GPU Accelerated Windows: 0. Blocked for your graphics driver version. / Try updating your graphics driver to version / Anything with EXT_texture_from_pixmap support or newer. The only drivers that work with this machine (Intel G33) are intel and vesa. The intel driver does occasionally freeze X entirely requiring a boot, but this is not what happens when trying to load twitter pages. Anyway, above did not help with problem at hand. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?
Good day to all. What is the correct way to distinguish udp packets that obtained by application and were send on 255.255.255.255 ip addr from those that were send to unicast ip? Seems it is impossible with read/recvfrom so we'v made that with libpcap. It coul be done with directly bpf api without pcap wrapper but i'm not sure about how big pcap overhead is. The questions is if we have about 1Gb incoming traffic and using pcap filter for specific port how big is impact of using pcap in such situation? Is it possbile to estimate? Target traffic is about 1Mbit and while testing CPU is about 1-2% but i'm not sure about all the conditions. recfrom recieves all the data without loss in such condition, is it possible that pcap because of its filtering nature(i dont know in details how bpf is realized deep in kernel:( ) will add big overhead while listening? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?
On Jul 4, 2012, at 6:08 PM, Budnev Vladimir wrote: Good day to all. What is the correct way to distinguish udp packets that obtained by application and were send on 255.255.255.255 ip addr from those that were send to unicast ip? Seems it is impossible with read/recvfrom so we'v made that with libpcap. It coul be done with directly bpf api without pcap wrapper but i'm not sure about how big pcap overhead is. The questions is if we have about 1Gb incoming traffic and using pcap filter for specific port how big is impact of using pcap in such situation? Is it possbile to estimate? Target traffic is about 1Mbit and while testing CPU is about 1-2% but i'm not sure about all the conditions. recfrom recieves all the data without loss in such condition, is it possible that pcap because of its filtering nature(i dont know in details how bpf is realized deep in kernel:( ) will add big overhead while listening? ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org If I'm understanding your question correctly you can lookup the ip(4) manual page : If the IP_RECVDSTADDR option is enabled on a SOCK_DGRAM socket, the recvmsg call will return the destination IP address for a UDP datagram. The msg_control field in the msghdr structure points to a buffer that contains a cmsghdr structure followed by the IP address. The cmsghdr fields have the following values: You can use this in you application and get the destination address of the packets be it unicast IP or the broadcast address.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to correctly distinguish broadcast udp packets vs unicast (socket, pcap or bpf)?
07/04/12 19:37, Nikolay Denev пишет: On Jul 4, 2012, at 6:08 PM, Budnev Vladimir wrote: Good day to all. What is the correct way to distinguish udp packets that obtained by application and were send on 255.255.255.255 ip addr from those that were send to unicast ip? Seems it is impossible with read/recvfrom so we'v made that with libpcap. It coul be done with directly bpf api without pcap wrapper but i'm not sure about how big pcap overhead is. The questions is if we have about 1Gb incoming traffic and using pcap filter for specific port how big is impact of using pcap in such situation? Is it possbile to estimate? Target traffic is about 1Mbit and while testing CPU is about 1-2% but i'm not sure about all the conditions. recfrom recieves all the data without loss in such condition, is it possible that pcap because of its filtering nature(i dont know in details how bpf is realized deep in kernel:( ) will add big overhead while listening? ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to freebsd-net-unsubscr...@freebsd.org If I'm understanding your question correctly you can lookup the ip(4) manual page : If the IP_RECVDSTADDR option is enabled on a SOCK_DGRAM socket, the recvmsg call will return the destination IP address for a UDP datagram. The msg_control field in the msghdr structure points to a buffer that contains a cmsghdr structure followed by the IP address. The cmsghdr fields have the following values: You can use this in you application and get the destination address of the packets be it unicast IP or the broadcast address. Tnx for fast response! Hm... seems if it will work it will help. I'll test that as soon as possbile! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD vs Hurd what is the differences?
Hi, Reference: From: IamTrying iamtrying.t...@gmail.com Date: Wed, 4 Jul 2012 05:47:06 -0700 (PDT) Message-id: 1341406026965-5724143.p...@n5.nabble.com IamTrying wrote: http://pastehtml.com/view/c3kw80dyq.html - Does anyone know if FreeBSD core developers left FreeBSD to work in Google? What will be the future of FreeBSD and Google? FreeBSD vs Hurd what is the differences? Is this Hurd now made for Google by FreeBSD? Additional to all the useful things Matthew wrote, I'd add: IamTrying could/should have read such Basic stuff on many webs/ search engines, inc Wikipedia. no need to ask here: More efficient for community if IamTrying read there. Less writing work, per more readers, more carefully researched cross checked linked facts etc. My memory: Hurd for many years was GNU/FSF's dream / vapourware OS, a few bits but not a complete OS (kernel, compiler, cd /usr/src ; make world ) most of us ignored it got on with BSD lcensed BSD code. Later Linux arrived, maybe a decade later Hurd finaly arrived as an OS no longer bits; most of us in BSD continued to ignore it. It's FSF, we in BSD prefer BSD licenced stuff. http://en.wikipedia.org/wiki/GNU_Hurd GNU General Public License Minix3 exists too. Yup Minix isn't dead http://en.wikipedia.org/wiki/Minix3 Mach exists or use to, various OSs if you're browsing: http://en.wikipedia.org/wiki/Operating_system Includes ref. to google chrome. Have fun reading :-) Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
adding new cipher support to kernel
Hi, My name is Dylan, I want to add support for the AES-GCM cipher to the kernel. I am currently using strongswan for an IPsec build and need ESP to use the AES-GCM algorithm. Any info is appreciated, Thanks for your time, Dylan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Understanding XDM
and xdm executes ~/.xession. In fact, I have a cascade xdm file specified in xdm-config default file Xsession try running ~/.xsession otherwise run other defaults. nothing is hardwired. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD vs Hurd what is the differences?
the major difference between Hurd and FreeBSD is that FreeBSD actually work. http://pastehtml.com/view/c3kw80dyq.html - Does anyone know if FreeBSD core developers left FreeBSD to work in Google? What will be the future of FreeBSD and Google? single man from FreeBSD is listed and other from FreeBSD docs. FreeBSD vs Hurd what is the differences? Is this Hurd now made for Google by FreeBSD? -- View this message in context: http://freebsd.1045724.n5.nabble.com/FreeBSD-vs-Hurd-what-is-the-differences-tp5724143.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: adding new cipher support to kernel
On 04/07/2012 19:22, Dylan Castine wrote: I want to add support for the AES-GCM cipher to the kernel. I am currently using strongswan for an IPsec build and need ESP to use the AES-GCM algorithm. Any info is appreciated, Hi, Dylan, I suggest you enquire via the freebsd-hackers@ list, as that will attract the attention of a lot more of the right sort of kernel developers. The project is always very happy to receive patches, but it does have an unfortunate tendency not to notice stuff that's just submitted via send-pr(1). The trick is to get in contact with developers having an interest in that area and draw their attention to your PRs. Don't be downhearted if they critique your contributions quite stringently: that means they see potential in them. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: adding new cipher support to kernel
Soory the previous email had the wrong destinaton. A patch has been submitted to one of the commiters. It is in the process of being commited/approved/looked at (I not sure what to call it.) Riaan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: video buffer location
On Mon, Jul 02, 2012 at 05:46:00PM +0200, Wojciech Puchar wrote: I would recommend you to remove flash at all. It actually improves web browsing experience, removing problems with constant CPU load because you have few tabs with flash crap running, and will teach you good habit of actually OWN all interesting things ON YOUR DISK, not on the internet that happens to disappear in a short time. Great idea. Thank you. The difference is really tremendous. I've added though a tiny script to switch flash off and on with nspluginwrapper. Could be useful on some occasion. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD vs Hurd what is the differences?
On Wed, Jul 4, 2012 at 8:29 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: the major difference between Hurd and FreeBSD is that FreeBSD actually work. http://pastehtml.com/view/c3kw80dyq.html - Does anyone know if FreeBSD core developers left FreeBSD to work in Google? What will be the future of FreeBSD and Google? single man from FreeBSD is listed and other from FreeBSD docs. Can someone post the content of that link. I only see a stack of This page was viewed but no actual content. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: video buffer location
On Wed, 4 Jul 2012 22:34:21 +0200 Harald Weis wrote: On Mon, Jul 02, 2012 at 05:46:00PM +0200, Wojciech Puchar wrote: I would recommend you to remove flash at all. It actually improves web browsing experience, removing problems with constant CPU load because you have few tabs with flash crap running, and will teach you good habit of actually OWN all interesting things ON YOUR DISK, not on the internet that happens to disappear in a short time. Great idea. Thank you. The difference is really tremendous. I've added though a tiny script to switch flash off and on with nspluginwrapper. Could be useful on some occasion. Actually Opera already has a setting: Enable plug-ins only on demand (under preferences-advanced-content). It disables all plugins by default and you can click on an individual placeholder to enable a plug-in for a specific object, so you can watch a flash movie or turn on a flash navigation menu without having to turn-on any flash adverts on the same page. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD vs Hurd what is the differences?
Carsten Mattner wrote: On Wed, Jul 4, 2012 at 8:29 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: the major difference between Hurd and FreeBSD is that FreeBSD actually work. http://pastehtml.com/view/c3kw80dyq.html - Does anyone know if FreeBSD core developers left FreeBSD to work in Google? What will be the future of FreeBSD and Google? single man from FreeBSD is listed and other from FreeBSD docs. Can someone post the content of that link. I only see a stack of This page was viewed but no actual content. Thats what shows with lynx Firefox shows some boring page beginnning - The tables below, list some of Google's eclectic mix of open source luminaries grouped by project. No doubt I've forgotten some, so don't hesitate to contact me with corrections/additions. Note also this list of Google's open source projects. Python Guido Van Rossum Python creator Alex Martelli Python Cookbook, ... Brett Cannon Python Jeremy Hylton Zope I'll skip the rest, Yawn. Firefox also runs some script. Doing a page save tar cf ends with a tar image containing datetime|datetime-local|email|hidden|month|number|password|range|search|tel|te I've long been thinking I / one should run firefox inside a chroot or jail to it can't harvest ? Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below not above, cumulative like a play script, indent with . Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. Mail from @yahoo dumped @berklix. http://berklix.org/yahoo/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How can i decrease memory occupied by xorg ?
An old i386 box has only 512M RAM. PID USERNAMETHR PRI NICE SIZERES STATE C TIME WCPU COMMAND ... 1121 sw2wolf 8 200 299M 128M uwait 1 5:22 0.59% opera 1083 root 1 210 99444K 11544K select 0 1:28 0.00% Xorg 1096 sw2wolf 1 200 25136K 2412K select 0 0:00 0.00% xterm 1101 sw2wolf 1 200 10948K 1576K pause 1 0:00 0.00% csh 1081 root 1 200 19448K 1564K wait0 0:00 0.00% slim 1124 sw2wolf 1 200 34376K 1496K select 1 0:00 0.00% gam_server 1086 sw2wolf 1 200 10992K 1136K select 1 0:00 0.00% dwm 1100 sw2wolf 1 200 10060K 1080K select 0 0:01 0.00% tmux 722 root 1 200 9612K 732K select 1 0:00 0.00% syslogd 1098 sw2wolf 1 520 10060K 672K select 0 0:00 0.00% tmux 965 root 1 200 9716K 660K select 0 0:05 0.00% moused ... Of course, opera is a big customer of RAM which i cannot decrease its memory usage. then can i descrease the xorg's resident memory ? Sincerely! - e^(π.i) + 1 = 0 -- View this message in context: http://freebsd.1045724.n5.nabble.com/How-can-i-decrease-memory-occupied-by-xorg-tp5724311.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: how to update the revision information
Thanks very much, I found the source code of the loader, on the newvers.sh it will generate a vers.c I changed this script, and manually created this vers.c file. it will be inlcude in all other sources. and it contains all system version. that's my way to change it . thanks, On Wed, Jul 4, 2012 at 9:43 PM, Matthew Seaman matt...@freebsd.org wrote: On 04/07/2012 12:13, Bill Yuan wrote: The blow information can be found when we boot up the system, also can use command uname -v Unfortunately the mailing list software has stripped your attachment. For this sort of thing, its good to put your image up on a pastebin site and include the link in your e-mail. my question is how can I change this, and I cannot rebuild it ,because on my freebsd, I dont have src anymore . Well, the info that uname(1) prints out is generated from the source code at compile time. Recompiling the kernel, or updating the kernel via eg. freebsd-update(8) are the only ways to change it. If you're asking about the perennial I just security-patched my system with freebsd-update, but uname still shows the old patch-level thing, then yeah. Unless freebsd-update supplies you with a whole new kernel image, which only happens when a security bug involves the kernel, then the uname output will not be changed. It's a flaw, but any solutions involving being able to tweak uname settings without changing kernels open up a whole can of security worms[*] which are, on the whole, worse than living with some mildly outdated data. Cheers, Matthew [*] J. Random Blackhat could fake you into thinking the system was patched and up to date when in fact it was still vulnerable to exploitation. -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How can i decrease memory occupied by xorg ?
It is in ports: http://www.freedesktop.org/wiki/Software/xrestop jb ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD vs Hurd what is the differences?
IamTrying == IamTrying iamtrying.t...@gmail.com writes: IamTrying http://pastehtml.com/view/c3kw80dyq.html Since that's a useless URL... do you have other links to the same information? -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/ Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.posterous.com/ for Smalltalk discussion ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Tweetless
On 04-Jul-2012, at 7:44 PM, Lars Eighner wrote: On Wed, 4 Jul 2012, Subhro Sankha Kar wrote: On 04-Jul-2012, at 1:59 AM, Lars Eighner wrote: On Wed, 4 Jul 2012, Subhro Sankha Kar wrote: Hello, On 03-Jul-2012, at 9:14 PM, Tobias Rehbein wrote: Am Tue, Jul 03, 2012 at 01:04:07AM -0500 schrieb Lars Eighner: Call me crazy, but it seems that since the perl bump (5.12 - threaded-5.16) when firefox (13.0.1,1) got rebuilt, it seems twitter pages do not fully load, give me the slow loading banner, and the page (not browser or X) freezes, but no such problems were evident before, and twitter seems entirely normal in Opera 12.00. Disabling SPDY in about:config (a solution proposed on the net) didn't fix this issue. Let us for a minute assume that there is nothing wrong with FF. How about installing Firebug and see in the Net tab that what precisely is happening when you load the Twitter main page? Is it waiting for apparently no reason at a particular place? Also, not strictly required, but can you also pass the traffic through something like LiveHTTPHeaders and post a traffic dump? As a third step, run a pcap session and see what is happening on the wire/air ? Adapter Description GLXtest process failed (exited with status 1): GLX version older / than the required 1.3 WebGL Renderer: Blocked for your graphics card because of unresolved driver issues. GPU Accelerated Windows: 0. Blocked for your graphics driver version. / Try updating your graphics driver to version / Anything with EXT_texture_from_pixmap support or newer. This probably means that none of the advanced rendering stuff work on your X setup. The only drivers that work with this machine (Intel G33) are intel and vesa. The intel driver does occasionally freeze X entirely requiring a boot, but this is not what happens when trying to load twitter pages. This is a completely distinct problem but probably it would be interesting to try and figure out why Graphics Acceleration is not working. I have very limited experience with Intel Graphics chipsets. In the i915 days, there used to be something called AIGLX which required some explicit configuration in xorg.conf. Could you check on that? Thanks -- Subhro Sankha Kar System Administrator Working and Playing with FreeBSD since 2002___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org