[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum
The LinuxSolved.com GNU/Linux User Communit - Forum
Welcome to LinuxCommunity You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
  Show Posts
Pages: [1]
1  Network Troublshooting / General Networking Support in Linux / Re: cyber cafe timer please help on: March 12, 2008, 01:02:57 AM
Try CCL http://ccl.sf.net it is very easy to install on a Debian or ubuntu workstation.
2  Linux Software / Linux Control Panels / Re: Cyber cafe with linux on: March 12, 2008, 01:00:59 AM
I'm using a freeware on my internet cafe:

www.cbm.com.ar

You can give a try to CCL (cafe con leche) http://ccl.sf.net
3  Linux Software / Linux Installation Support / Re: debian on: March 12, 2008, 12:58:13 AM
Tell us what kind of problem ?
4  Others / Miscellaneous / Re: arrow keys and vi on: March 12, 2008, 12:56:47 AM
Try installing vim :

aptitude install vim
5  Linux Software / Linux Control Panels / Cyber cafe with linux on: September 08, 2004, 09:36:12 AM
You can test:

http://openkiosk.sourceforge.net/
http://sourceforge.net/projects/cyborg/
6  Others / Miscellaneous / reverse ip lookup for domains on: June 11, 2004, 10:51:37 AM
Hello, you can use dig or nslookup,

dig -x 123.123.123.123

Where 123.123.123.123 is the ip number. dig show to you the domain name that the ip have. Here is an example:

dig -x 200.93.220.18
 
; <<>> DiG 9.2.2-P3 <<>> -x 200.93.220.18
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41002
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 2
 
;; QUESTION SECTION:
;18.220.93.200.in-addr.arpa.    IN      PTR
 
;; ANSWER SECTION:
18.220.93.200.in-addr.arpa. 86400 IN    PTR     srv.eth0.www.manta.telconet.net.
 
;; AUTHORITY SECTION:
220.93.200.in-addr.arpa. 86400  IN      NS      srv1.telconet.net.
220.93.200.in-addr.arpa. 86400  IN      NS      ns1.manta.telconet.net.
220.93.200.in-addr.arpa. 86400  IN      NS      uio.telconet.net.
 
;; ADDITIONAL SECTION:
uio.telconet.net.       42196   IN      A       200.93.216.2
srv1.telconet.net.      86400   IN      A       200.93.192.148
 
;; Query time: 23 msec
;; SERVER: 200.93.220.2#53(200.93.220.2)
;; WHEN: Fri Jun 11 09:47:04 2004
;; MSG SIZE  rcvd: 176

The nslookup use is similar,

nslookup 200.93.220.18
Note:  nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead.  Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server:         200.93.220.2
Address:        200.93.220.2#53
 
18.220.93.200.in-addr.arpa      name = srv.eth0.www.manta.telconet.net.

Hope this help.  Smiley
7  Network Troublshooting / General Networking Support in Linux / PORT 25 and 110 masquerade on: June 11, 2004, 10:37:50 AM
Supposing that:

192.168.0.0/24 is you LAN, and eth0 is the WAN device, you need iptables as root:

/sbin/iptables  -t nat -A POSTROUTING -o eth0 -s 192.168.0.0/24 -j MASQUERADE
8  Network Troublshooting / General Networking Support in Linux / how to remove tranparent Proxy on: June 11, 2004, 10:31:01 AM
Edit your squid.conf and uncoment the httpd_accel* diorectives  and restart squid.
9  Network Troublshooting / General Networking Support in Linux / CISCO SWITCH CONFIGURATION FROM LINUX SERVER on: June 08, 2004, 09:01:46 AM
To view if your port is full or half.. type in configure terminal

# show interface status
10  Network Troublshooting / Linux Servers Support / Problem with Squid as transparent proxy on: June 08, 2004, 02:23:23 AM
Yes.. this redirection is for the transparent proxy server. All the linux servers for each lans have redirection from 80 to 8080 with iptables, the servers are squid listening at the port 8080 as well but not in transparent I“ve to set the proxy configuration por each station.

Maybe I need to accept the forward at the linux servers for the port 8080 ? My default policies at the linux servers are, for INPUT, OUTPUT adn FORWARD are setted as DROP .
11  Network Troublshooting / Linux Servers Support / Problem with Squid as transparent proxy on: June 08, 2004, 01:48:32 AM
Thank you for the response.

All linux have squid configured to be proxy for the lan machines, when I start the iptables REDIRECT line, the computers of the lan“s cant view web sites, but I can see at the access.log of the transparent proxy activity and request from the linux of each lan.

If I leave with no REDIRECT, all can view web sites.


The graphic was made with M$ Visio running on Fedora Core 2 with CrossOver Office  :lol:  Cheesy
12  Network Troublshooting / General Networking Support in Linux / bandwidth controlle in linux nat on: June 08, 2004, 01:41:52 AM
Maybe you can use sfq

http://congreso.hispalinux.es/congreso2001/actividades/ponencias/eric/html/banda.html
13  Network Troublshooting / General Networking Support in Linux / CISCO SWITCH CONFIGURATION FROM LINUX SERVER on: June 08, 2004, 01:31:00 AM
humm... i“ve a cisco catalyst 3550, the commands, assuming that the port is the f0/1, are:

enable
# configure terminal
# interface f0/1
# duplex full
# speed 100
# end


Thats all ... Smiley ahh. . don“t forget to save the modifications.
# wr mem
14  Network Troublshooting / Linux Servers Support / Problem with Squid as transparent proxy on: June 08, 2004, 12:57:12 AM
Hello,

I“ve this network topology:



All the linux servers can view internet sites trough the transparent proxy/gateway, but the lan pc“s not. The linux servers are running with 2 nic“s and have squid configured to be a proxy server for the lan machines.

What can be bad ? maybe  i need an additional configuration?



Code:
# egrep -v "^$|^#" /etc/squid/squid.conf
http_port 8080
http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY
cache_mem 16 MB
maximum_object_size 8192 KB
cache_dir ufs /var/spool/squid 6144 64 256
cache_store_log none
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
refresh_pattern ^ftp:           1440    20%     10080
refresh_pattern ^gopher:        1440    0%      1440
refresh_pattern .               0       20%     4320
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl manta src 200.96.221.0/255.255.255.0
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80          # http
acl Safe_ports port 21          # ftp
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 1025-65535  # unregistered ports
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl CONNECT method CONNECT
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow manta
http_access deny all
http_reply_access allow all
icp_access allow all
miss_access allow all
cache_mgr proxy@proxy
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
error_directory /etc/squid/errores
coredump_dir /var/spool/squid

My transparent proxy/firewall have the following lines at the firewall script:
Code:
# TRANSPARENT PROXY
/sbin/iptables -A INPUT -i eth1 -p tcp -d 200.96.221.0/24 --dport 80 -j
ACCEPT
/sbin/iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j
REDIRECT --to-port 8080

Code:
# tail -f /var/log/cache.log
2004/06/05 14:55:56| Starting Squid Cache version 2.5.STABLE3 for
i386-redhat-linux-gnu...
2004/06/05 14:55:56| Process ID 7453
2004/06/05 14:55:56| With 1024 file descriptors available
2004/06/05 14:55:56| DNS Socket created at 0.0.0.0, port 35065, FD 4
2004/06/05 14:55:56| Adding nameserver 200.96.221.2 from
/etc/resolv.conf
2004/06/05 14:55:56| User-Agent logging is disabled.
2004/06/05 14:55:56| Referer logging is disabled.
2004/06/05 14:55:56| Unlinkd pipe opened on FD 9
2004/06/05 14:55:56| Swap maxSize 6291456 KB, estimated 483958 objects
2004/06/05 14:55:56| Target number of buckets: 24197
2004/06/05 14:55:56| Using 32768 Store buckets
2004/06/05 14:55:56| Max Mem  size: 16384 KB
2004/06/05 14:55:56| Max Swap size: 6291456 KB
2004/06/05 14:55:56| Store logging disabled
2004/06/05 14:55:56| Rebuilding storage in /var/spool/squid (CLEAN)
2004/06/05 14:55:56| Using Least Load store dir selection
2004/06/05 14:55:56| Set Current Directory to /var/spool/squid
2004/06/05 14:55:56| Loaded Icons.
2004/06/05 14:55:56| Accepting HTTP connections at 0.0.0.0, port 8080,
FD 10.
2004/06/05 14:55:56| Accepting HTTP connections at 0.0.0.0, port 3128,
FD 11.
2004/06/05 14:55:56| Accepting ICP messages at 0.0.0.0, port 3130, FD
12.
2004/06/05 14:55:56| WCCP Disabled.
2004/06/05 14:55:56| Ready to serve requests.
2004/06/05 14:55:57| Done reading /var/spool/squid swaplog (1198
entries)
2004/06/05 14:55:57| Finished rebuilding storage from disk.
2004/06/05 14:55:57|      1198 Entries scanned
2004/06/05 14:55:57|         0 Invalid entries.
2004/06/05 14:55:57|         0 With invalid flags.
2004/06/05 14:55:57|      1198 Objects loaded.
2004/06/05 14:55:57|         0 Objects expired.
2004/06/05 14:55:57|         0 Objects cancelled.
2004/06/05 14:55:57|         0 Duplicate URLs purged.
2004/06/05 14:55:57|         0 Swapfile clashes avoided.
2004/06/05 14:55:57|   Took 0.9 seconds (1292.7 objects/sec).
2004/06/05 14:55:57| Beginning Validation Procedure
2004/06/05 14:55:57|   Completed Validation Procedure
2004/06/05 14:55:57|   Validated 1198 Entries
2004/06/05 14:55:57|   store_swap_size = 17144k
2004/06/05 14:55:57| storeLateRelease: released 0 objects


Regards,
Pages: [1]
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2008, 06:12:37 AM

Login with username, password and session length
Navigation
Recent Discussions
[November 22, 2008, 02:29:08 PM]

[November 20, 2008, 11:30:52 PM]

[November 19, 2008, 07:52:41 PM]

[November 19, 2008, 07:52:36 PM]

[November 17, 2008, 10:42:59 AM]

[November 16, 2008, 12:49:47 AM]

[November 16, 2008, 12:48:58 AM]

[November 15, 2008, 08:29:02 AM]

[November 15, 2008, 08:24:41 AM]

[November 14, 2008, 05:11:50 AM]
Members
Total Members: 6230
Latest: helen001
Stats
Total Posts: 8270
Total Topics: 2254
Online Today: 7
Online Ever: 111
(June 28, 2007, 06:47:29 AM)
Users Online
Users: 0
Guests: 8
Total: 8
Privacy Policy| Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Theme & TinyPortal v0.9.8 © Bloc