Re: 'rm' Can not delete files
Êîíüêîâ Åâãåíèé wrote: # rm * /bin/rm: Argument list too long. in this directory about 25000 files, but actually there is only one argument to rm it is '*' sign. Why rm get list of all files in directore instead of deleting one by one? Short answer: this is not Windows. Long answer: shell does wildcard expands, therefore rm gets about 25000 arguments of expanded '*'. Try find ./ -type f -delete Thanks, CK ___ 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"
mpd - lcp protocol rejects
Hello, I'm running mpd 4.4 on 6.3-STABLE #4. Connecting with mpd to my ISP's VPN server running poptop. Everything is ok for some time, and then all of a sudden mpd starts throwing weird protocol rejects to log file and vpn connection stops working. mpd.conf: pptp: new -i ng0 pptp pptp set iface disable on-demand set iface disable proxy-arp set iface enable tcpmssfix set iface up-script /usr/local/etc/mpd4/if_up.sh set iface down-script /usr/local/etc/mpd4/if_down.sh set iface idle 0 set bundle disable multilink set bundle yes compression set bundle disable noretry set bundle enable crypt-reqd set auth authname "login_here" set link accept acfcomp protocomp set link accept chap set link keep-alive 10 60 set link max-redial 0 set link accmap 0x set ipcp yes vjcomp set ccp yes mppc set ccp yes mpp-compress set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless open mpd.links: pptp: set phys type pptp set pptp peer [ISP's vpn serv here] set pptp enable originate set pptp disable incoming set pptp enable windowing And lots of logs: Oct 19 03:06:10 tazek mpd: [pptp] PPTP call successful Oct 19 03:06:10 tazek mpd: [pptp] link: UP event Oct 19 03:06:10 tazek mpd: [pptp] link: origination is local Oct 19 03:06:10 tazek mpd: [pptp] LCP: Up event Oct 19 03:06:10 tazek mpd: [pptp] LCP: state change Starting --> Req-Sent Oct 19 03:06:10 tazek mpd: [pptp] LCP: SendConfigReq #1 Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACCMAP 0x000a Oct 19 03:06:10 tazek mpd: MRU 1460 Oct 19 03:06:10 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:10 tazek mpd: [pptp] LCP: rec'd Configure Request #1 (Req-Sent) Oct 19 03:06:10 tazek mpd: ACCMAP 0x Oct 19 03:06:10 tazek mpd: AUTHPROTO CHAP MSOFTv2 Oct 19 03:06:10 tazek mpd: MAGICNUM 0b145760 Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: [pptp] LCP: SendConfigAck #1 Oct 19 03:06:10 tazek mpd: ACCMAP 0x Oct 19 03:06:10 tazek mpd: AUTHPROTO CHAP MSOFTv2 Oct 19 03:06:10 tazek mpd: MAGICNUM 0b145760 Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: [pptp] LCP: state change Req-Sent --> Ack-Sent Oct 19 03:06:12 tazek mpd: [pptp] LCP: SendConfigReq #2 Oct 19 03:06:12 tazek mpd: ACFCOMP Oct 19 03:06:12 tazek mpd: PROTOCOMP Oct 19 03:06:12 tazek mpd: ACCMAP 0x000a Oct 19 03:06:12 tazek mpd: MRU 1460 Oct 19 03:06:12 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:12 tazek mpd: [pptp] LCP: rec'd Configure Ack #2 (Ack-Sent) Oct 19 03:06:12 tazek mpd: ACFCOMP Oct 19 03:06:12 tazek mpd: PROTOCOMP Oct 19 03:06:12 tazek mpd: ACCMAP 0x000a Oct 19 03:06:12 tazek mpd: MRU 1460 Oct 19 03:06:12 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:12 tazek mpd: [pptp] LCP: state change Ack-Sent --> Opened Oct 19 03:06:12 tazek mpd: [pptp] LCP: auth: peer wants CHAP, I want nothing Oct 19 03:06:12 tazek mpd: [pptp] LCP: LayerUp Oct 19 03:06:12 tazek mpd: [pptp] CHAP: rec'd CHALLENGE #19 Oct 19 03:06:12 tazek mpd: Name: "pptpd" Oct 19 03:06:12 tazek mpd: Using authname "login_here" Oct 19 03:06:12 tazek mpd: [pptp] CHAP: sending RESPONSE len:63 Oct 19 03:06:12 tazek mpd: [pptp] CHAP: rec'd SUCCESS #19 Oct 19 03:06:12 tazek mpd: MESG: S=376C81163CF8923DF663DC2D672D8802BBDAAD3B Oct 19 03:06:12 tazek mpd: [pptp] LCP: authorization successful Oct 19 03:06:12 tazek mpd: [pptp] Bundle up: 1 link, total bandwidth 64000 bps Oct 19 03:06:12 tazek mpd: [pptp] IPCP: Open event Oct 19 03:06:12 tazek mpd: [pptp] IPCP: state change Initial --> Starting Oct 19 03:06:12 tazek mpd: [pptp] IPCP: LayerStart Oct 19 03:06:12 tazek mpd: [pptp] CCP: Open event Oct 19 03:06:12 tazek mpd: [pptp] CCP: state change Initial --> Starting Oct 19 03:06:12 tazek mpd: [pptp] CCP: LayerStart Oct 19 03:06:12 tazek mpd: [pptp] IPCP: Up event Oct 19 03:06:12 tazek mpd: [pptp] IPCP: state change Starting --> Req-Sent Oct 19 03:06:12 tazek mpd: [pptp] IPCP: SendConfigReq #1 Oct 19 03:06:12 tazek mpd: IPADDR 192.168.1.2 Oct 19 03:06:12 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Oct 19 03:06:12 tazek mpd: [pptp] CCP: Up event Oct 19 03:06:12 tazek mpd: [pptp] CCP: state change Starting --> Req-Sent Oct 19 03:06:12 tazek mpd: [pptp] CCP: SendConfigReq #1 Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd:0x0141:MPPC, MPPE(128 bits), stateless Oct 19 03:06:12 tazek mpd: [pptp] IPCP: rec'd Terminate Ack #1 (Req-Sent) Oct 19 03:06:12 tazek mpd: [pptp] CCP: rec'd Configure Nak #1 (Req-Sent) Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd:0x0140:MPPE(128 bits), stateless Oct 19 03:06:12 tazek mpd: [pptp] CCP: SendConfigReq #2 Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek m
mpd - lcp protocol rejects
Hello, I'm running mpd 4.4 on 6.3-STABLE #4. Connecting with mpd to my ISP's VPN server running poptop. Everything is ok for some time, and then all of a sudden mpd starts throwing weird protocol rejects to log file and vpn connection stops working. mpd.conf: pptp: new -i ng0 pptp pptp set iface disable on-demand set iface disable proxy-arp set iface enable tcpmssfix set iface up-script /usr/local/etc/mpd4/if_up.sh set iface down-script /usr/local/etc/mpd4/if_down.sh set iface idle 0 set bundle disable multilink set bundle yes compression set bundle disable noretry set bundle enable crypt-reqd set auth authname "login_here" set link accept acfcomp protocomp set link accept chap set link keep-alive 10 60 set link max-redial 0 set link accmap 0x set ipcp yes vjcomp set ccp yes mppc set ccp yes mpp-compress set ccp no mpp-e40 set ccp yes mpp-e128 set ccp yes mpp-stateless open mpd.links: pptp: set phys type pptp set pptp peer [ISP's vpn serv here] set pptp enable originate set pptp disable incoming set pptp enable windowing And lots of logs: Oct 19 03:06:10 tazek mpd: [pptp] PPTP call successful Oct 19 03:06:10 tazek mpd: [pptp] link: UP event Oct 19 03:06:10 tazek mpd: [pptp] link: origination is local Oct 19 03:06:10 tazek mpd: [pptp] LCP: Up event Oct 19 03:06:10 tazek mpd: [pptp] LCP: state change Starting --> Req-Sent Oct 19 03:06:10 tazek mpd: [pptp] LCP: SendConfigReq #1 Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACCMAP 0x000a Oct 19 03:06:10 tazek mpd: MRU 1460 Oct 19 03:06:10 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:10 tazek mpd: [pptp] LCP: rec'd Configure Request #1 (Req-Sent) Oct 19 03:06:10 tazek mpd: ACCMAP 0x Oct 19 03:06:10 tazek mpd: AUTHPROTO CHAP MSOFTv2 Oct 19 03:06:10 tazek mpd: MAGICNUM 0b145760 Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: [pptp] LCP: SendConfigAck #1 Oct 19 03:06:10 tazek mpd: ACCMAP 0x Oct 19 03:06:10 tazek mpd: AUTHPROTO CHAP MSOFTv2 Oct 19 03:06:10 tazek mpd: MAGICNUM 0b145760 Oct 19 03:06:10 tazek mpd: PROTOCOMP Oct 19 03:06:10 tazek mpd: ACFCOMP Oct 19 03:06:10 tazek mpd: [pptp] LCP: state change Req-Sent --> Ack-Sent Oct 19 03:06:12 tazek mpd: [pptp] LCP: SendConfigReq #2 Oct 19 03:06:12 tazek mpd: ACFCOMP Oct 19 03:06:12 tazek mpd: PROTOCOMP Oct 19 03:06:12 tazek mpd: ACCMAP 0x000a Oct 19 03:06:12 tazek mpd: MRU 1460 Oct 19 03:06:12 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:12 tazek mpd: [pptp] LCP: rec'd Configure Ack #2 (Ack-Sent) Oct 19 03:06:12 tazek mpd: ACFCOMP Oct 19 03:06:12 tazek mpd: PROTOCOMP Oct 19 03:06:12 tazek mpd: ACCMAP 0x000a Oct 19 03:06:12 tazek mpd: MRU 1460 Oct 19 03:06:12 tazek mpd: MAGICNUM bc85bd60 Oct 19 03:06:12 tazek mpd: [pptp] LCP: state change Ack-Sent --> Opened Oct 19 03:06:12 tazek mpd: [pptp] LCP: auth: peer wants CHAP, I want nothing Oct 19 03:06:12 tazek mpd: [pptp] LCP: LayerUp Oct 19 03:06:12 tazek mpd: [pptp] CHAP: rec'd CHALLENGE #19 Oct 19 03:06:12 tazek mpd: Name: "pptpd" Oct 19 03:06:12 tazek mpd: Using authname "login_here" Oct 19 03:06:12 tazek mpd: [pptp] CHAP: sending RESPONSE len:63 Oct 19 03:06:12 tazek mpd: [pptp] CHAP: rec'd SUCCESS #19 Oct 19 03:06:12 tazek mpd: MESG: S=376C81163CF8923DF663DC2D672D8802BBDAAD3B Oct 19 03:06:12 tazek mpd: [pptp] LCP: authorization successful Oct 19 03:06:12 tazek mpd: [pptp] Bundle up: 1 link, total bandwidth 64000 bps Oct 19 03:06:12 tazek mpd: [pptp] IPCP: Open event Oct 19 03:06:12 tazek mpd: [pptp] IPCP: state change Initial --> Starting Oct 19 03:06:12 tazek mpd: [pptp] IPCP: LayerStart Oct 19 03:06:12 tazek mpd: [pptp] CCP: Open event Oct 19 03:06:12 tazek mpd: [pptp] CCP: state change Initial --> Starting Oct 19 03:06:12 tazek mpd: [pptp] CCP: LayerStart Oct 19 03:06:12 tazek mpd: [pptp] IPCP: Up event Oct 19 03:06:12 tazek mpd: [pptp] IPCP: state change Starting --> Req-Sent Oct 19 03:06:12 tazek mpd: [pptp] IPCP: SendConfigReq #1 Oct 19 03:06:12 tazek mpd: IPADDR 192.168.1.2 Oct 19 03:06:12 tazek mpd: COMPPROTO VJCOMP, 16 comp. channels, no comp-cid Oct 19 03:06:12 tazek mpd: [pptp] CCP: Up event Oct 19 03:06:12 tazek mpd: [pptp] CCP: state change Starting --> Req-Sent Oct 19 03:06:12 tazek mpd: [pptp] CCP: SendConfigReq #1 Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd:0x0141:MPPC, MPPE(128 bits), stateless Oct 19 03:06:12 tazek mpd: [pptp] IPCP: rec'd Terminate Ack #1 (Req-Sent) Oct 19 03:06:12 tazek mpd: [pptp] CCP: rec'd Configure Nak #1 (Req-Sent) Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd:0x0140:MPPE(128 bits), stateless Oct 19 03:06:12 tazek mpd: [pptp] CCP: SendConfigReq #2 Oct 19 03:06:12 tazek mpd: MPPC Oct 19 03:06:12 tazek mpd:
Re: how to qwery txt records in dns
george wrote: I would like to ask how do I retrieve a txt record from DNS? [EMAIL PROTECTED] ~] dig iog.org.ua txt ; <<>> DiG 9.2.3 <<>> iog.org.ua txt ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18333 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 0 ;; QUESTION SECTION: ;iog.org.ua.IN TXT ;; ANSWER SECTION: iog.org.ua. 86400 IN TXT "v=spf1 a mx ~all" ;; AUTHORITY SECTION: iog.org.ua. 86400 IN NS ns2.afraid.org. iog.org.ua. 86400 IN NS tazek.iog.org.ua. ;; Query time: 2357 msec ;; SERVER: 10.10.10.7#53(10.10.10.7) ;; WHEN: Thu Jul 19 04:47:01 2007 ;; MSG SIZE rcvd: 105 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
named listening on LAN
Zbigniew Szalbot wrote: Now bind does not die but but it cannot find the log file: logging channel 'simple_log' file '/var/log/named/nlog': file not found ls /var/log/named/* /var/log/named/nlog Why would named not be able to find the log when it is there? The nlog file is owned by user bind and grup bind. As a wild guess, your named may be running in a chrooted jail, so you may want to check /var/named/var/log/named ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
replacing port in outgoing packets to any host
Hello, participants! In constant effort to prevent trojans to send spam following question came to my mind. Is there any way to replace port number for all outgoing packets? Long version: I want to block outgoing port 25 completely for network behind NAT router and allow port 8025 for example. But it means that router will have to replace outgoing port 8025 with port 25. After intensive googling it looks like my idea is... well... not popular. So, I just wonder if this is possible at all? Something like this: rdr any to any port 8025 -> any port 25 PS Yes, I know that I can redirect port to open-relay on known static IP. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Yahoo hardware platform
Hi, I knew from netcraft that Yahoo! is using FreeBSD as web server software. Do anyone know what are the hardware platform they are using? Your response is very much appreciated. Thank you. CK Chew _ The new MSN 8: smart spam protection and 3 months FREE*. http://join.msn.com/?page=features/junkmail&xAPID=42&PS=47575&PI=7324&DI=7474&SU= http://www.hotmail.msn.com/cgi-bin/getmsg&HL=1216hotmailtaglines_smartspamprotection_3mf To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Laptops & FreeBSD?
Greetings! I am planning on attending law school next fall and would like to buy a laptop to bring with me to class to take notes, do research, and connect to the local networks. I'm hoping to be able to dual-boot this system as Win2k (or XP) and FreeBSD. Does anyone have any suggestions? How well (if at all) do the power-saver options works in FreeBSD? I'm hoping to do most of the work in FreeBSD but some law schools have special Windows-only exam software so I need to have it dual-boot a Win2k/XP. My first thought was an iBook or TiBook running OS X but the prohibitive cost has me second-guessing that option. Maybe if the new IBM PPC chips were to be introduced before next fall in the iBook I would take this option but the speed and cost issue makes me not want to do this. I want to make sure it can run FreeBSD well, is somewhat light-weight, powerful, large screen, good wide keyboard (for my bad wrists), and isn't crippled by manufacturer's bias towards Win* systems (like Dell). Intel or AMD processors are both cool; they're both local companies for me. :) Thanks and i'm very sorry if this isn't the correct list for this. Steven Toeniskoetter San Jose, CA To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message