openwebmail fails with SpeedyCGI
Hi to all I use openwebmail from the ports tree and recently i've upgraded the port to 2.30 with portupgrade . The default compiling options have SpeedyCGI perl support (www/p5-CGI-SpeedyCGI). When I tried to test the web interface i got following error in httpd-error.log : [error]Premature end of script headers: /usr/local/www/cgi- bin/openwebmail/openwebmail-main.pl speedy_backend[81640]: open temp file: Permission denied I reinstalled the port without SpeedyCGI support and everything went fine but i lose performance without it. Any ideas how to fix this ? Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ports upgrade question
Hi to everyone ! I'm sure that this is a trivial question to ask . I'm considering source and ports tree upgarde from 5.2_REL to 5.2.1_REL . I've never did cvs before (usually i back up , format + binary install and restore ) . I've read the article from the handbook and everything is pretty much explained there . My question is when i install the new distro how should i upgrade the ports tree after syncing it from cvs ? Are there any guidelines , tips or tricks ? I've heard about portupgrade port . Is this the right tool for bringing my ports up to date ? Your help will be greatly appreciated and I hope will save me hours of hesitation and headache :-) Thanks Excuse my english ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: forwarding with ttl=1
> TTL (Time To Live) is a counter value in an IP packet that gets decremented > by every "hop" (router). When it reaches a value of zero, the packet is > discarded. One more thing . If the packet is going to be forwarded and the TTL has value of 1 than the hop discards the packet . "A system should never receive IP datagram with TTL of 0 , but Net/3 generates the correct ICMP error if this happens since ip_ttl is examined after the packet is considered for local delivery and before it is forwarded" [TCP/IP Illustrated , Volume 2 - Gary R. Wright , W.Richard Stevens] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: forwarding with ttl=1
> > The problem is that the ISP's > > gateway returns every time packets with ttl=1 which makes > > further forwarding impossible . My gateway returns icmp error > > mesage "time exceeded" and discards packets . > > TTL (Time To Live) is a counter value in an IP packet that gets > decremented > by every "hop" (router). When it reaches a value of zero, the packet is > discarded. > > Using a TTL of 1 isn't going to be very useful as your packets will all be > discarded at the first router. This is working as intended. > That's what I mean . The incoming packets are with TTL=1 and my gateway cannot forward them to the local network . Probably the reason is that the ISP doesn't want from his clients to share one Internet connection between different machines in the local network . I dont have problem with outgoing packets . here is the code fragment from ip_forward() in ip_input.c /usr/src/sys/netinet/ip_input.c : if (ip->ip_ttl <= IPTTLDEC) { //Yes !!! the TTL == 1 icmp_error(m, ICMP_TIMXCEED, ICMP_TIMXCEED_INTRANS,0, 0); return; } and further: ip->ip_ttl -= IPTTLDEC; when i execute netstat -s there is a big number of icmp time exceed errors indicating that the packets are discarded because of TTL expiration I need a way to avoid this . Thanks ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
forwarding with ttl=1
Hi All I am newbie with configuring networks under FreeBSD . I have small network with gateway running on FreeBSD 5.2 Release .My ISP offers me pppoe service for connecting to Internet . I didn't have problems with configuring ppp with pppoe . I used nat option wchich works fine for masquerading the local network from the world . The problem is that the ISP's gateway returns every time packets with ttl=1 which makes further forwarding impossible . My gateway returns icmp error mesage "time exceeded" and discards packets . I want to know if I made some mistake with configuring nat service or if not what is the solution of the problem ? Is there any service that can increment ttl and process the packet ? I tried to avoid the checking of ttl in the ip_forward() function in ip_input.c and skipping the decrement of ttl and everything works fine but i think that this is very ugly kernel hack . Probably there is an easy and elegant solution . Any ideas ? please excuse my English ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"