Weird configuration


 
Thread Tools Search this Thread
Special Forums IP Networking Weird configuration
# 1  
Old 11-05-2008
Weird configuration

Hi All,

I have a problem with a weird configuration that I need and a few possible solutions came up, but I do not know how to implement none of them.

Let me explain the situation:

I have one switch, one tftp server (linux) and a couple of embedded devices that have the same IP address and it is impossible to be changed, fortunately they have different mac address.

When these embedded devices have to be upgraded, they download automatically its firmware file from the tftp server, but of course all the other devices have to be turned off and in this way it is impossible to work.

Here you have the question:

If I use iptables is there any way to execute a script when a package match with a rule ??

I was thinking in a possible solution but I need to take an action when a package matches with a iptables rule.

If anyone has any idea, please let me know it!!

Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Weird behavior of Vi

Hi there, I am a bit puzzled by a weird behavior of Vi. I very simply would like to add increased numbers in some files. Since I have many thousands entries per file and many files, I would like to macro it in vi. To do this, I enter the first number ("0001") on the first line and then yank... (4 Replies)
Discussion started by: hypsis
4 Replies

2. Red Hat

Something weird with the FS size

Hi, I have a problem with a Files system. # df -h Sys. de fich. Tail. Occ. Disp. %Occ. Monté sur /dev/cciss/c0d0p3 5,7G 3,7G 1,8G 68% / /dev/cciss/c0d0p1 97M 9,9M 82M 11% /boot /dev/cciss/c0d0p7 2,9G 2,0G 802M 71% /cache tmpfs 506M 0 ... (2 Replies)
Discussion started by: Castelior
2 Replies

3. UNIX for Dummies Questions & Answers

File with a weird name 'q'

All, I have the following listing of files $ ls -lrt -rw-rw-rw- 1 user1 group1 335691 Aug 4 17:45 script1.sh -rw-rw-rw- 1 user1 group1 648 Aug 4 17:45 try,csv -rw-rw-rw- 1 user1 group1 1381275 Aug 4 17:45 test.txt -rw-rw-rw- 1 user1 group1 ... (7 Replies)
Discussion started by: rahulrathod
7 Replies

4. UNIX for Dummies Questions & Answers

weird warning

what does the following mean and how can it be fixed tcpdump: WARNING: arptype 65535 not supported by libpcap - falling back to cooked socket Couldn't find user 'pcap' (1 Reply)
Discussion started by: chrisb345
1 Replies

5. Shell Programming and Scripting

Help with my weird script!

So I have this script titled "testing.sh" #!/bin/ksh #PROGRAM INITIALIZATION HomeDir=/home/sap/gl/ftp server=testftp01 userid=ftp_uatollmsgbus password="f&p53715" MSGLOG=${HomeDir}/msglog.txt FTPLogTmp=${HomeDir}/testing.tmp FTPLogFile=${HomeDir}/testing.log... (1 Reply)
Discussion started by: kdyzsa
1 Replies

6. HP-UX

HP-UX weird FTP ?

Hi, I am trying to connect to a distributors FTP server (which returns the prompt at the bottom of this post). Each week these people post our sales data using the same file names. When you do an ls you can see them all there for months on end. When I use my windows or linux ftp clients I can... (10 Replies)
Discussion started by: IngmarMeins
10 Replies

7. HP-UX

weird core

If have this core here.. generated by ARIES32: Core file for PA32 application saved to /var/vx/isis/core.vxsvc I load it up in gdb and do a where.. I see.. (gdb) where #0 0xc22afb7c in smallcount+0 () from /usr/lib/libc.2 #1 0xc34759cc in write_stream+0xfc () from... (1 Reply)
Discussion started by: nkshirsagar
1 Replies

8. Shell Programming and Scripting

weird permissions

Context: Apache 2.0, Redhat 8.0, Perl 5.80 I am using the follwing line to write a file open UPLOADFILE, ">$writeto" or errorcantwrite(); which works just fine when the directory permissions are 700 However .... I dont want to have a directory that allows users to both upload and... (1 Reply)
Discussion started by: andyj
1 Replies

9. UNIX for Dummies Questions & Answers

Weird Problem???

I have a problem I don't understand... I am trying to declare a variable, and then output the results of that variable, couldn't be simpler #!/bin/ksh VAR='Oranges' if then echo "Found Lemons" elif then echo "Found Oranges" fi The output shouold clearly be "Found Oranges", but... (2 Replies)
Discussion started by: danhodges99
2 Replies
Login or Register to Ask a Question
SOCKS.FC(5)							File Formats Manual						       SOCKS.FC(5)

NAME
socks.fc - Frozen configuration file for SOCKS clients SYNOPSIS
/etc/socks.fc DESCRIPTION
The frozen configuration file is produced by make_socksfc and is essentially the memory image of the parsed configuration file. Using the frozen configuration file can reduce the start-up delay of the SOCKS client programs since they no longer have to parse the file contents. When the SOCKS client starts, it always looks for the frozen configuration file /etc/socks.fc first . If that file is not found, it then tries to use the plain-text configuration file /etc/socks.conf. If you use frozen configuration, you must remember to run make_socksfc every time after you modify the plain-text file or the SOCKS clients will continue to use the frozen file of a previous configuration. To find out the contents of a frozen configuration file, use dump_socksfc. SEE ALSO
dump_socksfc(8), make_socksfc(8), socks.conf(5), socks_clients(1) AUTHOR
Ying-Da Lee, yingda@esd.sgi.com or yingda@best.com May 6, 1996 SOCKS.FC(5)