Re: OT - Perl Question

2003-11-11 Thread Fernando Gleiser
On Tue, 11 Nov 2003, Darryl Hoar wrote: > > if ( $nation eq "British" or $nation eq "New Zealand" ) > { > print "Hallo $name, pleased to meet you!\n"; > > } > > when I try to run it, it generates a compile errors on the > if line. > > I know its the conditional test, but don't know how to fix >

Problems with mpd in pptp mode

2003-11-28 Thread Fernando Gleiser
I'm trying to set up mpd as a pptp client to a remote server. It authenticates right and setts up the tunnel, but it doesn't quite work. I narrowed the problem to sone nasty routing problem, because the pptp server's IP, as defined in mpd.links is the same as the remote ip of the ng1 interface.

mpd as a VPN client to a Cisco Concentrator

2003-11-28 Thread Fernando Gleiser
I solved the former problem I was having to route to GRE packets trhough the VPN. But it still doesn't work :( The tunel builds fine, I authenticate, I got an IP, the routing is properly set up, but as soon as a try to send anything through the tunnel, MPS starts to vive the folowing errors: [mp

Re: IPFILTER & active ftp client

2003-12-03 Thread Fernando Gleiser
On Wed, 3 Dec 2003, fbsd_user wrote: > > I have this rule in my Nat rules file. I can see my filter rule > allow the FTP request to pass through, but I don't see packet return > back on high port number for data transmission. IT looks like the > NAT proxy is not opening hole for return data port.

Re: awk question, maybe

2003-12-15 Thread Fernando Gleiser
On Mon, 15 Dec 2003, David Bear wrote: > i would like to do something like > > df | awk '{print $1}' > > to capture all the current file systems. But I would like to strip > off the first and last lines, since these are generally -- not needed. df | awk '$1 ~/^\/dev/ {print $1}'

Re: Can't traceroute to my box

2003-12-26 Thread Fernando Gleiser
On Fri, 26 Dec 2003, Frank DeChellis wrote: > Hi. > > I am new to FreeBSD. I have been using NetBSD for about 9 years. I have > FreeBSD v. 4.8 Release #1 running. Everything is smooth expect for one > thing. > > I can't traceroute to the box. I can do a traceroute -I to it, but not a > regular

RE: [WAAAY OT]

2004-07-03 Thread Fernando Gleiser
On Thu, 1 Jul 2004, Mike Jeays wrote: > I am afraid it doesn't stand for impedance. It is the symbol used for > current throughout electromagnetic theory, and I don't think it does > stand for an English word. It isn't impedance. impedance is equivalent to resistance in mixed (with both reactive

Re: Nessus scan of FreeBSD 5.2.1 shows old version of ssh

2004-07-19 Thread Fernando Gleiser
On Mon, 19 Jul 2004, Ray Seals wrote: > I just ran a Nessus scan against one of my machines. The scan triggered > on a version of ssh older than 3.7.1. It's a false positive. Nessus just checks the version number, it doesn't try to exploit the vulnerability to find if the system is indeed vulner

Re: Perl split() question (OT)...

2004-07-23 Thread Fernando Gleiser
On Fri, 23 Jul 2004, Steve Bertrand wrote: > Perl hackers -- Figured someone would have a reasonably quick, easy answer > for this: > > I am trying to read through a file, line-by-line, and I want to extract > the text in between the [ and ] characters. This is a job for..capturing parens!!!

web-based password checking tool?

2004-12-14 Thread Fernando Gleiser
I have a FreeBSD box with more then 400 accounts. the users are non-technical, administrative kind of persons. The box is working as a mail server, with sendmail as MTA and cyrus IMAPd, authenticating against the system files (/etc/master.passwd) not using SASL. I need a web based tool to let the

Re: mpd PPTP to Cisco 3000 VPN Concentrator routing problem

2004-01-08 Thread Fernando Gleiser
On Thu, 8 Jan 2004, Joe Marcus Clarke wrote: > > Good luck. I have tried to get this working, but have never been able > to get mpd encryption to work with the Concentrator's encryption > (neither has anyone else to my knowledge). If you disable encryption on > the concentrator, the tunnel will

Re: using ipfw and ipf/ipnat together

2004-02-17 Thread Fernando Gleiser
On Tue, 17 Feb 2004, Nelis Lamprecht wrote: > Hi, > > I would like to make use of ipfw/dummynet traffic shaper and use it > together with ipnat/ipf's filtering. Hope this is possible ? It works fine > > Can someone suggest what I would or would not need to use in my rc.conf > and kernel please.

Re: IPMON Format ???

2003-09-11 Thread Fernando Gleiser
On Thu, 11 Sep 2003 [EMAIL PROTECTED] wrote: > === > Sep 11 14:52:46 fox ipmon[47]: 14:52:45.248487 2x ed1 @0:3 P > 196.23.158.10,25 -> 196.22.178.91,26704 PR tcp len 20 40 -A K-S > OUT > === > > I have been able to figure out what it all means by re

Re: FreeBSD & SPAM

2003-10-03 Thread Fernando Gleiser
On Fri, 3 Oct 2003, Joseph Koenig wrote: > I know this is an issue that comes up a lot, but I wanted to get an opinion > from some people on the list. We, along with everyone else, have TONS of > SPAM hit our server. Unfortunately, we haven't found any good way to reduce > it. We're using ORDB and

cdrdao with IDE burners?

2003-10-06 Thread Fernando Gleiser
My trusty SCSI CD burner is dying a slow death, so I'm thinking about getting a new one. The problem is SCSI drives are very expensive now when compared to an ATAPI one and I have a small budget. I use cdrdao a lot for music and video CDs and cdrecord for data CDs. do those tools work with ATAPI d

Re: IPF and Routing

2003-10-07 Thread Fernando Gleiser
On Tue, 7 Oct 2003, Luke Kearney wrote: > > Hello, > I have question regarding IPNat and routing. The situation is that I > need to setup a network where each machine gets a unique global IP > address from behind a firewall which performs NAT. I have 16 addresses > so my question is can I alias 14

Re: ipf - sample rulesets

2003-10-09 Thread Fernando Gleiser
On Thu, 9 Oct 2003 [EMAIL PROTECTED] wrote: > Hi all. > > Are there any good references and/or sample ipf rulesets that I could use to > look-and-learn from. Search google for the IPF HOWTO and the FAQ. Fer ___ [EMAIL PROTECT

Re: mjpegtools won't compile

2003-10-14 Thread Fernando Gleiser
On Tue, 14 Oct 2003, Heinrich Rebehn wrote: > Hi lists, > > when i try to compile the mjpegtools port under 5.1, i get: [snip] > > Is anybody able to compile this? I tried to compile mjpeg tools some time ago and I got the same error. I was lucky it was in lav2divx which I didn't need, so I copi

Re: Unable to delete empty directory /var/tmp/temproot

2003-11-03 Thread Fernando Gleiser
On Mon, 3 Nov 2003, David Jenkins wrote: > > I have also tried: > > # chflags noschg empty/ > chflags: empty/: Operation not permitted > chflags: empty/: Operation not permitted > > # chmod -R 0700 empty/ > chmod: empty/: Operation not permitted > > Please could someone point me in the right direc

mplayer crashing?

2004-04-06 Thread Fernando Gleiser
I updated my home PC to a new 2.4 Athlon, ASRock motherboard and 256MB RAM. So far it works fine, but every time I try to play a movie which requires a Wwindows codec (.mov, .wmf) mplayer crashes with "Ilegal Instruction" it works fine with MPEG or aVI files. Does anyone have any pointer about ho

Re: LAN connection speed ..

2004-04-08 Thread Fernando Gleiser
On Thu, 8 Apr 2004, Mazen S. Alzogbi wrote: > Hi, > > How can I figure out what's the speed (10Mpbs or 100Mbps) of the LAN > connection point which my FreeBSD laptop is connected to? type 'ifconfig -a' look at the 'media' line, it should say the speed and duplex mode. F

Re: Creating ISO image question

2004-05-17 Thread Fernando Gleiser
On Mon, 17 May 2004, Stephen Liu wrote: > HI folks, > > I tried to solve following questions on creating ISO > image with reference to 'man mkisofs' but could not > resolve; Take a look at /usr/share/examples/worm/makecdfs.sh It's a shell script the FreeBSD team uses for making the FreeBSD ISOs

Re: Creating ISO image question

2004-05-17 Thread Fernando Gleiser
On Tue, 18 May 2004, Stephen Liu wrote: > Hi Fernando, > > Tks for your advice. > > I read the file 'makecdfs.sh' and > /usr/share/examples/worm/Readme. The latter explains > the use of > > burncd.sh mybigtestimage dummy > > But I could not discover the 'Readme' for > 'makecdfs.sh' explaining how

Re: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread Fernando Gleiser
On Mon, 31 May 2004, hugle wrote: > The question in what machine do i need? > What CPU and how much of ram ? I set up a firewall for more than 300 users, a DMZ with a public webserver, webmail and MX on a PII-350MHz with 128 MB RAM. On another client, I set up a firewall for 50 users with a Pent

Re[2]: routing for 1000 users and 10Mbit internet.

2004-05-31 Thread Fernando Gleiser
On Mon, 31 May 2004, hugle wrote: > dammit.. > why then my users eats so much CPU? > look: > CPU states: 0.0% user, 0.0% nice, 0.8% system, 38.0% interrupt, 61.2% idle > Mem: 21M Active, 177M Inact, 133M Wired, 1228K Cache, 199M Buf, 1677M Free > > I have only 61% idle ? > usualy i have ~50 idl

Re: Converting/Manipulating RPMs for FBSD environment

2004-06-07 Thread Fernando Gleiser
On Mon, 7 Jun 2004, Gerard Samuel wrote: > A few weeks ago, I purchased a network printer, but unfortunately, > I was unable to print to it from FreeBSD. > They (Brother), recently release LPR drivers for the printer, but > unfortunately, only as RPMs, intended for Linux distros. > I have installe

Re: Anti-Spam app for sendmail

2004-06-08 Thread Fernando Gleiser
On Tue, 8 Jun 2004, Thomas Farrell wrote: > cpan mods needed. I am using mailmonitor & sophos sweep works great I can > block files or file extentions types, block subject content, quarantine > infected attachments, attempt to clean them. You can go to sophos.com and > fill out evalutaions for

Re: [OT] VPN issues with some windows users...

2004-08-17 Thread Fernando Gleiser
On Tue, 17 Aug 2004, Eric Crist wrote: > Hello all, > > I'm sorry this is a bit off-topic, but you're the only truly > knowledgable group I know. ;) Some fellow users and I have been having > some issues connecting to a Cisco VPN system with the built-in windows > VPN software. While successfull

Re: VPN over IPSEC

2004-08-18 Thread Fernando Gleiser
On Wed, 18 Aug 2004, Atanas Davarsky wrote: > Hi, i am Bulgaria from. I use FreeBsd about 2 years, and i am very > impressed. > After read in detail "VPN over IPSEC" from handbook, I can't find a solution > how to run VPN server if the remote clients are with dynamic ip adresses. > Thank you You

Problems compiling Gtk code

2004-08-29 Thread Fernando Gleiser
I'm trying to build a GIMP pluging for RAW files. There isn't a port for it and the plugin suffers from the "All the world's Linux" disease. The plugin doesn't use autoconf or anything similar, just the makefile and a .c file. So far I could make it compile by adding the corresponding -I flags to

Re: bash = default

2004-09-03 Thread Fernando Gleiser
On Fri, 3 Sep 2004, messmate wrote: > Hello, > sorry but i'm more confortable with bash, so > how can i obtain my bash -i on the login ? > (Without doing a 'bash -i' after the login.) use chsh Fer ___ [EMAIL PROTECTED] mailing list htt

Re: pdflatex port?

2004-09-09 Thread Fernando Gleiser
On Thu, 9 Sep 2004, Florian Hengstberger wrote: > Hi! > > I´m unseccussfully searching for a pdflatex port! > dvips and ps2pdf or something does not meet my needs. > > Case there is no port: is there something equivalent? It is installed as part of teTeX-base Fer ___

Re: snort+mysql+acid

2004-09-22 Thread Fernando Gleiser
On Thu, 23 Sep 2004, kinux wrote: > hi, > > > Then seach the web, found someone has been report with this problem at > July, http://archives.neohapsis.com/archives/snort/2004-07/0377.html it > seems the problem still exist. i tried to follow the method to make it > work but failure. > > Is there

Re: Convert WMV to AVI, MOV or ASF format

2004-10-05 Thread Fernando Gleiser
On Tue, 5 Oct 2004, Gerard Seibert wrote: > I need a program to convert WMV video files to either AVI, MOV or ASF > format. Could someone supply me with a good recommendation for one? Try mencoder .It's part of the mplayer port. Fer _

Re: Can't route past gateway

2002-12-25 Thread Fernando Gleiser
On Wed, 25 Dec 2002, Adam Lofstedt wrote: > I tried to send a message to the list earlier, but my > email server was down. I checked the archives, but I > can't tell if my message has been posted already, so I > apologize if it has. If anyone has already replied, > could you forward your respons

Re: Can't route past gateway

2002-12-25 Thread Fernando Gleiser
On Wed, 25 Dec 2002, Adam Lofstedt wrote: > > > #ipnat -l > List of active MAP/redirect filters: > map x10 192.168.1.0/24 -> 0.0.0.0/32 portmap tcp/udp > 4:6 > map x10 192.168.1.0/24 -> 0.0.0.0/32 ^^^ Shouldn't that be "xl0"? Fer > > List of active

Re: Water Damage

2002-12-30 Thread Fernando Gleiser
On Mon, 30 Dec 2002, Dirk-Willem van Gulik wrote: > > > I have carefully dried out all the units. > > You may want to use some distilled water, or very clean water, if there is > any visible residue/chalk/salt on the boards. After that, you can rinse it with isopropyl(sp) alcohol, this is the alc

Re: burning audio CD's from mp3's

2002-12-30 Thread Fernando Gleiser
On Mon, 30 Dec 2002, Roman Neuhauser wrote: > I have a few mp3 files I'd like to burn an audio cd from. I use mpg321 > for playing mp3's, and burncd to burn cd's, so my first thought was: > let's pipe them together. I read the man pages, and tried this: I had good look with mpg123 to convert the

Re: Mount "/" read-only.

2003-01-02 Thread Fernando Gleiser
On Thu, 2 Jan 2003, roland Mathieu wrote: > Hi, > > I've got a FreeBSD 4.7 box with 4 differents partitions: "/", "/var", "/tmp" and > "/home", and the configuration is finish. Is it possible to mount "/" > read-only without troubles ? No. and yes :) You can, but you can't "without problems' So

Re: Is there a way to get a MAC address from an IP address

2003-01-03 Thread Fernando Gleiser
On Thu, 2 Jan 2003, Dan Malaby wrote: > Is there a way if given an IP address to get the MAC address. The problem I > am having is that there are two nic's that are using the same IP address on > my network, but the error message my FBSD box gives me is only the MAC > address for the offending car

Re: copying audio cd's

2003-01-05 Thread Fernando Gleiser
On Sun, 5 Jan 2003, Roman Neuhauser wrote: > > Given that attempts to dd(1) an audio cd give me "Invalid argument" I'd > say Dan is right. I don't however like what he suggests in the message > above: creating WAV files, and burning those. I want a "clone" of the > original cd. Is that possible? O

Re: [Q] ipfw and 'me'

2003-01-06 Thread Fernando Gleiser
On Mon, 6 Jan 2003, Jonathan Belson wrote: > Jack L. Stone wrote: > > The best way to do this is to use "awk" to determine and set a variable for > > the external IP every time it changes and then refer to that variable in > > your rules. > > ifconfig | grep ^xl0 -1 | tail -n 1 | awk '{ print $2

Re: lots of buffers, out of buffer space.

2003-01-07 Thread Fernando Gleiser
On Tue, 7 Jan 2003, Kevin A. Pieckiel wrote: > This is my netstat -m output: > 142/352/6016 mbufs in use (current/peak/max): > 131 mbufs allocated to data > 11 mbufs allocated to packet headers > 81/160/1504 mbuf clusters in use (current/peak/max) > 408 Kbytes allocated to network

Re: tcpdump problem

2003-01-07 Thread Fernando Gleiser
On Wed, 8 Jan 2003, Brendan Kosowski wrote: > > I am running FreeBSD 3.4 with the GENERIC kernel which has > the line "pseudo-device bpfilter 1" uncommented in the config. I also > re-built and re-installed GENERIC just to be sure. > > /dev/bpf0 has "rw" permissions for the owner (root). There are

Re: Question about the BSD License

2003-01-15 Thread Fernando Gleiser
On Wed, 15 Jan 2003, Michael Fischer wrote: > Dear BSD Group, > > I am searching for a license model for my software. And I got some > information from other people that I should use the BSD lisense. In this > model it should be allowed to give away the product without the source > files. It shoul

Re: entropy

2003-01-16 Thread Fernando Gleiser
On 15 Jan 2003, Lowell Gilbert wrote: > "Wilkinson,Alex" <[EMAIL PROTECTED]> writes: > > > Can someone recommend to me where I can read up on > > entropy. > > > > ie what it is ? Why we have it ? etc etc > > The term "entropy" is often used (in rough analogy to its technical > meaning in thermodyn

Re: header errors when compiling

2003-01-21 Thread Fernando Gleiser
On Tue, 21 Jan 2003 [EMAIL PROTECTED] wrote: > this code: > #include > #include > #include > #include [snip] You have an ordering problem with the headers. You MUST #include first. The man page says so :) > > produces this error when compiled: [lots of errors snipped] fix the order with

Re: Cannot kill truss process

2003-01-23 Thread Fernando Gleiser
> Accoding to ps, the truss process is in "disk wait" ("D"), > but all disks are working perfectly fine, including the > NFS-mounted filesystems. > > The process that had been trussed ("jws") doesn't run any- > more (I had to kill it, using SIGKILL, I think). Welcome to NFS hell. That's why you sh

Re: how to mount windows filesystems over lan

2003-02-08 Thread Fernando Gleiser
On Sat, 8 Feb 2003 [EMAIL PROTECTED] wrote: > Does anyone understand how to mount windows filesystems over a local area > network? > I can certainly mount windows file systems on other disks and/or partitions > on a computer that is running FreeBSD. But how can this be done over a Lan? > From wha

Re: IPFilter for 4.6?

2002-07-25 Thread Fernando Gleiser
On Thu, 25 Jul 2002, James West wrote: > Could someone point out a good FAQ or page explaining how to install the IPF > package on a 4.6 system? I keep getting compile errors. It is already installed. Just 'kldload ipl' to load it into the kernel and you are done. If you want to install the lat

Re: MX list for <> points back to <>

2002-09-17 Thread Fernando Gleiser
On Tue, 17 Sep 2002, Gary D Kline wrote: > On Tue, Sep 17, 2002 at 01:49:09PM -0700, Dave Young wrote: > No joy. I already had > > localhost > tao > > in the /local-host-names file. What does wrk is reinstalling > my former version of sendmail.cf. In that ca

Re: Squid ncsa based authentication on FBSD

2002-09-18 Thread Fernando Gleiser
On Wed, 18 Sep 2002, Ian Moore wrote: > > so I'm wondering how to get ncsa (or any other authentication system) running > with squid. All the squid documentation just seems to assume that ncsa_auth > is available. It is in the auth_modules/NCSA subdir of the squid source distribution. The port d

Re: Traffic shaping - current best practice?

2002-09-18 Thread Fernando Gleiser
On 18 Sep 2002, Kirk Strauser wrote: > > I'm looking for a solution that would allow the non-paying hosts to have > full use of the bandwidth as long as the paying hosts are idle, but which > would ensure that the paying customers have their full bandwidth available > any time they need it. You

Re: Mplayer

2002-09-24 Thread Fernando Gleiser
On Tue, 24 Sep 2002, Weston M. Price wrote: > Hello, > Does anyone have the mplayer gui running. The man page says it is > gmplayer but I cannot find a single reference to it on my system. Thanks. Try: mplayer -gui If that doesn't work, reinstall mplayer with the GUI options: cd /usr/p

Re: how to find executable files

2002-09-24 Thread Fernando Gleiser
On Tue, 24 Sep 2002, Peter Leftwich wrote: > Two questions, first is why doesn't this work, or is there a flag I can use > with "ls?" > > # find . -type f -perm +x > find: -perm: x: illegal mode string > # find . -type f -perm +x -print > find: -perm: x: illegal mode string You need to use the o

Re: Apache CGI problem

2002-09-26 Thread Fernando Gleiser
On Fri, 27 Sep 2002, Ihsan Junaidi Ibrahim wrote: > Hello all, > > Error 500 : Internal server error. Internal Server Error usually means your script has crashed, or it hasn't produced a complete output. What does apache's error-log say? Fer > > -- > Thank you for your

Re: reverse proxy?

2002-09-27 Thread Fernando Gleiser
On Thu, 26 Sep 2002, Richard Lucas wrote: > > From my research it looks as if squid can do part of what I need but from > what I've read it can only forward requests to one server. I need something > that can forward requests to multiple servers depending on what is > requested. For example, if s

Re: Character Devices vs. Block Devices

2002-10-01 Thread Fernando Gleiser
On Tue, 1 Oct 2002, Weston M. Price wrote: > So, given this, I am assuming that hard drives are treated as raw devices > exclusively? That is, no intermediate buffers are maintained between the user > process and the device: Nope, there is buffering for the file system interface. I dont remember

Re: burncd, cd-write, cdrecord

2002-10-01 Thread Fernando Gleiser
On Tue, 1 Oct 2002, Peter Leftwich wrote: > RE: http://www.freebsddiary.org/cdrecord.php > > I have a CD Burner at home I've never used. Can someone recommend a good > X11-based (or GUI that uses burncd for a backend) for burning CD's? I > would like to burn mostly data CDs but may want the opt

Re: burncd, cd-write, cdrecord

2002-10-01 Thread Fernando Gleiser
On Tue, 1 Oct 2002, Ceri Davies wrote: > > mkisofs on the other hand... Take a look at /usr/share/examples/worm/makecdfs.sh It is a script for making ans ISO image from a directory tree. It can even create a booteable CD. It is the script the Project uses for creating the release ISOs. Hope thi

Re: Bare minimum requirements for FreeBSD installation

2002-10-01 Thread Fernando Gleiser
On Tue, 1 Oct 2002, Liquid wrote: > Hey everyone. A family member asked me to setup a gateway in his house > so that the internet can be shared between a couple of tenants. I > realize it can be very easily done using a router, but I have this > 486dx2 50mhz at home with 8mb ram. It has a 300m

Re: advise on gateway-setup

2002-10-02 Thread Fernando Gleiser
On Wed, 2 Oct 2002, James Earl wrote: > > I'm in a similar position, but on a smaller scale. I'm trying to figure > out where these Switched Gateway/Routers/Firewall/VPN devices that are > coming on the market fit in, and where it is better to use our favorite > FreeBSD machine to do the work?

Re: buried in spams, recommendation?

2002-10-03 Thread Fernando Gleiser
On Thu, 3 Oct 2002, Peter Leftwich wrote: > Can someone on the list PLEASE recommend a good quarantining filter app? we use spamassassin, in its milter flavor Fer > > I know mwm (Mike Someone) out there uses one that issues a challenge via > reply or reply to all. Tha

Re: buried in spams, recommendation?

2002-10-03 Thread Fernando Gleiser
On Fri, 4 Oct 2002, Giorgos Keramidas wrote: > [ports]mail/tmda :) > "tdma" sounds more like a hallucinogenic drug, than a spam filter. Wasn't it a protocol for syncronizing the access to a shared medium? What does time divission multiple access have to do with email? :) Sorry, coudn't resist

Re: Dummynet & ports

2002-10-04 Thread Fernando Gleiser
On Fri, 4 Oct 2002, greg wrote: > I have dummynet working fine for controlling bandwidth. > > My question is can i control bandwidth on certain ports ie, ftp? Yes you can. with http you say 'ipfw add pipe 1 tcp from any 80 to ' and the configure the pipe. With FTP it is a bit more complicated, b

Re: Dummynet & ports

2002-10-04 Thread Fernando Gleiser
On Fri, 4 Oct 2002, greg wrote: > So if i did something like use wu-ftpd and use the "passive ports" > directive in > /etc/ftpaccess then i would be able to control the passive ports used > and then pipe them with dummynet? Yes. And no :). By doing that you can limit the bandwidth used by people

Re: /dev/urandom is randomly cool

2002-10-06 Thread Fernando Gleiser
On Sun, 6 Oct 2002, Mikko Työläjärvi wrote: > > tr -cd a-zA-Z0-9 < /dev/urandom | dd bs=$len count=1 2>/dev/null > > Which will give you $len random bytes from the set a-zA-Z0-9 (it reads > a lot more from /dev/urandom than it produces though). yes, and that is bad :( It is not good to mess wit

Re: dilution of /dev/urandom

2002-10-07 Thread Fernando Gleiser
On Mon, 7 Oct 2002, Kevin Oberman wrote: > > Obviously I would suggest the man pages (man 4 random). /dev/urandom > will never be exhausted. The numbers returned will simply become > progressively less random. (Random enough for most things, but I always > use /dev/random to make keys.) Yes, it

Re: Source Routing

2002-10-08 Thread Fernando Gleiser
On Tue, 8 Oct 2002, ksrgyn - wrote: > > Please help-me, i need solution for source routing that work together with > ipfilter. I need first match packages in the rules "source routing" for > after match in the ipfilter rules. Please read the ipfilter HOWTO, the FAQ and the ipf(5) man page. It is

Re: Messages in the dmesg

2002-10-08 Thread Fernando Gleiser
On Tue, 8 Oct 2002, ksrgyn - wrote: > xl0: flags=8843 mtu 1500 > options=3 > inet 200.x.x.72 netmask 0xffc0 broadcast 200.x.x.127 > inet 200.x.x.90 netmask 0xffc0 broadcast 200.x.x.127 > inet 200.x.x.91 netmask 0xffc0 broadcast 200.x.x.127 > ether 00:10:4b:c5:2e:1c > media: Ethernet a

Re: FreeBSD File System Comparison

2002-10-08 Thread Fernando Gleiser
On Wed, 9 Oct 2002, David Lloyd wrote: > > > Is there any comparison that is easy for a non-kernel (Linux/Kernel) > hacker to understand between other file systems? I've discovered that: > > * it's derived from something called the "Fast File System" > * that I need to add a -o ufstype=44bsd when

Re: How i can force a stream socket to wait as limited time inaccept() function?

2002-10-08 Thread Fernando Gleiser
0); flags=fcntl(sl, F_SETFL, flags | O_NONBLOCK); while(1) { select(sl+1, &rset, 0, 0, &tv); if (FD_ISSET(sl, &rset){ accept(); } } > --- Fernando Gleiser <[EMAIL PROTECTED]> > wrote: > > On Tue, 8 Oct 2002, alireza mahini wro

Re: Script Help

2002-10-08 Thread Fernando Gleiser
On Tue, 8 Oct 2002, Brendan McAlpine wrote: > Hey all, > > I am poring over mail logs and trying to pull out all the email > addresses contained in the log. Does anyone have any idea how I could > do this with a shell script? Untested, and asuming sendmail log format: #!/usr/bin/perl -w while

Re: How i can force a stream socket to wait as limited time inaccept()function?

2002-10-08 Thread Fernando Gleiser
On Wed, 9 Oct 2002, Richard Tobin wrote: > > You don't need to put the socket in non-blocking mode to select for > accept. See example program below. You're right, you don't *have to*, but it is better if you do it. If you don't, you can have a DoS if the following happens: 1. The attacker con

Re: What is the best IDE for C++programming in FreeBSD4.4?

2002-10-08 Thread Fernando Gleiser
On Tue, 8 Oct 2002, alireza mahini wrote: > I am Alireza and i am a young c++ developer in > freebsd. > I am working with freebsd4.4 and i need an IDE for > programming in C or C++ languages such as KDvelop. Not an IDE, but I use vim for editing the files, an xterm for compiling/ runing/testing

Re: How i can force a stream socket to wait as limited time inaccept() function?

2002-10-08 Thread Fernando Gleiser
On Tue, 8 Oct 2002, alireza mahini wrote: > I am a C++ programmer and the platform that i develop > my project on it is FreeBSD4.4 .I am aplaying the > setsocketopt()function for seting the timeout into the > stream socket that blocked in accept() function but i > can't successful. It's easy, mm

Re: Is ther any debugger for c and c++ programs in freebsd4.4?

2002-10-08 Thread Fernando Gleiser
On Tue, 8 Oct 2002, alireza mahini wrote: Pls put the question *in the message* not in the subject. You have gdb in the base system. If you want some graphical, you can try ddd (/usr/ports/devel/ddd) Fer > > > > __ > Do yo

Re: Ping to broadcast ok from subnet, not ok otherwise

2002-10-09 Thread Fernando Gleiser
On Wed, 9 Oct 2002, TheGlenMann wrote: > Hi all- > > > Sitting at a 10.10.1.n machine, I can ping the gateway 10.10.x.254 on > every subnet. However, a ping to the broadcast address as > ping -c1 10.10.x.255 > fails on some of the subnets (from outside that subnet). From within the > subnet, th

Re: How to create another account with root privileges ?

2002-10-09 Thread Fernando Gleiser
On Wed, 9 Oct 2002, Pranav A. Desai wrote: > Hi all! > How can I create a user account that can function like a root > account with the same prilieges ? I need to create three such account. Is > it possible ? Yes it is possible, but it's not recommended. (Hint: look at what root and toor h

Re: How to create another account with root privileges ?

2002-10-10 Thread Fernando Gleiser
On Thu, 10 Oct 2002, Peter Leftwich wrote: > On Thu, 10 Oct 2002, Bob Johnson wrote: > > Is there a command similar to vipw that uses a simpler editor, like pico? >From man vipw: ENVIRONMENT If the following environment variable exists it will be utilized by vipw: EDITOR The

Re: Ports system broken

2002-10-13 Thread Fernando Gleiser
On Sun, 13 Oct 2002, Dave Chapman wrote: > Hi, > > I've managed to completely screw up my ports collection, to the extent that > I can't install anything now (don't want to get into how I achieved this, > too painful/embarassing :-)) Instead of removing /usr/local by hand, did you try to pkg_del

Re: ipfiltering and ppoe question

2002-10-15 Thread Fernando Gleiser
On Tue, 15 Oct 2002, Tim Radigan wrote: > hi people.. i have question regarding ipfiltering and pppoe.. > > here at the office we have a pppoe connection.. i'm using ipfiltering to > block packets, etc.. now.. my question.. > > when ppp connects via pppoe, my nic (rl1) is not assigned an external

Re: Low Balancing

2002-10-22 Thread Fernando Gleiser
On Tue, 22 Oct 2002, Oliveira Ramiro wrote: > Tengo un Server BSD con 2 diferentes conexiones a internet, mediante 2 > placas de red, con 2 proveedores diferentes. La pregunta es: > Cual creen es la mejor solucion (o al menos la mas estable y razonable) para > que mi trafico quede balanceado? I

Re: [Q] Sockets verses message queues?

2002-10-25 Thread Fernando Gleiser
On Fri, 25 Oct 2002, Jonathan Belson wrote: > Hiya > > > I'm writing an application which will fork into two processes > (master/slave), and I require that the two be able to > communicate asynchronously. The master will send commands to > the slave then get on with other things, and the slave wi

Re: perl crashing - how to debug??

2002-10-22 Thread Fernando Gleiser
On Mon, 21 Oct 2002, Bill Moran wrote: > Hello all, > > I've got a system on which Amavis is suddenly (as of 3 days ago) > causing perl to coredump. > > How can I get perl built with debugging symbols so I can dig > into this? I'm a little confused by the build process. Not exactly the answer yo

Re: udp and traceroute

2002-10-25 Thread Fernando Gleiser
On Fri, 25 Oct 2002, adrian kok wrote: > Dear all > > I did traceroute from outside and traceroute can't > reach to my server > > But it works fine after I deleted the rule 'UDP deny' > > Now I would like to block UDP. > > Which udp port I can open in the firewall and let > outside to reach my ser

Re: enabling tcp bandwidth limiting?

2002-10-28 Thread Fernando Gleiser
On Mon, 28 Oct 2002, Mike Johnston wrote: > According to the FreeBSD 4.7 release notes: > The tcp protocol now has the ability to dynamically limit the send-side > window to maximize bandwidth and minimize round trip times. The feature can > be enabled via the net.inet.tcp.inflight_enable sysctl.

Re: MPlayer playing DivX (was: divxPlayer)

2002-10-31 Thread Fernando Gleiser
On Thu, 31 Oct 2002, Bjarne Wichmann Petersen wrote: > > BTW: Do you know how to rebuild index' in divx-files permanently? The > man-pages says I can do this with mencoder... but I can't find any mention on > *how*? mencoder -idx input.avi -ovc copy -oac copy -o output.avi It is in the mplayer

Re: Junior hacker assignment :o

2002-11-05 Thread Fernando Gleiser
On Tue, 5 Nov 2002, DaleCo Help Desk wrote: > > With a second look, you say "(configurable)" so > I guess the -r switch isn't enough. > > I suppose you want to read the code in > /usr/src/sbin/shutdown/shutdown.c Nope. This is the code to the shutdown command, which tells the kernel to shut down.

Re: FS options for FreeBSD

2002-11-06 Thread Fernando Gleiser
On Tue, 5 Nov 2002, Forrest Aldrich wrote: > I'm looking for different filesystem options for FreeBSD. > > I'm ripping apart a Linux machine that's running a mail service which > utilizes the reiserfs for performance gain. Since that's not available > for FreeBSD (I ran across some flames about

Re: Firewall - opening ports

2002-11-19 Thread Fernando Gleiser
On Mon, 18 Nov 2002, Darryl Hoar wrote: > Greetings, > I have built a firewall using FreeBSD 4.7-release and an oline tutorial > that uses IPFilter. > > I need to understand how to open specific ports to allow applications to > talk > if needed. > > Is there a document that describes how to do thi

Re: PPP and Alcatel HomeTouch

2002-11-25 Thread Fernando Gleiser
On Mon, 25 Nov 2002, John Jennings wrote: > To whom it may concern: [snip] > We are certain our ISP uses PAP for authenticating. We do the following to > connect: > > ppp -ddial adsl > > We receive the following error: > > Add Route: failed: default exists Because the default route already ex

Re: IPFW & Snort

2002-12-06 Thread Fernando Gleiser
On Thu, 5 Dec 2002, Brian McCann wrote: > Simple question for you all...but it evades me. I'm trying to setup a > box that will monitor a network, but be totally invisible to that > network, but it needs an IP since it will be using some programs like > BigBrother and whatnot. So...my question i

IPSec with dynamic IPs?

2002-12-09 Thread Fernando Gleiser
Hi. I need to set up a VPN between a corporate LAN and roaming users. The firewall is a FreeBSD 4.7 box with ipf/ipnat and will act as a security gateway for the tunnel. On the other side there are several Win2K/XP boxes connected to the Internet via DSL/cable modem/dialup/carrier pigeon/whatever

Re: IPNAT help

2002-12-09 Thread Fernando Gleiser
On Tue, 17 Dec 2002, Mike wrote: > Trying to setup a small local network off of my DSL. Currently I use a > different OS to do this but I am switching, or trying to.. > > I am using IPNAT and have added all of the options to redo the kernel. > options INET#InterNETworking

Re: 3c905B drivers

2002-12-10 Thread Fernando Gleiser
On Tue, 10 Dec 2002, Christophe Simon wrote: > Does anyone know about an instability in the 3c90x drivers from 3com on > freeBSD ? What problems? I've been using 3C905b for years without any problem. Fer > > > > > > _

Re: 3c905B drivers

2002-12-10 Thread Fernando Gleiser
On Tue, 10 Dec 2002, Christophe Simon wrote: > > I have a problem of network instability. I use FreeBSD 4.7 as a file server > to serve windows machines with samba 3, and i use postfix as mail server. 10 > to 20 minutes after my server starts, the samba and postfix services fall > down and don't r

Re: 3c905B drivers

2002-12-10 Thread Fernando Gleiser
On Tue, 10 Dec 2002, Christophe Simon wrote: > > > Sorry, i'm new under freeBSD and unix... (I worked on Windows before...) > > What can all those commands tell to me, and how can i solve my problem ? They tell you things like available memory, system load, network status and the like. Qith that i

Re: 3c905B drivers

2002-12-10 Thread Fernando Gleiser
quot;Christophe Simon" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, December 10, 2002 5:30 PM > Subject: Re: 3c905B drivers > > > > > > > > > > > > > > > > > > >From:

Re: ADSL ppoe + IPFILTER = :^( very sad! Help!

2002-12-11 Thread Fernando Gleiser
On Wed, 11 Dec 2002, Keith Spencer wrote: > Hi all, > Here is a true mystery for you. Please help if you can > I have received no response at earlier times thanks... > > I have an ADSL gateway ( pppoe via userppp so tun0 > uses my de0 NIC) > I config my kernel to do IPFilter stuff as per > schlact

  1   2   >